/* SEAVIN shared global chrome — namespaced under .seavin-global-header / .seavin-global-footer */
/* V4.6 Theme Bridge: one deep-ocean global surface + per-page accent glows only */
.seavin-global-header,
.seavin-global-footer {
    --sg-ocean-0: #f8fcfc;
    --sg-ocean-1: #eef6f5;
    --sg-ink: #10292D;
    --sg-muted: #6D8184;
    --sgh-accent: #0D7174;
    --sgh-accent-ink: #ffffff;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    box-sizing: border-box;
}
.seavin-global-header *,
.seavin-global-footer * { box-sizing: border-box; }

/* ~80% SEA VIN global chrome; accent tokens overridden per data-header-theme */
/* Full-Bleed: header background reaches viewport edges; inner stays constrained. */
.seavin-global-header {
    --header-background: rgba(248, 252, 252, 0.94);
    --header-glow-one: #1DAFAA;
    --header-glow-two: #0D7174;
    --header-glow-three: #2D71AE;
    --header-text: var(--sg-ink);
    --header-muted: var(--sg-muted);
    --header-border: rgba(12, 92, 96, 0.12);
    --page-accent-primary: var(--header-glow-one);
    --page-accent-secondary: var(--header-glow-two);
    --sgh-accent: var(--header-glow-one);
    --sgh-accent-ink: #042f2e;
    --sgh-bg: var(--header-background);
    --sgh-ink: var(--header-text);
    --sgh-muted: var(--header-muted);
    --sgh-line: var(--header-border);
    width: 100%;
    max-width: none;
    margin: 0;
    background: var(--header-background);
    color: var(--header-text);
    border-bottom: 1px solid var(--header-border);
    /* blur lives on __inner — backdrop-filter here makes position:fixed drawer
       position against the header and get clipped on mobile */
    z-index: 300;
}

/* Accent context only — aligned to V4.5 --page-accent-* (no second design system) */
.seavin-global-header[data-header-theme="home"] {
    --header-glow-one: #2dd4bf;
    --header-glow-two: #38bdf8;
    --header-glow-three: #818cf8;
}
.seavin-global-header[data-header-theme="about"] {
    --header-glow-one: #2dd4bf;
    --header-glow-two: #38bdf8;
    --header-glow-three: #67e8f9;
}
.seavin-global-header[data-header-theme="products"] {
    --header-glow-one: #2dd4bf;
    --header-glow-two: #38bdf8;
    --header-glow-three: #e879f9;
}
.seavin-global-header[data-header-theme="chat"] {
    --header-glow-one: #67e8f9;
    --header-glow-two: #22d3ee;
    --header-glow-three: #38bdf8;
}
.seavin-global-header[data-header-theme="navigation"] {
    --header-glow-one: #38bdf8;
    --header-glow-two: #22d3ee;
    --header-glow-three: #60a5fa;
}
.seavin-global-header[data-header-theme="promotion"] {
    --header-glow-one: #e879f9;
    --header-glow-two: #a78bfa;
    --header-glow-three: #f472b6;
}
.seavin-global-header[data-header-theme="forum"] {
    --header-glow-one: #818cf8;
    --header-glow-two: #a78bfa;
    --header-glow-three: #60a5fa;
}
.seavin-global-header[data-header-theme="service"] {
    --header-glow-one: #34d399;
    --header-glow-two: #2dd4bf;
    --header-glow-three: #22d3ee;
}
.seavin-global-header[data-header-theme="security"] {
    --header-glow-one: #2d71ae;
    --header-glow-two: #1dafaa;
    --header-glow-three: #38bdf8;
}

.seavin-global-header.is-sticky { position: sticky; top: 0; }
.seavin-global-header.has-scroll-style.is-scrolled {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.seavin-global-header.has-scroll-style.is-scrolled > .seavin-global-header__inner {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.seavin-global-header--header_transparent {
    /* Dark translucent scrim — fully transparent + blur over a light body = milky white bar */
    background: color-mix(in srgb, #12081c 72%, transparent);
    background: color-mix(in srgb, var(--header-background, #12081c) 78%, transparent);
    border-bottom-color: transparent;
    position: absolute;
    left: 0; right: 0; top: 0;
    width: 100%;
    color: var(--header-text, #faf5ff);
}
.seavin-global-header--header_transparent > .seavin-global-header__inner {
    /* Avoid frosting a light page shell into white; scrim already provides contrast */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.seavin-global-header--header_transparent.has-scroll-style.is-scrolled {
    position: sticky;
    background:
        radial-gradient(ellipse 42% 120% at 8% 0%, color-mix(in srgb, var(--header-glow-one) 16%, transparent), transparent 58%),
        var(--header-background);
    border-bottom-color: var(--header-border);
}
.seavin-global-header--header_transparent.has-scroll-style.is-scrolled > .seavin-global-header__inner {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
/* Transparent overlay headers (promotion etc.): lock a solid chrome while the mobile drawer is open */
.seavin-global-header--header_transparent.is-drawer-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 450;
    background: #12081c;
    border-bottom: 1px solid var(--header-border);
    color: #faf5ff;
}
.seavin-global-header--header_dark {
    /* Deep-ocean chrome fallback (product pages); theme attrs may override */
    --header-background: #071820;
    --header-text: #eef8f7;
    --header-muted: rgba(180, 220, 218, 0.82);
    --header-border: color-mix(in srgb, var(--header-glow-one) 28%, transparent);
    --sgh-accent: var(--header-glow-one);
    --sgh-accent-ink: #042f2e;
}

.seavin-global-header__inner {
    width: min(1360px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 18px;
    /* Keep blur on the bar row only — never on the header root (clips drawer) */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.seavin-global-header__logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .04em;
    flex: 0 0 auto;
}
.seavin-global-header__logo:focus-visible,
.seavin-nav-link:focus-visible,
.seavin-global-header__btn:focus-visible,
.seavin-global-header__locale:focus-visible,
.seavin-global-header__burger:focus-visible,
.seavin-global-header__avatar-btn:focus-visible,
.seavin-global-footer a:focus-visible {
    outline: 2px solid var(--header-glow-one, var(--sgh-accent));
    outline-offset: 2px;
}
.seavin-global-header__logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    flex: 0 0 auto;
    background: #000;
    box-shadow: 0 0 18px color-mix(in srgb, var(--header-glow-one) 38%, transparent);
}
.seavin-global-header__logo-text {
    line-height: 1;
}
.seavin-global-header__nav {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.seavin-global-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 4px 16px;
    align-items: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
/* Row-level aurora: clearly visible sweep across the whole nav. */
.seavin-global-header__menu::before {
    content: "";
    position: absolute;
    top: 6%;
    bottom: 6%;
    left: 0;
    width: 36%;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        color-mix(in srgb, var(--header-glow-one) 55%, transparent) 22%,
        color-mix(in srgb, var(--header-glow-two) 85%, #ffffff) 50%,
        color-mix(in srgb, var(--header-glow-three) 55%, transparent) 78%,
        transparent 100%
    );
    filter: blur(8px);
    opacity: 0.85;
    transform: translateX(-130%);
    animation: seavin-nav-aurora-row 5.6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
.seavin-global-header__menu::after {
    content: "";
    position: absolute;
    top: 28%;
    bottom: 28%;
    left: 0;
    width: 18%;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        transparent 100%
    );
    filter: blur(2px);
    opacity: 0.9;
    transform: translateX(-160%);
    animation: seavin-nav-aurora-row 5.6s ease-in-out infinite;
    animation-delay: 0.05s;
    pointer-events: none;
    z-index: 1;
}
.seavin-global-header__item { position: relative; flex: 0 0 auto; }

.seavin-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--header-muted);
    text-decoration: none;
    background: none;
    border: 0;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 2px;
    line-height: 1.2;
}
.seavin-nav-label {
    position: relative;
    display: inline-block;
    color: inherit;
    z-index: 2;
}
.seavin-nav-label::after {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* Fallback band — high contrast so the sweep is obvious. */
    background-image: linear-gradient(
        100deg,
        transparent 0%,
        transparent 30%,
        rgba(59, 130, 246, 0.95) 42%,
        rgba(255, 255, 255, 1) 50%,
        rgba(167, 139, 250, 0.95) 58%,
        transparent 70%,
        transparent 100%
    );
    background-image: linear-gradient(
        100deg,
        transparent 0%,
        transparent 30%,
        var(--header-glow-one) 42%,
        #ffffff 50%,
        var(--header-glow-three) 58%,
        transparent 70%,
        transparent 100%
    );
    background-size: 280% 100%;
    background-repeat: no-repeat;
    background-position: 140% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: seavin-nav-shimmer 4.8s linear infinite;
    animation-delay: calc(var(--menu-index, 0) * -0.55s);
    pointer-events: none;
    opacity: 1;
}
@supports (mix-blend-mode: plus-lighter) {
    .seavin-nav-label::after {
        mix-blend-mode: plus-lighter;
    }
}
.seavin-nav-link:hover .seavin-nav-label {
    color: var(--header-text);
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.45),
        0 0 18px rgba(34, 211, 238, 0.28);
}
.seavin-nav-link.is-active {
    color: var(--header-text);
}
.seavin-nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background-image: linear-gradient(
        90deg,
        transparent,
        var(--header-glow-one),
        var(--header-glow-two),
        var(--header-glow-three),
        transparent
    );
    background-size: 220% 100%;
    animation: seavin-nav-underline 6.5s linear infinite;
    pointer-events: none;
}

@keyframes seavin-nav-shimmer {
    0% { background-position: 140% 0; }
    100% { background-position: -140% 0; }
}
@keyframes seavin-nav-underline {
    0% { background-position: 140% 0; opacity: 0.65; }
    50% { opacity: 1; }
    100% { background-position: -140% 0; opacity: 0.65; }
}
@keyframes seavin-nav-aurora-row {
    0%, 4% { transform: translateX(-130%); opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    96%, 100% { transform: translateX(480%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .seavin-nav-label::after,
    .seavin-nav-link.is-active::after,
    .seavin-global-header__menu::before,
    .seavin-global-header__menu::after,
    .seavin-global-footer__link-list::before,
    .seavin-global-footer__link-list::after {
        animation: none !important;
    }
    .seavin-nav-label::after,
    .seavin-global-header__menu::before,
    .seavin-global-header__menu::after,
    .seavin-global-footer__link-list::before,
    .seavin-global-footer__link-list::after {
        opacity: 0;
    }
    .seavin-nav-link.is-active::after {
        background-image: none;
        background-color: var(--header-glow-one);
        opacity: 0.9;
    }
}

.seavin-global-header__locale-wrap {
    position: relative;
    flex: 0 0 auto;
    z-index: 40;
}
.seavin-global-header__locale {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--header-text);
    text-decoration: none;
    background: color-mix(in srgb, var(--header-text) 8%, transparent);
    border: 1px solid var(--header-border);
    border-radius: 999px;
    font: inherit;
    cursor: pointer;
    padding: 6px 10px;
    max-width: min(42vw, 220px);
    flex-shrink: 0;
}
.seavin-global-header__locale:hover,
.seavin-global-header__locale[aria-expanded="true"] {
    color: var(--header-text);
    background: color-mix(in srgb, var(--header-glow-one, var(--sgh-accent)) 18%, transparent);
    border-color: color-mix(in srgb, var(--header-glow-one, var(--sgh-accent)) 45%, var(--header-border));
}
.seavin-global-header__locale-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    opacity: 0.95;
}
.seavin-global-header__locale-icon svg {
    display: block;
}
.seavin-global-header__locale-current {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 600;
}
.seavin-global-header__locale-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    border: 1px solid var(--header-border);
    box-shadow: 0 12px 28px rgba(16, 41, 36, .12);
    z-index: 50;
}
.seavin-global-header__locale-menu[hidden] {
    display: none !important;
}
.seavin-global-header__locale-menu a {
    display: block;
    padding: 8px 10px;
    color: #16324a;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
}
.seavin-global-header__locale-menu a:hover,
.seavin-global-header__locale-menu a:focus-visible {
    background: rgba(15, 118, 110, .08);
    outline: none;
}
.seavin-global-header__locale-menu a.is-active {
    font-weight: 700;
    color: var(--sgh-accent);
}

/* Locale-aware typography (system stacks; no external font CDN). */
html[lang="ja"],
html[lang="ja"] .seavin-global-header,
html[lang="ja"] .seavin-global-footer,
html[data-locale="ja"] {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.65;
}
html[lang="ko"],
html[lang="ko"] .seavin-global-header,
html[lang="ko"] .seavin-global-footer,
html[data-locale="ko"] {
    font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", sans-serif;
    line-height: 1.65;
}
html[lang="th"],
html[lang="th"] .seavin-global-header,
html[lang="th"] .seavin-global-footer,
html[data-locale="th"] {
    font-family: "Sarabun", "Thonburi", "Tahoma", sans-serif;
    line-height: 1.8;
}
html[lang="vi"],
html[data-locale="vi"],
html[lang="id"],
html[data-locale="id"] {
    line-height: 1.6;
}
.seavin-global-header__btn,
.seavin-nav-label,
.sv-btn {
    white-space: normal;
    width: auto;
    max-width: 100%;
}

.seavin-global-header__member-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    border: 1px solid var(--header-border);
    box-shadow: 0 12px 28px rgba(16, 41, 36, .12);
    z-index: 20;
}
.seavin-global-header__member-menu[hidden] {
    display: none !important;
}
.seavin-global-header__member-menu a,
.seavin-global-header__logout {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    color: #16324a;
    text-decoration: none;
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer;
}
.seavin-global-header__member-menu a:hover { background: color-mix(in srgb, var(--header-glow-one) 14%, transparent); }
.seavin-global-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex: 0 0 auto;
}
.seavin-global-header__btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--header-glow-one, var(--sgh-accent));
    color: #ffffff;
    text-decoration: none;
    font-size: .92rem;
}
.seavin-global-header__btn--ghost {
    background: transparent;
    color: var(--header-text);
    border: 1px solid var(--header-border);
}
.seavin-global-header__avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}
.seavin-global-header__avatar {
    width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
}
.seavin-global-header__avatar--fallback {
    display: inline-grid; place-items: center;
    background: var(--header-glow-one, var(--sgh-accent));
    color: #ffffff;
    font-weight: 700;
}
.seavin-global-header__member { position: relative; }
.seavin-global-header__burger {
    display: none;
    position: relative;
    z-index: 2;
    width: 40px; height: 40px;
    border: 1px solid var(--header-border);
    background: transparent;
    padding: 8px;
    cursor: pointer;
    color: var(--header-text);
    -webkit-tap-highlight-color: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 5px;
}
.seavin-global-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 0;
    flex: 0 0 2px;
    background: currentColor;
    border-radius: 1px;
    pointer-events: none;
}
.seavin-global-header__drawer-locales {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--header-border);
}
.seavin-global-header__drawer-locales-title {
    margin: 0 0 8px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--header-muted);
}
.seavin-global-header__drawer-locales ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}
.seavin-global-header__drawer-locales a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 0.9rem;
}
.seavin-global-header__drawer-locales a:hover,
.seavin-global-header__drawer-locales a:focus-visible {
    background: color-mix(in srgb, var(--header-glow-one) 14%, transparent);
    outline: none;
}
.seavin-global-header__drawer-locales a.is-active {
    font-weight: 600;
    background: color-mix(in srgb, var(--header-glow-one) 20%, transparent);
}
.seavin-global-header__drawer {
    border-top: 1px solid var(--header-border);
    padding: 12px 16px 18px;
    background: var(--header-background);
    color: var(--header-text);
}
.seavin-global-header__drawer[hidden] {
    display: none !important;
}
.seavin-global-header__drawer ul { list-style: none; margin: 0; padding: 0; }
.seavin-nav-link--drawer {
    display: flex;
    width: 100%;
    padding: 14px 4px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--header-text) !important;
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--header-border) 70%, transparent);
}
.seavin-nav-link--drawer .seavin-nav-label {
    color: inherit !important;
    text-shadow: none !important;
}
.seavin-nav-link--drawer .seavin-nav-label::after {
    /* Disable shimmer overlay — can erase label text on some mobile GPUs */
    content: none !important;
    display: none !important;
    animation: none !important;
}
.seavin-nav-link--drawer.is-active {
    color: var(--header-glow-one, #22d3ee) !important;
}
html.seavin-drawer-open {
    overflow: hidden;
}

/* ~90% SEA VIN brand return; ~10% accent via data-footer-theme hairline/glow */
/* Full-Bleed: footer background reaches viewport edges; inner stays constrained. */
.seavin-global-footer {
    --sgf-bg: #f7fafb;
    --sgf-ink: #10292D;
    --sgf-muted: #6D8184;
    --sgf-line: rgba(12, 92, 96, 0.12);
    --sgf-accent: #0D7174;
    --header-glow-one: #2dd4bf;
    --header-glow-two: #38bdf8;
    --header-glow-three: #818cf8;
    --header-text: var(--sgf-ink);
    --header-muted: var(--sgf-muted);
    --page-accent-primary: var(--header-glow-one);
    --page-accent-secondary: var(--header-glow-two);
    width: 100%;
    max-width: none;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    background:
        radial-gradient(ellipse 50% 80% at 50% 0%, color-mix(in srgb, var(--header-glow-one) 10%, transparent), transparent 55%),
        var(--sgf-bg);
    color: var(--sgf-ink);
    border-top: 1px solid color-mix(in srgb, var(--header-glow-one) 42%, var(--sgf-line));
}
.seavin-global-footer--footer_dark {
    --sgf-bg: #f7fafb;
    --sgf-ink: #10292D;
    --sgf-muted: #6D8184;
    --sgf-line: rgba(12, 92, 96, 0.12);
    --sgf-accent: var(--header-glow-one);
    --header-text: var(--sgf-ink);
    --header-muted: var(--sgf-muted);
}
.seavin-global-footer[data-footer-theme="home"] {
    --header-glow-one: #2dd4bf;
    --header-glow-two: #38bdf8;
    --header-glow-three: #818cf8;
    --sgf-accent: #2dd4bf;
}
.seavin-global-footer[data-footer-theme="about"] {
    --header-glow-one: #2dd4bf;
    --header-glow-two: #38bdf8;
    --header-glow-three: #67e8f9;
    --sgf-accent: #2dd4bf;
}
.seavin-global-footer[data-footer-theme="products"] {
    --header-glow-one: #2dd4bf;
    --header-glow-two: #38bdf8;
    --header-glow-three: #e879f9;
    --sgf-accent: #2dd4bf;
}
.seavin-global-footer[data-footer-theme="chat"] {
    --header-glow-one: #67e8f9;
    --header-glow-two: #22d3ee;
    --header-glow-three: #38bdf8;
    --sgf-accent: #67e8f9;
}
.seavin-global-footer[data-footer-theme="navigation"] {
    --header-glow-one: #38bdf8;
    --header-glow-two: #22d3ee;
    --header-glow-three: #60a5fa;
    --sgf-accent: #38bdf8;
}
.seavin-global-footer[data-footer-theme="promotion"] {
    --header-glow-one: #e879f9;
    --header-glow-two: #a78bfa;
    --header-glow-three: #f472b6;
    --sgf-accent: #e879f9;
}
.seavin-global-footer[data-footer-theme="forum"] {
    --header-glow-one: #818cf8;
    --header-glow-two: #a78bfa;
    --header-glow-three: #60a5fa;
    --sgf-accent: #818cf8;
}
.seavin-global-footer[data-footer-theme="service"] {
    --header-glow-one: #34d399;
    --header-glow-two: #2dd4bf;
    --header-glow-three: #22d3ee;
    --sgf-accent: #34d399;
}
.seavin-global-footer[data-footer-theme="security"] {
    --header-glow-one: #2d71ae;
    --header-glow-two: #1dafaa;
    --header-glow-three: #38bdf8;
    --sgf-accent: #5fa7df;
}
.seavin-global-footer__inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 28px;
}
.seavin-global-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.seavin-global-footer h2 {
    margin: 0 0 12px;
    font-size: 1rem;
}
.seavin-global-footer p,
.seavin-global-footer li { color: var(--sgf-muted); font-size: .92rem; line-height: 1.6; }
.seavin-global-footer ul { list-style: none; margin: 0; padding: 0; }
.seavin-global-footer a { color: var(--sgf-accent); text-decoration: none; }
.seavin-global-footer a:hover { text-decoration: underline; }
.seavin-global-footer__link-list {
    position: relative;
    overflow: hidden;
}
.seavin-global-footer__link-list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 48%;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        color-mix(in srgb, var(--header-glow-one) 55%, transparent) 22%,
        color-mix(in srgb, var(--header-glow-two) 85%, #ffffff) 50%,
        color-mix(in srgb, var(--header-glow-three) 55%, transparent) 78%,
        transparent 100%
    );
    filter: blur(8px);
    opacity: 0.85;
    transform: translateX(-130%);
    animation: seavin-nav-aurora-row 6.2s ease-in-out infinite;
    animation-delay: 0.8s;
    pointer-events: none;
    z-index: 1;
}
.seavin-global-footer__link-list::after {
    content: "";
    position: absolute;
    top: 18%;
    bottom: 18%;
    left: 0;
    width: 22%;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        transparent 100%
    );
    filter: blur(2px);
    opacity: 0.9;
    transform: translateX(-160%);
    animation: seavin-nav-aurora-row 6.2s ease-in-out infinite;
    animation-delay: 0.85s;
    pointer-events: none;
    z-index: 1;
}
.seavin-global-footer__link-list .seavin-nav-link {
    display: inline-flex;
    padding: 4px 0;
    color: var(--sgf-accent);
    font-size: .92rem;
    font-weight: 500;
}
.seavin-global-footer__link-list .seavin-nav-link:hover {
    text-decoration: none;
}
.seavin-global-footer__link-list .seavin-nav-link:hover .seavin-nav-label {
    color: var(--sgf-ink);
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.35),
        0 0 16px color-mix(in srgb, var(--header-glow-two) 35%, transparent);
}
.seavin-global-footer__link-list li {
    position: relative;
    z-index: 2;
}
.seavin-global-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.seavin-global-footer__meta {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--sgf-line);
    color: var(--sgf-muted);
    font-size: .85rem;
}

/* 1440+ default spacing above; tighten between 1161–1439 */
@media (max-width: 1439px) and (min-width: 1281px) {
    .seavin-global-header__inner { gap: 12px; width: min(1280px, calc(100% - 24px)); }
    .seavin-global-header__menu { gap: 2px 10px; }
    .seavin-nav-link { font-size: 0.88rem; padding: 10px 1px; }
    .seavin-global-header__btn { padding: 7px 10px; font-size: .86rem; }
}

/* Any header variant: keep chrome above page content while drawer is open */
.seavin-global-header.is-drawer-open {
    z-index: 450;
}

/* Mobile / tablet drawer at and below 1280 */
@media (max-width: 1280px) {
    .seavin-global-header__nav { display: none; }
    .seavin-global-header__burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: stretch; }
    .seavin-global-header__member-name { display: none; }
    .seavin-global-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seavin-global-header {
        position: sticky;
        top: 0;
        overflow: visible;
    }
    .seavin-global-header.is-drawer-open .seavin-global-header__drawer:not([hidden]) {
        display: block !important;
        position: fixed;
        left: 0;
        right: 0;
        top: var(--seavin-header-offset, 64px);
        z-index: 460;
        max-height: calc(100dvh - var(--seavin-header-offset, 64px) - 8px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px 18px 28px;
        background: #12081c;
        color: #faf5ff;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
        border-bottom: 1px solid var(--header-border);
    }
    .seavin-global-header.is-drawer-open .seavin-global-header__drawer a {
        color: #eef8f7 !important;
    }
    .seavin-global-header.is-drawer-open .seavin-global-header__drawer-locales-title {
        color: rgba(200, 230, 228, 0.75);
    }
}
@media (max-width: 560px) {
    .seavin-global-footer__grid { grid-template-columns: 1fr; }
    .seavin-global-header__btn--ghost { display: none; }
}
