/* Generated from Styles/wls.scss. Edit the SCSS partials, not this file. */

/* Shared application, tracker and notification styling. */

/*

    Base Styling for OUS.

*/
@import url('https://fonts.googleapis.com/css2?family=TikTok+Sans:opsz,wght@12..36,300..900&display=swap');

:root {
    --ous-highlight: #FDDA0D;
    --ous-muted: #9da7b2;
    --ous-migrated-background: #0a0f17;
    --ous-migrated-background-secondary: #0d1320;
    --ous-migrated-background-alt: #0b1220;
    --ous-migrated-highlight: #FDDA0D;
    --ous-migrated-font-color: #e6edf3;
    --ous-migrated-font-color-dark: #565656;
    --ous-migrated-href-color: #9ecbff;
    --ous-migrated-href-hover-color: #cfe6ff;
    --ous-migrated-muted: #9da7b2;

    /* Shared WLS surfaces now follow the public-profile design language. */
    --wls-border: rgba(255, 255, 255, .08);
    --wls-surface: rgba(255, 255, 255, .035);
    --wls-surface-strong: rgba(255, 255, 255, .06);
    --wls-interactive-border: rgba(255, 255, 255, .2);
    --wls-card-radius: 1rem;
    --wls-media-radius: .75rem;
    --wls-card-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
    font-family: "TikTok Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "slnt" 0, "wdth" 100;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


/* ==========================
   App Navbar
   ========================== */

.ous-app-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
    position: relative;
    z-index: 1030;
}

.ous-app-navbar {
    background: rgba(var(--bs-body-bg-rgb), 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.navbar .container {
    padding-top: .35rem;
    padding-bottom: .35rem;
}

.ous-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: .5px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}


.ous-brand-subtitle {
    font-size: .78rem;
}

.ous-app-navlink {
    border-radius: 999px;
    padding: .45rem .8rem;
    margin: .15rem .15rem;
    font-weight: 500;
    color: var(--bs-body-color);
    transition: background-color .15s ease, color .15s ease;
}

    .ous-app-navlink:hover,
    .ous-app-navlink:focus,
    .ous-app-userlink:hover,
    .ous-app-dropdown .dropdown-item:hover,
    a.footer-link:hover,
    a.ous-link:hover,
    .breadcrumb-item a:hover {
        color: var(--ous-highlight);
        background: none;
        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    }

a.footer-link,
a.ous-link,
.breadcrumb-item a{
    color: var(--bs-body-color);
    text-decoration: none;
}


.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
    background: none;
    border: 1px solid rgba(255,255,255,0.12);
}

.ous-app-userlink {
    border-radius: 999px;
    padding: .45rem .65rem;
}

.ous-app-dropdown {
    min-width: 240px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(var(--bs-body-bg-rgb), 0.98);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

    .ous-app-dropdown .dropdown-item {
        border-radius: 10px;
        margin: 2px 8px;
        padding: .55rem .8rem;
    }


.wls-nowplaying-container {
    width: 50vw;
    max-width: 50vw;
    margin-right: 0 !important;
    z-index: 999;
}

.wls-toast {
    width: 100%;
    max-width: none;
    --bs-toast-max-width: none;
    background-color: rgba(var(--bs-body-bg-rgb), 1);
}

.wls-toast-header {
    border-bottom: 0;
}

.wls-pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--ous-migrated-highlight);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.wls-currently-playing {
    color: var(--ous-migrated-highlight);
}

@keyframes pulse {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.3;
    }
}


@media (max-width: 767.98px) {
    .wls-nowplaying-container {
        width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
    }

    }

/* == Notification Bar Dropdown on Nav == */
/* Bell badge: slightly smaller so it tucks nicely on the corner */


/* Panel container (anchor it relative to the bell button) */
#ous-migrated-notification-bell-btn {
    position: relative;
}

.nav-item.ous-migrated-notification-wrapper {
    position: relative;
}

.ous-migrated-notification-panel {
    display: flex;
    position: absolute;
    top: 100%; /* directly below the bell */
    left: 50%; /* anchor to horizontal center of parent */
    transform: translateX(-50%); /* center align under the bell */
    margin-top: 10px; /* little gap */

    width: 360px;
    max-height: 70vh;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: .75rem;
    background: var(--bs-body-bg, #fff);
    z-index: 1055;
    flex-direction: column;
}

    .ous-migrated-notification-panel[hidden] {
        display: none !important;
    }

/* Body scroll area */
.ous-migrated-notification-panel-body {
    overflow-y: auto;
    max-height: 60vh;
}

/* Items */
.ous-migrated-notification-item {
    width: 100%;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    background: transparent;
    border: 0;
    text-align: left;
    padding: .75rem 1rem;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}

    .ous-migrated-notification-item:hover,
    .ous-migrated-notification-item:focus-visible {
        background: rgba(0,0,0,.09);
        outline: none;
    }

.ous-migrated-notification-item-icon {
    flex: 0 0 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,.06);
}

.ous-migrated-notification-item-title {
    font-size: .95rem;
    line-height: 1.2;
}

.ous-migrated-notification-item-meta {
    font-size: .78rem;
    opacity: .7;
}

.bi-bell {
    display: inline-block; /* Required for rotation */
}

/* Narrow viewports: panel fills screen width */
@media (max-width: 576px) {
    .ous-migrated-notification-panel {
        right: -1rem;
        left: -1rem;
        width: auto;
        border-radius: 0 0 .75rem .75rem;
    }
}

/* Shared WLS migrated UI primitives. */

.wls-surface-card {
    color: inherit;
    border: 1px solid var(--wls-border);
    border-radius: var(--wls-card-radius);
    background: var(--wls-surface);
}

.wls-interactive-media {
    border: 1px solid var(--wls-border);
    border-radius: var(--wls-media-radius);
    box-shadow: var(--wls-card-shadow);
    transition: transform .16s ease, border-color .16s ease;
}

.wls-interactive-media:hover {
    transform: translateY(-2px);
    border-color: var(--wls-interactive-border);
}

.wls-stat-card {
    display: flex;
    min-height: 90px;
    flex-direction: column;
    justify-content: center;
    padding: .85rem;
    border: 1px solid var(--wls-border);
    border-radius: var(--wls-card-radius);
    background: var(--wls-surface);
}

.wls-stat-card > span {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.wls-stat-card > small {
    margin-top: .2rem;
    color: var(--bs-secondary-color);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .035em;
}

/* Buttons */
.ous-migrated-btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ous-migrated-font-color);
}

.ous-migrated-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ous-migrated-font-color);
}



/* Covers */
.ous-migrated-cover-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: .75rem;
    background: var(--ous-migrated-background-alt);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* Sections and cards */
.ous-migrated-section-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: .75rem;
}

.ous-migrated-card {
    color: var(--ous-migrated-font-color);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: 1rem;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

/* Bootstrap cards already own their internal spacing through card-body. */
.card.ous-migrated-card {
    padding: 0;
}

a.ous-migrated-link-inherit {
    color: inherit !important;
    border-bottom: 3px solid transparent;
    text-decoration: none;
}

a.ous-migrated-link-inherit:hover {
    color: var(--ous-highlight) !important;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

/* Tables */
.ous-migrated-table {
    --bs-table-bg: inherit;
    --bs-table-color: var(--ous-migrated-font-color);
    --bs-table-border-color: var(--bs-border-color);
    overflow: hidden;
}

.ous-migrated-table thead {
    background-color: inherit;
    color: var(--ous-migrated-highlight);
    font-size: .9rem;
    letter-spacing: .05em;
}

.ous-migrated-table th,
.ous-migrated-table td {
    border-color: var(--bs-border-color);
    vertical-align: middle;
}

.ous-migrated-table tbody tr:nth-child(even),
.ous-migrated-table tbody tr:hover {
    background-color: inherit;
}

/* Catalogue imagery */
.tracker-poster-card {
    display: block;
    height: 100%;
    color: inherit;
}

.tracker-poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.tracker-poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tracker-poster-placeholder,
.tracker-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--ous-migrated-muted);
    background: var(--ous-migrated-background-alt);
    font-size: 2.5rem;
}



/* Detail heroes. */
.tracker-hero {
    position: relative;
    overflow: hidden;
    min-height: 28rem;
    border-radius: 1rem;
    color: #fff;
    background: var(--ous-migrated-background-secondary);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.tracker-hero-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
}

.tracker-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,12,24,0.96) 0%, rgba(7,12,24,0.84) 40%, rgba(7,12,24,0.35) 100%),
                linear-gradient(0deg, rgba(7,12,24,0.92) 0%, transparent 60%);
}

.tracker-hero-content {
    position: relative;
    z-index: 1;
    min-height: 28rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tracker-hero-overview,
.tracker-person-biography {
    max-width: 76ch;
    white-space: pre-line;
}



.tracker-episode-hero {
    position: relative;
    overflow: hidden;
    min-height: 25rem;
    border-radius: 1rem;
    color: #fff;
    background: var(--ous-migrated-background-secondary);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.tracker-episode-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tracker-episode-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7,12,24,0.96) 0%, rgba(7,12,24,0.35) 80%);
}

.tracker-episode-hero-content {
    position: relative;
    z-index: 1;
    min-height: 25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

/* Shared row geometry.  Views choose the surface treatment that fits their page. */
.tracker-credit-card,
.tracker-season-card,
.tracker-episode-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.tracker-credit-image {
    flex: 0 0 3.25rem;
    width: 3.25rem;
    height: 3.25rem;
    overflow: hidden;
    border-radius: 50%;
    background: var(--ous-migrated-background-alt);
}

.tracker-credit-image img,
.tracker-season-poster img,
.tracker-episode-still img,
.tracker-filmography-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tracker-season-poster {
    flex: 0 0 4.25rem;
    width: 4.25rem;
    height: 6.25rem;
    overflow: hidden;
    border-radius: 0.55rem;
    background: var(--ous-migrated-background-alt);
}

.tracker-episode-still {
    flex: 0 0 8rem;
    width: 8rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.6rem;
    background: var(--ous-migrated-background-alt);
}

.tracker-filmography-image {
    flex: 0 0 3.25rem;
    width: 3.25rem;
    height: 4.75rem;
    overflow: hidden;
    border-radius: 0.45rem;
    background: var(--ous-migrated-background-alt);
}

.wls-media-landscape-title {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    height: 5rem;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

    .wls-media-landscape-title > div {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

.wls-media-landscape-card {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.wls-media-landscape-image {
    padding: 0 !important;
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    color: var(--ous-migrated-muted);
    background: var(--ous-migrated-background-alt);
}

    .wls-media-landscape-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.tracker-activity-list-image {
    display: flex;
    width: 12rem;
    min-width: 5rem;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    color: var(--ous-migrated-muted);
    background: var(--ous-migrated-background-alt);
}

.tracker-activity-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tracker-compact-poster {
    display: flex;
    width: 3.5rem;
    min-width: 3.5rem;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: 0.45rem;
    color: var(--ous-migrated-muted);
    background: var(--ous-migrated-background-alt);
}

.tracker-compact-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detail metadata */
.tracker-metadata-list {
    display: grid;
    gap: 0;
}

.tracker-metadata-list > div {
    display: grid;
    grid-template-columns: minmax(7rem, 0.9fr) minmax(0, 1.2fr);
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tracker-metadata-list > div:last-child {
    border-bottom: 0;
}

.tracker-metadata-list dt {
    color: var(--ous-migrated-muted);
    font-weight: 600;
}

.tracker-metadata-list dd {
    margin: 0;
    overflow-wrap: anywhere;
}

/* Empty and activity states */
.tracker-empty-state {
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: var(--ous-migrated-muted);
    background: rgba(255,255,255,0.02);
}

.wls-progress-sm {
    height: .7rem;
}

.tracker-watch-event > summary {
    cursor: pointer;
    list-style: none;
}

.tracker-watch-event > summary::-webkit-details-marker {
    display: none;
}



@media (min-width: 1200px) {
    .position-xl-sticky {
        position: sticky;
    }
}

@media (max-width: 767.98px) {
    .tracker-hero,
    .tracker-hero-content {
        min-height: auto;
    }

    .tracker-hero-content,
    .tracker-episode-hero-content {
        padding: 1.25rem;
    }

    .tracker-hero-overlay {
        background: linear-gradient(0deg, rgba(7,12,24,0.96) 0%, rgba(7,12,24,0.7) 100%);
    }

    .tracker-episode-still {
        flex-basis: 5.5rem;
        width: 5.5rem;
    }

}

@media (max-width: 575.98px) {
    .tracker-activity-list-image {
        width: 12rem;
        height: 12rem;
        min-height: 12rem;
        min-width: 12rem;
    }
}

.progress-bar {
    color: var(--ous-migrated-background-alt);
    font-weight: bold;
    background-color: var(--ous-highlight);
}


/* Compact global search entry in the application navigation. */
.tracker-nav-search {
    display: flex;
    align-items: center;
    gap: .45rem;
    width: 190px;
    padding: .38rem .6rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: .65rem;
    background: rgba(255, 255, 255, .035);
    color: var(--bs-secondary-color);
}

.tracker-nav-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--bs-body-color);
    font-size: .82rem;
}

.tracker-nav-search input::placeholder {
    color: var(--bs-secondary-color);
}

/* Unified local/TMDB search results. */
.tracker-search-result {
    display: flex;
    min-height: 118px;
    overflow: hidden;
}

.tracker-search-result-image {
    display: flex;
    flex: 0 0 82px;
    width: 82px;
    min-height: 118px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--ous-migrated-background-alt);
    color: var(--ous-migrated-muted);
}

.tracker-search-result-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Upcoming media discovery rows. */
.tracker-discovery-poster-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(145px, 170px);
    gap: .9rem;
    overflow-x: auto;
    padding: .15rem .05rem .8rem;
    scroll-snap-type: x proximity;
}

.tracker-discovery-poster {
    min-width: 0;
    scroll-snap-align: start;
}

/* Small reusable helpers used across WLS views. */

.scrollbar::-webkit-scrollbar {
    height: 6px
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 999px
}


.muted {
    color: var(--ous-migrated-muted);
}


.wls-line-clamp-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.wls-line-clamp-2 {
    -webkit-line-clamp: 2;
}



.min-w-0 {
    min-width: 0;
}

/* Shared pills, badges and small status markers. */

/* Badge/pills */
.ous-migrated-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c7ced6;
    font-size: .875rem;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}


.tracker-poster-badges {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}


.tracker-genre-badge {
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(0.4rem);
}


.tracker-active-check-in-icon {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--ous-migrated-highlight);
    border: 1px solid rgba(255,255,255,0.08);
}


.wls-media-landscape-image-meta-pill {
    margin-top: 12px;
    margin-left: 10px;
    left: 0 !important;
    top: 0 !important;
    position: absolute !important;
}

    .wls-media-landscape-image-meta-pill .ous-migrated-meta-pill {
        background: rgba(255, 255, 255, 0.6);
        font-size: 10px !important;
        color: var(--ous-migrated-background-alt);
        font-weight: bold;
    }


.ous-migrated-notification-badge {
    font-size: 0.7rem;
    line-height: 1;
    padding: .25rem .4rem;
}

/* Public profile layout and profile-only presentation. */

.ous-profile-shell {
    --ous-profile-border: var(--wls-border);
    --ous-profile-surface: var(--wls-surface);
    --ous-profile-surface-strong: var(--wls-surface-strong);
    overflow: hidden;
    margin-top: 1rem;
}

.ous-profile-privacy-note {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem .9rem;
    border: 1px solid var(--ous-profile-border, rgba(255, 255, 255, .08));
    border-radius: .75rem;
    background: rgba(255, 255, 255, .03);
    color: var(--bs-secondary-color);
    font-size: .875rem;
}

.ous-profile-hero {
    position: relative;
    min-height: 355px;
    overflow: hidden;
    border: 1px solid var(--ous-profile-border);
    border-bottom: 0;
    border-radius: 1.25rem 1.25rem 0 0;
    background: var(--bs-tertiary-bg);
}

.ous-profile-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.8) brightness(.72);
}

.ous-profile-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 10, 14, .82) 0%, rgba(9, 10, 14, .42) 48%, rgba(9, 10, 14, .22) 100%),
        linear-gradient(0deg, rgba(9, 10, 14, .98) 0%, rgba(9, 10, 14, .6) 34%, transparent 72%);
}

.ous-profile-hero-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: end;
    gap: 1.5rem;
    padding: 2rem;
}

.ous-profile-avatar-wrapper {
    width: 118px;
    height: 118px;
    flex: 0 0 118px;
    padding: 4px;
    border-radius: 50%;
    background: rgba(9, 10, 14, .85);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .35);
}

.ous-profile-avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .14);
}

.ous-profile-identity {
    min-width: 0;
    max-width: 680px;
    padding-bottom: .2rem;
}

.ous-profile-name {
    font-size: clamp(1.7rem, 4vw, 2.45rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.ous-profile-public-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .55rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(0, 0, 0, .28);
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ous-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: .65rem;
    color: rgba(255, 255, 255, .62);
    font-size: .85rem;
}

.ous-profile-meta span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.ous-profile-bio {
    margin-top: .65rem;
    max-width: 62ch;
    color: rgba(255, 255, 255, .82);
    line-height: 1.5;
}

.ous-profile-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem;
    padding-bottom: .2rem;
}

.ous-profile-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 38px;
    padding: .45rem .7rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(0, 0, 0, .3);
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    font-size: .8rem;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.ous-profile-social-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
}

.ous-profile-metrics-ribbon {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border: 1px solid var(--ous-profile-border);
    background: rgba(255, 255, 255, .025);
}

.ous-profile-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    min-height: 82px;
    padding: .8rem .5rem;
    border-right: 1px solid var(--ous-profile-border);
    color: inherit;
    text-decoration: none;
    transition: background-color .15s ease;
}

.ous-profile-metric:last-child {
    border-right: 0;
}

.ous-profile-metric:hover {
    background: var(--ous-profile-surface-strong);
    color: inherit;
}

.ous-profile-metric-value {
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1;
}

.ous-profile-metric-label {
    color: var(--bs-secondary-color);
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.ous-profile-nav {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 1rem;
    border: 1px solid var(--ous-profile-border);
    border-top: 0;
    background: rgba(0, 0, 0, .08);
}

.ous-profile-nav::-webkit-scrollbar {
    display: none;
}

.ous-profile-nav-link {
    position: relative;
    flex: 0 0 auto;
    padding: .9rem .1rem .78rem;
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-size: .86rem;
    font-weight: 600;
}

.ous-profile-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: transparent;
}

.ous-profile-nav-link:hover,
.ous-profile-nav-link.active {
    color: var(--bs-body-color);
}

.ous-profile-nav-link.active::after {
    background: var(--ous-highlight);
}

.ous-profile-content {
    padding: 2rem 0 1rem;
}

.ous-profile-section {
    margin-bottom: 2.5rem;
}


.ous-profile-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ous-profile-section-header h2,
.ous-profile-section-header h3,
.ous-profile-page-heading h2 {
    margin: .08rem 0 0;
    font-size: 1.2rem;
    font-weight: 650;
}

.ous-profile-section-header > a {
    flex: 0 0 auto;
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ous-profile-section-header > a:hover {
    color: var(--bs-body-color);
}

.ous-profile-section-kicker {
    display: block;
    color: var(--ous-highlight);
    /*font-size: .68rem;*/
    font-weight: 700;
    text-transform: uppercase;
    /*letter-spacing: .08em;*/
}

.ous-profile-page-heading {
    max-width: 750px;
    margin-bottom: 1.5rem;
}

.ous-profile-page-heading h2 {
    font-size: 1.6rem;
}

.ous-profile-page-heading p {
    margin: .45rem 0 0;
    color: var(--bs-secondary-color);
}

.ous-profile-poster-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.ous-profile-poster-card {
    min-width: 0;
}

.ous-profile-poster-image {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--bs-tertiary-bg);
    color: inherit;
    text-decoration: none;
}

.ous-profile-poster-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ous-profile-poster-placeholder,
.ous-profile-history-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary-color);
    font-size: 2rem;
}

.ous-profile-poster-badge {
    position: absolute;
    right: .45rem;
    bottom: .45rem;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .28rem .45rem;
    border-radius: .45rem;
    background: rgba(0, 0, 0, .76);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.ous-profile-poster-copy {
    padding-top: .55rem;
}

.ous-profile-poster-title,
.ous-profile-history-title {
    overflow: hidden;
    color: var(--bs-body-color);
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ous-profile-poster-context,
.ous-profile-history-context,
.ous-profile-history-date {
    overflow: hidden;
    margin-top: .12rem;
    color: var(--bs-secondary-color);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ous-profile-history-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
}

.ous-profile-history-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ous-profile-border);
    border-radius: .8rem;
    background: var(--ous-profile-surface);
}

.ous-profile-history-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bs-tertiary-bg);
    color: inherit;
    text-decoration: none;
}

.ous-profile-history-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ous-profile-history-copy {
    padding: .72rem .78rem .8rem;
}

.ous-profile-ranked-list,
.ous-profile-people-list {
    display: flex;
    flex-direction: column;
}

.ous-profile-ranked-item,
.ous-profile-person-row {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    padding: .62rem 0;
    border-top: 1px solid var(--ous-profile-border);
}

.ous-profile-ranked-item:first-child,
.ous-profile-person-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.ous-profile-ranked-number {
    flex: 0 0 1.4rem;
    color: var(--bs-secondary-color);
    font-size: .72rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.ous-profile-ranked-poster {
    display: flex;
    flex: 0 0 42px;
    width: 42px;
    height: 58px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: .38rem;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
}

.ous-profile-ranked-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ous-profile-ranked-title {
    display: block;
    overflow: hidden;
    color: var(--bs-body-color);
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ous-profile-ranked-title:hover {
    color: var(--ous-highlight);
}

.ous-profile-ranked-meta {
    display: block;
    overflow: hidden;
    margin-top: .15rem;
    color: var(--bs-secondary-color);
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ous-profile-person-image {
    display: flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
}

.ous-profile-person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ous-profile-empty-state {
    padding: 1.25rem;
    border: 1px dashed var(--ous-profile-border);
    border-radius: .75rem;
    color: var(--bs-secondary-color);
    font-size: .86rem;
    text-align: center;
}

.ous-profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .75rem;
}


.ous-profile-rating-bars,
.ous-profile-month-bars {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(24px, 1fr);
    align-items: end;
    gap: .35rem;
    min-height: 190px;
    overflow-x: auto;
    padding-top: .4rem;
}

.ous-profile-chart-column {
    display: flex;
    min-width: 24px;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
}

.ous-profile-chart-track {
    position: relative;
    display: block;
    width: 100%;
    height: 145px;
    overflow: hidden;
    border-radius: .3rem .3rem 0 0;
    background: rgba(255, 255, 255, .035);
}

.ous-profile-chart-fill {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 2px;
    background: var(--ous-highlight);
    opacity: .78;
}

.ous-profile-chart-column small {
    max-width: 46px;
    overflow: hidden;
    color: var(--bs-secondary-color);
    font-size: .62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ous-profile-people-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 1.1rem;
}

@media (max-width: 1199.98px) {
    .ous-profile-poster-grid,
    .ous-profile-history-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ous-profile-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ous-profile-people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .ous-profile-hero {
        min-height: 430px;
    }

    .ous-profile-hero-overlay {
        background: linear-gradient(0deg, rgba(9, 10, 14, .98) 0%, rgba(9, 10, 14, .72) 48%, rgba(9, 10, 14, .2) 100%);
    }

    .ous-profile-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }

    .ous-profile-avatar-wrapper {
        width: 96px;
        height: 96px;
        flex-basis: 96px;
    }

    .ous-profile-social {
        justify-content: flex-start;
    }

    .ous-profile-metrics-ribbon {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ous-profile-metric:nth-child(3) {
        border-right: 0;
    }

    .ous-profile-metric:nth-child(-n + 3) {
        border-bottom: 1px solid var(--ous-profile-border);
    }

    .ous-profile-nav {
        justify-content: flex-start;
    }

    .ous-profile-content {
        padding-top: 1.35rem;
    }

    .ous-profile-poster-grid,
    .ous-profile-history-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ous-profile-stat-grid,
    .ous-profile-people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .ous-profile-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
