Kaleido-Desktop/src/styles/screens.css
Elijah 70530e30e2
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m29s
Release Kaleido Desktop 0.1.0-beta.18
Rebuild the Up Next screen on Kaleido's own components:
- Backdrop, colour wash, buttons and cards from the title pages; the
  credits play in a top-left frame with a matching hole in the page.
- Season and related rows use Shelf, so they scroll with side arrows
  instead of scrollbars; the season row starts at the playing episode.
- Returning to the video at the end no longer restarts the episode.
- Compact layout for short windows; Mac window buttons stay visible.
- Restore the flat Episodes and markers settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 12:17:52 -07:00

2068 lines
39 KiB
CSS

/* —— Movies / TV sections ———————————————————————————————————— */
.section-screen {
position: relative;
}
.section-header {
position: relative;
z-index: 5;
display: flex;
align-items: center;
gap: 34px;
padding: calc(var(--nav-h) + 18px) var(--gutter) 22px;
}
.section-header.overlay {
position: absolute;
left: 0;
right: 0;
top: 0;
}
.section-header h1 {
margin: 0;
font-size: clamp(26px, 2.2vw, 34px);
letter-spacing: -0.045em;
font-weight: 760;
text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.section-tabs {
display: flex;
gap: 24px;
}
.section-tabs button {
position: relative;
padding: 8px 0;
font-size: 14px;
font-weight: 560;
color: #a8aeb2;
transition: color var(--t-fast);
}
.section-tabs button:hover {
color: #fff;
}
.section-tabs button.active {
color: #fff;
font-weight: 680;
}
.section-tabs button::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
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);
}
.section-tabs button.active::after {
opacity: 1;
transform: none;
}
.section-picker {
margin-left: auto;
}
.tab-library .section-header,
.tab-categories .section-header {
padding-bottom: 18px;
}
/* —— Categories ———————————————————————————————————————————— */
.category-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 14px;
}
.category-tile {
position: relative;
aspect-ratio: 16 / 9;
border-radius: var(--r);
overflow: hidden;
background: #171717;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
display: grid;
place-items: center;
isolation: isolate;
}
.category-tile .artwork {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
z-index: -2;
filter: saturate(0.65);
transition: transform 400ms var(--ease-out);
}
.category-scrim {
position: absolute;
inset: 0;
z-index: -1;
background: rgba(0, 0, 0, 0.62);
transition: background var(--t);
}
.category-title {
padding: 0 16px;
font-size: 21px;
line-height: 1.2;
font-weight: 650;
letter-spacing: -0.02em;
text-align: center;
text-shadow: 0 1px 5px #000;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.category-tile::after {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9);
opacity: 0;
transition: opacity var(--t-fast);
}
.category-tile:hover .category-scrim,
.category-tile:focus-visible .category-scrim {
background: rgba(0, 0, 0, 0.46);
}
.category-tile:hover .artwork {
transform: scale(1.04);
}
.category-tile:hover::after,
.category-tile:focus-visible::after {
opacity: 1;
}
.category-head {
display: flex;
align-items: center;
gap: 16px;
padding: 0 var(--gutter) 14px;
}
.category-head h2 {
margin: 0;
font-size: 22px;
letter-spacing: -0.03em;
}
.category-back {
display: inline-flex;
align-items: center;
gap: 4px;
height: 30px;
padding: 0 12px 0 8px;
border-radius: 15px;
font-size: 12.5px;
font-weight: 600;
color: var(--muted);
background: rgba(255, 255, 255, 0.06);
transition: color var(--t-fast), background var(--t-fast);
}
.category-back:hover {
color: #fff;
background: rgba(255, 255, 255, 0.11);
}
/* —— Library ————————————————————————————————————————————————— */
.library {
padding: 0 var(--gutter);
}
.lib-toolbar {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
padding: 0 0 16px;
border-bottom: 1px solid var(--line);
margin-bottom: 18px;
position: sticky;
top: var(--nav-h);
z-index: 20;
background: rgba(9, 10, 12, 0.97);
padding-top: 12px;
margin-top: -12px;
}
.lib-search {
display: flex;
align-items: center;
gap: 8px;
height: 34px;
width: clamp(200px, 22vw, 300px);
padding: 0 10px 0 12px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.06);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
color: var(--muted);
transition: box-shadow var(--t-fast);
}
.lib-search:focus-within {
box-shadow: inset 0 0 0 1px rgba(169, 199, 192, 0.6);
color: #fff;
}
.lib-search input {
flex: 1;
min-width: 0;
border: 0;
background: none;
font-size: 12.5px;
color: #fff;
}
.lib-search button {
color: var(--muted);
display: grid;
}
.sort-group {
display: flex;
align-items: center;
gap: 2px;
}
.sort-dir {
width: 34px;
height: 34px;
}
.toolbar-spacer {
flex: 1;
}
.density {
display: flex;
align-items: flex-end;
gap: 2px;
padding: 3px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.05);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.density button {
width: 30px;
height: 28px;
display: grid;
place-items: center;
border-radius: 6px;
}
.density button span {
display: block;
border-radius: 2px;
background: #7d858a;
}
.density button.on {
background: #3a403f;
}
.density button.on span {
background: #fff;
}
.filter-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin: -6px 0 18px;
}
.chip {
display: inline-flex;
align-items: center;
gap: 7px;
height: 28px;
padding: 0 11px;
border-radius: 14px;
background: rgba(169, 199, 192, 0.14);
color: #d9ebe5;
font-size: 12px;
font-weight: 560;
transition: background var(--t-fast);
}
button.chip:hover {
background: rgba(169, 199, 192, 0.24);
}
.chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.library-body {
position: relative;
}
.lib-grid-wrap {
position: relative;
display: flex;
gap: 18px;
}
.lib-grid {
position: relative;
flex: 1;
min-width: 0;
}
.lib-row {
position: absolute;
top: 0;
left: 0;
right: 0;
display: grid;
}
.lib-row .card.poster {
width: 100%;
}
.alpha-rail {
position: sticky;
top: calc(var(--nav-h) + 80px);
align-self: flex-start;
display: flex;
flex-direction: column;
align-items: flex-end;
max-height: calc(100vh - var(--nav-h) - 110px);
overflow-y: auto;
scrollbar-width: none;
/* Room on the left for the magnified letter. */
padding: 8px 4px 8px 26px;
margin: 0 -14px 0 -18px;
}
.alpha-rail::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 30px;
border-radius: 15px;
background: rgba(255, 255, 255, 0.055);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
pointer-events: none;
}
.alpha-rail button {
position: relative;
width: 22px;
height: 20px;
font-size: 11.5px;
font-weight: 700;
color: #b4bbbf;
flex: none;
transform-origin: 70% 50%;
transition:
transform 120ms var(--ease-out),
color 120ms;
}
.alpha-rail button.current {
color: var(--accent-strong);
}
/* The letter under the pointer grows, and its neighbours a little, like a dock. */
.alpha-rail button:hover {
color: #fff;
z-index: 2;
transform: translateX(-10px) scale(1.9);
}
.alpha-rail button:has(+ button:hover),
.alpha-rail button:hover + button {
color: #e2e7e9;
z-index: 1;
transform: translateX(-5px) scale(1.35);
}
.alpha-rail button:has(+ button + button:hover),
.alpha-rail button:hover + button + button {
transform: translateX(-2px) scale(1.12);
}
/* —— Detail pages ——————————————————————————————————————————— */
.detail {
position: relative;
isolation: isolate;
}
.detail-backdrop {
height: min(84vh, 900px);
bottom: auto;
}
.backdrop-tint.detail-backdrop {
height: calc(min(84vh, 900px) + 60vh);
}
.detail-backdrop:not(.washed) .backdrop-scrim {
background:
linear-gradient(90deg, rgba(9, 10, 12, 0.94) 0%, rgba(9, 10, 12, 0.7) 32%, rgba(9, 10, 12, 0.1) 66%, transparent 100%),
linear-gradient(0deg, var(--bg) 0%, rgba(9, 10, 12, 0.7) 22%, transparent 55%);
}
.detail-hero {
position: relative;
z-index: 2;
padding: calc(var(--nav-h) + 14px) var(--gutter) 30px;
min-height: min(62vh, 620px);
display: flex;
flex-direction: column;
}
.detail-back {
align-self: flex-start;
display: inline-flex;
align-items: center;
gap: 8px;
padding: 7px 12px 7px 10px;
border-radius: 8px;
font-size: 12px;
font-weight: 600;
color: #d4d9da;
background: rgba(255, 255, 255, 0.06);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
transition: background var(--t-fast);
}
.detail-back:hover {
background: rgba(255, 255, 255, 0.14);
}
.detail-head {
margin-top: auto;
max-width: min(760px, 62%);
padding-top: 40px;
display: flex;
flex-direction: column;
gap: 14px;
}
.detail-head > .title-art,
.detail-head > .title-text {
margin-bottom: 4px;
}
.title-link {
align-self: flex-start;
text-align: left;
}
.title-link:hover .title-art img {
filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45)) brightness(1.08);
}
.detail-subtitle {
margin: -6px 0 0;
font-size: clamp(22px, 1.9vw, 30px);
letter-spacing: -0.035em;
font-weight: 700;
}
.synopsis-wrap {
max-width: 640px;
}
.synopsis {
margin: 0;
color: #d3d8da;
font-size: 14px;
line-height: 1.66;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.synopsis.expandable {
cursor: pointer;
border-radius: 6px;
transition: color var(--t-fast);
}
.synopsis.expandable:hover {
color: #fff;
}
.synopsis.open {
display: block;
white-space: pre-wrap;
-webkit-line-clamp: unset;
animation: fade-in 220ms var(--ease-out);
}
.synopsis-full {
font-size: 14px;
line-height: 1.75;
color: #d3d8da;
margin: 0;
white-space: pre-wrap;
}
.detail-actions {
margin-top: 6px;
}
.detail-actions .btn.ghost.is-on {
color: var(--accent-strong);
}
.detail-progress {
width: min(360px, 60%);
}
.detail-tech {
font-size: 11.5px;
color: #899094;
letter-spacing: 0.02em;
}
.download-progress {
color: var(--accent-strong);
padding: 0;
}
.download-progress svg {
width: 42px;
height: 42px;
}
.detail-body {
position: relative;
z-index: 2;
display: grid;
grid-template-columns: minmax(0, 1fr) 300px;
gap: 40px;
padding: 10px var(--gutter) 0;
}
.detail-body.single {
grid-template-columns: minmax(0, 1fr);
}
.detail-main {
min-width: 0;
}
.detail-main .shelf-head,
.detail-main .shelf {
padding-left: 0;
padding-right: 0;
}
.detail-main .shelf {
scroll-padding: 0;
}
.detail-main .shelf-paddle.prev {
left: -8px;
}
.detail-main .shelf-paddle.next {
right: -8px;
}
.detail-main .shelf-section {
margin-bottom: 30px;
}
.about-panel {
align-self: start;
position: sticky;
top: calc(var(--nav-h) + 16px);
padding: 20px;
border-radius: 12px;
background: rgba(21, 23, 26, 0.93);
box-shadow: inset 0 0 0 1px var(--line);
}
.about-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.about-head h3 {
margin: 0;
font-size: 14px;
}
.about-tagline {
font-style: italic;
color: #b9c1c3;
font-size: 12.5px;
line-height: 1.5;
margin: 0 0 12px;
}
.about-line {
display: flex;
justify-content: space-between;
gap: 14px;
padding: 10px 0;
border-top: 1px solid rgba(255, 255, 255, 0.07);
font-size: 11.5px;
}
.about-line span {
color: #858d92;
flex: none;
}
.about-line strong {
color: #d3d8d8;
font-weight: 560;
text-align: right;
}
.about-actions {
display: flex;
gap: 8px;
margin-top: 14px;
flex-wrap: wrap;
}
.inline-link {
color: inherit;
text-decoration: underline;
text-decoration-color: rgba(255, 255, 255, 0.25);
text-underline-offset: 3px;
font: inherit;
}
.inline-link:hover {
color: #fff;
text-decoration-color: currentColor;
}
/* Episodes */
.episodes {
margin-bottom: 36px;
}
.episodes-head {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 8px;
}
.episodes-head h2 {
margin: 0;
font-size: 19px;
letter-spacing: -0.028em;
}
.episodes-sub {
color: var(--dim);
font-size: 12px;
}
.season-summary {
color: #aeb5b8;
font-size: 12.5px;
line-height: 1.6;
max-width: 760px;
margin: 4px 0 8px;
}
.episode-row {
scroll-margin: 96px 0 48px;
display: grid;
grid-template-columns: 34px 220px minmax(0, 1fr) 40px;
gap: 20px;
align-items: center;
padding: 16px 12px 16px 6px;
border-bottom: 1px solid var(--line-soft);
border-radius: 10px;
cursor: pointer;
transition: background var(--t-fast);
}
.episode-row:hover,
.episode-row:focus-visible {
background: rgba(255, 255, 255, 0.045);
}
.episode-row:focus-visible {
outline: 2px solid #f2f5f4;
outline-offset: 0;
}
.episode-index {
font-size: 22px;
font-weight: 650;
color: #8a9196;
text-align: center;
font-variant-numeric: tabular-nums;
}
.episode-pic {
position: relative;
aspect-ratio: 16 / 9;
border-radius: 6px;
overflow: hidden;
background: #1c2024;
}
.episode-pic .artwork {
position: absolute;
inset: 0;
}
.episode-play {
position: absolute;
left: 50%;
top: 50%;
width: 42px;
height: 42px;
margin: -21px 0 0 -21px;
border-radius: 50%;
display: grid;
place-items: center;
background: rgba(255, 255, 255, 0.92);
color: #121314;
opacity: 0;
transform: scale(0.9);
transition:
opacity var(--t),
transform var(--t) var(--ease-out);
}
.episode-row:hover .episode-play {
opacity: 1;
transform: none;
}
.episode-text h3 {
font-size: 14px;
margin: 0 0 4px;
font-weight: 640;
display: flex;
align-items: center;
gap: 8px;
}
.episode-watched {
color: #9fd6bb;
}
.episode-meta {
font-size: 11.5px;
color: #8a9196;
margin-bottom: 7px;
}
.episode-text p {
margin: 0;
font-size: 12px;
line-height: 1.55;
color: #a8afb3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.episode-more {
opacity: 0;
}
.episode-row:hover .episode-more {
opacity: 1;
}
/* —— Search ————————————————————————————————————————————————— */
.search-hero {
margin-bottom: 30px;
}
.search-field {
display: flex;
align-items: center;
gap: 14px;
height: 58px;
padding: 0 16px 0 20px;
max-width: 820px;
border-radius: 14px;
background: rgba(255, 255, 255, 0.06);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
color: var(--muted);
transition: box-shadow var(--t-fast);
}
.search-field:focus-within {
box-shadow:
inset 0 0 0 1px rgba(169, 199, 192, 0.6),
0 10px 40px rgba(0, 0, 0, 0.3);
color: #fff;
}
.search-field input {
flex: 1;
min-width: 0;
border: 0;
background: none;
font-size: 19px;
font-weight: 500;
color: #fff;
letter-spacing: -0.01em;
}
.search-field input::placeholder {
color: #737a7f;
}
.recent-searches {
margin-bottom: 34px;
}
.recent-searches h3,
.search-top h3,
.person-section h2 {
font-size: 19px;
letter-spacing: -0.028em;
margin: 0 0 14px;
}
.search-top {
margin-bottom: 34px;
}
.search-page .shelf-section.flush .shelf-paddle.prev {
left: -18px;
}
.search-page .shelf-section.flush .shelf-paddle.next {
right: -18px;
}
/* —— Person ————————————————————————————————————————————————— */
.person-header {
display: flex;
align-items: center;
gap: 28px;
margin-bottom: 36px;
}
.person-portrait {
width: 132px;
height: 132px;
border-radius: 50%;
overflow: hidden;
position: relative;
background: linear-gradient(135deg, #30353b, #524a46);
display: grid;
place-items: center;
color: #c8c4bf;
flex: none;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.person-portrait .artwork {
position: absolute;
inset: 0;
}
.person-header h1 {
font-size: clamp(32px, 3vw, 46px);
letter-spacing: -0.045em;
margin: 8px 0 6px;
}
.person-section {
margin-bottom: 40px;
}
/* —— Downloads ——————————————————————————————————————————————— */
.download-intro {
display: grid;
grid-template-columns: minmax(0, 1fr) 300px;
align-items: end;
gap: 30px;
padding-bottom: 28px;
border-bottom: 1px solid var(--line);
margin-bottom: 26px;
}
/* The page fills the window so an empty state can sit in the middle of it. */
.downloads-page {
display: flex;
flex-direction: column;
min-height: calc(100vh - 80px);
}
.app-shell.offline .downloads-page {
min-height: calc(100vh - 44px);
}
.downloads-empty {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
/* Sit at the window's centre rather than below the header's. */
margin-top: -120px;
}
.download-intro-actions {
margin-top: 14px;
}
.storage-card {
padding: 18px 20px;
border-radius: 12px;
background: var(--panel);
box-shadow: inset 0 0 0 1px var(--line);
}
.storage-head {
display: flex;
justify-content: space-between;
font-size: 12px;
color: #c9cecf;
}
.storage-bar {
display: flex;
height: 7px;
margin: 13px 0 10px;
border-radius: 7px;
overflow: hidden;
background: #30353a;
}
.storage-bar .other {
background: #5d656b;
}
.storage-bar .mine {
background: var(--accent);
}
.storage-caption {
display: flex;
justify-content: space-between;
font-size: 11px;
color: #8f979b;
}
.dl-section {
margin-bottom: 30px;
}
.dl-section-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.dl-section-head h2 {
font-size: 18px;
letter-spacing: -0.025em;
margin: 0;
display: flex;
align-items: baseline;
gap: 10px;
}
.dl-section-head small {
font-size: 12px;
color: var(--dim);
font-weight: 500;
}
.download-row {
display: flex;
align-items: center;
gap: 20px;
padding: 14px 10px 14px 0;
border-bottom: 1px solid var(--line-soft);
}
.dl-thumb {
position: relative;
width: 150px;
aspect-ratio: 16 / 9;
flex: none;
border-radius: 6px;
overflow: hidden;
background: #22272b;
}
.dl-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.dl-thumb img.poster {
object-fit: contain;
background: #15181a;
}
.dl-play {
position: absolute;
inset: 0;
display: grid;
place-items: center;
background: rgba(0, 0, 0, 0.35);
opacity: 0;
transition: opacity var(--t);
}
.download-row:hover .dl-play {
opacity: 1;
}
.dl-details {
flex: 1;
min-width: 0;
}
.dl-details h3 {
margin: 0 0 4px;
font-size: 14.5px;
font-weight: 650;
}
.dl-details p {
margin: 0 0 9px;
font-size: 12px;
color: #969ea2;
}
.dl-progress {
display: flex;
align-items: center;
gap: 12px;
}
.dl-progress .progress-bar {
width: min(320px, 50%);
}
.dl-status {
font-size: 11.5px;
color: #9aa2a6;
font-variant-numeric: tabular-nums;
}
.download-row.failed .dl-status {
color: var(--danger);
}
.file-status {
display: inline-flex;
align-items: center;
gap: 7px;
font-size: 11.5px;
color: #9dc7b3;
}
.dl-actions {
display: flex;
align-items: center;
gap: 6px;
}
/* —— Settings ————————————————————————————————————————————————— */
.settings-shell {
display: flex;
min-height: 100vh;
padding-top: var(--nav-h);
}
.settings-nav {
width: 256px;
flex: none;
padding: 26px 14px 60px 20px;
border-right: 1px solid var(--line);
position: sticky;
top: var(--nav-h);
align-self: flex-start;
max-height: calc(100vh - var(--nav-h));
overflow-y: auto;
}
.settings-nav h3 {
font-size: 17px;
margin: 4px 8px 16px;
letter-spacing: -0.02em;
}
.settings-mode {
display: flex;
margin: 0 4px 20px;
}
.settings-mode button {
flex: 1;
}
.settings-group {
font-size: 10px;
color: #747d80;
letter-spacing: 0.12em;
text-transform: uppercase;
font-weight: 750;
margin: 18px 10px 8px;
}
.settings-link {
position: relative;
width: 100%;
display: flex;
align-items: center;
gap: 11px;
padding: 9px 11px;
border-radius: 7px;
font-size: 12.5px;
color: #a9afb1;
text-align: left;
transition:
background var(--t-fast),
color var(--t-fast);
}
.settings-link:hover {
background: rgba(255, 255, 255, 0.06);
color: #fff;
}
.settings-link.selected {
background: rgba(255, 255, 255, 0.09);
color: #fff;
font-weight: 620;
}
.settings-link.selected::before {
content: '';
position: absolute;
left: -9px;
top: 9px;
bottom: 9px;
width: 3px;
border-radius: 3px;
background: var(--accent);
}
.settings-main {
flex: 1;
min-width: 0;
}
.settings-inner {
padding: 34px clamp(26px, 4.5vw, 80px) 120px;
max-width: 1180px;
animation: page-in 260ms var(--ease-out) both;
}
.settings-header {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 16px;
padding-bottom: 20px;
margin-bottom: 26px;
border-bottom: 1px solid var(--line);
}
.settings-section {
margin-bottom: 36px;
}
.settings-section-head {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 20px;
margin-bottom: 8px;
}
.settings-section h2 {
font-size: 15.5px;
margin: 0 0 5px;
letter-spacing: -0.02em;
}
.settings-section-head p {
margin: 0 0 6px;
font-size: 12px;
color: #899296;
line-height: 1.55;
max-width: 680px;
}
.pref {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
min-height: 62px;
padding: 13px 0;
border-top: 1px solid var(--line);
}
.pref-text {
min-width: 0;
max-width: 640px;
}
.pref strong {
display: block;
font-size: 13px;
font-weight: 600;
margin-bottom: 3px;
}
.pref p {
margin: 0;
font-size: 11.5px;
line-height: 1.5;
color: #868f94;
word-break: break-word;
}
.subtitle-preview {
position: relative;
container-type: size;
aspect-ratio: 16 / 9;
max-height: 340px;
margin: 4px 0 14px;
border-radius: var(--r-lg);
overflow: hidden;
background: linear-gradient(160deg, #36404a 0%, #1b2024 55%, #0e1012 100%);
box-shadow: inset 0 0 0 1px var(--line);
}
.subtitle-preview img {
width: 100%;
height: 100%;
object-fit: cover;
}
.subtitle-preview-line {
position: absolute;
left: 0;
right: 0;
text-align: center;
font-family: Arial, 'Segoe UI', sans-serif;
line-height: 1.22;
pointer-events: none;
}
.subtitle-preview-line span {
paint-order: stroke fill;
-webkit-box-decoration-break: clone;
box-decoration-break: clone;
padding: 0 0.2em;
}
.subtitle-preview-line span.translucent {
background: rgba(0, 0, 0, 0.63);
}
.subtitle-preview-line span.solid {
background: #000;
}
.swatches {
display: flex;
gap: 8px;
}
.swatches button {
width: 26px;
height: 26px;
border-radius: 50%;
box-shadow:
inset 0 0 0 1px rgba(0, 0, 0, 0.25),
0 0 0 2px transparent;
transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.swatches button:hover {
transform: scale(1.08);
}
.swatches button.selected {
box-shadow:
inset 0 0 0 1px rgba(0, 0, 0, 0.25),
0 0 0 2px var(--bg),
0 0 0 4px #e8eeec;
}
.pref-control {
display: flex;
align-items: center;
gap: 8px;
flex: none;
}
.pref-input {
width: 240px;
min-height: 34px;
padding: 6px 10px;
font-size: 12.5px;
}
.text-input.compact {
width: 200px;
min-height: 32px;
padding: 5px 10px;
font-size: 12px;
}
.inline-toggle {
display: inline-flex;
align-items: center;
gap: 10px;
font-size: 12px;
color: var(--muted);
}
.save-bar {
position: sticky;
bottom: 18px;
display: flex;
align-items: center;
gap: 10px;
justify-content: flex-end;
padding: 10px 12px 10px 18px;
border-radius: 12px;
background: rgba(36, 40, 42, 0.95);
backdrop-filter: blur(16px);
box-shadow:
var(--shadow-pop),
inset 0 0 0 1px rgba(255, 255, 255, 0.1);
transform: translateY(20px);
opacity: 0;
pointer-events: none;
transition:
transform var(--t) var(--ease-out),
opacity var(--t);
}
.save-bar.show {
transform: none;
opacity: 1;
pointer-events: auto;
}
.save-bar span {
margin-right: auto;
font-size: 12px;
color: #cdd3d4;
}
.status-tag {
display: inline-flex;
align-items: center;
gap: 7px;
font-size: 11.5px;
color: #a6c9b8;
background: rgba(40, 72, 56, 0.45);
box-shadow: inset 0 0 0 1px rgba(110, 170, 140, 0.25);
padding: 6px 12px;
border-radius: 20px;
white-space: nowrap;
}
.status-tag.off {
color: #c9b49a;
background: rgba(80, 64, 40, 0.4);
box-shadow: inset 0 0 0 1px rgba(200, 160, 110, 0.25);
}
.dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: #78b997;
box-shadow: 0 0 0 3px rgba(120, 185, 151, 0.15);
}
.status-tag.off .dot {
background: #d1a36b;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
margin-bottom: 18px;
}
.stat-tile {
padding: 18px 20px;
border-radius: 12px;
background: var(--panel);
box-shadow: inset 0 0 0 1px var(--line);
}
.stat-tile label {
display: block;
font-size: 11.5px;
color: #8c9298;
margin-bottom: 12px;
}
.stat-tile strong {
font-size: 27px;
font-weight: 740;
letter-spacing: -0.03em;
line-height: 1;
}
.stat-tile small {
display: block;
margin-top: 9px;
font-size: 11px;
color: #90a399;
}
.stat-tile.warn small {
color: var(--warning);
}
.admin-card {
padding: 20px;
border-radius: 12px;
background: var(--panel);
box-shadow: inset 0 0 0 1px var(--line);
margin-bottom: 16px;
}
.admin-card-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
margin-bottom: 14px;
}
.admin-card h2 {
font-size: 15px;
margin: 0;
}
.card-lede {
margin: -6px 0 10px;
font-size: 12px;
}
.admin-2-col {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.now-playing {
display: flex;
align-items: center;
gap: 18px;
padding: 14px 0;
border-top: 1px solid var(--line-soft);
}
.now-playing:first-of-type {
border-top: 0;
}
.np-poster {
position: relative;
width: 62px;
aspect-ratio: 2 / 3;
border-radius: 5px;
overflow: hidden;
flex: none;
background: #22272b;
}
.np-poster .artwork {
position: absolute;
inset: 0;
}
.np-body {
flex: 1;
min-width: 0;
}
.np-body h3 {
margin: 0 0 3px;
font-size: 14px;
}
.np-body p {
margin: 0 0 4px;
font-size: 11.5px;
color: #a0a8ac;
}
.np-progress {
display: flex;
align-items: center;
gap: 12px;
margin: 8px 0;
font-size: 11px;
}
.np-progress .progress-bar {
width: min(280px, 50%);
}
.np-pills {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.np-empty {
padding: 8px 0 4px;
margin: 0;
}
.stream-pill {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 10.5px;
padding: 5px 9px;
border-radius: 6px;
background: rgba(60, 110, 80, 0.32);
color: #b5d9c1;
}
.stream-pill.warn {
background: rgba(150, 110, 50, 0.3);
color: #ecd09d;
}
.stream-pill.neutral {
background: rgba(255, 255, 255, 0.07);
color: #c6ccce;
}
.chart-svg {
width: 100%;
height: 150px;
display: block;
}
.chart-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
font-size: 11px;
color: #8b9497;
}
.legend {
display: flex;
gap: 16px;
}
.legend i {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 6px;
}
.note {
font-size: 11.5px;
color: #889395;
line-height: 1.5;
}
.server-info {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px 20px;
}
.server-info div {
border-top: 1px solid var(--line);
padding-top: 11px;
min-width: 0;
}
.server-info span {
display: block;
font-size: 10.5px;
color: #838c8f;
margin-bottom: 6px;
}
.server-info b {
font-size: 12.5px;
font-weight: 600;
word-break: break-word;
}
.library-manage-row,
.activity-row {
display: flex;
align-items: center;
gap: 14px;
padding: 14px 0;
border-top: 1px solid var(--line-soft);
}
.lib-ico {
width: 38px;
height: 38px;
border-radius: 9px;
display: grid;
place-items: center;
flex: none;
background: #263235;
color: #a6c8bf;
}
.library-manage-text,
.activity-text {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 3px;
}
.library-manage-text strong,
.activity-text strong {
font-size: 13px;
display: flex;
align-items: center;
gap: 10px;
}
.library-manage-text small,
.activity-text small {
font-size: 11.5px;
color: #8a9396;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.activity-text .progress-bar {
margin-top: 6px;
width: min(360px, 70%);
}
.scanning {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 11px;
color: var(--accent);
font-weight: 500;
}
.history-list {
display: flex;
flex-direction: column;
}
.history-row {
display: grid;
grid-template-columns: 36px minmax(0, 1fr) 140px 160px 110px;
gap: 14px;
align-items: center;
padding: 9px 0;
border-top: 1px solid var(--line-soft);
font-size: 12px;
}
.history-row strong {
display: block;
font-size: 12.5px;
}
.history-row small {
color: var(--dim);
}
.history-row > span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.history-thumb {
position: relative;
width: 36px;
aspect-ratio: 2 / 3;
border-radius: 3px;
overflow: hidden;
background: #22272b;
}
.history-thumb .artwork {
position: absolute;
inset: 0;
}
.remote-status-row {
display: flex;
align-items: center;
gap: 16px;
}
.remote-status-row h2 {
margin-bottom: 4px;
}
.remote-status-row p {
margin: 0;
font-size: 12px;
}
.remote-status-row > div:nth-child(2) {
flex: 1;
}
.remote-icon {
width: 46px;
height: 46px;
border-radius: 12px;
display: grid;
place-items: center;
background: #23352e;
color: #a0c7b6;
}
.remote-status.warn .remote-icon {
background: #3a3122;
color: #e3c27c;
}
.release-notes {
font-size: 12px;
line-height: 1.6;
color: #a7b0b3;
white-space: pre-wrap;
max-height: 200px;
overflow: auto;
}
.console {
height: 52vh;
overflow-y: auto;
padding: 14px 16px;
border-radius: 9px;
background: #0b0d0e;
box-shadow: inset 0 0 0 1px var(--line);
font-family: 'Cascadia Mono', Consolas, monospace;
font-size: 11.5px;
line-height: 1.7;
}
.console-line {
display: grid;
grid-template-columns: 82px 70px minmax(0, 1fr);
gap: 10px;
color: #b9c6c2;
}
.console-line > span:last-child {
word-break: break-word;
}
.console-time {
color: #6b7478;
}
.console-line.l0 .console-level {
color: #ef9a9a;
}
.console-line.l1 .console-level {
color: #e3c27c;
}
.console-line .console-level {
color: #7fb5a2;
}
.console-line.l3 .console-level,
.console-line.l4 .console-level {
color: #7d878b;
}
.about-app {
display: flex;
align-items: center;
gap: 18px;
margin-bottom: 30px;
}
.about-app h2 {
margin: 0 0 4px;
font-size: 22px;
letter-spacing: -0.03em;
}
.about-app p {
margin: 0;
}
.legal {
font-size: 11px;
color: #6f777b;
line-height: 1.6;
margin-top: 30px;
}
.shortcut-columns {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 40px;
}
/* —— Dialog contents ——————————————————————————————————————————— */
.dialog-tabs {
margin-bottom: 20px;
}
.dialog-note {
display: flex;
align-items: center;
gap: 7px;
font-size: 11.5px;
color: #8e979b;
}
.lock-toggle {
display: inline-grid;
place-items: center;
width: 20px;
height: 20px;
border-radius: 5px;
color: #6b7376;
}
.lock-toggle.on {
color: var(--accent);
background: rgba(169, 199, 192, 0.12);
}
.tag-editor {
display: flex;
flex-wrap: wrap;
gap: 6px;
padding: 7px;
min-height: 42px;
border-radius: 7px;
background: #101315;
border: 1px solid rgba(255, 255, 255, 0.14);
}
.tag-editor .chip {
height: 26px;
}
.tag-editor .chip button {
display: grid;
color: inherit;
opacity: 0.7;
}
.tag-editor input {
flex: 1;
min-width: 120px;
border: 0;
background: none;
font-size: 12.5px;
padding: 0 6px;
}
.artwork-tab {
display: flex;
gap: 18px;
flex-wrap: wrap;
}
.artwork-choice {
display: flex;
flex-direction: column;
gap: 9px;
font-size: 12px;
color: #cdd3d4;
}
.artwork-choice span {
display: flex;
align-items: center;
gap: 4px;
}
.artwork-choice-img {
display: grid;
place-items: center;
border-radius: 8px;
overflow: hidden;
background: #101315;
box-shadow: inset 0 0 0 1px var(--line);
transition: box-shadow var(--t-fast);
}
.artwork-choice:hover .artwork-choice-img {
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}
.artwork-choice.poster .artwork-choice-img {
width: 140px;
height: 210px;
}
.artwork-choice.landscape .artwork-choice-img,
.artwork-choice.logo .artwork-choice-img {
width: 260px;
height: 146px;
}
.artwork-choice-img img {
width: 100%;
height: 100%;
object-fit: cover;
}
.artwork-choice.logo img {
object-fit: contain;
padding: 14px;
}
.artwork-grid {
display: grid;
gap: 14px;
}
.artwork-grid.poster {
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.artwork-grid.landscape,
.artwork-grid.logo {
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.artwork-option {
position: relative;
border-radius: 8px;
overflow: hidden;
background: #101315;
box-shadow: inset 0 0 0 1px var(--line);
transition:
transform var(--t-fast),
box-shadow var(--t-fast);
}
.artwork-grid.poster .artwork-option {
aspect-ratio: 2 / 3;
}
.artwork-grid.landscape .artwork-option,
.artwork-grid.logo .artwork-option {
aspect-ratio: 16 / 9;
}
.artwork-option img {
width: 100%;
height: 100%;
object-fit: cover;
}
.artwork-grid.logo .artwork-option img {
object-fit: contain;
padding: 16px;
}
.artwork-option:hover {
transform: translateY(-2px);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}
.artwork-option.selected {
box-shadow: 0 0 0 2px var(--accent);
}
.artwork-selected {
position: absolute;
top: 8px;
right: 8px;
width: 24px;
height: 24px;
border-radius: 50%;
display: grid;
place-items: center;
background: var(--accent);
color: var(--accent-ink);
}
.artwork-provider {
position: absolute;
left: 6px;
bottom: 6px;
font-size: 10px;
padding: 2px 6px;
border-radius: 4px;
background: rgba(0, 0, 0, 0.6);
color: #cdd3d4;
}
.match-search {
display: flex;
gap: 10px;
margin-bottom: 16px;
}
.match-search .text-input {
flex: 1;
}
.match-search .text-input.year {
flex: none;
width: 90px;
}
.match-results {
display: flex;
flex-direction: column;
gap: 4px;
min-height: 120px;
}
.match-row {
display: flex;
align-items: center;
gap: 14px;
padding: 10px;
border-radius: 9px;
text-align: left;
transition: background var(--t-fast);
}
.match-row:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.07);
}
.match-thumb {
width: 54px;
aspect-ratio: 2 / 3;
border-radius: 4px;
overflow: hidden;
flex: none;
background: #22272b;
}
.match-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.match-text {
flex: 1;
min-width: 0;
}
.match-text b {
font-size: 13.5px;
}
.match-text p {
margin: 5px 0;
font-size: 11.5px;
color: #9aa2a6;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.match-text small {
font-size: 11px;
color: var(--accent);
}
.center-pad {
display: grid;
place-items: center;
padding: 30px;
}
.media-version h3 {
font-size: 14px;
margin: 0 0 14px;
}
.media-version + .media-version {
margin-top: 26px;
padding-top: 20px;
border-top: 1px solid var(--line);
}
.info-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px 18px;
margin-bottom: 14px;
}
.info-grid span {
display: block;
font-size: 10.5px;
color: #838c8f;
margin-bottom: 4px;
}
.info-grid b {
font-size: 12.5px;
font-weight: 560;
word-break: break-word;
}
.info-grid.footer {
margin-top: 22px;
padding-top: 16px;
border-top: 1px solid var(--line);
}
.media-part {
padding: 14px;
border-radius: 9px;
background: rgba(0, 0, 0, 0.22);
margin-bottom: 10px;
}
.media-file {
margin-bottom: 12px;
}
.media-file span {
display: block;
font-size: 10.5px;
color: #838c8f;
margin-bottom: 5px;
}
.media-file code,
.folder-row code {
font-family: 'Cascadia Mono', Consolas, monospace;
font-size: 11.5px;
color: #cfd8d6;
word-break: break-all;
}
.stream-table {
width: 100%;
border-collapse: collapse;
font-size: 11.5px;
}
.stream-table td {
padding: 7px 8px 7px 0;
border-top: 1px solid rgba(255, 255, 255, 0.06);
color: #bfc6c8;
vertical-align: top;
}
.stream-table td:first-child {
color: #838c8f;
width: 74px;
}
.stream-table td:last-child {
color: var(--accent);
text-align: right;
white-space: nowrap;
}
.inline-create {
display: flex;
gap: 10px;
margin-bottom: 14px;
}
.inline-create .text-input {
flex: 1;
}
.list-pick {
display: flex;
flex-direction: column;
max-height: 50vh;
overflow-y: auto;
}
.list-pick-row {
display: flex;
align-items: center;
gap: 12px;
padding: 10px;
border-radius: 8px;
text-align: left;
font-size: 13px;
color: #dfe3e4;
}
.list-pick-row span {
flex: 1;
}
.list-pick-row svg:first-child {
color: #9fb3af;
}
.list-pick-row:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.07);
}
.version-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.version-row {
display: flex;
flex-direction: column;
gap: 4px;
padding: 14px 16px;
border-radius: 10px;
text-align: left;
background: rgba(255, 255, 255, 0.04);
box-shadow: inset 0 0 0 1px var(--line);
}
.version-row:hover {
background: rgba(255, 255, 255, 0.09);
}
.version-row span {
font-size: 12px;
color: var(--muted);
}
.folder-crumbs {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin-bottom: 12px;
}
.folder-crumbs button {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 12px;
color: var(--accent);
}
.folder-list {
max-height: 46vh;
overflow-y: auto;
}
.folder-chosen {
display: flex;
flex-direction: column;
gap: 8px;
align-items: flex-start;
}
.folder-row {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
padding: 9px 11px;
border-radius: 8px;
background: #101315;
box-shadow: inset 0 0 0 1px var(--line);
}
.folder-row code {
flex: 1;
}
.folder-row button {
display: grid;
color: var(--muted);
}
/* —— Responsive ——————————————————————————————————————————————— */
@media (max-width: 1180px) {
.primary-nav {
gap: 18px;
}
.brand {
margin-right: 10px;
}
.detail-body {
grid-template-columns: minmax(0, 1fr) 260px;
gap: 26px;
}
.stats-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.server-info {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.settings-nav {
width: 220px;
}
}
@media (max-width: 980px) {
.brand span {
display: none;
}
.hero-content {
width: min(620px, 80%);
}
.detail-head {
max-width: 88%;
}
.detail-body {
grid-template-columns: minmax(0, 1fr);
}
.about-panel {
position: static;
max-width: 640px;
}
.admin-2-col,
.shortcut-columns {
grid-template-columns: minmax(0, 1fr);
}
.download-intro {
grid-template-columns: minmax(0, 1fr);
}
.episode-row {
grid-template-columns: 26px 160px minmax(0, 1fr) 36px;
gap: 14px;
}
.history-row {
grid-template-columns: 36px minmax(0, 1fr) 120px 90px;
}
.history-row > span:nth-of-type(2) {
display: none;
}
.settings-nav {
width: 196px;
padding-left: 12px;
}
.info-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.section-header {
gap: 22px;
}
}