/* Visual skin tokens come only from the selected theme manifest.
   Every theme inherits neutral tokens, so a live switch also clears decoration. */
.uc-app, .tech-home, .bra-admin-theme {
    color-scheme: var(--skin-control-scheme);
}
.uc-app.uc-workbench, .uc-app.uc-intake-app, .tech-home, .bra-admin-theme body.bra-body {
    background-image: var(--skin-canvas);
    background-size: var(--skin-canvas-size);
}
.uc-sidebar { background-image: var(--skin-sidebar); }
.uc-topbar { box-shadow: var(--skin-topbar-shadow); }
.uc-nav-item.is-active {
    background-image: var(--skin-nav-active);
    box-shadow: var(--skin-nav-shadow);
}
.uc-workbench .uc-card, .uc-intake-app .uc-card, .uc-shortcut,
.uc-action-dialog, .uc-search-dialog, .tech-login-card, .tech-register-card {
    background-image: var(--skin-panel);
    box-shadow: var(--skin-panel-shadow);
    border-radius: var(--skin-card-radius);
}
.uc-app .button.is-primary, .tech-home .tech-btn-primary {
    background-image: var(--skin-button-image);
    box-shadow: var(--skin-button-shadow);
    color: var(--skin-button-ink);
}
.uc-app .button.is-primary:hover, .tech-home .tech-btn-primary:hover { filter: brightness(1.08); }
.uc-hero, .uc-workbench .uc-invite-total {
    background: var(--skin-hero-background);
    color: var(--skin-hero-ink);
    box-shadow: var(--skin-panel-shadow);
}
.uc-hero { border: 1px solid var(--uc-line); }
.uc-hero h1, .uc-hero p, .uc-hero .uc-eyebrow, .uc-hero-tags { color: var(--skin-hero-ink); }
.uc-hero h1 { letter-spacing: var(--skin-heading-spacing); overflow-wrap: anywhere; max-width: 100%; }
.uc-hero-star { opacity: var(--skin-symbol-opacity); }
.uc-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
    width: 330px;
    height: 330px;
    right: -45px;
    top: 50%;
    transform: translateY(-50%) rotate(-24deg) scaleX(.8);
    border: 1px solid rgba(var(--tech-accent-rgb), .2);
    border-radius: 50%;
    background-image: var(--skin-orbit);
    opacity: var(--skin-detail-opacity);
}
.uc-hero::before {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 14px;
    border-top: 1px solid rgba(var(--tech-accent-rgb), .28);
    border-bottom: 1px solid rgba(var(--tech-accent-rgb), .15);
    clip-path: polygon(0 0, 48px 0, 48px 1px, 1px 1px, 1px 100%, 100% 100%, 100% calc(100% - 1px), calc(100% - 48px) calc(100% - 1px), calc(100% - 48px) 100%, 0 100%);
    opacity: var(--skin-detail-opacity);
}
.uc-wallet-amount strong, .uc-invite-stats strong, .uc-invite-rate,
.uc-invite-withdraw strong, .uc-invite-amount, .uc-top-balance {
    font-family: var(--skin-number-font);
    font-variant-numeric: tabular-nums;
}
.uc-workbench .uc-card-title h1, .uc-workbench .uc-card-title h2,
.uc-section-heading h2, .uc-invite-link h2 { letter-spacing: var(--skin-heading-spacing); }
.uc-invite-stats .uc-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    width: 34px;
    height: 3px;
    top: -1px;
    right: 22px;
    background: var(--tech-accent);
    box-shadow: 0 0 12px rgba(var(--tech-accent-rgb), .4);
    opacity: var(--skin-detail-opacity);
}
.uc-app .uc-qr { background: #fff; }
@media (max-width: 760px) {
    .uc-hero::after { right: -150px; opacity: calc(var(--skin-detail-opacity) * .6); }
}
@media print {
    .uc-app, .tech-home { background-image: none !important; }
    .uc-hero::before, .uc-hero::after, .uc-invite-stats .uc-card::after { display: none; }
}
