push
This commit is contained in:
1 parent
bcf05e8063
commit
f37985b4c8
109 files changed
+22810
-6143
No files matched your search
+160
-149
@@ -1,196 +1,207 @@
|
||||
/*
|
||||
BASE — reset, typography, page frame (header/footer/container).
|
||||
Layout-level stuff only; reusable widgets live in components.css.
|
||||
base.css — reset, typography, layout shell (header, footer, tab bar), utilities.
|
||||
*/
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
|
||||
html {
|
||||
-webkit-text-size-adjust: 100%;
|
||||
text-size-adjust: 100%;
|
||||
scrollbar-color: var(--surface-3) var(--bg);
|
||||
background: var(--bg);
|
||||
}
|
||||
|
||||
html.has-modal { overflow: hidden; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--text-md);
|
||||
line-height: var(--leading-normal);
|
||||
background: var(--color-bg);
|
||||
color: var(--color-text);
|
||||
min-height: 100vh;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: var(--font);
|
||||
font-size: var(--fs-base);
|
||||
line-height: var(--lh);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
overflow-x: hidden;
|
||||
padding-bottom: var(--tabbar-h);
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
}
|
||||
img, svg, video, iframe { display: block; max-width: 100%; }
|
||||
img { color: transparent; }
|
||||
h1, h2, h3, h4, p { margin: 0; }
|
||||
h1, h2, h3 { line-height: var(--lh-tight); letter-spacing: -0.01em; }
|
||||
a { color: inherit; text-decoration: none; }
|
||||
button, input, select, textarea { font: inherit; color: inherit; }
|
||||
button { cursor: pointer; background: none; border: 0; padding: 0; }
|
||||
[hidden] { display: none !important; }
|
||||
::selection { background: var(--accent); color: var(--accent-ink); }
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
:focus { outline: none; }
|
||||
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-sm); }
|
||||
|
||||
button {
|
||||
font: inherit;
|
||||
.sr-only {
|
||||
position: absolute !important;
|
||||
width: 1px; height: 1px;
|
||||
padding: 0; margin: -1px;
|
||||
overflow: hidden; clip: rect(0 0 0 0);
|
||||
white-space: nowrap; border: 0;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
margin: 0;
|
||||
line-height: var(--leading-tight);
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 1px var(--space-1);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* ---- page frame ---------------------------------------------------------- */
|
||||
|
||||
.container {
|
||||
max-width: var(--container-max);
|
||||
margin: 0 auto;
|
||||
padding-left: var(--container-pad);
|
||||
padding-right: var(--container-pad);
|
||||
width: 100%;
|
||||
padding-inline: var(--gutter);
|
||||
}
|
||||
|
||||
.page {
|
||||
padding-top: var(--space-5);
|
||||
padding-bottom: var(--space-8);
|
||||
.muted { color: var(--text-3); }
|
||||
.center { text-align: center; }
|
||||
|
||||
.skip-link {
|
||||
position: fixed; top: 8px; left: 8px; z-index: 200;
|
||||
padding: 10px 16px; border-radius: var(--r-md);
|
||||
background: var(--accent); color: var(--accent-ink); font-weight: var(--fw-bold);
|
||||
transform: translateY(-150%);
|
||||
transition: transform var(--dur) var(--ease);
|
||||
}
|
||||
.skip-link:focus { transform: none; }
|
||||
|
||||
/* ---- header ---------------------------------------------------------------- */
|
||||
.app { min-height: calc(100vh - 120px); }
|
||||
.app:focus { outline: none; }
|
||||
|
||||
/* ---- header ------------------------------------------------------------------- */
|
||||
.site-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 50;
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
background: var(--color-bg);
|
||||
background: color-mix(in srgb, var(--color-bg) 85%, transparent);
|
||||
backdrop-filter: blur(12px);
|
||||
position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
|
||||
height: var(--header-h);
|
||||
background: var(--overlay);
|
||||
background-origin: border-box;
|
||||
-webkit-backdrop-filter: saturate(160%) blur(18px);
|
||||
backdrop-filter: saturate(160%) blur(18px);
|
||||
border-bottom: 1px solid var(--border);
|
||||
transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
|
||||
}
|
||||
.site-header.is-over-hero:not(.is-solid) {
|
||||
background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
|
||||
-webkit-backdrop-filter: none;
|
||||
backdrop-filter: none;
|
||||
border-bottom-color: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.site-header__inner {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto 1fr;
|
||||
align-items: center;
|
||||
gap: var(--space-4);
|
||||
height: var(--header-height);
|
||||
height: 100%;
|
||||
display: flex; align-items: center; gap: var(--sp-7);
|
||||
}
|
||||
|
||||
.brand {
|
||||
font-size: var(--text-xl);
|
||||
font-weight: var(--font-weight-bold);
|
||||
letter-spacing: -0.02em;
|
||||
display: inline-flex; align-items: center; gap: 10px;
|
||||
font-weight: var(--fw-heavy); font-size: 1.3rem; letter-spacing: -0.03em;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.brand__mark {
|
||||
display: block; width: 32px; height: 32px;
|
||||
filter: drop-shadow(0 2px 10px var(--accent-glow));
|
||||
}
|
||||
.brand__word span { color: var(--accent); }
|
||||
.brand--sm { font-size: 1rem; }
|
||||
.brand--sm .brand__mark { width: 24px; height: 24px; filter: none; }
|
||||
|
||||
.site-nav { display: flex; gap: var(--sp-2); }
|
||||
.site-nav__link {
|
||||
position: relative;
|
||||
padding: 8px 12px; border-radius: var(--r-md);
|
||||
color: var(--text-2); font-weight: var(--fw-semi); font-size: 0.95rem;
|
||||
transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
|
||||
}
|
||||
.site-nav__link:hover { color: var(--text); }
|
||||
.site-nav__link.is-active { color: var(--text); }
|
||||
.site-nav__link.is-active::after {
|
||||
content: ""; position: absolute; left: 50%; bottom: 0;
|
||||
width: 18px; height: 3px; border-radius: 3px; background: var(--accent);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.brand span {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }
|
||||
|
||||
.site-header__nav {
|
||||
display: flex;
|
||||
gap: var(--space-1);
|
||||
.header-search {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
width: 260px; height: 42px; padding: 0 10px 0 12px;
|
||||
border-radius: var(--r-pill);
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border: 1px solid var(--glass-border);
|
||||
transition: width var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
|
||||
}
|
||||
|
||||
.site-header__nav a {
|
||||
padding: var(--space-2) var(--space-4);
|
||||
border-radius: var(--radius-full);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
color: var(--color-text-dim);
|
||||
transition: background 120ms ease, color 120ms ease;
|
||||
.header-search:focus-within { width: 320px; background: rgba(0, 0, 0, 0.55); border-color: rgba(255, 255, 255, 0.4); }
|
||||
.header-search__icon { color: var(--text-2); display: grid; place-items: center; }
|
||||
.header-search input {
|
||||
flex: 1; min-width: 0; height: 100%;
|
||||
background: none; border: 0; outline: none;
|
||||
font-size: var(--fs-sm); font-weight: var(--fw-medium);
|
||||
}
|
||||
|
||||
.site-header__nav a:hover {
|
||||
color: var(--color-text);
|
||||
background: var(--color-surface);
|
||||
.header-search input::placeholder { color: var(--text-3); }
|
||||
.header-search input::-webkit-search-cancel-button { filter: invert(1) opacity(0.5); }
|
||||
.header-search__kbd {
|
||||
font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--text-3);
|
||||
border: 1px solid var(--border-strong); border-radius: 5px; padding: 1px 6px;
|
||||
}
|
||||
|
||||
.site-header__nav a.is-active {
|
||||
color: var(--color-accent-text);
|
||||
background: var(--color-accent);
|
||||
}
|
||||
|
||||
.site-header__actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
|
||||
/* ---- icon buttons ----------------------------------------------------------- */
|
||||
.header-search:focus-within .header-search__kbd { display: none; }
|
||||
.header-search-link { display: none !important; }
|
||||
|
||||
.icon-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border: none;
|
||||
border-radius: var(--radius-full);
|
||||
background: transparent;
|
||||
color: var(--color-text-dim);
|
||||
cursor: pointer;
|
||||
transition: background 120ms ease, color 120ms ease;
|
||||
display: inline-grid; place-items: center;
|
||||
width: 42px; height: 42px; border-radius: var(--r-pill);
|
||||
color: var(--text-2);
|
||||
transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
|
||||
}
|
||||
.icon-btn:hover, .icon-btn.is-active { color: var(--text); background: var(--glass); }
|
||||
|
||||
.icon-btn:hover {
|
||||
background: var(--color-surface);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.icon-btn.is-active {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.icon-btn svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
/* ---- footer ------------------------------------------------------------------ */
|
||||
|
||||
/* ---- footer ------------------------------------------------------------------- */
|
||||
.site-footer {
|
||||
border-top: 1px solid var(--color-border);
|
||||
padding: var(--space-4) 0 var(--space-5);
|
||||
color: var(--color-text-faint);
|
||||
font-size: var(--text-xs);
|
||||
margin-top: var(--sp-10);
|
||||
border-top: 1px solid var(--border);
|
||||
color: var(--text-3); font-size: var(--fs-xs);
|
||||
}
|
||||
|
||||
.site-footer .container {
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
flex-wrap: wrap;
|
||||
.site-footer__inner {
|
||||
display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-7);
|
||||
padding-block: var(--sp-7);
|
||||
}
|
||||
.site-footer__note { flex: 1; min-width: 220px; }
|
||||
.site-footer a { color: var(--text-2); }
|
||||
.site-footer a:hover { color: var(--accent); }
|
||||
|
||||
.site-footer a {
|
||||
color: var(--color-text-dim);
|
||||
/* ---- mobile tab bar ------------------------------------------------------------- */
|
||||
.tabbar { display: none; }
|
||||
|
||||
@media (max-width: 1080px) {
|
||||
.site-header__inner { gap: var(--sp-5); }
|
||||
.site-nav__link { padding-inline: 8px; }
|
||||
.header-search, .header-search:focus-within { width: 200px; }
|
||||
}
|
||||
|
||||
.site-footer a:hover {
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
/* ---- responsive ---------------------------------------------------------------- */
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.site-header__nav a {
|
||||
padding: var(--space-2) var(--space-3);
|
||||
.site-nav, .header-search { display: none; }
|
||||
.header-search-link { display: inline-grid !important; }
|
||||
.site-header__actions { gap: 0; }
|
||||
.brand { font-size: 1.15rem; }
|
||||
.brand__mark { width: 28px; height: 28px; }
|
||||
.tabbar {
|
||||
position: fixed; inset: auto 0 0 0; z-index: var(--z-tabbar);
|
||||
display: grid; grid-template-columns: repeat(5, 1fr);
|
||||
height: var(--tabbar-h);
|
||||
padding-bottom: env(safe-area-inset-bottom, 0px);
|
||||
background: rgba(12, 12, 15, 0.92);
|
||||
-webkit-backdrop-filter: blur(18px);
|
||||
backdrop-filter: blur(18px);
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
.tabbar__link {
|
||||
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
|
||||
color: var(--text-3); font-size: var(--fs-2xs); font-weight: var(--fw-semi);
|
||||
}
|
||||
.tabbar__link.is-active { color: var(--text); }
|
||||
.tabbar__link.is-active .icon { color: var(--accent); }
|
||||
.site-footer { margin-top: var(--sp-8); }
|
||||
}
|
||||
|
||||
/* the player takes over the screen; it renders its own chrome */
|
||||
body[data-route="watch"] .site-header,
|
||||
body[data-route="watch"] .site-footer,
|
||||
body[data-route="watch"] .tabbar { display: none; }
|
||||
body[data-route="watch"] { padding-bottom: 0; }
|
||||
+420
-716
File diff suppressed because it is too large.
Load diff
+179
-763
@@ -1,782 +1,198 @@
|
||||
/*
|
||||
PAGES — page-specific layout: home, search, watch.
|
||||
Widget styling lives in components.css; this file only positions
|
||||
page-level blocks and handles responsive behavior.
|
||||
*/
|
||||
pages.css — page-level layout: home, title, search, list/browse, settings.
|
||||
*/
|
||||
.page--padded { padding-top: calc(var(--header-h) + clamp(20px, 3vw, 40px)); }
|
||||
.page--center { min-height: 70vh; display: grid; place-items: center; padding-top: var(--header-h); }
|
||||
.page__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 2.5vw, 32px); }
|
||||
.page__title { font-size: var(--fs-2xl); font-weight: var(--fw-heavy); letter-spacing: -0.03em; }
|
||||
.page__eyebrow { color: var(--accent); font-size: var(--fs-xs); font-weight: var(--fw-heavy); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
|
||||
.section { margin-top: clamp(28px, 3.5vw, 48px); }
|
||||
.section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
|
||||
.section__title { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem); font-weight: var(--fw-heavy); letter-spacing: -0.02em; }
|
||||
|
||||
/* ---- home: hero carousel ------------------------------------------------------ */
|
||||
|
||||
.hero {
|
||||
position: relative;
|
||||
height: clamp(440px, 72vh, 640px);
|
||||
margin: calc(-1 * var(--space-5)) 0 var(--space-6);
|
||||
overflow: hidden;
|
||||
background: var(--color-surface);
|
||||
/* ---- home ---------------------------------------------------------------------------- */
|
||||
.hero-slot { min-height: clamp(560px, 88vh, 920px); }
|
||||
.hero-slot > .hero--empty { height: var(--header-h); }
|
||||
.rows { position: relative; z-index: 2; margin-top: clamp(-120px, -9vh, -60px); }
|
||||
.rows > .row:first-child { margin-top: 0; }
|
||||
@media (max-width: 720px) {
|
||||
.hero-slot { min-height: max(560px, 82svh); }
|
||||
.rows { margin-top: -24px; }
|
||||
}
|
||||
|
||||
.hero__slides,
|
||||
.hero__slide {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
/* ---- title page -------------------------------------------------------------------------- */
|
||||
.title-hero {
|
||||
position: relative; overflow: hidden;
|
||||
min-height: clamp(540px, 82vh, 860px);
|
||||
display: flex; align-items: flex-end;
|
||||
}
|
||||
|
||||
.hero__slide {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 600ms ease, visibility 0s linear 600ms;
|
||||
}
|
||||
|
||||
.hero__slide.is-active {
|
||||
z-index: 1;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transition: opacity 600ms ease;
|
||||
}
|
||||
|
||||
.hero__backdrop {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transform: scale(1.04);
|
||||
transition: transform 8s ease;
|
||||
}
|
||||
|
||||
.hero__slide.is-active .hero__backdrop {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.hero__scrim {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
.title-hero .hero__media { position: absolute; inset: 0; }
|
||||
.title-hero .hero__img { opacity: 1; object-position: center 25%; }
|
||||
.title-hero .hero__scrim {
|
||||
background:
|
||||
linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.22) 75%, rgba(0, 0, 0, 0.05) 100%),
|
||||
linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.05) 100%);
|
||||
linear-gradient(90deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.6) 32%, transparent 68%),
|
||||
linear-gradient(0deg, var(--bg) 0%, rgba(9, 9, 11, 0.55) 26%, transparent 55%),
|
||||
linear-gradient(180deg, rgba(9, 9, 11, 0.6) 0%, transparent 24%);
|
||||
}
|
||||
.title-hero__content {
|
||||
position: relative; z-index: 2;
|
||||
display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
|
||||
padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(28px, 4vw, 56px);
|
||||
max-width: calc(min(760px, 64vw) + var(--gutter) * 2);
|
||||
animation: rise var(--dur-slow) var(--ease) both;
|
||||
}
|
||||
.title-hero--loading { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
|
||||
.title-hero__title { font-size: var(--fs-hero); font-weight: var(--fw-heavy); letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
|
||||
.title-hero__tagline { color: var(--text-2); font-style: italic; font-size: var(--fs-md); }
|
||||
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
|
||||
|
||||
.story { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: clamp(24px, 4vw, 72px); }
|
||||
.story__text { margin-top: 12px; color: var(--text-2); font-size: 1rem; line-height: 1.7; max-width: 80ch; }
|
||||
.facts { margin: 0; display: grid; gap: 12px; align-content: start; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
|
||||
.facts__row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: var(--fs-sm); }
|
||||
.facts dt { color: var(--text-3); font-weight: var(--fw-semi); }
|
||||
.facts dd { margin: 0; color: var(--text); font-weight: var(--fw-semi); }
|
||||
.container-row { margin-top: clamp(20px, 3vw, 40px); }
|
||||
|
||||
/* cast */
|
||||
.cast {
|
||||
display: flex; align-items: center; gap: 12px;
|
||||
padding: 8px 12px 8px 8px; border-radius: var(--r-pill);
|
||||
transition: background var(--dur-fast);
|
||||
}
|
||||
.cast:hover, .cast:focus-visible { background: var(--surface-2); }
|
||||
.cast:focus-visible { outline: none; box-shadow: var(--ring); }
|
||||
.cast__avatar {
|
||||
flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
|
||||
background: var(--surface-3); display: grid; place-items: center;
|
||||
box-shadow: 0 0 0 2px var(--border);
|
||||
}
|
||||
.cast__img { width: 100%; height: 100%; object-fit: cover; }
|
||||
.cast__initials { font-weight: var(--fw-heavy); color: var(--text-2); }
|
||||
.cast__text { min-width: 0; }
|
||||
.cast__name { font-size: var(--fs-sm); font-weight: var(--fw-bold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.cast__role { font-size: var(--fs-xs); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
|
||||
/* episodes */
|
||||
.episodes .section__head { border-bottom: 1px solid var(--border); padding-bottom: 0; align-items: flex-end; }
|
||||
.episodes .section__head .tabs { border-bottom: 0; order: -1; flex-basis: 100%; }
|
||||
.episodes .section__head .section__title { padding-bottom: 12px; font-size: var(--fs-md); color: var(--text-2); }
|
||||
.episodes .section__head .select-wrap { margin-bottom: 12px; }
|
||||
.episodes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 28px 18px; }
|
||||
.card--episode .card__media { aspect-ratio: 16 / 9; }
|
||||
.ep__num {
|
||||
position: absolute; left: 10px; bottom: 10px; z-index: 1;
|
||||
padding: 2px 8px; border-radius: var(--r-xs);
|
||||
background: rgba(0, 0, 0, 0.65); font-size: var(--fs-xs); font-weight: var(--fw-heavy);
|
||||
}
|
||||
.card--episode .card__progress { left: 0; right: 0; bottom: 0; border-radius: 0; height: 4px; }
|
||||
.card--episode .card__shade { opacity: 0.6; }
|
||||
.ep__body { padding: 12px 2px 0; }
|
||||
.ep__title { font-weight: var(--fw-bold); font-size: 0.98rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.ep__meta { margin-top: 3px; font-size: var(--fs-xs); color: var(--text-3); font-weight: var(--fw-semi); }
|
||||
.ep__overview {
|
||||
margin-top: 6px; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.5;
|
||||
display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
|
||||
}
|
||||
.card--episode.is-future { opacity: 0.55; }
|
||||
.card--episode.is-watched .ep__meta { color: var(--accent); }
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.story { grid-template-columns: 1fr; }
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.title-hero { min-height: auto; padding-top: 52vw; }
|
||||
.title-hero .hero__media { bottom: auto; height: 78vw; }
|
||||
.title-hero .hero__img { object-position: center; }
|
||||
.title-hero .hero__scrim {
|
||||
background: linear-gradient(0deg, var(--bg) 0%, var(--bg) calc(100% - 78vw), rgba(9, 9, 11, 0.4) calc(100% - 30vw), rgba(9, 9, 11, 0.35) 100%);
|
||||
}
|
||||
.title-hero__content { max-width: none; padding-top: 0; gap: 12px; }
|
||||
.title-hero__title { font-size: 2.2rem; }
|
||||
.title-hero .hero__logo { max-height: 90px; max-width: 75%; }
|
||||
.title-hero .hero__actions { width: 100%; }
|
||||
.title-hero .hero__actions .btn--primary { flex-basis: 100%; }
|
||||
.title-hero .hero__actions .btn--glass:not(.btn--icon) { flex: 1; }
|
||||
.title-hero .hero__actions .btn--lg { height: 46px; padding: 0 16px; font-size: 0.95rem; }
|
||||
.title-hero .hero__actions .btn--lg.btn--icon { width: 46px; padding: 0; }
|
||||
.facts__row { grid-template-columns: 96px 1fr; }
|
||||
.card--episode .card__link { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 12px; align-items: start; }
|
||||
.card--episode .ep__body { padding: 0; }
|
||||
.card--episode .ep__overview { -webkit-line-clamp: 3; line-clamp: 3; font-size: var(--fs-xs); }
|
||||
.card--episode.card--skeleton { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 12px; }
|
||||
.episodes__grid { gap: 16px; }
|
||||
}
|
||||
|
||||
.hero__fade {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 34%;
|
||||
background: linear-gradient(to top, var(--color-bg) 2%, color-mix(in srgb, var(--color-bg) 72%, transparent) 58%, transparent 100%);
|
||||
pointer-events: none;
|
||||
/* ---- search ----------------------------------------------------------------------------- */
|
||||
.search-field {
|
||||
display: flex; align-items: center; gap: 12px;
|
||||
height: 60px; padding: 0 20px; margin-bottom: clamp(24px, 3vw, 40px);
|
||||
border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border-strong);
|
||||
color: var(--text-3);
|
||||
transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
|
||||
}
|
||||
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); color: var(--text); }
|
||||
.search-field__input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 1.15rem; font-weight: var(--fw-semi); color: var(--text); }
|
||||
.search-field__input::placeholder { color: var(--text-3); }
|
||||
.search-field__input::-webkit-search-cancel-button { filter: invert(1) opacity(0.5); }
|
||||
.page--padded > .page__title { font-size: var(--fs-lg); margin-bottom: 20px; }
|
||||
@media (max-width: 720px) { .search-field { height: 52px; } .search-field__input { font-size: 1rem; } }
|
||||
|
||||
.hero__inner {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
z-index: 2;
|
||||
width: 100%;
|
||||
max-width: var(--container-max);
|
||||
padding: 0 var(--container-pad);
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.load-more { height: 1px; }
|
||||
|
||||
.hero__content {
|
||||
max-width: 620px;
|
||||
padding-bottom: clamp(72px, 12vh, 112px);
|
||||
}
|
||||
|
||||
.hero__kicker {
|
||||
display: inline-block;
|
||||
margin-bottom: var(--space-3);
|
||||
padding: 4px 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||
border-radius: var(--radius-full);
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
backdrop-filter: blur(8px);
|
||||
color: rgba(255, 255, 255, 0.78);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.hero__logo {
|
||||
max-width: min(420px, 60vw);
|
||||
max-height: 140px;
|
||||
object-fit: contain;
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
.hero__title {
|
||||
font-size: clamp(2.2rem, 5vw, 3.6rem);
|
||||
line-height: 1.05;
|
||||
letter-spacing: -0.03em;
|
||||
text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.hero__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin-top: var(--space-4);
|
||||
color: rgba(255, 255, 255, 0.78);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.hero__rating {
|
||||
color: var(--color-star);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.hero__dot {
|
||||
color: rgba(255, 255, 255, 0.35);
|
||||
}
|
||||
|
||||
.hero__meta .badge {
|
||||
border-color: rgba(255, 255, 255, 0.18);
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
color: rgba(255, 255, 255, 0.88);
|
||||
}
|
||||
|
||||
.hero__overview {
|
||||
max-width: 58ch;
|
||||
margin-top: var(--space-4);
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
font-size: var(--text-sm);
|
||||
line-height: 1.6;
|
||||
text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-3);
|
||||
margin-top: var(--space-5);
|
||||
}
|
||||
|
||||
.hero__play {
|
||||
padding: 10px 24px;
|
||||
font-size: var(--text-md);
|
||||
}
|
||||
|
||||
.hero__play svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.hero__arrow {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border: none;
|
||||
border-radius: var(--radius-full);
|
||||
background: rgba(10, 10, 10, 0.42);
|
||||
color: #fff;
|
||||
backdrop-filter: blur(8px);
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
transition: opacity 160ms ease, background 120ms ease;
|
||||
}
|
||||
|
||||
.hero:hover .hero__arrow,
|
||||
.hero__arrow:focus-visible {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.hero__arrow:hover {
|
||||
background: rgba(10, 10, 10, 0.65);
|
||||
}
|
||||
|
||||
.hero__arrow svg {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.hero__arrow--prev {
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
.hero__arrow--next {
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
.hero__dots {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: var(--space-5);
|
||||
display: flex;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.hero__dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: var(--radius-full);
|
||||
background: rgba(255, 255, 255, 0.32);
|
||||
cursor: pointer;
|
||||
transition: width 160ms ease, background 160ms ease;
|
||||
}
|
||||
|
||||
.hero__dot.is-active {
|
||||
width: 24px;
|
||||
background: var(--color-accent);
|
||||
}
|
||||
|
||||
/* ---- search ------------------------------------------------------------------ */
|
||||
|
||||
.search-bar {
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
|
||||
.search-bar__form {
|
||||
display: flex;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.search-bar__input {
|
||||
flex: 1;
|
||||
font-size: var(--text-md);
|
||||
padding: var(--space-3) var(--space-4);
|
||||
}
|
||||
|
||||
.search-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-3);
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
.search-count {
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
/* ---- watch: player (.player-wrap + controls live in components.css) ------------- */
|
||||
|
||||
.player-status {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-3);
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
color: var(--color-text-dim);
|
||||
font-size: var(--text-sm);
|
||||
text-align: center;
|
||||
padding: var(--space-5);
|
||||
}
|
||||
|
||||
.player-status h3 {
|
||||
font-size: var(--text-md);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.player-status .spinner {
|
||||
margin-bottom: var(--space-1);
|
||||
}
|
||||
|
||||
/* ---- watch: toolbar (source popup lives in components.css with the player) ---------- */
|
||||
|
||||
.watch-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-3);
|
||||
margin: var(--space-4) 0 var(--space-5);
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-dim);
|
||||
}
|
||||
|
||||
.watch-toolbar__source {
|
||||
font-weight: var(--font-weight-semibold);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.watch-toolbar__spacer {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* ---- settings ------------------------------------------------------------------ */
|
||||
|
||||
.settings {
|
||||
display: grid;
|
||||
grid-template-columns: 200px minmax(0, 1fr);
|
||||
gap: var(--space-6);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.settings__nav {
|
||||
position: sticky;
|
||||
top: calc(var(--header-height) + var(--space-5));
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
|
||||
.settings__navlink {
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border-radius: var(--radius-full);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
color: var(--color-text-dim);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.settings__navlink:hover {
|
||||
color: var(--color-text);
|
||||
background: var(--color-surface);
|
||||
}
|
||||
|
||||
.settings__navlink.is-active {
|
||||
color: var(--color-accent-text);
|
||||
background: var(--color-accent);
|
||||
}
|
||||
|
||||
.settings__content {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.settings__card {
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-surface);
|
||||
padding: var(--space-5);
|
||||
scroll-margin-top: calc(var(--header-height) + var(--space-4));
|
||||
}
|
||||
|
||||
.settings__card h2 {
|
||||
font-size: var(--text-xl);
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.settings__hint {
|
||||
color: var(--color-text-dim);
|
||||
font-size: var(--text-sm);
|
||||
margin-bottom: var(--space-4);
|
||||
max-width: 60ch;
|
||||
}
|
||||
|
||||
.settings__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-2);
|
||||
margin: var(--space-4) 0;
|
||||
}
|
||||
|
||||
.settings__status {
|
||||
font-size: var(--text-sm);
|
||||
min-height: 1.2em;
|
||||
}
|
||||
|
||||
.settings__status--ok {
|
||||
color: var(--color-success);
|
||||
}
|
||||
|
||||
.settings__status--err {
|
||||
color: var(--color-danger);
|
||||
}
|
||||
|
||||
.provider-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
gap: var(--space-2);
|
||||
margin-top: var(--space-4);
|
||||
}
|
||||
/* ---- settings ---------------------------------------------------------------------------- */
|
||||
.settings__layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
|
||||
.settings-nav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; }
|
||||
.settings-nav__link { text-align: left; padding: 10px 14px; border-radius: var(--r-md); color: var(--text-2); font-weight: var(--fw-bold); font-size: var(--fs-sm); }
|
||||
.settings-nav__link:hover { background: var(--surface); color: var(--text); }
|
||||
.settings__cards { display: flex; flex-direction: column; gap: 20px; max-width: 980px; }
|
||||
.settings-card { padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 20px); }
|
||||
.settings-card__head { margin-bottom: 18px; }
|
||||
.settings-card__title { font-size: var(--fs-lg); font-weight: var(--fw-heavy); }
|
||||
.settings-card__desc { margin-top: 4px; color: var(--text-3); font-size: var(--fs-sm); }
|
||||
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
|
||||
.field-row__label { font-weight: var(--fw-bold); }
|
||||
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0 4px; cursor: pointer; }
|
||||
.switch-row__text { display: flex; flex-direction: column; gap: 2px; font-weight: var(--fw-bold); }
|
||||
.switch-row__text small { color: var(--text-3); font-weight: var(--fw-medium); font-size: var(--fs-xs); }
|
||||
.input-row { display: flex; gap: 8px; }
|
||||
.input-row .input { flex: 1; min-width: 0; }
|
||||
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
|
||||
.toolbar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
|
||||
.provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 14px; }
|
||||
.provider {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-surface-2);
|
||||
cursor: pointer;
|
||||
transition: border-color 120ms ease;
|
||||
position: relative; display: flex; align-items: center; gap: 12px;
|
||||
padding: 10px 12px; border-radius: var(--r-md);
|
||||
background: var(--bg-elev); border: 1px solid var(--border);
|
||||
cursor: pointer; transition: border-color var(--dur-fast), background var(--dur-fast);
|
||||
}
|
||||
|
||||
.provider:hover {
|
||||
border-color: var(--color-border-strong);
|
||||
.provider:hover { border-color: var(--border-strong); }
|
||||
.provider input { position: absolute; opacity: 0; pointer-events: none; }
|
||||
.provider__check {
|
||||
flex-shrink: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px;
|
||||
border: 1.5px solid var(--border-strong); color: transparent;
|
||||
transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
|
||||
}
|
||||
.provider input:checked ~ .provider__check { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
|
||||
.provider:has(input:checked) { border-color: rgba(192, 132, 252, 0.35); background: rgba(192, 132, 252, 0.06); }
|
||||
.provider input:focus-visible ~ .provider__check { box-shadow: var(--ring); }
|
||||
.provider__text { min-width: 0; display: flex; flex-direction: column; }
|
||||
.provider__name { font-weight: var(--fw-bold); font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.provider__meta { display: flex; align-items: center; gap: 6px; font-size: var(--fs-2xs); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.health { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--surface-3); }
|
||||
.health--good { background: var(--accent); }
|
||||
.health--fair { background: var(--warn); }
|
||||
.health--bad { background: var(--danger); }
|
||||
|
||||
.provider input[type="checkbox"] {
|
||||
flex: 0 0 auto;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 0;
|
||||
accent-color: var(--color-accent);
|
||||
cursor: pointer;
|
||||
@media (max-width: 900px) {
|
||||
.settings__layout { grid-template-columns: 1fr; }
|
||||
.settings-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
|
||||
.settings-nav__link { flex-shrink: 0; background: var(--surface); }
|
||||
}
|
||||
|
||||
.provider__name {
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* ---- responsive ---------------------------------------------------------------- */
|
||||
|
||||
@media (max-width: 720px) {
|
||||
:root {
|
||||
--card-width: 132px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
height: clamp(360px, 58vh, 520px);
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
|
||||
.hero__content {
|
||||
padding-bottom: 64px;
|
||||
}
|
||||
|
||||
.hero__overview {
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.hero__arrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.search-bar__form {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.settings {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.settings__nav {
|
||||
position: static;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.settings__card {
|
||||
padding: var(--space-4);
|
||||
}
|
||||
}
|
||||
|
||||
.watch-page .page--watch {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.watch-page .site-header {
|
||||
background: transparent;
|
||||
border-bottom-color: transparent;
|
||||
backdrop-filter: none;
|
||||
}
|
||||
|
||||
.watch-page.is-scrolled .site-header {
|
||||
background: color-mix(in srgb, var(--color-bg) 85%, transparent);
|
||||
border-bottom-color: var(--color-border);
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
.watch-hero {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
margin-top: calc(var(--header-height) * -1);
|
||||
min-height: min(85svh, 900px);
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
overflow: hidden;
|
||||
background: var(--color-surface);
|
||||
}
|
||||
|
||||
.watch-hero__backdrop {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -2;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-color: var(--color-surface);
|
||||
}
|
||||
|
||||
.watch-hero__scrim {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
background:
|
||||
linear-gradient(
|
||||
180deg,
|
||||
color-mix(in srgb, var(--color-bg) 20%, transparent) 0%,
|
||||
color-mix(in srgb, var(--color-bg) 55%, transparent) 55%,
|
||||
var(--color-bg) 100%
|
||||
),
|
||||
linear-gradient(
|
||||
90deg,
|
||||
color-mix(in srgb, var(--color-bg) 85%, transparent) 0%,
|
||||
transparent 65%
|
||||
);
|
||||
}
|
||||
|
||||
.watch-hero__inner {
|
||||
width: 100%;
|
||||
max-width: var(--container-max);
|
||||
margin: 0 auto;
|
||||
padding: calc(var(--header-height) + var(--space-8)) var(--container-pad) var(--space-8);
|
||||
}
|
||||
|
||||
.watch-hero__logo {
|
||||
max-width: min(420px, 60vw);
|
||||
max-height: 140px;
|
||||
object-fit: contain;
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
.watch-hero__title {
|
||||
margin: 0;
|
||||
font-size: clamp(2.2rem, 6vw, 4.5rem);
|
||||
line-height: 1.02;
|
||||
letter-spacing: -0.035em;
|
||||
}
|
||||
|
||||
.watch-hero__meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: var(--space-2) var(--space-3);
|
||||
margin-top: var(--space-4);
|
||||
color: var(--color-text-dim);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.watch-hero__rating {
|
||||
color: var(--color-star);
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.watch-hero__dot {
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
.watch-hero__genres {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-2);
|
||||
margin-top: var(--space-4);
|
||||
}
|
||||
|
||||
.watch-hero__overview {
|
||||
max-width: 72ch;
|
||||
margin: var(--space-4) 0 0;
|
||||
color: var(--color-text-dim);
|
||||
line-height: 1.55;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 4;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.watch-hero__actions {
|
||||
margin-top: var(--space-6);
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.watch-hero__actions .btn--primary {
|
||||
padding: var(--space-3) var(--space-6);
|
||||
font-size: var(--text-md);
|
||||
}
|
||||
|
||||
.watch-episodes {
|
||||
padding: var(--space-8) 0;
|
||||
}
|
||||
|
||||
.watch-episodes__title {
|
||||
margin: 0 0 var(--space-4);
|
||||
font-size: var(--text-xl);
|
||||
}
|
||||
|
||||
.season-tabs {
|
||||
display: flex;
|
||||
gap: var(--space-2);
|
||||
overflow-x: auto;
|
||||
padding-bottom: var(--space-2);
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
|
||||
.episode-shelf {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
grid-auto-columns: minmax(220px, 1fr);
|
||||
gap: var(--space-4);
|
||||
overflow-x: auto;
|
||||
scroll-snap-type: x mandatory;
|
||||
padding: var(--space-2) var(--space-2) var(--space-3);
|
||||
scroll-padding: var(--space-2);
|
||||
}
|
||||
|
||||
.episode-shelf__loading,
|
||||
.episode-shelf__empty {
|
||||
grid-column: 1 / -1;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-height: 180px;
|
||||
}
|
||||
|
||||
.episode-card {
|
||||
scroll-snap-align: start;
|
||||
text-align: left;
|
||||
border: 1px solid var(--color-border);
|
||||
background: var(--color-surface);
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.episode-card--current {
|
||||
outline: 2px solid var(--color-accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.episode-card__thumb {
|
||||
position: relative;
|
||||
display: block;
|
||||
aspect-ratio: 16 / 9;
|
||||
width: 100%;
|
||||
background: var(--color-surface-2);
|
||||
}
|
||||
|
||||
.episode-card__thumb img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.episode-card__thumb--empty {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
font-size: var(--text-2xl);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
.episode-card__progress {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
height: 3px;
|
||||
background: var(--color-accent);
|
||||
}
|
||||
|
||||
.episode-card__body {
|
||||
display: grid;
|
||||
gap: var(--space-1);
|
||||
padding: var(--space-3);
|
||||
}
|
||||
|
||||
.episode-card__num {
|
||||
color: var(--color-text-faint);
|
||||
font-size: var(--text-xs);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.episode-card__title {
|
||||
font-weight: 600;
|
||||
color: var(--color-text-dim);
|
||||
}
|
||||
|
||||
.episode-card__meta {
|
||||
color: var(--color-text-dim);
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
.player-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 100;
|
||||
background: #000;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.player-overlay[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.player-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body.player-open .player-overlay {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.player-overlay__close {
|
||||
position: absolute;
|
||||
top: var(--space-4);
|
||||
right: var(--space-4);
|
||||
z-index: 20;
|
||||
background: color-mix(in srgb, #000 60%, transparent);
|
||||
color: #fff;
|
||||
border: 1px solid rgb(255 255 255 / 20%);
|
||||
}
|
||||
|
||||
#playerOverlay .player-wrap {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
aspect-ratio: auto;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#playerOverlay .watch-toolbar {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: var(--space-5);
|
||||
z-index: 2;
|
||||
background: color-mix(in srgb, #000 65%, transparent);
|
||||
border: 1px solid rgb(255 255 255 / 10%);
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.watch-hero {
|
||||
min-height: 70svh;
|
||||
}
|
||||
|
||||
.watch-hero__inner {
|
||||
padding-bottom: var(--space-6);
|
||||
}
|
||||
|
||||
.watch-hero__actions .btn--primary {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.episode-shelf {
|
||||
grid-auto-columns: minmax(160px, 80vw);
|
||||
}
|
||||
|
||||
.player-overlay__close {
|
||||
top: var(--space-2);
|
||||
right: var(--space-2);
|
||||
}
|
||||
.input-row { flex-wrap: wrap; }
|
||||
.input-row .input { flex-basis: 100%; }
|
||||
.provider-grid { grid-template-columns: 1fr; }
|
||||
.input--sm { max-width: none; flex: 1; }
|
||||
}
|
||||
+1292
File diff suppressed because it is too large.
Load diff
+114
-60
@@ -1,68 +1,122 @@
|
||||
/*
|
||||
============================================================================
|
||||
DESIGN TOKENS — the only file you need to touch to restyle the whole UI.
|
||||
Every color, font size, spacing step, radius and shadow used elsewhere
|
||||
references a variable defined here. Change a value and it applies everywhere.
|
||||
============================================================================
|
||||
tokens.css — design tokens. Every color, size, radius, shadow and duration used by the
|
||||
UI comes from here; retheme by editing this file only.
|
||||
*/
|
||||
|
||||
:root {
|
||||
/* ---- palette (retheme here) ----------------------------------------- */
|
||||
--color-bg: #0a0a0a; /* page background */
|
||||
--color-surface: #141414; /* cards, panels */
|
||||
--color-surface-hover: #1d1d1d; /* hover state for surfaces */
|
||||
--color-surface-2: #1a1a1a; /* inputs, alt surfaces */
|
||||
--color-border: #262626; /* default borders */
|
||||
--color-border-strong: #3a3a3a; /* visible borders / hover borders */
|
||||
--color-text: #f2f2f2; /* primary text */
|
||||
--color-text-dim: #9a9a9a; /* secondary text */
|
||||
--color-text-faint: #5c5c5c; /* tertiary text */
|
||||
--color-accent: #c084fc; /* brand / primary action color */
|
||||
--color-accent-hover: #d8b4fe;
|
||||
--color-accent-text: #12071f; /* text on accent buttons */
|
||||
--color-danger: #ff6b6b;
|
||||
--color-success: #c084fc;
|
||||
--color-star: #ffc94d; /* rating stars */
|
||||
color-scheme: dark;
|
||||
|
||||
/* ---- typography ------------------------------------------------------ */
|
||||
--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
--text-xs: 0.75rem;
|
||||
--text-sm: 0.875rem;
|
||||
--text-md: 1rem;
|
||||
--text-lg: 1.125rem;
|
||||
--text-xl: 1.375rem;
|
||||
--text-2xl: 1.75rem;
|
||||
--text-3xl: 2.25rem;
|
||||
--leading-tight: 1.2;
|
||||
--leading-normal: 1.55;
|
||||
--font-weight-normal: 400;
|
||||
--font-weight-medium: 500;
|
||||
--font-weight-semibold: 600;
|
||||
--font-weight-bold: 700;
|
||||
/* palette */
|
||||
--bg: #09090b;
|
||||
--bg-elev: #0f0f12;
|
||||
--surface: #15151a;
|
||||
--surface-2: #1c1c22;
|
||||
--surface-3: #26262d;
|
||||
--overlay: rgba(9, 9, 11, 0.82);
|
||||
--glass: rgba(255, 255, 255, 0.1);
|
||||
--glass-hover: rgba(255, 255, 255, 0.18);
|
||||
--glass-border: rgba(255, 255, 255, 0.16);
|
||||
--border: rgba(255, 255, 255, 0.08);
|
||||
--border-strong: rgba(255, 255, 255, 0.16);
|
||||
--text: #f4f4f6;
|
||||
--text-2: #b6b6c0;
|
||||
--text-3: #7c7c88;
|
||||
--accent: #c084fc;
|
||||
--accent-hover: #d8b4fe;
|
||||
--accent-ink: #12071f;
|
||||
--accent-soft: rgba(192, 132, 252, 0.16);
|
||||
--accent-glow: rgba(192, 132, 252, 0.4);
|
||||
--star: #f5c518;
|
||||
--danger: #ff5f5f;
|
||||
--warn: #f5a524;
|
||||
--ok: var(--accent);
|
||||
--focus: #ffffff;
|
||||
|
||||
/* ---- spacing (4px scale) ---------------------------------------------- */
|
||||
--space-1: 4px;
|
||||
--space-2: 8px;
|
||||
--space-3: 12px;
|
||||
--space-4: 16px;
|
||||
--space-5: 24px;
|
||||
--space-6: 32px;
|
||||
--space-7: 48px;
|
||||
--space-8: 64px;
|
||||
/* type */
|
||||
--font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
--font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
|
||||
--fs-2xs: 0.6875rem;
|
||||
--fs-xs: 0.75rem;
|
||||
--fs-sm: 0.875rem;
|
||||
--fs-base: 1rem;
|
||||
--fs-md: 1.125rem;
|
||||
--fs-lg: 1.375rem;
|
||||
--fs-xl: 1.75rem;
|
||||
--fs-2xl: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
|
||||
--fs-hero: clamp(2.4rem, 1.4rem + 4vw, 4.75rem);
|
||||
--lh-tight: 1.1;
|
||||
--lh: 1.55;
|
||||
--fw-medium: 500;
|
||||
--fw-semi: 600;
|
||||
--fw-bold: 700;
|
||||
--fw-heavy: 800;
|
||||
|
||||
/* ---- shape ------------------------------------------------------------- */
|
||||
--radius-sm: 8px;
|
||||
--radius-md: 12px;
|
||||
--radius-lg: 16px;
|
||||
--radius-full: 999px;
|
||||
--shadow-1: 0 2px 8px rgba(0, 0, 0, 0.45);
|
||||
--shadow-2: 0 12px 40px rgba(0, 0, 0, 0.6);
|
||||
/* spacing (4px base) */
|
||||
--sp-1: 4px;
|
||||
--sp-2: 8px;
|
||||
--sp-3: 12px;
|
||||
--sp-4: 16px;
|
||||
--sp-5: 20px;
|
||||
--sp-6: 24px;
|
||||
--sp-7: 32px;
|
||||
--sp-8: 40px;
|
||||
--sp-9: 48px;
|
||||
--sp-10: 64px;
|
||||
--sp-11: 80px;
|
||||
--max-w: 1680px;
|
||||
--gutter: max(clamp(16px, 4vw, 56px), calc((100vw - var(--max-w)) / 2));
|
||||
|
||||
/* ---- layout ------------------------------------------------------------ */
|
||||
--container-max: 1280px;
|
||||
--container-pad: var(--space-5);
|
||||
--header-height: 64px;
|
||||
--poster-aspect: 2 / 3; /* 2:3 poster cards */
|
||||
--card-width: 160px; /* poster card width in carousels */
|
||||
--player-aspect: 16 / 9;
|
||||
/* layout */
|
||||
--header-h: 72px;
|
||||
--tabbar-h: 0px;
|
||||
--row-gap: clamp(10px, 1vw, 16px);
|
||||
--card-poster-w: clamp(128px, 12.5vw, 210px);
|
||||
--card-wide-w: clamp(250px, 23vw, 380px);
|
||||
--card-logo-w: clamp(150px, 15vw, 220px);
|
||||
|
||||
/* radii */
|
||||
--r-xs: 4px;
|
||||
--r-sm: 6px;
|
||||
--r-md: 10px;
|
||||
--r-lg: 14px;
|
||||
--r-xl: 20px;
|
||||
--r-pill: 999px;
|
||||
|
||||
/* shadows */
|
||||
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
|
||||
--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
|
||||
--shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.6);
|
||||
--ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--focus);
|
||||
|
||||
/* motion */
|
||||
--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
|
||||
--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
|
||||
--dur-fast: 140ms;
|
||||
--dur: 240ms;
|
||||
--dur-slow: 600ms;
|
||||
--dur-fade: 900ms;
|
||||
|
||||
/* z layers */
|
||||
--z-header: 50;
|
||||
--z-tabbar: 55;
|
||||
--z-modal: 100;
|
||||
--z-toast: 110;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
:root {
|
||||
--header-h: 60px;
|
||||
--tabbar-h: calc(62px + env(safe-area-inset-bottom, 0px));
|
||||
--card-poster-w: 31vw;
|
||||
--card-wide-w: 74vw;
|
||||
--card-logo-w: 40vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
:root {
|
||||
--dur-fast: 0ms;
|
||||
--dur: 0ms;
|
||||
--dur-slow: 0ms;
|
||||
--dur-fade: 0ms;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user