/* —— Shell ————————————————————————————————————————————————————— */ .app-shell { position: relative; height: 100%; width: 100%; overflow: hidden; background: var(--bg); } .main-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable; } .main-scroll > main { min-height: 100%; padding-bottom: 80px; } .page-enter { animation: page-in 300ms var(--ease-out) both; } @keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } } .page-pad { padding: 0 var(--gutter); } .page-pad.top { padding-top: calc(var(--nav-h) + 34px); } .page-title { font-size: clamp(30px, 2.6vw, 40px); letter-spacing: -0.045em; margin: 6px 0 10px; font-weight: 760; line-height: 1.08; } .page-subtitle { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; max-width: 620px; } /* —— Top bar ——————————————————————————————————————————————————— */ .topbar { position: absolute; z-index: 50; top: 0; left: 0; right: 10px; /* keep the scrollbar uncovered */ height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding-left: calc(var(--gutter) - 10px); gap: 20px; transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease); } .topbar::before { content: ''; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(9, 10, 12, 0.78) 0%, rgba(9, 10, 12, 0.38) 55%, transparent 100%); pointer-events: none; z-index: -1; transition: opacity var(--t); } /* No backdrop blur: it re-renders the page behind the bar on every scroll frame. */ .topbar.solid { background: rgba(11, 12, 14, 0.95); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05); } .topbar.solid::before { opacity: 0; } .topbar-left, .topbar-right { display: flex; align-items: center; height: 100%; min-width: 0; } .topbar-left { gap: 6px; flex: 1; } .topbar-right { gap: 4px; flex: none; } .nav-back { width: 0; overflow: hidden; opacity: 0; height: 36px; border-radius: 8px; display: grid; place-items: center; color: #e3e6e7; transition: width var(--t) var(--ease), opacity var(--t), background var(--t-fast); } .nav-back.show { width: 36px; opacity: 1; } .nav-back:hover { background: rgba(255, 255, 255, 0.1); } .brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px; margin-right: 22px; border-radius: 8px; font-weight: 760; font-size: 17px; letter-spacing: 0.16em; color: #f2f4f3; white-space: nowrap; } .primary-nav { display: flex; align-items: center; height: 100%; gap: 26px; } .nav-item { position: relative; height: 100%; display: flex; align-items: center; gap: 7px; color: #a7abb0; font-size: 13.5px; font-weight: 560; white-space: nowrap; transition: color var(--t-fast); } .nav-item:hover { color: #fff; } .nav-item.active { color: #fff; font-weight: 680; } .nav-item::after { content: ''; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; border-radius: 2px; background: #e2e8e5; opacity: 0; transform: scaleX(0); transition: transform var(--t) var(--ease-out), opacity var(--t) var(--ease-out); } .nav-item.active::after { opacity: 1; transform: none; } .nav-count { min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 760; display: grid; place-items: center; } .avatar-btn { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; margin: 0 8px 0 6px; background: #89aba2; color: #12201c; font-weight: 800; display: grid; place-items: center; transition: box-shadow var(--t-fast); } .avatar-btn:hover { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55); } .avatar-btn img { width: 100%; height: 100%; object-fit: cover; } .window-controls { display: flex; height: 100%; align-self: stretch; margin-left: 6px; } .window-controls button { width: 46px; height: 100%; max-height: 40px; display: grid; place-items: center; color: #c9cdd0; transition: background var(--t-fast); } .topbar .window-controls button { max-height: none; height: 34px; align-self: flex-start; } .window-controls button:hover { background: rgba(255, 255, 255, 0.1); color: #fff; } .window-controls button.close:hover { background: #c42b1c; } .window-drag { position: fixed; top: 0; left: 0; right: 0; height: 40px; z-index: 60; display: flex; justify-content: flex-end; } /* macOS draws its traffic lights at the top left (tauri.macos.conf.json places them in the bar's centre line); keep the bar's content clear of them. */ html.os-macos:not(.window-fullscreen) { --traffic-lights: 92px; } html.os-macos:not(.window-fullscreen) .topbar { padding-left: max(calc(var(--gutter) - 10px), var(--traffic-lights)); } /* —— Splash ————————————————————————————————————————————————— */ .splash { position: fixed; inset: 0; z-index: 2000; } .splash canvas { display: block; width: 100%; height: 100%; pointer-events: none; } /* The app beneath settles from a slight zoom as the camera flies through the aperture (held for the first quarter of the exit, then decelerating). */ html.splash-arrival .app-shell, html.splash-arrival .auth-screen { animation: splash-arrival 640ms linear both; } @keyframes splash-arrival { 0% { transform: scale(1.14); } 25% { transform: scale(1.14); animation-timing-function: cubic-bezier(0.05, 0.7, 0.1, 1); } 100% { transform: none; } } /* —— Sign-in and server picker ———————————————————————————————— */ .auth-screen { position: fixed; inset: 0; display: grid; place-items: center; padding: 40px 20px; overflow-y: auto; background: var(--bg); } .auth-backdrop { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(42, 92, 86, 0.55) 0%, transparent 70%), radial-gradient(ellipse 55% 60% at 10% 100%, rgba(96, 70, 40, 0.45) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 50% 50%, rgba(25, 32, 36, 0.8) 0%, transparent 80%), #08090b; } .auth-card { position: relative; width: min(480px, 100%); padding: 44px 44px 34px; border-radius: 20px; background: rgba(20, 23, 26, 0.72); backdrop-filter: blur(30px) saturate(1.2); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.09); animation: rise-in 500ms var(--ease-out); } .auth-card.wide { width: min(620px, 100%); } .auth-brand { display: flex; align-items: center; gap: 14px; font-weight: 760; letter-spacing: 0.24em; font-size: 16px; margin-bottom: 34px; } .auth-card h1 { font-size: 30px; line-height: 1.12; letter-spacing: -0.04em; margin: 0 0 12px; font-weight: 760; } .auth-lede { color: #b7bec1; line-height: 1.6; margin: 0 0 26px; font-size: 14px; } .auth-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 6px; } .auth-actions.spread { flex-direction: row; align-items: center; margin-top: 22px; } .auth-link { color: var(--accent); font-size: 12.5px; font-weight: 600; padding: 4px 0; } .auth-link:hover { color: var(--accent-strong); } .auth-manual { display: block; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; text-align: left; color: var(--muted); font-size: 12px; } .auth-manual:hover { color: #fff; } .auth-waiting { display: flex; align-items: center; gap: 12px; color: #c9d2d0; margin: 4px 0 22px; } .auth-code { font-size: 46px; font-weight: 760; letter-spacing: 0.24em; padding: 16px 0 18px; color: #fff; } .auth-error { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 12px 14px; border-radius: 9px; background: rgba(185, 80, 79, 0.16); color: #f0c4c3; font-size: 12.5px; line-height: 1.5; } .auth-form { margin-top: 4px; } .server-list { display: flex; flex-direction: column; gap: 8px; } .server-row { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 11px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); text-align: left; transition: background var(--t-fast), transform var(--t-fast); } .server-row:hover:not(:disabled) { background: rgba(255, 255, 255, 0.09); } .server-row.current { box-shadow: inset 0 0 0 1px rgba(169, 199, 192, 0.5); } .server-glyph { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #22352f; color: #a0c7b6; flex: none; } .server-text { flex: 1; min-width: 0; } .server-text strong { display: block; font-size: 14px; margin-bottom: 3px; } .server-text small { color: var(--muted); font-size: 11.5px; } .presence { font-size: 11px; color: var(--dim); display: flex; align-items: center; gap: 6px; } .presence::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #5c6266; } .presence.on { color: #9dc7b3; } .presence.on::before { background: #78b997; box-shadow: 0 0 0 3px rgba(120, 185, 151, 0.15); } .offline-banner { position: absolute; z-index: 60; top: 0; left: 0; right: 0; height: 44px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; background: rgba(64, 52, 30, 0.9); color: #f1dfb8; font-size: 12.5px; } .app-shell.offline .main-scroll { top: 44px; } .app-shell.offline .downloads-page { padding-top: 34px; } /* —— Backdrop ——————————————————————————————————————————————— */ .backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; } .backdrop-layer { position: absolute; inset: 0; opacity: 0; transition: opacity 420ms var(--ease); } .backdrop-layer.ready { opacity: 1; } /* The colour wash lives outside the clipped backdrop so it can carry on down the page behind the rows, fading out as it goes. */ .backdrop-tint { position: absolute; top: 0; left: 0; right: 0; height: calc(100% + 70vh); z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.75) 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.75) 45%, transparent 100%); } .backdrop-wash { position: absolute; inset: 0; opacity: 0; transition: opacity 420ms var(--ease); } .backdrop-wash.ready { opacity: 0.5; } .backdrop-art { position: absolute; top: 0; right: 0; width: 74%; height: 100%; object-fit: cover; object-position: 50% 22%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 18%, #000 42%), linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.6) 22%, #000 55%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 18%, #000 42%), linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.6) 22%, #000 55%); mask-composite: intersect; animation: art-settle 1.4s var(--ease-out) both; } @keyframes art-settle { from { transform: scale(1.04); } to { transform: none; } } .backdrop-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 10, 12, 0.92) 0%, rgba(9, 10, 12, 0.6) 30%, rgba(9, 10, 12, 0.08) 62%, transparent 100%), linear-gradient(0deg, var(--bg) 0%, rgba(9, 10, 12, 0.6) 14%, transparent 40%); } /* With the wash, the art's own mask fades it into the tinted page; the scrim only keeps the copy legible instead of painting the page back to black. */ .backdrop.washed .backdrop-scrim { background: linear-gradient(90deg, rgba(9, 10, 12, 0.55) 0%, rgba(9, 10, 12, 0.25) 34%, transparent 60%); } /* —— Hero ———————————————————————————————————————————————————— */ .hero { position: relative; /* A minimum, not a fixed height: long copy grows the hero instead of running up under the navigation. */ min-height: clamp(430px, 64vh, 760px); padding-top: calc(var(--nav-h) + 36px); display: flex; align-items: flex-end; isolation: isolate; } .hero.section { min-height: clamp(400px, 56vh, 660px); /* Clear of the overlaid section header (title and tabs). */ padding-top: calc(var(--nav-h) + 96px); } .hero.empty { min-height: clamp(240px, 30vh, 320px); } .hero-content { position: relative; z-index: 2; width: min(640px, 58%); margin-left: var(--gutter); padding-bottom: clamp(84px, 12vh, 130px); animation: hero-copy-in 640ms var(--ease-out) both; } .hero.section .hero-content { padding-bottom: clamp(78px, 11vh, 116px); } @keyframes hero-copy-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } } .hero-eyebrow { margin-bottom: 16px; } .hero-title { margin: 0 0 18px; } .hero-episode { font-size: 14px; color: #dfe3e4; margin: -6px 0 12px; font-weight: 560; } .hero-summary { color: #d0d5d8; font-size: 14px; line-height: 1.62; margin: 16px 0 24px; max-width: 560px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); } .hero-dots { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(96px, 13vh, 140px); display: flex; gap: 7px; } .hero.section .hero-dots { bottom: clamp(88px, 12vh, 126px); } .hero-dots button { width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.35); position: relative; overflow: hidden; transition: width var(--t) var(--ease-out), background var(--t); } .hero-dots button:hover { background: rgba(255, 255, 255, 0.6); } .hero-dots button.active { width: 26px; background: rgba(255, 255, 255, 0.35); } .hero-dot-progress { position: absolute; inset: 0; background: #eef3f1; transform-origin: left; animation: dot-fill 8s linear both; } .hero-dots button.active:not(:has(.hero-dot-progress)) { background: #eef3f1; } @keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } } /* —— Title art and facts ——————————————————————————————————————— */ .title-art { margin: 0; display: flex; align-items: flex-end; } .title-art img { width: auto; height: auto; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45)); opacity: 0; transition: opacity 400ms var(--ease); } .title-art img.ready { opacity: 1; } .title-text { font-size: clamp(36px, 3.8vw, 64px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 780; margin: 0; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4); } .title-text.small { font-size: clamp(24px, 2.2vw, 34px); } .facts { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #d6dadc; font-size: 13px; font-weight: 500; } .fact { display: inline-flex; align-items: center; gap: 10px; } .fact-sep { color: #6f777a; } .ratings { display: inline-flex; align-items: center; gap: 14px; margin-left: 4px; } .rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-variant-numeric: tabular-nums; } .rating img { height: 17px; width: auto; } .rating img.imdb { height: 15px; } .format-badges { display: inline-flex; gap: 6px; margin-left: 2px; } /* —— Shelves ————————————————————————————————————————————————— */ .shelves { position: relative; z-index: 2; } .shelves.over-hero { margin-top: clamp(-90px, -9vh, -60px); } .shelf-section { margin: 0 0 34px; } .shelf-section.flush .shelf-head, .shelf-section.flush .shelf { padding-left: 0; padding-right: 0; } .shelf-head { padding: 0 var(--gutter); margin-bottom: 12px; } .shelf-head h2 { font-size: 19px; letter-spacing: -0.028em; font-weight: 700; margin: 0; display: flex; align-items: baseline; gap: 12px; } .shelf-head small { color: var(--dim); font-size: 11.5px; font-weight: 500; } .shelf-title-link { display: inline-flex; align-items: center; gap: 4px; font: inherit; letter-spacing: inherit; } .shelf-title-link svg { opacity: 0; transform: translateX(-4px); color: var(--accent); transition: opacity var(--t-fast), transform var(--t-fast); } .shelf-title-link:hover svg, .shelf-section:hover .shelf-title-link svg { opacity: 1; transform: none; } .shelf-wrap { position: relative; } .shelf { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding: 0 var(--gutter); padding: 4px var(--gutter) 10px; scrollbar-width: none; } .shelf::-webkit-scrollbar { display: none; } .shelf > * { scroll-snap-align: start; } .shelf-paddle { position: absolute; z-index: 4; top: 4px; bottom: 10px; width: calc(var(--gutter) - 6px); min-width: 38px; display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity var(--t), background var(--t-fast); } .shelf-paddle.prev { left: 0; background: linear-gradient(90deg, rgba(9, 10, 12, 0.85), rgba(9, 10, 12, 0.3)); } .shelf-paddle.next { right: 0; background: linear-gradient(270deg, rgba(9, 10, 12, 0.85), rgba(9, 10, 12, 0.3)); } .shelf-wrap:hover .shelf-paddle:not(.hidden) { opacity: 1; } .shelf-paddle.hidden { pointer-events: none; } .shelf-paddle svg { transition: transform var(--t-fast); } .shelf-paddle:hover svg { transform: scale(1.2); } /* —— Cards ——————————————————————————————————————————————————— */ .card { position: relative; flex: 0 0 auto; scroll-margin: 96px 48px 48px; cursor: pointer; border-radius: 7px; outline-offset: 3px; min-width: 0; } .shelf .card.poster { width: clamp(132px, 10.4vw, 186px); } .shelf .card.landscape { width: clamp(232px, 19.5vw, 340px); } .card-cover { position: relative; border-radius: 6px; overflow: hidden; background: #1b1e22; aspect-ratio: 2 / 3; transform: translateZ(0); transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05); } .card.landscape .card-cover { aspect-ratio: 16 / 9; } .card-cover .artwork { position: absolute; inset: 0; transition: opacity 360ms var(--ease), transform 420ms var(--ease-out); } .card:hover .card-cover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12); } .card:hover .card-cover .artwork { transform: scale(1.035); } .card:focus-visible .card-cover { box-shadow: 0 0 0 2px #f2f5f4; } .cover-fallback { padding: 12px; text-align: center; font-size: 12px; font-weight: 600; color: #c3c8cb; } .card-hover { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 7, 8, 0.82) 0%, rgba(6, 7, 8, 0.15) 46%, transparent 70%); opacity: 0; transition: opacity var(--t); } .card:hover .card-hover, .card:focus-visible .card-hover { opacity: 1; } .card-actions { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(6px); transition: opacity var(--t), transform var(--t) var(--ease-out); } .card:hover .card-actions, .card:focus-visible .card-actions { opacity: 1; transform: none; } .card-play { width: 38px; height: 38px; border-radius: 50%; background: #f4f5f5; color: #131516; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); transition: transform var(--t-fast); } .card-play svg { margin-left: 2px; } .card-play:hover { transform: scale(1.08); } .card-more { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(24, 27, 30, 0.78); box-shadow: inset 0 0 0 1.4px rgba(255, 255, 255, 0.45); margin-left: auto; } .card-more:hover { background: rgba(255, 255, 255, 0.22); } .watch-badge { position: absolute; right: 7px; top: 7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: rgba(16, 22, 21, 0.9); color: #b9e4cf; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); } .watch-badge.count { color: #fff; } .progress-line { position: absolute; left: 8px; right: 8px; bottom: 7px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); overflow: hidden; transition: opacity var(--t); } .progress-line > i { display: block; height: 100%; background: #e7efec; border-radius: inherit; } .card:hover .progress-line { opacity: 0; } .card-logo { position: absolute; left: 12px; bottom: 14px; max-width: 55%; height: 34%; display: flex; align-items: flex-end; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6)); transition: opacity var(--t); } .card-logo img { max-width: 100%; max-height: 100%; object-fit: contain; object-position: left bottom; } .card:hover .card-logo { opacity: 0; } .card-caption { padding: 9px 2px 0; min-height: 44px; } .card-title { font-size: 12.5px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #eef0f1; } .card.landscape .card-title { font-size: 13px; } .card-meta { font-size: 11.5px; color: #8a9196; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .card.placeholder { pointer-events: none; } .card.placeholder .card-cover { box-shadow: none; } .extra-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 22, 24, 0.72); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); color: #fff; transition: transform var(--t-fast); } .card:hover .extra-play { transform: scale(1.08); background: rgba(255, 255, 255, 0.9); color: #111; } /* People */ .person-card { flex: 0 0 auto; width: 120px; text-align: center; border-radius: 8px; padding: 2px 0 6px; } .person-card:disabled { opacity: 1; cursor: default; } .person-photo { width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #30353b, #524a46); display: grid; place-items: center; font-size: 22px; color: #ddd8d3; position: relative; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); transition: transform var(--t) var(--ease-out), box-shadow var(--t); } .person-photo .artwork { position: absolute; inset: 0; } .person-card:hover:not(:disabled) .person-photo { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.4); } .person-card b { display: block; font-size: 12px; font-weight: 620; line-height: 1.35; } .person-card small { display: block; font-size: 11px; color: #848b90; margin-top: 3px; line-height: 1.3; } /* Grids */ .poster-grid.auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(132px, 11vw, 180px), 1fr)); gap: 26px 16px; } .poster-grid.auto.wide { grid-template-columns: repeat(auto-fill, minmax(clamp(240px, 20vw, 320px), 1fr)); } .grid-count { color: var(--muted); font-size: 12px; margin: 0 0 16px; display: flex; align-items: center; gap: 4px; } .grid-sentinel { display: grid; place-items: center; min-height: 80px; } /* —— Hover preview ——————————————————————————————————————————— */ .hover-preview { position: fixed; z-index: 700; width: 320px; border-radius: 12px; overflow: hidden; background: rgba(26, 29, 32, 0.97); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.1); pointer-events: none; animation: preview-in 200ms var(--ease-out); } .hover-preview.left { animation-name: preview-in-left; } @keyframes preview-in { from { opacity: 0; transform: translateX(-6px); } } @keyframes preview-in-left { from { opacity: 0; transform: translateX(6px); } } .hover-preview-art { position: relative; aspect-ratio: 16 / 9; background: #111; } .hover-preview-art img { width: 100%; height: 100%; object-fit: cover; } .hover-preview-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26, 29, 32, 1) 0%, transparent 55%); } .hover-preview-art .hover-preview-logo { position: absolute; z-index: 1; left: 14px; bottom: 10px; width: auto; height: auto; max-width: 60%; max-height: 46px; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6)); } .hover-preview-body { padding: 10px 16px 16px; display: flex; flex-direction: column; gap: 8px; } .hover-preview-title { font-size: 15px; } .hover-preview-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 11.5px; color: #c3c9cb; } .hover-preview .ratings { margin: 0; font-size: 12px; } .hover-preview p { margin: 0; font-size: 12px; line-height: 1.55; color: #aeb5b8; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }