1022 lines
18 KiB
CSS
1022 lines
18 KiB
CSS
:root {
|
|
--bg: #f6f4ef;
|
|
--paper: #fffdf9;
|
|
--ink: #171717;
|
|
--muted: #706b63;
|
|
--muted-2: #98928a;
|
|
--line: #e5e0d7;
|
|
--accent: #e0362c;
|
|
--accent-soft: #fbe3df;
|
|
--violet: #5b5fd5;
|
|
--green: #1f7a4d;
|
|
--green-soft: #e2f3e9;
|
|
--shadow: 0 18px 50px -28px rgba(23, 23, 23, 0.35);
|
|
--radius: 18px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
color: var(--ink);
|
|
background:
|
|
radial-gradient(1100px 500px at 82% -10%, rgba(224, 54, 44, 0.07), transparent 60%),
|
|
radial-gradient(900px 480px at -10% 5%, rgba(91, 95, 213, 0.06), transparent 55%),
|
|
var(--bg);
|
|
font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
button,
|
|
select,
|
|
input {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------ topbar */
|
|
.topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 40;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 14px clamp(18px, 4vw, 56px);
|
|
border-bottom: 1px solid rgba(229, 224, 215, 0.8);
|
|
background: rgba(246, 244, 239, 0.82);
|
|
backdrop-filter: blur(18px) saturate(1.2);
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.brand-mark {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 10px;
|
|
background: var(--ink);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
letter-spacing: -0.04em;
|
|
position: relative;
|
|
}
|
|
|
|
.brand-mark::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: -3px;
|
|
right: -3px;
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
border: 2px solid var(--bg);
|
|
}
|
|
|
|
.brand-word {
|
|
font-size: 17px;
|
|
font-weight: 750;
|
|
letter-spacing: -0.035em;
|
|
}
|
|
|
|
.brand-beta {
|
|
padding: 3px 7px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
font-weight: 650;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.topbar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 550;
|
|
}
|
|
|
|
.status-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: var(--green);
|
|
box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.1);
|
|
}
|
|
|
|
.status.is-busy .status-dot {
|
|
background: var(--accent);
|
|
box-shadow: 0 0 0 4px rgba(224, 54, 44, 0.12);
|
|
animation: pulse 1.3s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.45; transform: scale(0.8); }
|
|
}
|
|
|
|
.days-picker {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
font-weight: 650;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.days-picker select {
|
|
appearance: none;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
background: var(--paper);
|
|
color: var(--ink);
|
|
padding: 8px 28px 8px 12px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
letter-spacing: 0;
|
|
text-transform: none;
|
|
background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
|
|
background-position: calc(100% - 13px) 52%, calc(100% - 9px) 52%;
|
|
background-size: 4px 4px, 4px 4px;
|
|
background-repeat: no-repeat;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
padding: 9px 15px;
|
|
background: var(--paper);
|
|
color: var(--ink);
|
|
font-size: 12.5px;
|
|
font-weight: 650;
|
|
transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
|
|
}
|
|
|
|
.btn svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.8;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-1px);
|
|
border-color: #cfc8bd;
|
|
}
|
|
|
|
.btn-dark {
|
|
background: var(--ink);
|
|
border-color: var(--ink);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-dark:hover {
|
|
background: #2a2a2a;
|
|
border-color: #2a2a2a;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: wait;
|
|
transform: none;
|
|
}
|
|
|
|
.btn.is-loading svg {
|
|
animation: spin 0.9s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* -------------------------------------------------------------------- layout */
|
|
.wrap {
|
|
width: min(1240px, calc(100% - 36px));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero {
|
|
padding: clamp(52px, 8vw, 104px) 0 clamp(40px, 6vw, 64px);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 14px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hero h1 {
|
|
margin: 0;
|
|
max-width: 900px;
|
|
font-size: clamp(54px, 9.2vw, 112px);
|
|
font-weight: 760;
|
|
line-height: 0.88;
|
|
letter-spacing: -0.065em;
|
|
}
|
|
|
|
.hero h1 em {
|
|
color: var(--accent);
|
|
font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
|
|
font-weight: 500;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
.lede {
|
|
max-width: 590px;
|
|
margin: 26px 0 0;
|
|
color: var(--muted);
|
|
font-size: clamp(15px, 1.5vw, 18px);
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.lede strong {
|
|
color: var(--ink);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.stats {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: clamp(22px, 4vw, 48px);
|
|
margin-top: 36px;
|
|
}
|
|
|
|
.stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 70px;
|
|
}
|
|
|
|
.stat strong {
|
|
font-size: clamp(24px, 2.8vw, 34px);
|
|
font-weight: 720;
|
|
letter-spacing: -0.045em;
|
|
}
|
|
|
|
.stat span {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
font-weight: 650;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.feed-section {
|
|
padding: clamp(36px, 5vw, 60px) 0 40px;
|
|
}
|
|
|
|
.section-head {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.section-head .eyebrow {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.section-head h2 {
|
|
margin: 0;
|
|
font-size: clamp(28px, 3.5vw, 42px);
|
|
font-weight: 730;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
.tabs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
padding: 5px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
background: rgba(255, 253, 249, 0.7);
|
|
}
|
|
|
|
.tab {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
padding: 8px 13px;
|
|
background: transparent;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 620;
|
|
white-space: nowrap;
|
|
transition: color 0.18s ease, background 0.18s ease;
|
|
}
|
|
|
|
.tab:hover {
|
|
color: var(--ink);
|
|
}
|
|
|
|
.tab.is-active {
|
|
background: var(--ink);
|
|
color: #fff;
|
|
}
|
|
|
|
.tab-count {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
min-width: 19px;
|
|
height: 19px;
|
|
padding: 0 5px;
|
|
border-radius: 999px;
|
|
background: rgba(112, 107, 99, 0.1);
|
|
color: inherit;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tab.is-active .tab-count {
|
|
background: rgba(255, 255, 255, 0.16);
|
|
}
|
|
|
|
/* --------------------------------------------------------------------- grid */
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
|
|
gap: 22px;
|
|
}
|
|
|
|
.card {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: var(--paper);
|
|
overflow: hidden;
|
|
box-shadow: 0 1px 0 rgba(23, 23, 23, 0.02);
|
|
animation: rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
animation-delay: var(--delay, 0ms);
|
|
transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
|
|
}
|
|
|
|
@keyframes rise {
|
|
from { opacity: 0; transform: translateY(14px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-4px);
|
|
border-color: #d4cdc2;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.card.is-current {
|
|
border-color: rgba(224, 54, 44, 0.55);
|
|
}
|
|
|
|
.card.is-playing {
|
|
box-shadow: 0 0 0 2px rgba(224, 54, 44, 0.12), var(--shadow);
|
|
}
|
|
|
|
.cover {
|
|
position: relative;
|
|
aspect-ratio: 1 / 1;
|
|
overflow: hidden;
|
|
background: hsl(var(--h, 20) 24% 88%);
|
|
}
|
|
|
|
.cover img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.card:hover .cover img {
|
|
transform: scale(1.035);
|
|
}
|
|
|
|
.cover-fallback {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background:
|
|
radial-gradient(circle at 20% 20%, hsl(var(--h, 20) 62% 62% / 0.9), transparent 55%),
|
|
linear-gradient(145deg, hsl(var(--h, 20) 38% 44%), hsl(calc(var(--h, 20) + 45) 32% 24%));
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.cover-fallback span {
|
|
font-family: "Iowan Old Style", Palatino, Georgia, serif;
|
|
font-size: clamp(48px, 6vw, 72px);
|
|
font-weight: 600;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
.cover-shade {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(to top, rgba(10, 8, 7, 0.42), transparent 38%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.match {
|
|
position: absolute;
|
|
top: 12px;
|
|
left: 12px;
|
|
padding: 5px 8px;
|
|
border-radius: 999px;
|
|
background: rgba(20, 17, 15, 0.68);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 10px;
|
|
font-weight: 650;
|
|
letter-spacing: 0.04em;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.play-btn {
|
|
position: absolute;
|
|
right: 14px;
|
|
bottom: 14px;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
color: var(--ink);
|
|
box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.55);
|
|
opacity: 0;
|
|
transform: translateY(8px) scale(0.92);
|
|
transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
|
|
}
|
|
|
|
.card:hover .play-btn,
|
|
.card.is-current .play-btn,
|
|
.play-btn:focus-visible {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
|
|
.play-btn:hover {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
}
|
|
|
|
.play-btn svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
padding: 15px 16px 14px;
|
|
}
|
|
|
|
.card-body h3 {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.025em;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.card-artist {
|
|
margin: 4px 0 0;
|
|
color: var(--ink);
|
|
font-size: 13px;
|
|
font-weight: 560;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.card-album {
|
|
margin: 2px 0 0;
|
|
color: var(--muted-2);
|
|
font-size: 12px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.reason {
|
|
display: flex;
|
|
gap: 7px;
|
|
align-items: flex-start;
|
|
margin: 13px 0 0;
|
|
padding-top: 11px;
|
|
border-top: 1px solid var(--line);
|
|
color: var(--muted);
|
|
font-size: 11.5px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.reason svg {
|
|
flex: 0 0 auto;
|
|
width: 13px;
|
|
height: 13px;
|
|
margin-top: 1px;
|
|
fill: var(--accent);
|
|
}
|
|
|
|
.reason span {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-top: auto;
|
|
padding-top: 11px;
|
|
}
|
|
|
|
.source-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 3px 7px;
|
|
border-radius: 999px;
|
|
background: #f0ece5;
|
|
color: var(--muted);
|
|
font-size: 9.5px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.source-pill.is-playable {
|
|
background: var(--green-soft);
|
|
color: var(--green);
|
|
}
|
|
|
|
.duration {
|
|
color: var(--muted-2);
|
|
font-size: 11px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------ skeleton */
|
|
.skeleton-card {
|
|
animation: none;
|
|
}
|
|
|
|
.skeleton {
|
|
position: relative;
|
|
overflow: hidden;
|
|
background: #ece7df;
|
|
}
|
|
|
|
.skeleton::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
transform: translateX(-100%);
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
|
|
animation: shimmer 1.4s infinite;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
to { transform: translateX(100%); }
|
|
}
|
|
|
|
.skeleton.line {
|
|
height: 11px;
|
|
border-radius: 6px;
|
|
margin-top: 9px;
|
|
}
|
|
|
|
.skeleton.line.wide { width: 70%; height: 15px; }
|
|
.skeleton.line.short { width: 45%; }
|
|
.skeleton.line.reason-line { width: 90%; margin-top: 22px; height: 9px; }
|
|
|
|
/* --------------------------------------------------------------- empty/error */
|
|
.empty,
|
|
.error {
|
|
margin: 30px 0;
|
|
padding: 28px;
|
|
border: 1px dashed #d5cfc5;
|
|
border-radius: var(--radius);
|
|
color: var(--muted);
|
|
text-align: center;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.error {
|
|
border-color: rgba(224, 54, 44, 0.35);
|
|
background: var(--accent-soft);
|
|
color: #8e241d;
|
|
text-align: left;
|
|
}
|
|
|
|
/* -------------------------------------------------------------------- footer */
|
|
.footer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 34px 0 120px;
|
|
border-top: 1px solid var(--line);
|
|
color: var(--muted-2);
|
|
font-size: 11.5px;
|
|
}
|
|
|
|
.footer p { margin: 0; }
|
|
|
|
.footer a {
|
|
color: var(--muted);
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|
|
|
|
.footer a:hover {
|
|
color: var(--ink);
|
|
}
|
|
|
|
/* -------------------------------------------------------------------- player */
|
|
.player {
|
|
position: fixed;
|
|
right: 50%;
|
|
bottom: 18px;
|
|
z-index: 60;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
width: min(1040px, calc(100% - 28px));
|
|
padding: 10px 14px 10px 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 18px;
|
|
background: rgba(23, 23, 23, 0.96);
|
|
color: #fff;
|
|
box-shadow: 0 24px 70px -24px rgba(0, 0, 0, 0.65);
|
|
backdrop-filter: blur(18px);
|
|
transform: translateX(50%);
|
|
animation: player-in 0.28s ease both;
|
|
}
|
|
|
|
@keyframes player-in {
|
|
from { opacity: 0; transform: translate(50%, 12px); }
|
|
to { opacity: 1; transform: translate(50%, 0); }
|
|
}
|
|
|
|
.player-cover {
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 auto;
|
|
width: 46px;
|
|
height: 46px;
|
|
overflow: hidden;
|
|
border-radius: 10px;
|
|
background: #333;
|
|
}
|
|
|
|
.player-cover img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.player-cover span {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(145deg, hsl(var(--h, 20) 40% 48%), hsl(calc(var(--h, 20) + 40) 35% 26%));
|
|
font-family: Georgia, serif;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.player-meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
width: 190px;
|
|
}
|
|
|
|
.player-meta strong,
|
|
.player-meta span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.player-meta strong {
|
|
font-size: 12.5px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.player-meta span {
|
|
color: rgba(255, 255, 255, 0.55);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.player-toggle {
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 auto;
|
|
width: 36px;
|
|
height: 36px;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.player-toggle svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.player-progress {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.player-progress input[type="range"] {
|
|
width: 100%;
|
|
height: 14px;
|
|
margin: 0;
|
|
appearance: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.player-progress input[type="range"]::-webkit-slider-runnable-track {
|
|
height: 3px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.player-progress input[type="range"]::-moz-range-track {
|
|
height: 3px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.player-progress input[type="range"]::-webkit-slider-thumb {
|
|
appearance: none;
|
|
width: 11px;
|
|
height: 11px;
|
|
margin-top: -4px;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
}
|
|
|
|
.player-progress input[type="range"]::-moz-range-thumb {
|
|
width: 11px;
|
|
height: 11px;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
}
|
|
|
|
.player-time {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: -2px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-size: 9.5px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.player-close {
|
|
flex: 0 0 auto;
|
|
width: 28px;
|
|
height: 28px;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
font-size: 20px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.player-close:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #fff;
|
|
}
|
|
|
|
/* --------------------------------------------------------------------- toast */
|
|
.toast {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: 92px;
|
|
z-index: 70;
|
|
transform: translateX(-50%);
|
|
padding: 9px 14px;
|
|
border-radius: 999px;
|
|
background: rgba(23, 23, 23, 0.92);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 550;
|
|
box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* ----------------------------------------------------------------- responsive */
|
|
@media (max-width: 900px) {
|
|
.section-head {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.tabs {
|
|
width: 100%;
|
|
}
|
|
|
|
.tab {
|
|
flex: 1 1 auto;
|
|
justify-content: center;
|
|
}
|
|
|
|
.grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.player-meta {
|
|
width: 140px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.topbar {
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.status,
|
|
.days-picker > span {
|
|
display: none;
|
|
}
|
|
|
|
.topbar-actions {
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn {
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.brand-beta {
|
|
display: none;
|
|
}
|
|
|
|
.wrap {
|
|
width: min(100% - 28px, 1240px);
|
|
}
|
|
|
|
.hero {
|
|
padding-top: 46px;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: clamp(48px, 17vw, 74px);
|
|
}
|
|
|
|
.stats {
|
|
gap: 20px;
|
|
}
|
|
|
|
.grid {
|
|
gap: 14px;
|
|
}
|
|
|
|
.card-body {
|
|
padding: 12px 13px 12px;
|
|
}
|
|
|
|
.card-body h3 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.reason {
|
|
font-size: 10.5px;
|
|
}
|
|
|
|
.play-btn {
|
|
width: 42px;
|
|
height: 42px;
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
|
|
.player {
|
|
bottom: 10px;
|
|
gap: 9px;
|
|
width: calc(100% - 20px);
|
|
padding: 8px 10px 8px 8px;
|
|
}
|
|
|
|
.player-meta {
|
|
width: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.player-progress {
|
|
display: none;
|
|
}
|
|
|
|
.player-close {
|
|
width: 24px;
|
|
}
|
|
|
|
.footer {
|
|
flex-direction: column;
|
|
padding-bottom: 100px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 430px) {
|
|
.grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.tabs {
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.tab {
|
|
font-size: 11px;
|
|
padding: 7px 9px;
|
|
}
|
|
|
|
.tab-count {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|