@font-face { font-family: 'BCIV Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('poppins-400.woff') format('woff'); }
@font-face { font-family: 'BCIV Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('poppins-600.woff') format('woff'); }
@font-face { font-family: 'BCIV Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('poppins-700.woff') format('woff'); }
/* Shared geometry. Legacy page selectors are included only to win their scoped CSS. */
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv.bciv {
    --bciv-surface: #f6f5f0;
    --bciv-bg: #fff;
    --bciv-ink: #242521;
    --bciv-muted: #62635e;
    --bciv-line: #e5e3da;
    --bciv-yellow: #ffc857;
    --bciv-gutter: 40px;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: block;
    background: var(--bciv-surface);
    color: var(--bciv-ink);
    font-family: 'BCIV Poppins', Poppins, sans-serif;
    font-size: 15px;
    line-height: 1.85;
    text-align: left;
    letter-spacing: normal;
    flex-shrink: 0;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups)[data-theme="dark"] .bciv.bciv,
html[data-bciv-theme="dark"] body .bciv.bciv {
    --bciv-surface: #191a1c;
    --bciv-bg: #131416;
    --bciv-ink: #f5f3ee;
    --bciv-muted: #b6b7b4;
    --bciv-line: #343538;
}
body .bciv *, body .bciv *::before, body .bciv *::after { box-sizing: border-box; }
/* The existing Linktree sets a global !important button font. Keep component typography authoritative. */
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv button { font-family: 'BCIV Poppins', Poppins, sans-serif !important; }
body:has(.bciv) { margin: 0; }
html:has(.bciv) { scrollbar-gutter: stable; }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-container {
    width: calc(100% - 2 * var(--bciv-gutter));
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 104px;
    position: relative;
    gap: 24px;
    border: 0;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-divider::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--bciv-line); }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv a {
    color: inherit;
    text-decoration: none;
    font-family: inherit;
    box-shadow: none;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0;
    padding: 0;
    min-height: 44px;
    line-height: 1.3;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-brand img {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-identification { display: block; margin: 0; }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-name {
    display: block;
    margin: 0;
    color: var(--bciv-ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.2px;
    line-height: 1.3;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-subtitle {
    display: block;
    margin: 3px 0 0;
    color: var(--bciv-muted);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: .5px;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-actions { display: flex; align-items: center; gap: 26px; }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-home {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.85;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-theme {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    width: 74px;
    height: 44px;
    min-width: 74px;
    margin: 0;
    padding: 4px;
    border: 1px solid var(--bciv-line);
    border-radius: 26px;
    background: var(--bciv-bg);
    color: var(--bciv-muted);
    cursor: pointer;
    box-shadow: none;
    line-height: 1;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-theme .icon {
    position: relative;
    z-index: 2;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-theme .theme-knob {
    position: absolute;
    top: 5px;
    left: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bciv-yellow);
    transform: none;
    transition: transform .2s;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-theme .sun { color: #24211a; }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-theme .moon { color: var(--bciv-muted); }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-theme[aria-pressed="true"] .theme-knob { transform: translateX(32px); }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-theme[aria-pressed="true"] .sun { color: var(--bciv-muted); }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-theme[aria-pressed="true"] .moon { color: #24211a; }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv.bciv-footer {
    padding: 10px 0 max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--bciv-line);
    margin-top: auto;
    min-height: 65px;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-footer-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 44px;
    gap: 0 20px;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv :is(.bciv-footer-link, .bciv-copyright, .bciv-automatic) {
    margin: 0;
    padding: 0;
    color: var(--bciv-muted);
    font: 400 13px/1.85 'BCIV Poppins', Poppins, sans-serif;
    text-decoration: none;
    letter-spacing: normal;
    text-transform: none;
    background: none;
    border: 0;
    box-shadow: none;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-copyright { grid-column: 2; grid-row: 1; text-align: center; }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-automatic { grid-column: 3; grid-row: 1; justify-self: end; min-height: 44px; cursor: pointer; }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv :is(a,button):focus-visible { outline: 3px solid #b17b13; outline-offset: 4px; }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv :is(a,button):hover { text-decoration: none; }
:is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv [hidden] { display: none; }
@media(max-width:950px) {
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv.bciv { --bciv-gutter: 24px; }
}
@media(max-width:740px) {
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv.bciv { --bciv-gutter: 20px; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-header-row { min-height: 86px; gap: 10px; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-brand { gap: 9px; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-brand img { width: 38px; height: 38px; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-name { font-size: 12px; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-subtitle { font-size: 8px; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-actions { gap: 14px; }
}
@media(max-width:540px) {
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-footer-row { grid-template-columns: 1fr 1fr; gap: 0 12px; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-automatic { grid-column: 2; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-copyright { grid-column: 1/-1; grid-row: 2; padding-bottom: 5px; }
}
@media(max-width:420px) {
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-header-row { flex-wrap: wrap; padding-block: 14px; gap: 6px; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-actions { display: contents; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-brand { order: 0; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-theme { order: 1; margin-left: auto; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-home { order: 2; flex-basis: 100%; min-height: 30px; font-size: 11px; }
}
@media(max-width:360px) {
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv.bciv { --bciv-gutter: 16px; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-name { font-size: 11px; }
    :is(body, #bc-linktree, #bc-privacy, #bc-groups) .bciv .bciv-subtitle { font-size: 7px; }
}
@media(prefers-reduced-motion:reduce) { body .bciv * { transition: none !important; } }
