:root {
  color-scheme: light;
  --ink: #2b2540;
  --ink-soft: #746e85;
  --muted: #a29aaf;
  --accent: #7254b6;
  --accent-dark: #5c3b9f;
  --lavender: #f2ebff;
  --line: #ece8f2;
  --surface: #ffffff;
  --paper: #fbfafc;
  --shadow: 0 20px 70px rgba(60, 36, 97, .075);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft Yahei", sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button,input,select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline: 3px solid rgba(115,83,183,.42); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 60px)); margin: 0 auto; position: relative; }
.page-bg { position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 1% 8%, #efe9fd 0, transparent 23%), radial-gradient(circle at 98% 34%, #fff1ee 0, transparent 25%), #fbfafc; }
.site-header { position: relative; border-bottom: 1px solid rgba(220,210,236,.6); background: rgba(255,255,255,.75); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-icon { width: 45px; height: 45px; display: grid; place-items: center; background: linear-gradient(150deg,#8261c6,#a581cd); border-radius: 15px; box-shadow: 0 7px 17px #8f75b956; transform: rotate(-7deg); }
.brand-note { font-family: Georgia,serif; color: white; font-size: 27px; transform: rotate(7deg); line-height: 1; }
.brand-text { display: grid; gap: 0; line-height: 1.05; }
.brand-text strong { font-size: 23px; font-weight: 800; letter-spacing: -1.3px; }
.brand-text small { font-size: 9px; color: #8f82a5; letter-spacing: 3.7px; font-weight: 800; margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 36px; margin-left: auto; font-size: 14px; color: #605971; font-weight: 700; }
.nav-links a:hover { color: var(--accent); }
.nav-badge { border: 1px solid #ede6f7; background: #f8f4ff; font-size: 10px; letter-spacing: 1px; color: #7b62ac; border-radius: 40px; padding: 10px 14px; white-space: nowrap; font-weight: 800; }
.tiny-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #9b78ca; margin-right: 7px; }
main { padding-top: 32px; }
.hero { position: relative; overflow: hidden; min-height: 361px; border-radius: 29px; background: linear-gradient(113deg,#efe7fb 0%,#f6ecf8 53%,#fceced 100%); border: 1px solid #ece0f6; box-shadow: 0 12px 35px #4f3b7210; }
.hero-mesh { position: absolute; inset: 0; background: radial-gradient(circle at 71% 16%,#ffffffaa 0,transparent 28%), radial-gradient(circle at 100% 97%,#f4dcff80 0, transparent 42%); }
.hero-inner { min-height: 361px; position: relative; display: flex; justify-content: space-between; align-items: center; }
.hero-copy { padding: 49px 60px 43px; position: relative; z-index: 2; }
.eyebrow { display: flex; gap: 11px; align-items: center; font-size: 10px; font-weight: 900; letter-spacing: 2px; color: #8b6abc; }
.eyebrow-sparkle { color: #ba90d2; font-size: 20px; font-weight: 400; line-height: 1; }
.eyebrow-line { height: 1px; width: 31px; background: #cbb4e5; }
h1 { margin: 22px 0 16px; font-size: clamp(37px, 4.25vw, 59px); line-height: 1.25; letter-spacing: -2.3px; font-weight: 900; }
h1 em { font-style: normal; color: var(--accent); }
.hero-description { max-width: 500px; font-size: 15px; line-height: 1.9; color: #756888; margin: 0; }
.hero-stats { margin-top: 29px; display: flex; align-items: center; gap: 24px; }
.stat { display: grid; gap: 2px; }
.stat-value { font-weight: 900; letter-spacing: -.7px; font-size: 28px; line-height: 1.1; }
.stat-date { font-weight: 800; letter-spacing: -.5px; font-size: 17px; line-height: 1.7; }
.stat-caption { font-size: 11px; color: #8d7da2; font-weight: 600; }
.stat-divider { height: 29px; width: 1px; background: #d8cbe7; }
.hero-art { position: absolute; width: 380px; height: 310px; right: 65px; top: 27px; }
.art-disc-shadow { position: absolute; inset: 22px 25px 10px 26px; border-radius: 50%; transform: translate(18px,11px); background: #7754a74a; filter: blur(19px); }
.art-disc { position: absolute; top: 3px; left: 48px; width: 294px; height: 294px; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 6px,#a289c514 6.4px,#a289c514 7px), conic-gradient(from 40deg,#43335a,#6c5383,#403158,#554166,#443352,#75608c,#43335a); box-shadow: 1px 12px 25px #3e2d5e36, inset 0 0 0 7px #383047; display: grid; place-items: center; transform: rotate(-15deg); }
.disc-ridges { position: absolute; width: 242px; height: 242px; border: 1px solid #a58eb02a; border-radius: 50%; box-shadow: 0 0 0 11px #0000000a, 0 0 0 27px #ffffff08, 0 0 0 45px #0000000a; }
.disc-label { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(145deg,#cfacd9,#c598cb 60%,#aa83c0); border: 5px solid #44334b; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; color: #ffffff; box-shadow: inset 0 2px 14px #fff7; }
.disc-label-top { font-size: 12px; font-weight: 900; letter-spacing: 2px; }
.disc-label-star { font-size: 22px; line-height: 1.1; }
.disc-label-bottom { font-size: 7px; font-weight: 800; letter-spacing: .9px; }
.float-note { position: absolute; z-index: 3; color: #ac83c3; font-family: Georgia,serif; font-size: 49px; font-weight: bold; transform: rotate(24deg); }
.note-one { right: -6px; top: 8px; }
.note-two { left: 1px; top: 91px; color: #c1a1d0; transform: rotate(-17deg); font-size: 34px; }
.art-bubble { position: absolute; right: -36px; bottom: 18px; z-index: 3; background: #fff; padding: 11px 18px; border-radius: 20px; transform: rotate(9deg); font-size: 10px; font-weight: 900; letter-spacing: 1.8px; color: #9f7abb; box-shadow: 0 12px 30px #6b48932a; }
.art-bubble span { color: #e2a9ad; font-size: 17px; margin-left: 8px; }
.browse { margin-top: 59px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.section-eyebrow { letter-spacing: 2px; color: #9a7abe; font-size: 11px; font-weight: 900; margin-bottom: 6px; }
h2 { font-size: 29px; line-height: 1.4; letter-spacing: -.7px; margin: 0; font-weight: 900; }
.section-heading p { font-size: 13px; color: #9a92a9; margin-bottom: 4px; }
.tool-card { background: #fff; border: 1px solid #eeeaf3; border-radius: 22px; padding: 25px; box-shadow: var(--shadow); }
.search-field { height: 64px; position: relative; background: #fbf9ff; border: 1.5px solid #e9e0f5; border-radius: 15px; display: flex; align-items: center; transition: box-shadow .2s, border .2s; }
.search-field:focus-within { border-color: #9b7bc6; box-shadow: 0 0 0 4px #9976c516; }
.search-icon { height: 23px; width: 23px; margin-left: 22px; color: #a78fc2; flex-shrink: 0; }
.search-field input { font-size: 16px; background: transparent; width: 100%; min-width: 0; border: 0; outline: 0; padding: 10px 15px; color: #3a2d4d; }
.search-field input:focus-visible { outline: 0; }
.search-field input::placeholder { color: #b1a6bf; }
.search-field input::-webkit-search-cancel-button { appearance: none; }
.search-field kbd { color: #aa9bb8; font-family: inherit; font-size: 12px; margin-right: 22px; background: #fff; border-radius: 6px; padding: 3px 9px; border: 1px solid #e6e0eb; box-shadow: 0 2px 0 #e9e5ec; }
.clear-button { color: #8b7d9c; border: 0; background: #eee8f7; border-radius: 50%; height: 29px; width: 29px; margin-right: 20px; font-size: 13px; }
.filter-title-row { display: flex; align-items: center; justify-content: space-between; margin: 25px 2px 12px; gap: 12px; }
.filter-title { font-size: 13px; color: #625875; font-weight: 800; }
.reset-link { background: transparent; border: 0; padding: 5px; color: var(--accent); font-size: 12px; font-weight: 700; }
.reset-link:hover { text-decoration: underline; }
.category-list { display: flex; gap: 9px; flex-wrap: wrap; }
.category-chip { background: #faf8fc; border: 1px solid #eeeaf2; color: #736982; display: inline-flex; align-items: center; gap: 7px; border-radius: 9px; font-size: 12px; font-weight: 750; padding: 9px 14px; transition: background .15s, color .15s, transform .15s; }
.category-chip:hover { transform: translateY(-1px); background: #f4eefb; }
.category-chip.selected { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 11px #8761b534; }
.category-chip span { opacity: .66; font-weight: 600; font-size: 11px; }
.filter-divider { border-top: 1px solid #f0edf3; margin: 20px 0 0; }
.alpha-heading { margin-top: 21px; }
.letter-hint { color: #aca3b5; font-size: 11px; }
.letter-list { display: flex; flex-wrap: wrap; gap: 6px; }
.letter-chip { border: 1px solid transparent; background: #f8f7fa; color: #786e85; font-family: inherit; font-size: 11px; font-weight: 800; min-width: 33px; height: 33px; padding: 0 9px; border-radius: 8px; }
.letter-chip:hover:not(:disabled) { background: #ede5f8; color: var(--accent-dark); }
.letter-chip.active { background: #ece2f9; color: var(--accent-dark); border-color: #d7c3ed; }
.letter-chip:disabled { color: #cfc8d5; background: #fbfafc; cursor: default; }
.results-top { margin: 29px 1px 13px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.results-count { font-size: 18px; font-weight: 900; }
.results-hint { color: #aca3b7; font-size: 12px; margin: 4px 0 0; }
.sort-wrap { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #93889f; white-space: nowrap; }
.sort-wrap select { color: #645678; appearance: none; border: 1px solid #eae6ef; border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%238f82a4' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 11px center; padding: 8px 34px 8px 13px; font-size: 12px; font-weight: 650; }
.sort-direction { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid #eae1f4; border-radius: 8px; background: #fff; color: var(--accent); font-size: 17px; font-weight: 850; transition: background .15s, border-color .15s; }
.sort-direction:hover { background: #f4eefb; border-color: #d4c4e9; }
.column-sort { display: inline-flex; align-items: center; justify-self: start; gap: 6px; max-width: 100%; margin-left: -6px; padding: 7px 6px; border: 0; border-radius: 7px; background: transparent; color: inherit; font-size: inherit; font-weight: inherit; text-align: left; white-space: nowrap; transition: background .15s, color .15s; }
.column-sort:hover { background: #f0eaf8; color: var(--accent-dark); }
.column-sort.is-active { color: var(--accent-dark); }
.sort-arrow { display: inline-block; min-width: 12px; text-align: center; font-size: 13px; line-height: 1; color: #baaeca; }
.column-sort.is-active .sort-arrow { color: var(--accent); }

.list-shell { background: #fff; border: 1px solid #eeeaf2; border-radius: 19px; overflow: hidden; box-shadow: 0 11px 35px #5541740b; }
.list-header, .song-row { display: grid; grid-template-columns: 46px minmax(0,2.05fr) minmax(0,1.35fr) minmax(84px,.7fr) 104px; align-items: center; gap: 15px; }
.list-header { height: 47px; padding: 0 25px; background: #faf9fc; font-size: 11px; font-weight: 800; color: #a39aac; border-bottom: 1px solid #f1edf4; }
.song-row { padding: 17px 25px; min-height: 81px; border-bottom: 1px solid #f1edf4; transition: background .13s; }
.song-row:last-child { border-bottom: 0; }
.song-row:hover { background: #fcfaff; }
.song-id { font-size: 12px; font-weight: 650; color: #b7adc1; font-variant-numeric: tabular-nums; }
.song-title { font-size: 14px; font-weight: 850; color: #353047; line-height: 1.5; overflow-wrap: anywhere; }
.song-artist { color: #80778b; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.song-category { justify-self: start; background: #f5f0fb; color: #8666b6; border-radius: 7px; padding: 5px 11px; font-size: 11px; font-weight: 850; white-space: nowrap; }
.song-category.tag-pop { background: #edf7f6; color: #51978b; }
.song-category.tag-trad { background: #fff2ee; color: #c88875; }
.song-category.tag-old { background: #f8f1e4; color: #ad8750; }
.song-category.tag-sc { background: #f2f0ff; color: #8072ba; }
.song-category.tag-sweet { background: #fff0f6; color: #c8759b; }
.copy-song { display: inline-flex; gap: 6px; align-items: center; justify-content: center; background: white; color: #7d5aaf; border: 1px solid #e8ddf6; border-radius: 9px; min-height: 32px; white-space: nowrap; font-size: 11px; font-weight: 800; padding: 6px 10px; transition: background .15s, color .15s, border-color .15s; }
.copy-song:hover { color: white; background: var(--accent); border-color: var(--accent); }
.copy-icon { font-size: 13px; line-height: 1; }
.copy-song.is-copied { color: #34846d; border-color: #c9eadd; background: #eefaf4; }
.more-holder { text-align: center; padding-top: 24px; }
.more-button { background: #fff; border: 1px solid #e4d9f2; padding: 13px 25px; color: #7755aa; border-radius: 10px; box-shadow: 0 5px 15px #75628a12; font-size: 13px; font-weight: 800; }
.more-button:hover { background: #f5eefa; }
.more-chevron { margin-left: 15px; }
.empty-state { text-align: center; padding: 74px 24px; }
.empty-graphic { font-size: 48px; color: #bdacd5; transform: rotate(-20deg); }
.empty-state h3 { font-size: 19px; margin: 11px 0 7px; }
.empty-state p { color: #958b9f; font-size: 13px; }
.empty-state button { background: var(--accent); color: #fff; border-radius: 9px; padding: 10px 18px; border: 0; font-weight: 800; margin-top: 9px; font-size: 12px; }
.guide { margin: 79px 0 85px; }
.guide-intro { text-align: center; }
.guide-intro p { font-size: 13px; color: #91889b; margin-top: 7px; }
.guide-steps { margin-top: 28px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.guide-step { position: relative; border: 1px solid #eee9f3; border-radius: 18px; background: #fff; min-height: 189px; padding: 29px 26px 24px; box-shadow: 0 8px 32px #6e52890d; }
.guide-number { font-weight: 900; letter-spacing: -1px; color: #e9dff6; font-size: 27px; }
.guide-emoji { font-size: 25px; float: right; }
.guide-step h3 { margin: 19px 0 6px; font-size: 14px; font-weight: 850; }
.guide-step p { margin: 0; font-size: 12px; color: #91869c; line-height: 1.75; }
.footer { border-top: 1px solid #eee8f3; background: #fff; }
.footer-inner { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-logo { font-size: 17px; font-weight: 900; color: #7154ab; }
.footer-caption { font-size: 10px; letter-spacing: 1.3px; color: #ada0b9; font-weight: 800; }
#footer-update { font-size: 11px; color: #aba0b4; }
.toast { display: flex; align-items: center; gap: 12px; position: fixed; z-index: 20; bottom: 30px; left: 50%; max-width: calc(100% - 30px); width: max-content; padding: 14px 21px; background: #372c49; border-radius: 12px; color: white; box-shadow: 0 14px 30px #2b1e3b38; font-size: 13px; font-weight: 700; opacity: 0; visibility: hidden; transform: translate(-50%,18px); transition: opacity .18s,visibility .18s,transform .18s; }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.toast-check { display: grid; place-items: center; height: 22px; width: 22px; background: #78c9a4; color: #173c31; font-size: 12px; border-radius: 50%; flex-shrink: 0; }
@media (max-width: 1050px) { .hero-art { right: 25px; transform: scale(.83); transform-origin: center right; } .hero-copy { padding-left: 45px; } .hero-description { max-width: 420px; } }
@media (max-width: 820px) { .hero-art { right: -55px; transform: scale(.66); opacity: .45; } .hero-copy { padding-right: 28px; } .hero-description { max-width: 390px; } .nav-badge { display: none; } .list-header,.song-row { grid-template-columns: 38px minmax(0,1.9fr) minmax(0,1.1fr) 77px 88px; gap: 10px; } .list-header,.song-row { padding-left: 15px; padding-right: 15px; } }
@media (max-width: 650px) {
  .container { width: min(100% - 30px,540px); }
  .header-inner { height: 71px; }
  .brand-icon { width: 39px; height: 39px; border-radius: 13px; }
  .brand-text strong { font-size: 20px; }
  .brand-text small { font-size: 8px; letter-spacing: 2.4px; }
  .nav-links { gap: 16px; font-size: 12px; }
  .nav-links a:last-child { display: none; }
  main { padding-top: 18px; }
  .hero { min-height: 0; border-radius: 22px; }
  .hero-inner { min-height: 320px; }
  .hero-copy { padding: 35px 26px 31px; }
  .hero-art { display: none; }
  .eyebrow { letter-spacing: 1.2px; gap: 7px; font-size: 9px; }
  .eyebrow-line { width: 15px; }
  h1 { font-size: 36px; line-height: 1.28; letter-spacing: -1px; margin: 17px 0 15px; }
  .hero-description { font-size: 13px; line-height: 1.9; }
  .hero-stats { gap: 20px; margin-top: 24px; }
  .stat-value { font-size: 24px; }
  .stat-date { font-size: 13px; line-height: 2; }
  .stat-caption { font-size: 10px; }
  .browse { margin-top: 43px; }
  .section-heading { display: block; margin-bottom: 16px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading p { margin-top: 6px; font-size: 11px; }
  .tool-card { border-radius: 16px; padding: 15px; }
  .search-field { height: 55px; }
  .search-icon { margin-left: 14px; height: 21px; width: 21px; }
  .search-field input { font-size: 13px; padding: 10px; }
  .search-field kbd { display: none; }
  .clear-button { margin-right: 11px; }
  .filter-title-row { margin-top: 20px; }
  .category-list { gap: 7px; }
  .category-chip { font-size: 11px; padding: 8px 10px; }
  .letter-list { gap: 6px; }
  .letter-chip { flex: 0 0 auto; min-width: 29px; height: 29px; padding: 0 6px; font-size: 10px; }
  .letter-hint { font-size: 10px; }
  .results-top { margin-top: 24px; }
  .results-count { font-size: 16px; }
  .results-hint { font-size: 10px; }
  .sort-wrap > label { display: none; }
  .sort-wrap select { padding: 7px 27px 7px 8px; font-size: 11px; }
  .sort-direction { width: 32px; height: 32px; }
  .list-header { display: none; }
  .song-row { display: grid; grid-template-columns: 29px minmax(0,1fr) auto; grid-template-rows: auto auto; align-items: start; column-gap: 9px; row-gap: 6px; padding: 15px 15px; min-height: 80px; }
  .song-id { grid-column: 1; grid-row: 1 / 3; padding-top: 3px; font-size: 11px; }
  .song-title { grid-column: 2; grid-row: 1; font-size: 13px; }
  .song-artist { grid-column: 2; grid-row: 2; font-size: 11px; }
  .song-category { grid-column: 3; grid-row: 1; font-size: 9px; padding: 4px 7px; }
  .copy-song { grid-column: 3; grid-row: 2; padding: 4px 7px; min-height: 26px; font-size: 10px; }
  .copy-icon { font-size: 11px; }
  .empty-state { padding: 52px 16px; }
  .guide { margin: 61px 0 65px; }
  .guide-steps { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .guide-step { min-height: 0; padding: 16px 20px; }
  .guide-step h3 { margin-top: 8px; }
  .footer-inner { min-height: 85px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
