/* Suiting cyber UI. Presentation only; no remote fonts, libraries, or scripts. */
:root {
  color-scheme: dark;
  --bg: #060a13;
  --panel: #0d1626;
  --text: #eaf3ff;
  --muted: #9aacc7;
  --accent: #67fbe2;
  --line: #75b7ee24;
  --cyber-pink: #ff73c6;
  --cyber-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
html { background: var(--bg); }
body {
  background:
    radial-gradient(ellipse at 3% 12%, #19b9c315, transparent 45%),
    radial-gradient(ellipse at 100% 60%, #c136a10d, transparent 45%),
    linear-gradient(#69c6f006 1px, transparent 1px),
    linear-gradient(90deg, #69c6f006 1px, transparent 1px), #060a13;
  background-size: auto, auto, 56px 56px, 56px 56px, auto;
  color: var(--text);
}
::selection { color: #05151c; background: #67fbe2; }
button, input, select { accent-color: var(--accent); }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.app-shell { max-width: 1360px; padding: 0 48px; }
.topbar { height: 100px; border-bottom-color: #67fbe225; }
.brand { color: #f1f7ff; letter-spacing: 4px; }
.brand-en { color: var(--accent); font-family: var(--cyber-mono); letter-spacing: 3px; }
.brand-icon { border: 1px solid #67fbe24a; border-radius: 8px 1px; width: 39px; height: 39px; background: #67fbe208; }
.brand-icon i { background: var(--accent); border-radius: 0; box-shadow: 0 0 9px #67fbe24a; }
.private-label { color: #a1b1cb; }
.private-label > span, .status-dot, .local-dot { background: var(--accent); box-shadow: 0 0 9px #67fbe276; }
.intro { margin: 35px 0 30px; }
.eyebrow { color: #86b0ce; font-family: var(--cyber-mono); font-weight: 500; letter-spacing: 2.6px; }
h1 { color: #f2f6ff; font-weight: 600; letter-spacing: 2px; }
.intro h1 { text-shadow: 3px 0 #67fbe20d, -2px 0 #ff73c60d; }
.intro .eyebrow::before { content: "// "; color: var(--accent); }
.info-button { color: #91b4cd; border: 1px solid #35516a; border-radius: 6px 1px; }
.player-layout { gap: 34px; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); align-items: stretch; }
.now-playing {
  position: relative;
  padding: 24px;
  border: 1px solid #67fbe23d;
  border-radius: 18px 3px 18px 3px;
  background: linear-gradient(145deg, #132638e8, #0c1425f5 60%, #12172af0);
  box-shadow: 0 16px 60px #00000035, inset 0 1px 0 #b7ffff0c;
}
.now-playing::before {
  content: "";
  position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, #67fbe2 35%, #67fbe2 65%, transparent);
  pointer-events: none;
}
.section-caption { color: #b2d1e5; font-family: var(--cyber-mono); letter-spacing: 1.8px; margin-bottom: 20px; }
.section-caption > span:last-child { color: #97afc9; }
.artwork-wrap { border-radius: 9px 2px; border: 1px solid #67fbe252; background: #0a222f; box-shadow: 0 0 35px #00efc90a; }
.cover { filter: grayscale(.65) sepia(.35) hue-rotate(112deg) saturate(2.7) brightness(.62) contrast(1.25); }
.artwork-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(transparent 75%, #04121e66),
    repeating-linear-gradient(0deg, #050c1812 0, #050c1812 1px, transparent 1px, transparent 5px);
  border: 8px solid #031a2518;
}
.artwork-label { z-index: 1; font-family: var(--cyber-mono); color: #d2fff5; text-shadow: 0 1px 6px #000; letter-spacing: 2px; }
.playing-indicator { z-index: 1; background: #081623b3; border: 1px solid #67fbe248; border-radius: 3px; padding: 5px 7px; height: 27px; }
.playing-indicator i { background: var(--accent); box-shadow: 0 0 5px #67fbe25c; }
.track-heading { margin-top: 25px; }
.track-heading h2 { font-weight: 600; letter-spacing: 2px; }
.track-heading p { color: #a0b0c8; }
.time-labels { color: #a9bbd2; font-family: var(--cyber-mono); font-size: 10px; }
.timeline input::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(to right, var(--accent) var(--progress), #49617b66 var(--progress)); }
.timeline input::-webkit-slider-thumb { background: var(--accent); width: 11px; height: 11px; margin-top: -3.5px; box-shadow: 0 0 10px #67fbe273; }
.timeline input::-moz-range-track { background: #49617b66; height: 4px; }
.timeline input::-moz-range-progress { background: var(--accent); height: 4px; }
.timeline input::-moz-range-thumb { background: var(--accent); box-shadow: 0 0 10px #67fbe273; }
.playback-controls { margin-top: 20px; }
.play-button { width: 62px; height: 62px; background: var(--accent); color: #05202b; border: 1px solid #a8fff1; box-shadow: 0 0 0 6px #67fbe209, 0 0 26px #67fbe226; }
.play-button:hover { background: #acfff0; box-shadow: 0 0 0 6px #67fbe216, 0 0 30px #67fbe236; }
.icon-button { color: #9cb2ce; }
.icon-button:hover { color: var(--accent); background: #67fbe20c; }
.favorite-button[aria-pressed="true"] { color: var(--cyber-pink); }
.favorite-button[aria-pressed="true"] svg { fill: #ff73c637; }
.repeat-button[aria-pressed="true"] { color: var(--accent); background: #67fbe210; }
.quality-label { border: 1px solid #67fbe245; color: var(--accent); background: #67fbe206; font-family: var(--cyber-mono); border-radius: 2px; }
.player-note { color: #9aaec4; font-size: 10px; line-height: 1.8; }
.player-note > span:first-child { background: var(--cyber-pink); }
.library-panel { padding: 22px 23px; border: 1px solid #89a8dd28; border-radius: 3px 18px 3px 18px; background: linear-gradient(150deg, #0f1a2ae8, #0b1120eb); }
.library-top h2 { font-size: 26px; color: #f1f6ff; font-weight: 550; letter-spacing: 2px; }
.library-top h2 span { color: var(--accent); font-family: var(--cyber-mono); background: #67fbe20b; border: 1px solid #67fbe22c; padding: 2px 5px; border-radius: 2px; }
.library-top .eyebrow { color: #8fa9c6; letter-spacing: 2.7px; }
.small-import { color: var(--accent); border-color: #67fbe24d; border-radius: 5px 1px; background: #67fbe208; width: 36px; height: 36px; }
.tabs { gap: 0; justify-content: space-between; border-bottom-color: #7eacdc28; margin-top: 29px; }
.tab { color: #a4b6ce; font-size: 12px; padding-bottom: 15px; white-space: nowrap; }
.tab.active { color: var(--accent); text-shadow: 0 0 14px #67fbe229; }
.tab.active::after { height: 2px; border-radius: 0; box-shadow: 0 0 10px #67fbe273; }
.button { border-radius: 5px 1px; color: #06202b; background: var(--accent); border: 1px solid #9cffee; box-shadow: 0 2px 12px #0000001a; }
.button:hover { background: #abfff0; }
.button:disabled { opacity: .42; box-shadow: none; }
.button.subtle { color: #c6dced; background: #102333; border: 1px solid #4a718a87; box-shadow: none; }
.button.subtle:hover { color: var(--accent); border-color: #67fbe282; background: #173441; }
.search-box { height: 42px; background: #060e1b; border-color: #6386b139; border-radius: 5px 1px; color: #a1b6cf; }
.search-box input { font-size: 12px; color: #eaf3ff; }
.search-box input::placeholder { color: #93a7c0; }
.search-box:focus-within { border-color: #67fbe2a8; box-shadow: 0 0 0 2px #67fbe208; }
.list-header { color: #94a9c5; margin-top: 22px; font-family: var(--cyber-mono); }
.song-row { border: 1px solid transparent; border-radius: 5px 1px; padding: 10px 9px; background: #14223535; }
.song-row:hover { background: #67fbe207; border-color: #67fbe228; }
.song-row.selected { border-color: #67fbe24f; background: linear-gradient(90deg, #67fbe215, #67fbe204); box-shadow: inset 2px 0 var(--accent); }
.song-text strong { color: #e3edf9; font-size: 13px; }
.song-row.selected strong { color: #9dffec; }
.song-text small { color: #a2b4cc; }
.song-duration { color: #a1b9d1; font-family: var(--cyber-mono); }
.song-cover-wrap { border-radius: 3px; border: 1px solid #7399b13b; }
.song-cover-wrap img { filter: grayscale(.35) hue-rotate(90deg) saturate(1.5); }
.song-cover-wrap svg { color: var(--accent); }
.import-card { border-color: #67fbe247; border-radius: 9px 2px; background: linear-gradient(135deg, #10334429, #10192c44); }
.import-card.dragging { border-color: var(--accent); background: #67fbe214; }
.import-card-icon { color: var(--accent); border-color: #67fbe256; border-radius: 7px 1px; transform: none; background: #67fbe209; box-shadow: 3px 3px 0 #67fbe20a; }
.import-card h3 { color: #e3efff; font-weight: 500; }
.import-card p, .format-note { color: #a1b2c9; }
.text-button { color: #abd2e3; }
.text-button:hover { color: var(--accent); }
.library-footnote { border-top: 1px solid #6b93b21a; margin-top: 24px; padding-top: 18px; }
.library-footnote p, .library-footnote p span, #storage-description { color: #9baec8; }
.library-footnote .local-dot { background: var(--accent); }
.cloud-panel { padding-top: 23px; }
.cloud-panel > .eyebrow { color: var(--accent); font-family: var(--cyber-mono); }
.cloud-panel > h3 { color: #eaf3ff; font-size: 23px; font-weight: 550; letter-spacing: 1px; }
.cloud-message { color: #b3c6dc; font-size: 12px; }
.cloud-message.error { color: #ff9fb4; }
.cloud-usage { color: var(--accent); font-family: var(--cyber-mono); }
.cloud-actions { gap: 8px; margin: 18px 0; }
.cloud-actions .button { min-height: 40px; font-size: 11px; }
.cloud-manager { border-color: #6a94c12e; padding: 15px 0; }
.cloud-manager summary { color: #e0effe; font-size: 12px; }
.cloud-manager summary::marker { color: var(--accent); }
.cloud-manager p { color: #a2b7d0; font-size: 11px; line-height: 1.9; }
.cloud-manager input, .form-input { background: #060e1b; border-color: #52768e8c; border-radius: 4px 1px; color: #eaf3ff; }
.cloud-manager input::placeholder, .form-input::placeholder { color: #91a6c2; }
.cloud-manager .key-actions .text-button { font-size: 11px; }
.cloud-footnote { color: #94a9c2; font-size: 10px; line-height: 1.9; }
.playlist-selector select { background: #081322; color: #dcecff; border-color: #52768e8c; border-radius: 4px 1px; }
.playlist-detail h3 { color: #e9f2ff; }
.playlist-choice { border-color: #7c9fcb38; border-radius: 5px 1px; }
.playlist-choice:has(input:checked) { background: #67fbe20c; border-color: #67fbe274; }
.playlist-choice small, .form-label { color: #a6bad1; }
#playlist-delete { color: #b7a7c7; }
.empty-list, .lyrics-empty, .lyrics-line { color: #a0b4cd; }
.lyrics-empty small { color: #94a9c2; }
.lyrics-empty svg { color: var(--accent); }
.lyrics-line.active { color: var(--accent); text-shadow: 0 0 20px #67fbe229; }
footer { color: #9baec8; border-top-color: #67fbe220; font-family: var(--cyber-mono); }
dialog { background: #0e192a; border-color: #67fbe25e; border-radius: 13px 2px; box-shadow: 0 25px 90px #0009, 0 0 40px #67fbe208; }
dialog::backdrop { background: #020510ce; }
dialog p, .help-detail p { color: #b1c2d8; }
.help-detail h3 { color: #e6f3ff; }
.toast { background: #0e2030f5; border-color: #67fbe26e; color: #d8fff6; border-radius: 5px 1px; box-shadow: 0 12px 45px #0007; }
@media (max-width: 1000px) {
  .app-shell { padding: 0 28px; }
  .player-layout { gap: 22px; }
  .now-playing, .library-panel { padding: 20px; }
  .cloud-manager form { flex-wrap: wrap; }
  .cloud-manager input { flex-basis: 100%; }
  .cloud-manager form .button { min-height: 38px; }
}
@media (max-width: 660px) {
  body { background-size: auto, auto, 40px 40px, 40px 40px, auto; }
  .app-shell { padding: 0 18px; }
  .topbar { height: 82px; gap: 10px; }
  .brand { font-size: 21px; letter-spacing: 2px; }
  .brand-icon { width: 31px; height: 34px; }
  .brand-en { font-size: 7px; letter-spacing: 1.5px; }
  .header-right .button { font-size: 11px; min-height: 38px; }
  .intro { margin: 26px 0 23px; }
  .intro h1 { font-size: 23px; letter-spacing: 1px; }
  .intro .eyebrow { font-size: 7px; letter-spacing: 1.3px; }
  .player-layout { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .now-playing { padding: 19px; }
  .now-playing::before { left: 19px; right: 19px; }
  .section-caption { font-size: 8px; letter-spacing: 1px; }
  .library-panel { padding: 21px 17px; }
  .library-top h2 { font-size: 23px; }
  .track-heading h2 { font-size: 25px; }
  .play-button { width: 60px; height: 60px; }
  .tabs { gap: 0; margin-top: 25px; }
  .tab { font-size: 12px; padding-bottom: 15px; }
  .cloud-panel > h3 { font-size: 21px; }
  .cloud-actions .button { font-size: 11px; min-height: 40px; padding: 0 10px; }
  .cloud-manager input { font-size: 16px; }
  .cloud-manager form .button { min-height: 40px; }
  .cloud-manager p { font-size: 11px; }
  .song-row { gap: 6px; }
  .song-select { gap: 9px; }
  .song-cover-wrap { width: 39px; height: 39px; }
  .song-actions .icon-button { min-width: 28px; }
  .player-note, .cloud-footnote { font-size: 10px; }
  .library-footnote p { font-size: 9px; }
  footer { font-size: 9px; }
}
@media (max-width: 359px) {
  .app-shell { padding: 0 12px; }
  .library-panel { padding: 18px 12px; }
  .tab { font-size: 11px; }
  .brand-en { display: none; }
  .main-controls { gap: 16px; }
  .song-row { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
