Ship the Synology/Mac deployable player with curriculum mapping, stats, and resource library. Co-authored-by: Cursor <cursoragent@cursor.com>
2170 lines
38 KiB
CSS
2170 lines
38 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--ink: #25322d;
|
|
--muted: #718079;
|
|
--paper: #fffdf8;
|
|
--cream: #f8f3e8;
|
|
--peach: #f5a65b;
|
|
--peach-dark: #d97935;
|
|
--sage: #76a896;
|
|
--sage-dark: #4e7567;
|
|
--sage-soft: #dfeee7;
|
|
--sun: #f8cf67;
|
|
--border: rgba(37, 50, 45, 0.12);
|
|
--shadow: 0 18px 45px rgba(78, 62, 38, 0.11);
|
|
font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
color: var(--ink);
|
|
background:
|
|
radial-gradient(circle at 8% 5%, rgba(248, 207, 103, 0.28), transparent 25rem),
|
|
radial-gradient(circle at 92% 20%, rgba(118, 168, 150, 0.22), transparent 24rem),
|
|
var(--cream);
|
|
}
|
|
|
|
body.modal-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
audio {
|
|
font: inherit;
|
|
}
|
|
|
|
button,
|
|
select {
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:focus-visible,
|
|
input:focus-visible,
|
|
select:focus-visible,
|
|
video:focus-visible,
|
|
audio:focus-visible,
|
|
a:focus-visible {
|
|
outline: 3px solid rgba(245, 166, 91, 0.46);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.page-shell {
|
|
width: calc(100% - 32px);
|
|
max-width: 1080px;
|
|
width: min(1080px, calc(100% - 32px));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.startup-status {
|
|
margin: 12px 0;
|
|
padding: 11px 14px;
|
|
border-radius: 14px;
|
|
color: var(--sage-dark);
|
|
background: var(--sage-soft);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
text-align: center;
|
|
}
|
|
|
|
.topbar {
|
|
min-height: 68px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.week-top-title {
|
|
margin: 0;
|
|
font-size: 42px;
|
|
line-height: 1;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
color: var(--ink);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 46px;
|
|
height: 46px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 16px 16px 16px 6px;
|
|
color: white;
|
|
background: var(--peach);
|
|
box-shadow: 0 9px 22px rgba(217, 121, 53, 0.28);
|
|
font-size: 26px;
|
|
}
|
|
|
|
.brand strong,
|
|
.brand small {
|
|
display: block;
|
|
}
|
|
|
|
.brand strong {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.brand small {
|
|
margin-top: 2px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.identity-chip {
|
|
min-height: 44px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 14px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 15px;
|
|
color: var(--ink);
|
|
background: rgba(255, 253, 248, 0.88);
|
|
}
|
|
|
|
.hero {
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-height: 190px;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
grid-template-rows: auto auto;
|
|
align-items: center;
|
|
gap: 28px;
|
|
padding: 28px 34px;
|
|
border: 1px solid rgba(255, 255, 255, 0.9);
|
|
border-radius: 34px;
|
|
background: linear-gradient(135deg, #fffdf8, #fff6df);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.hero::before,
|
|
.hero::after {
|
|
content: "";
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hero::before {
|
|
width: 230px;
|
|
height: 230px;
|
|
right: -72px;
|
|
top: -90px;
|
|
background: rgba(118, 168, 150, 0.15);
|
|
}
|
|
|
|
.hero::after {
|
|
width: 132px;
|
|
height: 132px;
|
|
right: 29%;
|
|
bottom: -84px;
|
|
background: rgba(248, 207, 103, 0.2);
|
|
}
|
|
|
|
.hero-copy,
|
|
.today-card {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-copy {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
}
|
|
|
|
.today-card {
|
|
grid-column: 2;
|
|
grid-row: 1 / span 2;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 8px;
|
|
color: var(--peach-dark);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.12em;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 10px;
|
|
font-size: 56px;
|
|
font-size: clamp(40px, 7vw, 68px);
|
|
line-height: 1;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 0;
|
|
font-size: 30px;
|
|
font-size: clamp(24px, 4vw, 34px);
|
|
letter-spacing: -0.035em;
|
|
}
|
|
|
|
.week-category {
|
|
margin-bottom: 0;
|
|
color: var(--muted);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.study-date-label {
|
|
margin: 0;
|
|
color: var(--peach-dark);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.study-line {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.study-line .eyebrow {
|
|
margin: 0;
|
|
}
|
|
|
|
.week-nav {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 9px;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.soft-button,
|
|
.primary-button,
|
|
.round-button,
|
|
.icon-button {
|
|
border: 0;
|
|
}
|
|
|
|
.soft-button {
|
|
white-space: nowrap;
|
|
min-height: 42px;
|
|
padding: 10px 15px;
|
|
border-radius: 13px;
|
|
color: var(--ink);
|
|
background: rgba(37, 50, 45, 0.07);
|
|
}
|
|
|
|
.soft-button.accent {
|
|
color: #855024;
|
|
background: rgba(245, 166, 91, 0.18);
|
|
}
|
|
|
|
.primary-button {
|
|
min-height: 46px;
|
|
padding: 12px 20px;
|
|
border-radius: 14px;
|
|
color: white;
|
|
background: var(--peach-dark);
|
|
box-shadow: 0 10px 24px rgba(217, 121, 53, 0.22);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.today-card {
|
|
min-width: 210px;
|
|
display: grid;
|
|
gap: 9px;
|
|
padding: 12px;
|
|
border-radius: 22px;
|
|
background: rgba(255, 253, 248, 0.76);
|
|
box-shadow: 0 15px 35px rgba(78, 62, 38, 0.08);
|
|
text-align: center;
|
|
}
|
|
|
|
.today-card .identity-chip {
|
|
width: 100%;
|
|
min-height: 39px;
|
|
justify-content: center;
|
|
padding: 7px 10px;
|
|
background: rgba(255, 255, 255, 0.76);
|
|
}
|
|
|
|
.today-metrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 7px;
|
|
}
|
|
|
|
.today-metrics > span {
|
|
display: block;
|
|
padding: 3px 0;
|
|
}
|
|
|
|
.today-metrics strong,
|
|
.today-metrics small {
|
|
display: block;
|
|
}
|
|
|
|
.today-metrics strong {
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.today-metrics small {
|
|
margin-top: 4px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.achievement-section {
|
|
margin-top: 42px;
|
|
padding: 24px;
|
|
border: 1px solid rgba(255, 255, 255, 0.9);
|
|
border-radius: 28px;
|
|
background: linear-gradient(135deg, rgba(255, 253, 248, 0.9), rgba(255, 241, 220, 0.8));
|
|
box-shadow: 0 14px 36px rgba(78, 62, 38, 0.07);
|
|
}
|
|
|
|
.achievement-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
}
|
|
|
|
.achievement-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 10px 14px;
|
|
border-radius: 999px;
|
|
color: #a74a52;
|
|
background: rgba(255, 226, 228, 0.86);
|
|
}
|
|
|
|
.achievement-summary span {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.achievement-summary strong {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.achievement-summary small {
|
|
color: #a56a70;
|
|
}
|
|
|
|
.achievement-copy {
|
|
margin: 8px 0 18px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.progress-calendar {
|
|
padding: 13px;
|
|
border-radius: 21px;
|
|
background: rgba(255, 255, 255, 0.62);
|
|
}
|
|
|
|
.progress-weekdays,
|
|
.progress-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
gap: 7px;
|
|
}
|
|
|
|
.progress-weekdays {
|
|
margin-bottom: 7px;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.progress-day {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 70px;
|
|
display: grid;
|
|
place-items: center;
|
|
align-content: center;
|
|
gap: 4px;
|
|
padding: 7px 3px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
color: var(--ink);
|
|
background: rgba(255, 253, 248, 0.82);
|
|
}
|
|
|
|
.progress-day strong {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.progress-day small {
|
|
min-height: 15px;
|
|
color: var(--muted);
|
|
font-size: 9px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.progress-day.complete {
|
|
border-color: rgba(235, 119, 129, 0.42);
|
|
background: linear-gradient(145deg, #fff4e8, #ffe2e4);
|
|
}
|
|
|
|
.progress-day.progress {
|
|
border-color: rgba(118, 168, 150, 0.42);
|
|
background: var(--sage-soft);
|
|
}
|
|
|
|
.progress-day.missed {
|
|
color: #9b8371;
|
|
border-style: dashed;
|
|
background: rgba(255, 255, 255, 0.42);
|
|
}
|
|
|
|
.progress-day.future,
|
|
.progress-day.locked {
|
|
opacity: 0.34;
|
|
cursor: default;
|
|
}
|
|
|
|
.progress-day.is-today {
|
|
box-shadow: 0 0 0 3px rgba(245, 166, 91, 0.35);
|
|
}
|
|
|
|
.progress-day.selected {
|
|
border-color: var(--peach);
|
|
box-shadow: 0 0 0 3px rgba(245, 166, 91, 0.35);
|
|
}
|
|
|
|
.progress-day .day-flower {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.progress-day.missed .day-flower {
|
|
color: #c7b9ad;
|
|
filter: grayscale(1);
|
|
}
|
|
|
|
.progress-legend {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
margin-top: 12px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.progress-legend span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.legend-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.legend-dot.complete {
|
|
background: #eb7781;
|
|
}
|
|
|
|
.legend-dot.progress {
|
|
background: var(--sage);
|
|
}
|
|
|
|
.legend-dot.missed {
|
|
border: 1px dashed #a9988a;
|
|
}
|
|
|
|
.playlist-control {
|
|
margin-top: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 14px;
|
|
padding: 12px 16px;
|
|
border: 1px solid rgba(118, 168, 150, 0.28);
|
|
border-radius: 25px;
|
|
background: linear-gradient(135deg, rgba(239, 248, 243, 0.94), rgba(255, 250, 225, 0.9));
|
|
box-shadow: 0 14px 34px rgba(78, 62, 38, 0.07);
|
|
}
|
|
|
|
.playlist-description {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.playlist-loop-button {
|
|
min-width: 132px;
|
|
min-height: 46px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 9px;
|
|
padding: 10px 15px;
|
|
border-radius: 15px;
|
|
color: white;
|
|
background: var(--peach-dark);
|
|
box-shadow: 0 11px 26px rgba(217, 121, 53, 0.2);
|
|
font-weight: 900;
|
|
}
|
|
|
|
.playlist-loop-button.playing {
|
|
background: var(--sage-dark);
|
|
}
|
|
|
|
.playlist-loop-button span {
|
|
font-size: 18px;
|
|
}
|
|
|
|
/* Keep the native audio element alive for iOS lock-screen playback without
|
|
giving it a second visible control bar. */
|
|
.weekly-loop-player {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* The 5s-sized iOS 10 device defaults here. Keep only listening controls in
|
|
reach; the quiet settings button remains available to a parent. */
|
|
body.child-mode .hero,
|
|
body.child-mode .achievement-section,
|
|
body.child-mode .plan-section,
|
|
body.child-mode .round-checkin {
|
|
display: none;
|
|
}
|
|
|
|
body.child-mode .topbar {
|
|
justify-content: center;
|
|
min-height: 68px;
|
|
}
|
|
|
|
body.child-mode .week-top-title {
|
|
font-size: clamp(27px, 8vw, 38px);
|
|
}
|
|
|
|
body.child-mode .playlist-control {
|
|
margin-top: 6px;
|
|
padding: 16px;
|
|
}
|
|
|
|
body.child-mode .playlist-description {
|
|
max-width: 150px;
|
|
font-size: 11px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
body.child-mode .player-section {
|
|
padding-top: 18px;
|
|
}
|
|
|
|
body.child-mode .child-song-card {
|
|
border-radius: 23px;
|
|
}
|
|
|
|
body.child-mode .child-song-card .song-card-heading {
|
|
padding: 15px 17px 11px;
|
|
}
|
|
|
|
body.child-mode .child-song-card .song-card-heading p {
|
|
margin-bottom: 2px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
body.child-mode .child-song-card .song-card-heading h3 {
|
|
font-size: clamp(20px, 6.2vw, 27px);
|
|
}
|
|
|
|
body.child-mode .child-audio-panel {
|
|
background: linear-gradient(135deg, #5e9584, #335f55);
|
|
}
|
|
|
|
body.child-mode .child-audio-panel::after {
|
|
background: linear-gradient(180deg, rgba(20, 29, 25, 0.04), rgba(20, 29, 25, 0.42));
|
|
}
|
|
|
|
body.child-mode footer {
|
|
justify-content: center;
|
|
margin-top: 24px;
|
|
padding: 4px 0 15px;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
body.child-mode footer > div {
|
|
display: none;
|
|
}
|
|
|
|
body.child-mode .footer-settings-button {
|
|
width: auto;
|
|
min-height: 35px;
|
|
padding: 6px 10px;
|
|
color: var(--muted);
|
|
background: rgba(37, 50, 45, 0.05);
|
|
box-shadow: none;
|
|
font-size: 11px;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.player-section {
|
|
padding-top: 24px;
|
|
}
|
|
|
|
.plan-section {
|
|
padding-top: 58px;
|
|
}
|
|
|
|
.section-heading {
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.loop-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 9px 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
color: var(--muted);
|
|
background: rgba(255, 253, 248, 0.75);
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.loop-toggle input {
|
|
width: 18px;
|
|
height: 18px;
|
|
accent-color: var(--sage);
|
|
}
|
|
|
|
.media-card {
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.9);
|
|
border-radius: 28px;
|
|
background: rgba(255, 253, 248, 0.92);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.mode-tabs {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 7px;
|
|
padding: 10px;
|
|
background: rgba(37, 50, 45, 0.04);
|
|
}
|
|
|
|
.mode-tab {
|
|
min-height: 50px;
|
|
border: 0;
|
|
border-radius: 15px;
|
|
color: var(--muted);
|
|
background: transparent;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.mode-tab span {
|
|
margin: 0;
|
|
font-size: 21px;
|
|
}
|
|
|
|
.mode-tab.selected {
|
|
color: var(--peach-dark);
|
|
background: var(--paper);
|
|
box-shadow: 0 6px 20px rgba(78, 62, 38, 0.08);
|
|
}
|
|
|
|
.media-panel {
|
|
position: relative;
|
|
background: #17211d;
|
|
}
|
|
|
|
.video-panel {
|
|
aspect-ratio: 16 / 9;
|
|
}
|
|
|
|
.video-panel video {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.center-play {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
inset: 50% auto auto 50%;
|
|
transform: translate(-50%, -50%);
|
|
min-width: 170px;
|
|
min-height: 52px;
|
|
padding: 12px 20px;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
color: white;
|
|
background: rgba(217, 121, 53, 0.94);
|
|
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.audio-panel {
|
|
min-height: 430px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.audio-panel > img {
|
|
width: 100%;
|
|
height: 430px;
|
|
display: block;
|
|
object-fit: cover;
|
|
filter: blur(16px) brightness(0.58) saturate(1.2);
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
.audio-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
inset: 0;
|
|
display: grid;
|
|
place-content: center;
|
|
justify-items: center;
|
|
padding: 28px;
|
|
color: white;
|
|
text-align: center;
|
|
}
|
|
|
|
.audio-disc {
|
|
width: 110px;
|
|
height: 110px;
|
|
display: grid;
|
|
place-items: center;
|
|
margin-bottom: 20px;
|
|
border-radius: 50%;
|
|
color: var(--ink);
|
|
background: var(--sun);
|
|
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
|
|
font-size: 42px;
|
|
}
|
|
|
|
.audio-overlay p {
|
|
margin-bottom: 8px;
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.audio-overlay strong {
|
|
max-width: 620px;
|
|
font-size: clamp(24px, 5vw, 40px);
|
|
}
|
|
|
|
.lyrics-panel {
|
|
max-height: min(76vh, 940px);
|
|
overflow: auto;
|
|
background: #edf0e8;
|
|
}
|
|
|
|
.lyrics-panel img {
|
|
width: min(100%, 760px);
|
|
height: auto;
|
|
display: block;
|
|
margin: 0 auto;
|
|
background: white;
|
|
}
|
|
|
|
.audio-controls {
|
|
display: grid;
|
|
grid-template-columns: 46px minmax(0, 1fr) 46px;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 14px 18px;
|
|
background: var(--sage-soft);
|
|
}
|
|
|
|
.audio-controls audio {
|
|
width: 100%;
|
|
}
|
|
|
|
.round-button {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
color: white;
|
|
background: var(--sage);
|
|
font-size: 28px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.now-playing {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
padding: 20px 22px 22px;
|
|
}
|
|
|
|
.song-id {
|
|
display: inline-flex;
|
|
padding: 5px 9px;
|
|
border-radius: 999px;
|
|
color: var(--sage-dark);
|
|
background: var(--sage-soft);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.now-playing h3 {
|
|
margin: 9px 0 0;
|
|
font-size: clamp(20px, 4vw, 29px);
|
|
}
|
|
|
|
.play-status {
|
|
flex: 0 0 auto;
|
|
padding: 8px 11px;
|
|
border-radius: 999px;
|
|
color: #855024;
|
|
background: #fff1dc;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.playlist {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 12px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.playlist-item {
|
|
min-width: 0;
|
|
min-height: 118px;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: stretch;
|
|
border: 1px solid var(--border);
|
|
border-radius: 19px;
|
|
color: var(--ink);
|
|
background: rgba(255, 253, 248, 0.82);
|
|
text-align: left;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.playlist-item.selected {
|
|
border-color: rgba(245, 166, 91, 0.7);
|
|
background: #fff4e2;
|
|
box-shadow: 0 8px 24px rgba(217, 121, 53, 0.12);
|
|
}
|
|
|
|
.playlist-select {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 13px 8px 13px 13px;
|
|
border: 0;
|
|
color: inherit;
|
|
background: transparent;
|
|
text-align: left;
|
|
}
|
|
|
|
.playlist-index {
|
|
flex: 0 0 auto;
|
|
width: 46px;
|
|
height: 46px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 16px;
|
|
color: var(--sage-dark);
|
|
background: var(--sage-soft);
|
|
font-weight: 900;
|
|
}
|
|
|
|
.playlist-item.selected .playlist-index {
|
|
color: white;
|
|
background: var(--peach);
|
|
}
|
|
|
|
.playlist-text {
|
|
min-width: 0;
|
|
}
|
|
|
|
.playlist-text strong,
|
|
.playlist-text small {
|
|
display: block;
|
|
}
|
|
|
|
.playlist-text strong {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.playlist-text small {
|
|
margin-top: 5px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.flower-strip {
|
|
min-width: 158px;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 44px);
|
|
justify-content: center;
|
|
align-content: center;
|
|
gap: 6px;
|
|
padding: 10px;
|
|
border-left: 1px solid var(--border);
|
|
background: rgba(255, 255, 255, 0.48);
|
|
}
|
|
|
|
.flower-slot {
|
|
width: 44px;
|
|
height: 44px;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
border: 1px solid rgba(37, 50, 45, 0.08);
|
|
border-radius: 14px;
|
|
color: #c8bdb3;
|
|
background: rgba(37, 50, 45, 0.055);
|
|
filter: grayscale(1);
|
|
font-size: 25px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.flower-slot.filled {
|
|
color: #eb7781;
|
|
border-color: rgba(235, 119, 129, 0.2);
|
|
background: #fff0f1;
|
|
filter: none;
|
|
}
|
|
|
|
.flower-slot.ready {
|
|
color: #eb7781;
|
|
border-color: rgba(235, 119, 129, 0.46);
|
|
background: #ffe2e4;
|
|
box-shadow: 0 7px 18px rgba(235, 119, 129, 0.24);
|
|
filter: none;
|
|
animation: flower-ready 1.15s ease-in-out infinite;
|
|
}
|
|
|
|
.flower-slot[aria-disabled="true"] {
|
|
cursor: help;
|
|
}
|
|
|
|
.flower-hint {
|
|
grid-column: 1 / -1;
|
|
margin-top: 2px;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
font-size: 9px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
@keyframes flower-ready {
|
|
0%, 100% { transform: scale(1); }
|
|
50% { transform: scale(1.26) rotate(-7deg); }
|
|
}
|
|
|
|
.song-cards {
|
|
display: block;
|
|
}
|
|
|
|
.song-media-card + .song-media-card {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.song-media-card {
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.92);
|
|
border-radius: 28px;
|
|
background: rgba(255, 253, 248, 0.94);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.song-card-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
padding: 20px 22px 14px;
|
|
}
|
|
|
|
.song-card-heading p {
|
|
margin: 0 0 4px;
|
|
color: var(--peach-dark);
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
letter-spacing: 0.12em;
|
|
}
|
|
|
|
.song-card-heading h3 {
|
|
margin: 0;
|
|
font-size: 25px;
|
|
font-size: clamp(21px, 4vw, 30px);
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.song-media-card .mode-tabs {
|
|
border-top: 1px solid rgba(37, 50, 45, 0.06);
|
|
}
|
|
|
|
.song-media-shell {
|
|
background: #17211d;
|
|
}
|
|
|
|
.song-media-panel {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 0;
|
|
padding-top: 56.25%;
|
|
overflow: hidden;
|
|
background: #17211d;
|
|
}
|
|
|
|
.song-video-panel video {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
object-fit: contain;
|
|
background: #17211d;
|
|
}
|
|
|
|
.song-audio-panel {
|
|
cursor: pointer;
|
|
isolation: isolate;
|
|
}
|
|
|
|
@supports (aspect-ratio: 16 / 9) {
|
|
.song-media-panel {
|
|
height: auto;
|
|
padding-top: 0;
|
|
aspect-ratio: 16 / 9;
|
|
}
|
|
|
|
.song-video-panel video {
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
inset: 0;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.song-audio-panel > img {
|
|
position: absolute;
|
|
top: -5%;
|
|
right: -5%;
|
|
bottom: -5%;
|
|
left: -5%;
|
|
inset: -5%;
|
|
z-index: -2;
|
|
width: 110%;
|
|
height: 110%;
|
|
object-fit: cover;
|
|
filter: blur(17px) brightness(0.5) saturate(1.2);
|
|
}
|
|
|
|
.song-audio-panel::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
inset: 0;
|
|
z-index: -1;
|
|
background: linear-gradient(180deg, rgba(20, 29, 25, 0.08), rgba(20, 29, 25, 0.54));
|
|
}
|
|
|
|
.audio-toggle {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 58px;
|
|
left: 0;
|
|
inset: 0 0 58px;
|
|
width: 100%;
|
|
display: grid;
|
|
place-content: center;
|
|
justify-items: center;
|
|
gap: 8px;
|
|
padding: 22px;
|
|
border: 0;
|
|
color: white;
|
|
background: transparent;
|
|
text-align: center;
|
|
}
|
|
|
|
.audio-toggle .audio-disc {
|
|
width: 88px;
|
|
height: 88px;
|
|
width: clamp(72px, 12vw, 104px);
|
|
height: clamp(72px, 12vw, 104px);
|
|
margin: 0 0 4px;
|
|
font-size: 36px;
|
|
font-size: clamp(30px, 5vw, 42px);
|
|
transition: 220ms ease;
|
|
}
|
|
|
|
.song-audio-panel.playing .audio-disc {
|
|
transform: scale(1.07) rotate(7deg);
|
|
box-shadow: 0 0 0 9px rgba(248, 207, 103, 0.18), 0 16px 38px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.audio-toggle strong {
|
|
font-size: 22px;
|
|
font-size: clamp(18px, 3.5vw, 27px);
|
|
}
|
|
|
|
.audio-toggle small {
|
|
max-width: 80%;
|
|
overflow: hidden;
|
|
color: rgba(255, 255, 255, 0.78);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.audio-timeline {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
inset: auto 0 0;
|
|
height: 58px;
|
|
display: grid;
|
|
grid-template-columns: 48px minmax(0, 1fr) 48px;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 0 18px;
|
|
color: white;
|
|
background: rgba(15, 23, 20, 0.72);
|
|
backdrop-filter: blur(12px);
|
|
font-size: 12px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.audio-timeline input {
|
|
width: 100%;
|
|
accent-color: var(--sun);
|
|
}
|
|
|
|
.audio-timeline span:last-child {
|
|
text-align: right;
|
|
}
|
|
|
|
.song-lyrics-panel {
|
|
max-height: min(78vh, 960px);
|
|
overflow: auto;
|
|
background: #edf0e8;
|
|
}
|
|
|
|
.song-lyrics-panel img {
|
|
width: min(100%, 760px);
|
|
height: auto;
|
|
display: block;
|
|
margin: 0 auto;
|
|
background: white;
|
|
}
|
|
|
|
.song-card-reward {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 20px 18px 22px;
|
|
background: rgba(255, 253, 248, 0.96);
|
|
}
|
|
|
|
.song-card-reward .flower-strip {
|
|
width: 50%;
|
|
min-width: 360px;
|
|
max-width: 520px;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 14px;
|
|
border: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.flower-time-slot {
|
|
min-width: 0;
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 8px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.song-card-reward .flower-slot {
|
|
width: 70px;
|
|
height: 70px;
|
|
border-radius: 22px;
|
|
font-size: 39px;
|
|
}
|
|
|
|
.round-checkin {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 13px;
|
|
margin-top: 18px;
|
|
padding: 22px 16px 17px;
|
|
border: 1px solid rgba(235, 119, 129, 0.2);
|
|
border-radius: 24px;
|
|
background: linear-gradient(135deg, rgba(255, 253, 248, 0.86), rgba(255, 226, 228, 0.55));
|
|
}
|
|
|
|
.round-flower-strip {
|
|
width: 85%;
|
|
max-width: 820px;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
justify-items: center;
|
|
gap: 22px;
|
|
}
|
|
|
|
.round-flower-button {
|
|
width: 88px;
|
|
height: 88px;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
border: 1px solid rgba(37, 50, 45, 0.1);
|
|
border-radius: 22px;
|
|
color: #c8bdb3;
|
|
background: rgba(255, 255, 255, 0.78);
|
|
filter: grayscale(1);
|
|
font-size: 51px;
|
|
transition: 280ms ease;
|
|
}
|
|
|
|
.round-hint {
|
|
margin: 0;
|
|
color: #9a6570;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
text-align: center;
|
|
}
|
|
|
|
.round-flower-button[aria-disabled="true"] {
|
|
cursor: help;
|
|
}
|
|
|
|
.round-flower-button.filled {
|
|
color: #eb7781;
|
|
border-color: rgba(235, 119, 129, 0.25);
|
|
background: #fff0f1;
|
|
filter: none;
|
|
transform: rotate(-8deg) scale(1.08);
|
|
}
|
|
|
|
.round-flower-button.ready {
|
|
color: #eb7781;
|
|
border-color: rgba(235, 119, 129, 0.5);
|
|
background: #ffe2e4;
|
|
box-shadow: 0 10px 28px rgba(235, 119, 129, 0.34);
|
|
filter: none;
|
|
animation: flower-ready 1.05s ease-in-out infinite;
|
|
}
|
|
|
|
.week-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(10, 1fr);
|
|
gap: 9px;
|
|
}
|
|
|
|
.week-cell {
|
|
aspect-ratio: 1;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px solid var(--border);
|
|
border-radius: 13px;
|
|
color: var(--ink);
|
|
background: rgba(255, 253, 248, 0.74);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.week-cell.review {
|
|
color: var(--sage-dark);
|
|
background: rgba(223, 238, 231, 0.7);
|
|
}
|
|
|
|
.week-cell.preview {
|
|
border-style: dashed;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.week-cell.studied {
|
|
color: white;
|
|
border-color: var(--sage);
|
|
background: var(--sage);
|
|
}
|
|
|
|
.week-cell.selected {
|
|
box-shadow: 0 0 0 3px rgba(245, 166, 91, 0.4);
|
|
}
|
|
|
|
.summary-pill {
|
|
padding: 8px 12px;
|
|
border-radius: 999px;
|
|
color: var(--sage-dark);
|
|
background: var(--sage-soft);
|
|
font-weight: 800;
|
|
}
|
|
|
|
footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
padding: 54px 0 34px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
footer > div {
|
|
display: grid;
|
|
gap: 5px;
|
|
}
|
|
|
|
.footer-settings-button {
|
|
min-height: 46px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
padding: 10px 15px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 15px;
|
|
color: var(--ink);
|
|
background: rgba(255, 253, 248, 0.82);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.modal {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
inset: 0;
|
|
z-index: 40;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 14px;
|
|
background: rgba(37, 50, 45, 0.48);
|
|
backdrop-filter: blur(6px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.modal > .dialog-body,
|
|
.modal > form {
|
|
width: calc(100% - 28px);
|
|
max-width: 500px;
|
|
margin: auto;
|
|
border-radius: 27px;
|
|
color: var(--ink);
|
|
background: var(--paper);
|
|
box-shadow: 0 30px 90px rgba(37, 50, 45, 0.3);
|
|
}
|
|
|
|
.dialog-body,
|
|
.modal form {
|
|
padding: 28px;
|
|
}
|
|
|
|
.dialog-heading,
|
|
.dialog-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
}
|
|
|
|
.dialog-copy {
|
|
margin: 12px 0 22px;
|
|
color: var(--muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.icon-button {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 14px;
|
|
color: var(--ink);
|
|
background: rgba(37, 50, 45, 0.06);
|
|
font-size: 22px;
|
|
}
|
|
|
|
.identity-options {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 10px;
|
|
}
|
|
|
|
.identity-option {
|
|
min-height: 86px;
|
|
display: grid;
|
|
place-items: center;
|
|
gap: 4px;
|
|
padding: 10px 6px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 18px;
|
|
color: var(--ink);
|
|
background: #fff;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.identity-option span {
|
|
font-size: 25px;
|
|
}
|
|
|
|
.identity-option.selected {
|
|
border-color: var(--peach);
|
|
background: #fff1dc;
|
|
box-shadow: 0 6px 18px rgba(217, 121, 53, 0.12);
|
|
}
|
|
|
|
.modal form {
|
|
display: grid;
|
|
gap: 18px;
|
|
}
|
|
|
|
.modal form > label,
|
|
.modal fieldset {
|
|
display: grid;
|
|
gap: 8px;
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.modal fieldset {
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.modal legend {
|
|
margin-bottom: 9px;
|
|
}
|
|
|
|
.modal input,
|
|
.modal select {
|
|
width: 100%;
|
|
min-height: 48px;
|
|
padding: 11px 13px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
color: var(--ink);
|
|
background: white;
|
|
}
|
|
|
|
.modal input:disabled {
|
|
color: #918a82;
|
|
background: #ece9e2;
|
|
cursor: not-allowed;
|
|
opacity: 1;
|
|
}
|
|
|
|
.field-help {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.modal form > label.mode-setting {
|
|
grid-template-columns: 24px minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 11px;
|
|
padding: 13px;
|
|
border-radius: 14px;
|
|
background: var(--sage-soft);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.mode-setting input[type="checkbox"] {
|
|
width: 21px;
|
|
min-height: 21px;
|
|
margin: 0;
|
|
padding: 0;
|
|
accent-color: var(--sage-dark);
|
|
}
|
|
|
|
.mode-setting strong,
|
|
.mode-setting small {
|
|
display: block;
|
|
}
|
|
|
|
.mode-setting small {
|
|
margin-top: 3px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.stats-link {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 15px;
|
|
border-radius: 17px;
|
|
color: var(--ink);
|
|
background: var(--sage-soft);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.stats-link strong,
|
|
.stats-link small {
|
|
display: block;
|
|
}
|
|
|
|
.stats-link small {
|
|
margin-top: 4px;
|
|
color: var(--sage-dark);
|
|
}
|
|
|
|
.dialog-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.toast {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: max(22px, env(safe-area-inset-bottom));
|
|
z-index: 20;
|
|
max-width: calc(100% - 32px);
|
|
padding: 11px 16px;
|
|
border-radius: 999px;
|
|
color: white;
|
|
background: rgba(37, 50, 45, 0.94);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: translate(-50%, 10px);
|
|
transition: 180ms ease;
|
|
}
|
|
|
|
.toast.visible {
|
|
opacity: 1;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
|
|
.celebration {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
inset: 0;
|
|
z-index: 50;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
background: rgba(37, 50, 45, 0.24);
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
|
|
.celebration-card {
|
|
position: relative;
|
|
z-index: 2;
|
|
width: calc(100vw - 42px);
|
|
max-width: 430px;
|
|
min-width: 0;
|
|
min-width: min(330px, calc(100vw - 42px));
|
|
padding: 28px 26px;
|
|
border-radius: 30px;
|
|
background: linear-gradient(145deg, #fffdf8, #fff0d4);
|
|
box-shadow: 0 28px 80px rgba(73, 52, 34, 0.3);
|
|
text-align: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.celebration.celebrating .celebration-card {
|
|
animation: celebration-pop 700ms cubic-bezier(.18,.89,.32,1.28), reward-glow 1.4s ease-in-out 500ms;
|
|
}
|
|
|
|
.reward-kicker {
|
|
display: inline-block;
|
|
margin-bottom: 2px;
|
|
color: var(--peach-dark);
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
letter-spacing: .22em;
|
|
}
|
|
|
|
.celebration-flower {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-size: 82px;
|
|
}
|
|
|
|
.celebration.celebrating .celebration-flower {
|
|
animation: celebration-flower 1050ms cubic-bezier(.18,.89,.32,1.28);
|
|
}
|
|
|
|
.celebration-card strong {
|
|
display: block;
|
|
color: #a74a52;
|
|
font-size: 23px;
|
|
}
|
|
|
|
.celebration-card p {
|
|
margin: 8px 0 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.petal-burst {
|
|
position: absolute;
|
|
inset: 50%;
|
|
z-index: 1;
|
|
}
|
|
|
|
.petal-burst i {
|
|
position: absolute;
|
|
width: 18px;
|
|
height: 30px;
|
|
border-radius: 70% 30% 65% 35%;
|
|
background: #f28d97;
|
|
opacity: 0;
|
|
}
|
|
|
|
.celebration.celebrating .petal-burst i {
|
|
animation: petal-fly 1.35s ease-out forwards;
|
|
}
|
|
|
|
.petal-burst i:nth-child(2n) { background: var(--sun); }
|
|
.petal-burst i:nth-child(3n) { background: var(--sage); }
|
|
.petal-burst i:nth-child(1) { --x: -150px; --y: -120px; --r: -80deg; }
|
|
.petal-burst i:nth-child(2) { --x: -35px; --y: -180px; --r: 40deg; }
|
|
.petal-burst i:nth-child(3) { --x: 95px; --y: -145px; --r: 95deg; }
|
|
.petal-burst i:nth-child(4) { --x: 165px; --y: -30px; --r: 150deg; }
|
|
.petal-burst i:nth-child(5) { --x: 135px; --y: 115px; --r: 210deg; }
|
|
.petal-burst i:nth-child(6) { --x: 5px; --y: 175px; --r: 280deg; }
|
|
.petal-burst i:nth-child(7) { --x: -130px; --y: 120px; --r: 330deg; }
|
|
.petal-burst i:nth-child(8) { --x: -170px; --y: 0; --r: 390deg; }
|
|
.petal-burst i:nth-child(9) { --x: -110px; --y: -175px; --r: 450deg; }
|
|
.petal-burst i:nth-child(10) { --x: 55px; --y: -190px; --r: 510deg; }
|
|
.petal-burst i:nth-child(11) { --x: 185px; --y: 65px; --r: 560deg; }
|
|
.petal-burst i:nth-child(12) { --x: -35px; --y: 195px; --r: 620deg; }
|
|
|
|
.spark-ring {
|
|
position: absolute;
|
|
z-index: 0;
|
|
width: 110px;
|
|
height: 110px;
|
|
border: 6px solid rgba(248, 207, 103, 0.8);
|
|
border-radius: 50%;
|
|
opacity: 0;
|
|
}
|
|
|
|
.celebration.celebrating .spark-ring {
|
|
animation: spark-ring 1.05s ease-out 140ms;
|
|
}
|
|
|
|
.sparkles {
|
|
position: absolute;
|
|
inset: 50%;
|
|
z-index: 3;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sparkles i {
|
|
position: absolute;
|
|
color: #ffd75f;
|
|
opacity: 0;
|
|
font-size: 27px;
|
|
font-style: normal;
|
|
text-shadow: 0 0 14px rgba(255, 215, 95, 0.8);
|
|
}
|
|
|
|
.celebration.celebrating .sparkles i {
|
|
animation: sparkle-pop 1.2s ease-out forwards;
|
|
}
|
|
|
|
.sparkles i:nth-child(1) { --sx: -175px; --sy: -145px; animation-delay: .08s !important; }
|
|
.sparkles i:nth-child(2) { --sx: -75px; --sy: -205px; animation-delay: .18s !important; }
|
|
.sparkles i:nth-child(3) { --sx: 45px; --sy: -195px; animation-delay: .04s !important; }
|
|
.sparkles i:nth-child(4) { --sx: 165px; --sy: -120px; animation-delay: .22s !important; }
|
|
.sparkles i:nth-child(5) { --sx: 205px; --sy: 0; animation-delay: .12s !important; }
|
|
.sparkles i:nth-child(6) { --sx: 165px; --sy: 135px; animation-delay: .25s !important; }
|
|
.sparkles i:nth-child(7) { --sx: 55px; --sy: 200px; animation-delay: .15s !important; }
|
|
.sparkles i:nth-child(8) { --sx: -70px; --sy: 195px; animation-delay: .03s !important; }
|
|
.sparkles i:nth-child(9) { --sx: -185px; --sy: 125px; animation-delay: .2s !important; }
|
|
.sparkles i:nth-child(10) { --sx: -210px; --sy: -10px; animation-delay: .1s !important; }
|
|
.sparkles i:nth-child(11) { --sx: 110px; --sy: -170px; animation-delay: .3s !important; }
|
|
.sparkles i:nth-child(12) { --sx: -135px; --sy: 175px; animation-delay: .28s !important; }
|
|
|
|
@keyframes celebration-pop {
|
|
0% { opacity: 0; transform: scale(0.62) translateY(22px); }
|
|
70% { transform: scale(1.04) translateY(0); }
|
|
100% { opacity: 1; transform: scale(1); }
|
|
}
|
|
|
|
@keyframes celebration-flower {
|
|
0% { transform: scale(0.25) rotate(-30deg); }
|
|
60% { transform: scale(1.18) rotate(12deg); }
|
|
100% { transform: scale(1) rotate(0); }
|
|
}
|
|
|
|
@keyframes petal-fly {
|
|
0% { opacity: 0; transform: translate(0, 0) scale(0.2); }
|
|
20% { opacity: 1; }
|
|
100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
|
|
}
|
|
|
|
@keyframes spark-ring {
|
|
0% { opacity: .95; transform: scale(.35); }
|
|
100% { opacity: 0; transform: scale(4.2); }
|
|
}
|
|
|
|
@keyframes sparkle-pop {
|
|
0% { opacity: 0; transform: translate(0, 0) scale(.2) rotate(0); }
|
|
35% { opacity: 1; }
|
|
100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(1.35) rotate(190deg); }
|
|
}
|
|
|
|
@keyframes reward-glow {
|
|
0%, 100% { box-shadow: 0 28px 80px rgba(73, 52, 34, 0.3); }
|
|
50% { box-shadow: 0 28px 90px rgba(235, 119, 129, 0.58), 0 0 0 10px rgba(248, 207, 103, 0.18); }
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.page-shell {
|
|
width: min(calc(100% - 22px), 680px);
|
|
}
|
|
|
|
.topbar {
|
|
min-height: 58px;
|
|
}
|
|
|
|
.brand small {
|
|
display: none;
|
|
}
|
|
|
|
.hero {
|
|
min-height: 180px;
|
|
padding: 21px 20px;
|
|
border-radius: 27px;
|
|
}
|
|
|
|
.today-card {
|
|
min-width: 170px;
|
|
display: grid;
|
|
padding: 10px;
|
|
}
|
|
|
|
.playlist {
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.playlist-item {
|
|
min-height: 92px;
|
|
}
|
|
|
|
.week-grid {
|
|
grid-template-columns: repeat(5, 1fr);
|
|
}
|
|
|
|
.audio-panel,
|
|
.audio-panel > img {
|
|
min-height: 330px;
|
|
height: 330px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.brand strong {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 13px 13px 13px 5px;
|
|
}
|
|
|
|
.identity-chip {
|
|
max-width: 150px;
|
|
}
|
|
|
|
#identity-label {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hero {
|
|
align-items: flex-start;
|
|
grid-template-columns: minmax(0, 1fr) 105px;
|
|
gap: 14px;
|
|
}
|
|
|
|
.today-card {
|
|
min-width: 105px;
|
|
}
|
|
|
|
.week-nav {
|
|
grid-column: 1 / -1;
|
|
grid-row: 2;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
width: 100%;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.week-nav .soft-button {
|
|
min-width: 0;
|
|
padding-inline: 7px;
|
|
}
|
|
|
|
.achievement-section {
|
|
padding: 18px 12px;
|
|
border-radius: 23px;
|
|
}
|
|
|
|
.achievement-copy {
|
|
padding-right: 12px;
|
|
}
|
|
|
|
.progress-calendar {
|
|
padding: 8px;
|
|
}
|
|
|
|
.progress-weekdays,
|
|
.progress-grid {
|
|
gap: 4px;
|
|
}
|
|
|
|
.progress-day {
|
|
min-height: 61px;
|
|
border-radius: 11px;
|
|
}
|
|
|
|
.progress-day small {
|
|
font-size: 8px;
|
|
}
|
|
|
|
.playlist-control {
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.playlist-loop-button {
|
|
width: 100%;
|
|
}
|
|
|
|
.player-section {
|
|
padding-top: 22px;
|
|
}
|
|
|
|
.plan-section {
|
|
padding-top: 43px;
|
|
}
|
|
|
|
.section-heading {
|
|
align-items: center;
|
|
}
|
|
|
|
.loop-toggle {
|
|
padding: 8px 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.media-card {
|
|
border-radius: 23px;
|
|
}
|
|
|
|
.song-media-card {
|
|
border-radius: 23px;
|
|
}
|
|
|
|
.song-card-heading {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 17px 17px 13px;
|
|
}
|
|
|
|
.song-card-heading .play-status {
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.audio-toggle {
|
|
bottom: 52px;
|
|
gap: 5px;
|
|
padding: 14px;
|
|
}
|
|
|
|
.audio-toggle .audio-disc {
|
|
width: 68px;
|
|
height: 68px;
|
|
font-size: 29px;
|
|
}
|
|
|
|
.audio-toggle small {
|
|
display: none;
|
|
}
|
|
|
|
.audio-timeline {
|
|
height: 52px;
|
|
grid-template-columns: 42px minmax(0, 1fr) 42px;
|
|
gap: 7px;
|
|
padding: 0 11px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.mode-tab {
|
|
min-height: 46px;
|
|
}
|
|
|
|
.now-playing {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
padding: 17px;
|
|
}
|
|
|
|
.play-status {
|
|
white-space: normal;
|
|
}
|
|
|
|
.playlist-item {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.song-card-reward .flower-strip {
|
|
width: 88%;
|
|
min-width: 0;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 8px;
|
|
border: 0;
|
|
}
|
|
|
|
.song-card-reward .flower-slot {
|
|
width: 64px;
|
|
height: 64px;
|
|
font-size: 35px;
|
|
}
|
|
|
|
.flower-time-slot {
|
|
gap: 6px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.round-flower-strip {
|
|
width: 85%;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.round-flower-button {
|
|
width: 86px;
|
|
height: 86px;
|
|
width: min(86px, 100%);
|
|
height: auto;
|
|
aspect-ratio: 1;
|
|
font-size: 48px;
|
|
}
|
|
|
|
.round-checkin {
|
|
padding-inline: 0;
|
|
}
|
|
|
|
.round-hint {
|
|
padding-inline: 14px;
|
|
}
|
|
|
|
.identity-options {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.identity-options.compact {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
|
|
.identity-options.compact .identity-option {
|
|
min-height: 67px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.identity-options.compact .identity-option span {
|
|
font-size: 20px;
|
|
}
|
|
|
|
footer {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.footer-settings-button {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 375px) {
|
|
.page-shell {
|
|
width: calc(100% - 16px);
|
|
}
|
|
|
|
.topbar {
|
|
min-height: 54px;
|
|
gap: 7px;
|
|
}
|
|
|
|
.brand {
|
|
gap: 7px;
|
|
}
|
|
|
|
.brand strong {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 35px;
|
|
height: 35px;
|
|
font-size: 21px;
|
|
}
|
|
|
|
.identity-chip {
|
|
max-width: 118px;
|
|
min-height: 38px;
|
|
padding: 7px 9px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.hero {
|
|
grid-template-columns: minmax(0, 1fr) 95px;
|
|
gap: 9px;
|
|
min-height: 170px;
|
|
padding: 18px 13px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 42px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.week-category {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.today-card {
|
|
min-width: 95px;
|
|
padding: 7px;
|
|
}
|
|
|
|
.today-card .identity-chip {
|
|
min-height: 34px;
|
|
padding: 5px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.today-metrics {
|
|
gap: 3px;
|
|
}
|
|
|
|
.today-metrics strong {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.today-metrics small {
|
|
margin-top: 2px;
|
|
font-size: 9px;
|
|
}
|
|
|
|
.week-nav .soft-button {
|
|
min-height: 42px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.song-card-reward .flower-slot {
|
|
width: 58px;
|
|
height: 58px;
|
|
font-size: 31px;
|
|
}
|
|
|
|
.modal {
|
|
padding: 9px;
|
|
}
|
|
|
|
.modal > .dialog-body,
|
|
.modal > form {
|
|
width: 100%;
|
|
border-radius: 21px;
|
|
}
|
|
|
|
.dialog-body,
|
|
.modal form {
|
|
padding: 20px 17px;
|
|
}
|
|
|
|
.identity-options {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 6px;
|
|
}
|
|
|
|
.identity-option {
|
|
min-height: 61px;
|
|
padding: 6px 2px;
|
|
border-radius: 13px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.identity-option span {
|
|
font-size: 19px;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html {
|
|
scroll-behavior: auto;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
transition-duration: 0.01ms !important;
|
|
animation-duration: 0.01ms !important;
|
|
}
|
|
}
|