.primary-button, .secondary-button, .danger-button, .ghost-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 19px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 680;
    transition: background-color .16s ease, color .16s ease, transform .16s ease, border-color .16s ease;
}
.primary-button { background: #f1f1f2; color: #0c0d0f; }
.secondary-button, .ghost-button { background: #22242a; color: white; border: 1px solid var(--line-strong); }
.danger-button { background: #3a1d20; color: #ffb3b8; border: 1px solid rgba(239, 107, 107, .34); }
.primary-button:hover, .secondary-button:hover, .danger-button:hover, .ghost-button:hover { transform: translateY(-1px); }
.primary-button:hover { background: white; }
.secondary-button:hover, .ghost-button:hover { background: #2b2e34; }
.primary-button:disabled, .secondary-button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.small-button { min-height: 34px; padding-inline: 12px; font-size: 11.5px; }

.media-card { position: relative; min-width: 0; }
.poster-wrap { position: relative; overflow: hidden; aspect-ratio: 2 / 3; background: #17191d; border: 1px solid rgba(255, 255, 255, .04); border-radius: 5px; }
.poster-wrap > a { display: block; height: 100%; }
.poster-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease, filter .2s ease; }
.poster-fallback { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); }
.poster-fallback small { font-size: 10px; }
.card-type { position: absolute; top: 7px; left: 7px; padding: 4px 6px; background: rgba(7, 8, 10, .82); color: #d7d8db; border: 1px solid rgba(255, 255, 255, .1); border-radius: 3px; font-size: 8px; font-weight: 700; letter-spacing: .65px; text-transform: uppercase; }
.quick-actions { position: absolute; right: 8px; bottom: 8px; left: 8px; display: flex; gap: 6px; opacity: 0; transform: translateY(5px); transition: opacity .18s ease, transform .18s ease; }
.icon-button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; background: rgba(7, 8, 10, .92); color: white; border: 1px solid var(--line-strong); border-radius: 4px; }
.icon-button:hover { background: white; color: #090a0c; }
.media-card:hover .poster-wrap img { transform: scale(1.025); filter: brightness(.63); }
.media-card:hover .quick-actions, .media-card:focus-within .quick-actions { opacity: 1; transform: none; }
.card-title { display: -webkit-box; overflow: hidden; min-height: 38px; margin: 10px 0 5px; font-size: 15px; font-weight: 620; line-height: 1.28; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-title:hover { color: var(--accent); }
.card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; }
.rating { display: inline-flex; align-items: center; gap: 4px; color: #d9dade; }
.rating svg { color: var(--accent); fill: rgba(232, 170, 70, .3); }
.ranked-row { grid-auto-columns: clamp(260px, 15vw, 280px); column-gap: 32px; padding-left: 28px; scroll-padding-left: 28px; }
.ranked-row .media-card { width: clamp(260px, 15vw, 280px); }
.ranked-visual { position: relative; padding-left: 90px; }
.rank-number { position: absolute; z-index: 0; top: -26px; bottom: 0; left: -110px; width: 220px; display: flex; align-items: center; justify-content: flex-end; overflow: hidden; color: #111317; font-family: "Arial Black", Impact, sans-serif; font-size: 340px; font-variant-numeric: tabular-nums; font-weight: 900; letter-spacing: -38px; line-height: .82; text-align: right; transform: scaleX(.6); transform-origin: right center; -webkit-text-stroke: 2px #70737a; }
.rank-number.is-one { transform: scaleX(.9); }
.rank-number.is-double-digit { left: -250px; width: 360px; letter-spacing: -50px; transform: scaleX(.38); }
.media-card.is-ranked .poster-wrap { position: relative; z-index: 1; }
.media-card.is-ranked .card-title, .media-card.is-ranked .card-meta { position: relative; z-index: 1; margin-left: 90px; }

.empty-state { min-height: 310px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: 620px; }
.empty-state h1, .empty-state h2 { margin: 0 0 10px; }
.empty-state p { color: var(--muted); line-height: 1.6; }
.status-note { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.status-note svg { margin-top: 1px; color: var(--accent); }

.auth-layout { width: min(1180px, 100%); min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(50px, 8vw, 110px); margin: 0 auto; padding: 120px 34px 70px; }
.auth-story { max-width: 590px; }
.auth-story h1 { margin: 0; font-size: clamp(48px, 5.8vw, 78px); line-height: .94; letter-spacing: -3.6px; }
.auth-story > p:not(.eyebrow) { max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.feature-list { display: grid; gap: 15px; margin: 30px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 11px; color: #d8d9dc; font-size: 13.5px; }
.feature-list svg { color: var(--accent); }
.auth-card { padding: clamp(26px, 4vw, 46px); background: #121418; border: 1px solid var(--line-strong); box-shadow: 0 30px 70px rgba(0, 0, 0, .32); }
.auth-card h2 { margin: 0 0 27px; font-size: 34px; letter-spacing: -1.3px; }
.auth-card form, .settings-form { display: grid; gap: 17px; }
.auth-card label, .settings-form label, .field-label { display: grid; gap: 8px; color: #d4d5d8; font-size: 12px; font-weight: 650; }
input, textarea, select { width: 100%; background: #0c0e11; border: 1px solid var(--line-strong); border-radius: 4px; outline: 0; }
input, select { height: 45px; padding: 0 12px; }
textarea { min-height: 120px; padding: 12px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 170, 70, .1); }
.form-grid { display: grid; gap: 14px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wide-button { width: 100%; }
.auth-switch { margin: 20px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.auth-switch a { color: var(--accent); }
.form-errors { margin-bottom: 18px; padding: 11px 13px; background: #2b1719; border-left: 2px solid var(--danger); color: #ffb9be; font-size: 12px; }
.form-errors p { margin: 5px 0; }
.registration-proof { display: grid; gap: 5px; margin-top: 30px; padding-left: 15px; border-left: 2px solid var(--accent); }
.registration-proof strong { font-size: 14px; }
.registration-proof span { color: var(--muted); font-size: 12px; }
.checkbox-field { display: flex !important; grid-template-columns: 18px 1fr; align-items: flex-start; gap: 9px !important; }
.checkbox-field input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--accent); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }

.catalog-filters { display: grid; grid-template-columns: minmax(250px, 1.6fr) repeat(3, minmax(135px, .6fr)) auto; align-items: end; gap: 10px; margin-bottom: 18px; padding: 16px; background: var(--panel); border: 1px solid var(--line); }
.catalog-filters label { display: grid; gap: 7px; color: var(--muted); font-size: 10.5px; font-weight: 650; letter-spacing: .45px; text-transform: uppercase; }
.input-with-icon { position: relative; }
.input-with-icon > svg { position: absolute; top: 50%; left: 12px; color: var(--muted); transform: translateY(-50%); }
.input-with-icon input { padding-left: 39px; }
.result-heading { display: flex; align-items: center; justify-content: space-between; min-height: 42px; margin-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
.result-heading a { color: var(--accent); }
.media-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 29px 16px; }
.empty-panel { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 20px; background: #101216; border: 1px solid var(--line); text-align: center; }
.empty-panel > div:first-child { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; background: var(--panel-3); border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }
.empty-panel h2, .empty-panel h3 { margin: 0; }
.empty-panel p { max-width: 470px; margin: 10px 0 22px; color: var(--muted); line-height: 1.55; }
.filter-tabs { display: flex; gap: 26px; overflow-x: auto; margin-bottom: 28px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.filter-tabs a { flex: none; position: relative; padding: 0 0 14px; color: var(--muted); font-size: 13px; }
.filter-tabs a:hover, .filter-tabs a.active { color: white; }
.filter-tabs a.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--accent); }

.large-search { width: min(840px, 100%); min-height: 62px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; margin-bottom: 12px; padding: 8px 9px 8px 18px; background: var(--panel); border: 1px solid var(--line-strong); }
.large-search > svg { color: var(--muted); }
.large-search input { height: 44px; padding: 0; background: transparent; border: 0; font-size: 17px; }
.large-search input:focus { box-shadow: none; }
.live-search-results { position: relative; width: min(840px, 100%); }
.live-search-list { position: absolute; z-index: 20; top: 0; right: 0; left: 0; padding: 7px; background: #111317; border: 1px solid var(--line-strong); box-shadow: 0 18px 50px rgba(0, 0, 0, .48); }
.live-search-list a { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 11px; padding: 8px; }
.live-search-list a:hover { background: var(--panel-3); }
.live-search-list img { width: 40px; height: 52px; object-fit: cover; }
.live-search-list span { display: grid; gap: 4px; }
.live-search-list strong { font-size: 13px; }
.live-search-list small { color: var(--muted); font-size: 10.5px; }
.search-prompt { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.search-prompt > div { color: var(--accent); }
.search-prompt h2 { margin: 15px 0 0; color: white; }
.search-prompt p { font-size: 13px; }
.search-group { margin-top: 50px; }
.search-group .section-title-row > span { color: var(--muted); font-size: 11px; }
.person-search-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.person-search-results a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 10px; background: #111317; border: 1px solid var(--line); }
.person-search-results a:hover { border-color: var(--line-strong); }
.person-search-results img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.person-search-results span { display: grid; gap: 4px; }
.person-search-results strong { font-size: 13.5px; }
.person-search-results small { color: var(--muted); font-size: 10.5px; }

.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 30px; color: var(--muted); font-size: 12.5px; }
.back-link:hover { color: white; }
.detail-hero { position: relative; min-height: 710px; height: min(80vh, 770px); overflow: hidden; }
.detail-backdrop { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; filter: saturate(.68) brightness(.7); }
.detail-shade { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 6, 8, .95), rgba(5, 6, 8, .66) 44%, rgba(5, 6, 8, .18) 78%); box-shadow: inset 0 -220px 150px rgba(9, 10, 12, .99); }
.detail-content { position: absolute; z-index: 2; right: clamp(24px, 5vw, 78px); bottom: 64px; left: clamp(24px, 5vw, 78px); display: grid; grid-template-columns: 205px minmax(0, 710px); align-items: end; gap: 34px; }
.detail-poster { width: 205px; height: 308px; align-self: end; object-fit: cover; object-position: center; border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 22px 55px rgba(0, 0, 0, .42); }
.detail-trailer-preview { position: absolute; z-index: 0; inset: 0; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.detail-trailer-preview.is-active { opacity: 1; }
.detail-trailer-player, .detail-trailer-player iframe, .detail-trailer-player video { width: 100%; height: 100%; }
.detail-trailer-player iframe { border: 0; transform: scale(1.015); }
.detail-trailer-player video { object-fit: cover; }
.detail-trailer-preview > button { position: absolute; z-index: 2; top: 92px; right: 28px; width: 38px; height: 38px; display: grid; place-items: center; pointer-events: auto; background: rgba(8, 9, 11, .78); border: 1px solid var(--line-strong); border-radius: 50%; color: white; backdrop-filter: blur(8px); }
.detail-copy h1 { margin: 0; font-size: clamp(42px, 5vw, 76px); line-height: .94; letter-spacing: -3.3px; }
.detail-title-logo { width: auto; max-width: min(420px, 66vw); max-height: 140px; object-fit: contain; object-position: left center; }
.detail-meta, .detail-genres { margin: 14px 0 0; color: #c8c9cd; font-size: 12.5px; }
.detail-genres { margin-top: 7px; }
.scoreline { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 17px; color: #c7c9cd; font-size: 12px; }
.scoreline strong { color: var(--accent); }
.scoreline span { display: inline-flex; align-items: center; gap: 5px; }
.detail-description { max-width: 650px; display: -webkit-box; overflow: hidden; margin: 15px 0 0; color: #d9dade; font-size: 13.5px; line-height: 1.58; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.creator { margin: 10px 0 0; color: var(--muted); font-size: 11.5px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.detail-actions .is-active { background: var(--accent-dark); border-color: rgba(232, 170, 70, .48); color: var(--accent); }
.detail-body { width: min(var(--content), 100%); margin: 0 auto; padding: 0 clamp(24px, 3vw, 46px) 70px; }
.detail-tabs { margin-bottom: 44px; }
.detail-columns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 70px; padding: 8px 0 56px; border-bottom: 1px solid var(--line); }
.detail-columns h2, .streaming-block h2, .seasons-block h2, .game-status h2, .cast-block h2, .community-block h2 { margin: 0 0 15px; font-size: 25px; letter-spacing: -.75px; }
.detail-columns > div > p:not(.eyebrow) { color: #c4c6cb; line-height: 1.68; }
.reason-list { margin-top: 29px; padding-left: 18px; border-left: 2px solid var(--accent); }
.reason-list h3 { margin: 0 0 11px; font-size: 14px; }
.reason-list p { margin: 6px 0; color: var(--muted) !important; font-size: 12px; }
.source-attribution { margin-top: 18px; color: var(--muted) !important; font-size: 11.5px; }
.source-attribution a { color: var(--accent); }
.detail-columns aside h2 { margin-bottom: 8px; font-size: 17px; }
.rating-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.rating-row span { color: var(--muted); }
.rating-row strong { font-size: 18px; }
.rating-row small { color: var(--muted); font-size: 10px; font-weight: 400; }
.streaming-block { display: grid; grid-template-columns: 280px 1fr; gap: 42px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.streaming-block > div:first-child > p:not(.eyebrow) { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.provider-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.provider-list > div { min-height: 64px; display: flex; align-items: center; gap: 11px; padding: 9px; background: var(--panel); border: 1px solid var(--line); }
.provider-list img, .provider-mark { width: 38px; height: 38px; object-fit: cover; }
.provider-mark { display: grid; place-items: center; background: var(--panel-3); color: var(--accent); }
.provider-list > div > span:last-child { display: grid; gap: 4px; }
.provider-list strong { font-size: 12.5px; }
.provider-list small { color: var(--muted); font-size: 10px; }
.provider-unknown { min-height: 110px; display: flex; align-items: center; gap: 15px; padding: 19px; background: var(--panel); border: 1px solid var(--line); }
.provider-unknown > svg { color: var(--accent); }
.provider-unknown p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.seasons-block { padding: 47px 0; border-bottom: 1px solid var(--line); }
.section-title-row > span { color: var(--muted); font-size: 11px; }
.season-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.season-cards a { display: grid; gap: 9px; padding: 18px; background: var(--panel); border: 1px solid var(--line); }
.season-cards a:hover { border-color: var(--line-strong); background: var(--panel-2); }
.season-cards span { color: var(--accent); font-size: 10px; letter-spacing: .7px; text-transform: uppercase; }
.season-cards strong { font-size: 17px; }
.season-cards small { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10.5px; }
.game-status { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 30px; padding: 30px 0 43px; border-bottom: 1px solid var(--line); }
.status-options { display: flex; flex-wrap: wrap; gap: 7px; }
.status-options button, .season-tabs a { padding: 9px 12px; background: #16181d; border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
.status-options button.active, .season-tabs a.active { background: #ececee; border-color: #ececee; color: #0c0d0f; }
.platform-line { grid-column: 2; display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 11.5px; }
.cast-block { padding: 47px 0; border-bottom: 1px solid var(--line); }
.people-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.people-row a { display: grid; grid-template-columns: 58px 1fr; align-items: center; column-gap: 12px; padding: 9px; background: var(--panel); border: 1px solid var(--line); }
.people-row a:hover { border-color: var(--line-strong); }
.people-row img { grid-row: 1 / 3; width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.person-image-fallback { grid-row: 1 / 3; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--panel-3); color: var(--muted); }
.people-row strong { align-self: end; font-size: 13px; }
.people-row small { align-self: start; color: var(--muted); font-size: 10.5px; }
.community-block { display: grid; grid-template-columns: minmax(290px, .7fr) minmax(0, 1.3fr); gap: 54px; padding: 49px 0 56px; border-bottom: 1px solid var(--line); }
.community-copy > p:not(.eyebrow) { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.review-form { display: grid; gap: 12px; margin-top: 22px; }
.review-form label { display: grid; gap: 7px; color: #d5d6d9; font-size: 11px; font-weight: 650; }
.review-list { display: grid; gap: 9px; }
.review-list article { padding: 17px; background: var(--panel); border: 1px solid var(--line); }
.review-list article header { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10.5px; }
.review-list article header strong { color: white; }
.review-list h3 { margin: 13px 0 7px; font-size: 14px; }
.review-list p { color: #c8c9cd; font-size: 12px; line-height: 1.6; }
.review-list details summary { cursor: pointer; color: var(--accent); font-size: 11px; }
.empty-review { min-height: 150px; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); text-align: center; border: 1px solid var(--line); }
.rating-dialog { width: min(520px, calc(100% - 30px)); padding: 28px; background: #121418; border: 1px solid var(--line-strong); color: white; box-shadow: 0 28px 80px rgba(0, 0, 0, .65); }
.rating-dialog::backdrop { background: rgba(0, 0, 0, .78); }
.rating-dialog h2 { margin: 0 0 22px; font-size: 25px; }
.rating-dialog > p:last-child { color: var(--muted); font-size: 11px; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; padding: 5px; background: transparent; color: var(--muted); }
.rating-buttons { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.rating-buttons button { aspect-ratio: 1; background: #22242a; border-radius: 3px; font-size: 11px; }
.rating-buttons button:hover, .rating-buttons button.active { background: var(--accent); color: #171109; }

.videos-block { padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.video-grid button { min-height: 94px; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 13px; padding: 15px; background: var(--panel); border: 1px solid var(--line); color: white; text-align: left; }
.video-grid button:hover { background: var(--panel-2); border-color: var(--line-strong); }
.video-play { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-dark); color: var(--accent); }
.video-grid button > span:last-child { display: grid; gap: 7px; }
.video-grid small { color: var(--accent); font-size: 9px; letter-spacing: .5px; text-transform: uppercase; }
.video-grid strong { overflow: hidden; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.trailer-dialog { width: min(1100px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 18px; background: #0d0f12; border: 1px solid var(--line-strong); color: white; box-shadow: 0 35px 100px rgba(0, 0, 0, .75); }
.trailer-dialog::backdrop { background: rgba(0, 0, 0, .86); backdrop-filter: blur(5px); }
.trailer-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 3px 3px 15px; }
.trailer-dialog-head h2 { margin: 0; font-size: 19px; }
.trailer-dialog-head .eyebrow { margin-bottom: 6px; }
.trailer-dialog .dialog-close { position: static; width: 38px; height: 38px; }
.trailer-player { aspect-ratio: 16 / 9; background: black; }
.trailer-player iframe, .trailer-player video { width: 100%; height: 100%; border: 0; }
.trailer-player video { object-fit: contain; background: black; }
#overview, #cast, #reviews, #streaming, #similar, #seasons { scroll-margin-top: 90px; }

.season-tabs { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 18px; scrollbar-width: none; }
.episode-list { border-top: 1px solid var(--line); }
.episode-list article { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 21px 4px; border-bottom: 1px solid var(--line); }
.episode-number { color: var(--accent); font-size: 19px; font-weight: 680; text-align: center; }
.episode-list h2 { margin: 0 0 6px; font-size: 17px; }
.episode-list p { margin: 0 0 7px; color: #c2c4c9; font-size: 12.5px; }
.episode-list small { color: var(--muted); font-size: 10.5px; }
.episode-list button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; background: #15171c; border: 1px solid var(--line); color: var(--muted); font-size: 10.5px; }
.episode-list button.active { color: var(--accent); border-color: rgba(232, 170, 70, .45); }

.person-hero { display: grid; grid-template-columns: 210px minmax(0, 720px); align-items: end; gap: 36px; margin-bottom: 65px; }
.person-hero > img { width: 210px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 5px; filter: saturate(.8); }
.person-hero h1 { margin: 0; font-size: clamp(44px, 5vw, 68px); letter-spacing: -3px; }
.person-born { color: var(--muted); font-size: 12px; }
.person-bio { margin: 19px 0 0; color: #c4c6cb; line-height: 1.66; }
.credits h2 { font-size: 21px; }
.credits a { display: grid; grid-template-columns: 70px 1fr 120px; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.credits span, .credits small { color: var(--muted); font-size: 11.5px; }
.credits strong { font-size: 13px; }

.profile-header { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 32px; padding-bottom: 35px; }
.profile-avatar-large { width: 160px; height: 160px; display: grid; place-items: center; overflow: hidden; background: var(--panel-3); border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); font-size: 54px; font-weight: 780; }
.profile-avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.profile-identity h1 { margin: 0; font-size: clamp(42px, 5vw, 66px); letter-spacing: -2.8px; }
.username { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.profile-bio { max-width: 660px; margin: 18px 0 0; color: #c9cace; line-height: 1.55; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.profile-actions form { display: flex; }
.profile-tabs { display: flex; gap: 26px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 28px; scrollbar-width: none; }
.profile-tabs a { flex: none; position: relative; padding: 0 0 14px; color: var(--muted); font-size: 12.5px; }
.profile-tabs a.active { color: white; }
.profile-tabs a.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--accent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-bottom: 10px; }
.stats-grid a { display: flex; align-items: end; justify-content: space-between; min-height: 108px; padding: 17px; background: var(--panel); border: 1px solid var(--line); }
.stats-grid a:hover { border-color: var(--line-strong); }
.stats-grid span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.stats-grid svg { color: var(--accent); }
.stats-grid strong { font-size: 31px; }
.profile-progress { display: grid; grid-template-columns: minmax(260px, .6fr) 1fr auto; align-items: center; gap: 25px; margin: 10px 0 42px; padding: 18px; background: #101216; border: 1px solid var(--line); }
.profile-progress h2 { margin: 0; font-size: 20px; }
.profile-progress p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.progress-meter, .mini-progress { height: 5px; overflow: hidden; background: #292c32; }
.progress-meter span, .mini-progress span { display: block; height: 100%; background: var(--accent); }
.profile-progress > strong { font-size: 12px; }
.settings-layout { display: grid; grid-template-columns: 190px minmax(0, 880px); justify-content: center; align-items: start; gap: 58px; }
.settings-nav { position: sticky; top: 105px; display: grid; border-left: 1px solid var(--line); }
.settings-nav a { padding: 10px 14px; color: var(--muted); font-size: 12px; }
.settings-nav a:hover, .settings-nav a.active { color: white; border-left: 2px solid var(--accent); margin-left: -1px; }
.settings-content { min-width: 0; }
.settings-section { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 38px; padding: 31px 0; border-top: 1px solid var(--line); }
.settings-section > div > h2 { margin: 0; font-size: 18px; }
.settings-section > div > p { color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.settings-form small { color: var(--muted); font-size: 10px; font-weight: 400; }
.settings-form fieldset { margin: 0; padding: 0; border: 0; }
.settings-form legend { margin-bottom: 10px; font-size: 12px; font-weight: 650; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.choice-grid label { position: relative; display: block; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { display: block; padding: 10px 11px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
.choice-grid input:checked + span { background: var(--accent-dark); border-color: rgba(232, 170, 70, .45); color: var(--accent); }
.danger-zone { border-top-color: rgba(239, 107, 107, .28); }
.danger-zone h2 { color: #ffb3b8; }
.history-list { display: grid; gap: 8px; }
.history-list article { display: grid; grid-template-columns: 62px 1fr 60px; align-items: center; gap: 15px; padding: 9px; background: var(--panel); border: 1px solid var(--line); }
.history-list img { width: 62px; height: 78px; object-fit: cover; }
.history-list span { color: var(--muted); font-size: 10px; }
.history-list h2 { margin: 5px 0 11px; font-size: 15px; }
.history-list article > strong { color: var(--accent); text-align: center; }
.history-episodes { margin-top: 45px; }
.history-episodes > h2 { font-size: 20px; }
.history-episodes a { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.history-episodes span, .history-episodes small { color: var(--muted); font-size: 10.5px; }
.history-episodes strong { font-size: 12.5px; }
.rating-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rating-list a { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 13px; padding: 8px; background: var(--panel); border: 1px solid var(--line); }
.rating-list a:hover { border-color: var(--line-strong); }
.rating-list img { width: 54px; height: 70px; object-fit: cover; }
.rating-list span { display: grid; gap: 5px; }
.rating-list small { color: var(--muted); font-size: 10px; }
.rating-list strong { font-size: 13px; }
.rating-list b { display: flex; align-items: center; gap: 5px; padding-right: 12px; color: var(--accent); }

.wiki-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr); align-items: end; gap: 55px; padding-bottom: 45px; }
.wiki-hero h1 { margin: 0; font-size: clamp(48px, 6vw, 82px); letter-spacing: -4px; }
.wiki-hero > div > p:not(.eyebrow) { max-width: 660px; color: var(--muted); line-height: 1.6; }
.wiki-hero form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.wiki-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 48px; }
.wiki-categories a { display: flex; align-items: center; gap: 12px; min-height: 86px; padding: 15px; background: var(--panel); border: 1px solid var(--line); }
.wiki-categories a:hover { border-color: var(--line-strong); }
.wiki-categories svg { color: var(--accent); }
.wiki-categories span { display: grid; gap: 5px; }
.wiki-categories strong { font-size: 13px; }
.wiki-categories small { color: var(--muted); font-size: 10px; }
.wiki-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.wiki-grid a { min-height: 210px; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; background: var(--panel); border: 1px solid var(--line); }
.wiki-grid a:hover { background: var(--panel-2); border-color: var(--line-strong); }
.wiki-grid > a > span { color: var(--accent); font-size: 9.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; }
.wiki-grid h3 { margin: 19px 0 8px; font-size: 20px; }
.wiki-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.wiki-grid small { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; color: #d3d4d8; font-size: 10px; }
.wiki-article-header { max-width: 920px; padding-bottom: 43px; border-bottom: 1px solid var(--line); }
.wiki-article-header h1 { margin: 0; font-size: clamp(50px, 7vw, 92px); line-height: .92; letter-spacing: -4.5px; }
.wiki-article-header > p:not(.eyebrow) { max-width: 760px; color: #c9cace; font-size: 17px; line-height: 1.6; }
.wiki-article-header > div { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 10.5px; }
.wiki-article-header span { display: inline-flex; align-items: center; gap: 6px; }
.wiki-article-layout { display: grid; grid-template-columns: minmax(0, 780px) 260px; gap: 75px; padding-top: 45px; }
.prose h2 { margin: 39px 0 13px; font-size: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose { color: #c8c9cd; line-height: 1.75; }
.wiki-article-layout aside > h2 { margin: 0 0 10px; padding-top: 25px; font-size: 14px; border-top: 1px solid var(--line); }
.wiki-article-layout aside > h2:first-child { padding-top: 0; border-top: 0; }
.wiki-article-layout aside > a { display: grid; gap: 5px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.wiki-article-layout aside > a span { color: var(--accent); font-size: 9px; text-transform: uppercase; }
.wiki-article-layout aside > a strong { font-size: 12px; }
.revision { display: grid; gap: 4px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.revision strong { font-size: 11px; }
.revision small { color: var(--muted); font-size: 9.5px; }

.legal-page { max-width: 960px; }
.legal-page > h1 { margin: 0; font-size: clamp(48px, 6vw, 78px); letter-spacing: -3.5px; }
.legal-updated { color: var(--accent); font-size: 11px; }
.legal-page section { margin: 35px 0; padding: 30px; background: var(--panel); border: 1px solid var(--line); }
.legal-page section h2 { margin: 30px 0 8px; font-size: 18px; }
.legal-page section h2:first-child { margin-top: 0; }
.legal-page section p { color: #c7c8cc; font-size: 13px; line-height: 1.7; }
.not-found { position: relative; min-height: 620px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; }
.not-found > span { position: absolute; right: 3vw; color: #0d0f12; font-size: clamp(180px, 30vw, 440px); font-weight: 900; line-height: 1; -webkit-text-stroke: 1px #34373d; }
.not-found h1 { position: relative; max-width: 700px; margin: 0; font-size: clamp(48px, 6vw, 80px); line-height: .96; letter-spacing: -3.8px; }
.not-found > p:not(.eyebrow) { position: relative; max-width: 550px; color: var(--muted); line-height: 1.6; }
.not-found > div { position: relative; display: flex; gap: 8px; margin-top: 18px; }
