@font-face {
  font-family: "Open Runde";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/open-runde-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Runde";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/open-runde-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Runde";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/open-runde-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Runde";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/open-runde-latin-700-normal.woff2") format("woff2");
}
:root {
  color-scheme: light dark;
  --font-sans: "Open Runde", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-bg: #f6f7f5;
  --color-ink: #171413;
  --color-muted: #716b62;
  --color-faint: #9f988e;
  --color-surface: #ffffff;
  --color-surface-alt: #eef2ef;
  --color-line: #d9dfd9;
  --color-overlay: rgba(20, 16, 12, .28);
  --color-error-bg: #fff0ed;
  --color-error-text: #9d251c;
  --color-danger: #b42318;
  --color-accent: #2f6f5f;
  --color-accent-contrast: #ffffff;
  --color-link: #2e9bff;
  --color-record-label: #d3a23a;
  --shadow-menu: 0 12px 34px rgba(38, 31, 21, .13);
  --shadow-modal: 0 18px 60px rgba(38, 31, 21, .22);
  --shadow-cover: 0 16px 42px rgba(38, 31, 21, .22);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --color-bg: #101211;
    --color-ink: #f4efe6;
    --color-muted: #b8b0a4;
    --color-faint: #817a70;
    --color-surface: #191b19;
    --color-surface-alt: #242720;
    --color-line: #363932;
    --color-overlay: rgba(0, 0, 0, .56);
    --color-error-bg: #351b1d;
    --color-error-text: #ffb4aa;
    --color-danger: #ff8f83;
    --color-accent: #7cc7ac;
    --color-accent-contrast: #092018;
    --color-link: #3aa3ff;
    --color-record-label: #cfa34e;
    --shadow-menu: 0 14px 36px rgba(0, 0, 0, .35);
    --shadow-modal: 0 22px 70px rgba(0, 0, 0, .48);
    --shadow-cover: 0 18px 46px rgba(0, 0, 0, .44);
  }
}

* { box-sizing: border-box; margin: 0; }
body { font: 16px/1.5 var(--font-sans); color: var(--color-ink); background: var(--color-bg); }
body.modal-open { overflow: hidden; touch-action: none; }
.hidden { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
svg { display: block; }
header { position: fixed; z-index: 15; top: 0; left: 0; right: 0; display: flex; align-items: center; padding: 28px 48px; background: color-mix(in srgb, var(--color-bg) 88%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-line) 72%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
header .logo { font-weight: 700; display: inline-flex; align-items: center; gap: 9px; min-height: 34px; }
.logo-vinyl { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; background: radial-gradient(circle, var(--color-bg) 0 9%, var(--color-record-label) 9% 23%, #151515 23% 25%, transparent 25%), conic-gradient(from 26deg, rgba(255,255,255,.24), transparent 12%, transparent 42%, rgba(255,255,255,.12), transparent 58%, transparent), repeating-radial-gradient(circle, #111 0 3px, #262626 3px 4px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); animation: logo-spin 32s linear infinite; }
.logo-text { display: grid; align-content: center; gap: 0; height: 34px; color: var(--color-ink); font-size: 11px; line-height: 11px; text-align: left; }
.desktop-nav { margin-left: auto; display: flex; gap: 18px; align-items: center; color: var(--color-faint); font-size: 15px; }
.desktop-nav a.active { color: var(--color-ink); }
main { max-width: 960px; margin: 0 auto; padding: 100px 40px 140px; }
.btn { background: var(--color-ink); color: var(--color-bg); padding: 10px 22px; border-radius: var(--radius-pill); border: 0; cursor: pointer; display: inline-block; font-weight: 600; }
.btn.ghost { background: var(--color-surface-alt); color: var(--color-muted); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.muted { color: var(--color-faint); }
.notice { background: var(--color-surface-alt); border-radius: var(--radius-sm); padding: 12px 18px; text-align: center; margin: 0 auto 24px; max-width: 560px; font-size: 14px; color: var(--color-muted); }
.notice.error { color: var(--color-error-text); background: var(--color-error-bg); }
.user-menu { position: relative; color: var(--color-ink); }
.user-trigger { border: 0; background: var(--color-surface-alt); color: var(--color-muted); border-radius: var(--radius-pill); padding: 6px 12px 6px 7px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: var(--color-line); color: var(--color-faint); font-size: 12px; font-weight: 700; }
.user-dropdown { position: absolute; z-index: 10; right: 0; top: calc(100% + 8px); min-width: 160px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-sm); box-shadow: var(--shadow-menu); padding: 8px; display: none; }
.user-menu[data-open] .user-dropdown { display: grid; gap: 2px; }
.user-dropdown a, .user-dropdown button { border: 0; background: transparent; color: var(--color-muted); text-align: left; width: 100%; padding: 9px 10px; border-radius: var(--radius-xs); cursor: pointer; }
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--color-surface-alt); color: var(--color-ink); }
.mobile-menu { display: none; position: relative; z-index: 12; margin-left: auto; width: 40px; height: 40px; flex: 0 0 40px; }
.mobile-menu-panel { position: absolute; z-index: 12; right: 0; top: 0; width: 40px; height: 40px; overflow: hidden; border: 1px solid var(--color-line); border-radius: 20px; background: var(--color-surface-alt); color: var(--color-muted); box-shadow: 0 0 0 rgba(0,0,0,0); transform-origin: top right; transition: width .22s cubic-bezier(.2, .8, .2, 1), height .22s cubic-bezier(.2, .8, .2, 1), border-radius .22s cubic-bezier(.2, .8, .2, 1), background-color .16s ease, box-shadow .22s ease; }
.mobile-menu[data-open] .mobile-menu-panel { width: 220px; height: 96px; border-radius: 18px; background: var(--color-surface); box-shadow: var(--shadow-menu); }
.mobile-menu.signed[data-open] .mobile-menu-panel { height: 194px; }
.mobile-menu-trigger { width: 100%; height: 40px; margin-left: auto; border: 0; background: transparent; color: inherit; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; z-index: 2; }
.mobile-menu[data-open] .mobile-menu-trigger { width: 40px; margin-left: 0; }
.mobile-trigger-media, .mobile-close { display: inline-flex; align-items: center; justify-content: center; transition: opacity .16s ease, transform .2s ease; }
.mobile-trigger-media { gap: 6px; }
.mobile-close { position: absolute; opacity: 0; transform: rotate(-45deg) scale(.72); }
.mobile-menu[data-open] .mobile-trigger-media { opacity: 0; transform: rotate(45deg) scale(.72); }
.mobile-menu[data-open] .mobile-close { opacity: 1; transform: rotate(0) scale(1); }
.mobile-menu svg { width: 18px; height: 18px; stroke-width: 2.3; }
.mobile-menu .user-avatar { width: 26px; height: 26px; }
.mobile-menu-panel > a, .mobile-menu-panel > form { opacity: 0; transform: translateY(-2px); pointer-events: none; transition: opacity .12s ease, transform .14s ease; }
.mobile-menu[data-open] .mobile-menu-panel > a, .mobile-menu[data-open] .mobile-menu-panel > form { opacity: 1; transform: translateY(0); pointer-events: auto; transition-delay: .1s; }
.mobile-menu-panel > a, .mobile-menu-panel button[type="submit"] { border: 0; background: transparent; color: var(--color-muted); text-align: left; width: calc(100% - 16px); margin: 0 8px 8px; padding: 10px; border-radius: var(--radius-xs); cursor: pointer; display: flex; align-items: center; gap: 9px; }
.mobile-menu-panel > a.active, .mobile-menu-panel > a:hover, .mobile-menu-panel button[type="submit"]:hover { background: var(--color-surface-alt); color: var(--color-ink); }
.composer { margin: 38px 0 0; }
.post-form { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; }
.flat-post-form { padding-bottom: 18px; border-bottom: 1px solid var(--color-line); }
.composer-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--color-line); color: var(--color-faint); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.composer-body { min-width: 0; display: grid; gap: 10px; padding-top: 2px; }
.composer-head { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.song-pill-wrap { position: relative; display: inline-flex; align-items: center; width: fit-content; max-width: min(180px, calc(100vw - 108px)); border: 1px solid color-mix(in srgb, var(--color-faint) 54%, transparent); border-radius: var(--radius-pill); background: transparent; overflow: hidden; }
.song-pill-wrap::after { content: ""; width: 7px; height: 7px; margin-right: 13px; border-right: 2px solid var(--color-link); border-bottom: 2px solid var(--color-link); transform: rotate(45deg) translateY(-2px); pointer-events: none; flex: 0 0 auto; }
.song-pill { appearance: none; -webkit-appearance: none; width: 126px; max-width: calc(100vw - 138px); min-height: 32px; border: 0; border-radius: 0; background: transparent; padding: 4px 8px 5px 18px; color: var(--color-link); font-size: 16px; line-height: 1.25; font-weight: 700; outline: 0; }
.composer-submit { flex: 0 0 auto; min-width: 64px; min-height: 34px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; line-height: 1; }
.submit-spinner { display: none; width: 13px; height: 13px; border-radius: 50%; border: 2px solid color-mix(in srgb, currentColor 30%, transparent); border-top-color: currentColor; animation: spin .8s linear infinite; }
.composer-submit[data-loading="true"] .submit-spinner { display: inline-block; }
.note-field { appearance: none; -webkit-appearance: none; width: 100%; min-height: 34px; border: 0 !important; border-bottom: 0 !important; box-shadow: none !important; outline: 0; border-radius: 0; background: transparent !important; padding: 0; color: var(--color-ink); font-size: 18px; line-height: 1.25; }
.note-field::placeholder { color: var(--color-faint); }
.note-field:focus { outline: 0; border: 0; box-shadow: none; background: transparent; }
.auth-page, .profile-page { min-height: calc(100dvh - 120px); display: grid; align-items: start; justify-content: center; padding-top: 70px; }
.signin-card { width: min(420px, calc(100vw - 36px)); background: transparent; border: 0; border-radius: 0; padding: 18px 22px 22px; box-shadow: none; display: grid; gap: 22px; }
.signin-head, .modal-head { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; gap: 8px; }
.signin-card h1, .signin-head h1, .modal-head h2 { text-align: center; font-size: 28px; line-height: 1.12; font-weight: 700; }
.modal-head { margin-bottom: 16px; }
.icon-button { width: 36px; height: 36px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--color-line); background: var(--color-surface-alt); color: var(--color-muted); }
.icon-button:hover { color: var(--color-ink); background: var(--color-surface); }
.icon-button svg { width: 18px; height: 18px; stroke-width: 2.4; }
.modal-head-spacer { width: 36px; height: 36px; }
.signin-shell { position: fixed; inset: 0; z-index: 20; max-width: none; margin: 0; padding: 22px; display: grid; align-content: center; justify-content: center; grid-template-columns: min(420px, 100%); gap: 22px; background: var(--color-overlay); }
.signin-shell::before { content: ""; grid-column: 1; grid-row: 1 / span 2; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-modal); }
.signin-shell > .modal-close { position: absolute; top: calc(50% - 94px); left: calc(50% - min(210px, 50%) + 22px); z-index: 2; width: 36px; height: 36px; overflow: hidden; font-size: 0; border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-surface-alt); }
.signin-shell > .modal-close::before, .signin-shell > .modal-close::after { content: ""; position: absolute; top: 17px; left: 10px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.signin-shell > .modal-close::before { transform: rotate(45deg); }
.signin-shell > .modal-close::after { transform: rotate(-45deg); }
.signin-shell h1, .signin-shell .signin-methods { grid-column: 1; position: relative; z-index: 1; padding-inline: 22px; }
.signin-shell h1 { padding-top: 22px; text-align: center; font-size: 28px; line-height: 1.12; font-weight: 700; }
.signin-shell .signin-methods { padding-bottom: 22px; }
.signin-methods { display: grid; gap: 12px; }
.spotify-login { min-height: 50px; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-bg); display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; padding: 12px 20px; }
.spotify-mark, .spotify-mark svg { width: 24px; height: 24px; max-width: 24px; max-height: 24px; display: block; flex: 0 0 auto; }
.empty { text-align: center; display: grid; justify-items: center; gap: 20px; padding: 92px 0 44px; }
.empty-visual { position: relative; width: 154px; height: 152px; }
.empty-disc { position: absolute; z-index: 1; top: 20px; left: 42px; width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(circle, var(--color-bg) 0 6%, var(--color-record-label) 6% 16%, #1a1a1a 16% 18%, transparent 18%), conic-gradient(from 26deg, rgba(255,255,255,.22), transparent 12%, transparent 44%, rgba(255,255,255,.12), transparent 58%, transparent), repeating-radial-gradient(circle, #111 0 6px, #242424 6px 7px); box-shadow: var(--shadow-cover); animation: spin 14s linear infinite; }
.empty-disc::after { content: ""; position: absolute; inset: 10%; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 0 12px rgba(255,255,255,.12); }
.empty-cover { position: absolute; z-index: 2; top: 10px; left: 0; width: 132px; height: 132px; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-cover); background: var(--color-surface); }
.empty p { color: var(--color-muted); font-size: 15px; font-weight: 500; }
.feed { display: grid; gap: 34px; padding: 54px 0 30px; }
.feed-card { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.av-lg { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.avf { background: var(--color-line); color: var(--color-faint); font-size: 18px; font-weight: 600; line-height: 44px; text-align: center; }
.feed-copy { min-width: 0; }
.feed-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.feed-name { font-weight: 600; }
.feed-meta { color: var(--color-faint); font-size: 13px; margin-top: 2px; }
.post-menu { position: relative; flex: 0 0 auto; }
.post-menu-trigger { width: 34px; height: 34px; border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-surface-alt); color: var(--color-faint); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.post-menu-trigger svg { width: 18px; height: 18px; }
.post-menu-dropdown { position: absolute; z-index: 9; right: 0; top: calc(100% + 8px); min-width: 142px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-sm); box-shadow: var(--shadow-menu); padding: 8px; display: none; }
.post-menu[data-open] .post-menu-dropdown { display: grid; }
.delete-post-button { border: 0; background: transparent; color: var(--color-muted); text-align: left; width: 100%; padding: 9px 10px; border-radius: var(--radius-xs); cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.delete-post-button svg { width: 15px; height: 15px; }
.delete-post-button:hover { color: var(--color-danger); background: var(--color-surface-alt); }
.feed-queue { margin-top: 14px; display: grid; gap: 14px; background: var(--color-surface-alt); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 18px; }
.feed-now { display: flex; align-items: center; gap: 18px; min-width: 0; padding-bottom: 4px; }
.now-art { position: relative; width: 92px; height: 72px; flex-shrink: 0; overflow: hidden; }
.now-disc { position: absolute; z-index: 1; top: 7px; left: 34px; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle, var(--color-bg) 0 7%, var(--color-record-label) 7% 17%, #181818 17% 18.5%, transparent 18.5%), conic-gradient(from 25deg, rgba(255,255,255,.18), transparent 12%, transparent 42%, rgba(255,255,255,.1), transparent 58%, transparent), repeating-radial-gradient(circle, #161616 0 5px, #222 5px 6px); animation: spin 5s linear infinite; }
.now-disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, rgba(255,255,255,.26) 0 12%, transparent 13% 42%, rgba(255,255,255,.08) 43% 50%, transparent 51%), radial-gradient(circle at 30% 24%, rgba(255,255,255,.22), transparent 24%); mix-blend-mode: screen; pointer-events: none; }
.now-disc::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 0 10px rgba(255,255,255,.08); pointer-events: none; }
.now-cover { position: absolute; z-index: 2; top: 4px; left: 0; width: 64px; height: 64px; border-radius: var(--radius-xs); object-fit: cover; background: var(--color-surface); box-shadow: 2px 0 10px rgba(0,0,0,.12); }
.noart { display: flex; align-items: center; justify-content: center; color: var(--color-line); font-size: 32px; background: var(--color-surface); }
.now-copy { min-width: 0; flex: 1; }
.now-title { overflow-wrap: anywhere; }
.song-title { font-weight: 600; }
.song-by { margin-top: 2px; color: var(--color-faint); font-weight: 400; font-size: 14px; }
.track-note { color: var(--color-muted); font-size: 14px; }
.service-links { display: flex; flex-wrap: wrap; gap: 8px; }
.service-link { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 13px; color: var(--color-muted); box-shadow: 0 1px 4px rgba(0,0,0,.05); display: inline-flex; align-items: center; gap: 7px; }
.service-link:hover { color: var(--color-ink); background: var(--color-bg); }
.service-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.listen-shell { display: grid; gap: 34px; padding: 54px 0 30px; }
.listen-card { position: relative; }
.listen-day-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.listen-day { background: var(--color-surface-alt); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 18px; display: grid; gap: 14px; }
.listen-subtitle { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.listen-now { display: grid; padding-bottom: 2px; }
.listen-now .feed-now { padding-bottom: 0; }
.listen-now.is-paused .now-disc { animation-play-state: paused; }
.now-spotify { flex: 0 0 auto; }
.listening-bars { width: 18px; height: 16px; display: inline-flex; align-items: end; gap: 3px; }
.listening-bars span { width: 4px; min-height: 5px; border-radius: 4px; background: var(--color-link); animation: listening-bar 1.8s ease-in-out infinite; }
.listening-bars span:nth-child(2) { animation-delay: .16s; }
.listening-bars span:nth-child(3) { animation-delay: .32s; }
.history-divider { display: flex; align-items: center; gap: 10px; color: var(--color-faint); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.history-divider::after { content: ""; height: 1px; flex: 1; background: var(--color-line); }
.history-list { display: grid; gap: 8px; }
.history-row { display: grid; grid-template-columns: 72px 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 10px; border-radius: var(--radius-sm); color: var(--color-muted); }
.history-row:hover { background: var(--color-surface); color: var(--color-ink); }
.history-row img, .history-cover-empty { width: 44px; height: 44px; border-radius: var(--radius-xs); object-fit: cover; background: var(--color-line); }
.history-copy { min-width: 0; display: grid; gap: 2px; }
.history-copy strong { color: var(--color-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-album { color: var(--color-faint); font-size: 13px; }
.listen-row-time { color: var(--color-faint); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.spotify-pill { justify-self: end; border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-muted); padding: 7px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.history-row:hover .spotify-pill { color: var(--color-ink); border-color: color-mix(in srgb, var(--color-faint) 45%, var(--color-line)); }
.listen-more { justify-self: center; margin-top: 4px; border: 0; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-bg); padding: 9px 18px; cursor: pointer; font-weight: 700; }
.listen-more:hover { opacity: .88; }
.history-empty, .listen-empty p { color: var(--color-muted); text-align: center; }
.listen-empty { justify-items: center; }
.listen-panel-shell { position: fixed; inset: 0; z-index: 28; display: grid; justify-items: end; background: transparent; }
.listen-panel-shell[hidden] { display: none; }
.listen-panel-backdrop { position: absolute; inset: 0; border: 0; background: var(--color-overlay); opacity: 0; transition: opacity .18s ease; cursor: default; }
.listen-panel-drawer { position: relative; z-index: 1; width: min(460px, calc(100vw - 24px)); height: 100dvh; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--color-surface); border-left: 1px solid var(--color-line); box-shadow: var(--shadow-modal); padding: 18px; transform: translateX(100%); transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.listen-panel-shell[data-open] .listen-panel-backdrop { opacity: 1; }
.listen-panel-shell[data-open] .listen-panel-drawer { transform: translateX(0); }
.listen-panel-head { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--color-line); margin-bottom: 12px; }
.listen-panel-head h2 { font-size: 22px; line-height: 1.12; }
.listen-panel-head p { color: var(--color-faint); font-size: 13px; margin-top: 3px; }
.listen-panel-list { display: grid; gap: 8px; }
.admin-form { display: grid; gap: 14px; }
.grid-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-form .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; color: var(--color-muted); font-size: 13px; }
.field { border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 12px 14px; outline-color: var(--color-accent); width: 100%; background: var(--color-surface); color: var(--color-ink); }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: var(--color-overlay); padding: 18px; overflow: hidden; overscroll-behavior: contain; touch-action: auto; }
.profile-modal { width: min(520px, 100%); max-height: calc(100dvh - 36px); overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 18px 22px 22px; box-shadow: var(--shadow-modal); }
.profile-form { width: min(420px, calc(100vw - 36px)); display: grid; gap: 16px; background: transparent; border: 0; border-radius: 0; padding: 22px; box-shadow: none; }
.profile-modal .profile-form { width: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.profile-form > h1 { text-align: center; font-size: 28px; line-height: 1.12; font-weight: 700; }
.profile-intro { text-align: center; margin-top: -8px; }
.profile-photo-row { display: grid; justify-items: center; gap: 10px; }
.profile-modal .profile-photo-row { display: flex; align-items: center; justify-items: start; gap: 16px; }
.profile-photo-control { position: relative; width: 72px; height: 72px; flex: 0 0 auto; }
.profile-photo-preview { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--color-surface-alt); border: 1px solid var(--color-line); }
.profile-photo-edit { position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-bg); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-menu); }
.profile-photo-edit svg { width: 14px; height: 14px; stroke-width: 2.5; }
.photo-picker-modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 18px; }
.photo-picker-modal[hidden] { display: none; }
.photo-picker-backdrop { position: absolute; inset: 0; background: var(--color-overlay); }
.photo-picker-panel { position: relative; z-index: 1; width: min(420px, 100%); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 18px 18px 20px; box-shadow: var(--shadow-modal); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.photo-option { background: var(--color-surface-alt); border: 1px solid var(--color-line); border-radius: var(--radius-sm); padding: 10px; min-height: 92px; display: grid; place-items: center; gap: 7px; color: var(--color-muted); cursor: pointer; text-align: center; }
.photo-option input { position: absolute; opacity: 0; pointer-events: none; }
.photo-option img, .upload-square { width: 54px; height: 54px; border-radius: var(--radius-xs); object-fit: cover; display: grid; place-items: center; background: var(--color-surface); color: var(--color-muted); border: 1px dashed var(--color-line); }
.upload-square { overflow: hidden; position: relative; }
.upload-square img { width: 100%; height: 100%; border: 0; border-radius: inherit; object-fit: cover; }
.photo-option:has(input:checked) { outline: 2px solid var(--color-accent); background: var(--color-surface); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes logo-spin { to { transform: rotate(360deg); } }
@keyframes listening-bar {
  0%, 100% { height: 6px; }
  45% { height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .now-disc, .logo-vinyl, .empty-disc, .listening-bars span { animation: none; }
  .mobile-menu, .mobile-menu-panel, .mobile-trigger-media, .mobile-close, .mobile-menu-panel > a, .mobile-menu-panel > form, .listen-panel-backdrop, .listen-panel-drawer { transition: none; }
}
@media (max-width: 600px) {
  header { padding: 22px 20px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  main { padding: 84px 18px 120px; }
  .post-form { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .composer-avatar { width: 44px; height: 44px; }
  .composer-head { flex-wrap: nowrap; gap: 10px; }
  .song-pill-wrap { max-width: calc(100vw - 92px); }
  .song-pill-wrap::after { width: 7px; height: 7px; margin-right: 12px; border-width: 2px; }
  .song-pill { width: 118px; max-width: calc(100vw - 150px); min-height: 32px; padding: 4px 8px 5px 16px; font-size: 16px; }
  .composer-submit { min-height: 34px; padding-inline: 14px; }
  .note-field { font-size: 18px; }
  .empty { padding-top: 62px; }
  .empty-visual { transform: scale(.9); }
  .feed { padding-top: 34px; }
  .feed-card { gap: 12px; }
  .feed-queue { padding: 16px; border-radius: var(--radius-md); margin-left: -56px; }
  .feed-now { gap: 12px; }
  .now-art { width: 80px; height: 64px; }
  .now-disc { top: 7px; left: 30px; width: 50px; height: 50px; }
  .now-cover { width: 56px; height: 56px; }
  .listen-shell { padding-top: 22px; }
  .listen-card .listen-day { width: calc(100% + 56px); margin-left: -56px; }
  .listen-day { padding: 14px; }
  .listen-day-head { display: grid; }
  .listen-now .feed-now { flex-wrap: wrap; }
  .now-spotify { margin-left: 92px; }
  .history-row { grid-template-columns: 48px 38px minmax(0, 1fr) auto; gap: 9px; padding: 8px; min-height: 58px; }
  .history-row img, .history-cover-empty { width: 38px; height: 38px; }
  .spotify-pill { padding: 5px 9px; font-size: 12px; }
  .history-album { display: none; }
  .listen-panel-drawer { width: min(420px, calc(100vw - 18px)); padding: 16px; }
  .listen-panel-list .history-row { grid-template-columns: 48px 38px minmax(0, 1fr) auto; }
  .grid-form { grid-template-columns: 1fr; }
  .preset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}