/*
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
  2. Remove default margins and padding
  3. Reset all borders.
*/

*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 2 */
  border: 0 solid; /* 3 */
}

/*
  1. Use a consistent sensible line-height in all browsers.
  2. Prevent adjustments of font size after orientation changes in iOS.
  3. Use a more readable tab size.
  4. Use the user's configured `sans` font-family by default.
  5. Use the user's configured `sans` font-feature-settings by default.
  6. Use the user's configured `sans` font-variation-settings by default.
  7. Disable tap highlights on iOS.
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  tab-size: 4; /* 3 */
  font-family: --theme(
    --default-font-family,
    ui-sans-serif,
    system-ui,
    sans-serif,
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol',
    'Noto Color Emoji'
  ); /* 4 */
  font-feature-settings: --theme(--default-font-feature-settings, normal); /* 5 */
  font-variation-settings: --theme(--default-font-variation-settings, normal); /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
  1. Add the correct height in Firefox.
  2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
  3. Reset the default border style to a 1px solid border.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
  Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/*
  Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
  Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}

/*
  Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
  1. Use the user's configured `mono` font-family by default.
  2. Use the user's configured `mono` font-feature-settings by default.
  3. Use the user's configured `mono` font-variation-settings by default.
  4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: --theme(
    --default-mono-font-family,
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    'Liberation Mono',
    'Courier New',
    monospace
  ); /* 1 */
  font-feature-settings: --theme(--default-mono-font-feature-settings, normal); /* 2 */
  font-variation-settings: --theme(--default-mono-font-variation-settings, normal); /* 3 */
  font-size: 1em; /* 4 */
}

/*
  Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
  Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
  1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
  2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
  3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
  Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
  Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
  Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
  Make lists unstyled by default.
*/

ol,
ul,
menu {
  list-style: none;
}

/*
  1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
  2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
      This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
  Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/*
  1. Inherit font styles in all browsers.
  2. Remove border radius in all browsers.
  3. Remove background color in all browsers.
  4. Ensure consistent opacity for disabled states in all browsers.
*/

button,
input,
select,
optgroup,
textarea,
::file-selector-button {
  font: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  border-radius: 0; /* 2 */
  background-color: transparent; /* 3 */
  opacity: 1; /* 4 */
}

/*
  Restore default font weight.
*/

:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}

/*
  Restore indentation.
*/

:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}

/*
  Restore space after button.
*/

::file-selector-button {
  margin-inline-end: 4px;
}

/*
  Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
*/

::placeholder {
  opacity: 1;
}

/*
  Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
  crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
*/

@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
  (contain-intrinsic-size: 1px) /* Safari 17+ */ {
  ::placeholder {
    color: color-mix(in oklab, currentcolor 50%, transparent);
  }
}

/*
  Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
  Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
  1. Ensure date/time inputs have the same height when empty in iOS Safari.
  2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
*/

::-webkit-date-and-time-value {
  min-height: 1lh; /* 1 */
  text-align: inherit; /* 2 */
}

/*
  Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
*/

::-webkit-datetime-edit {
  display: inline-flex;
}

/*
  Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
*/

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-datetime-edit,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-second-field,
::-webkit-datetime-edit-millisecond-field,
::-webkit-datetime-edit-meridiem-field {
  padding-block: 0;
}

/*
  Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
*/

::-webkit-calendar-picker-indicator {
  line-height: 1;
}

/*
  Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
  Correct the inability to style the border radius in iOS Safari.
*/

button,
input:where([type='button'], [type='reset'], [type='submit']),
::file-selector-button {
  appearance: button;
}

/*
  Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
  Make elements with the HTML hidden attribute stay hidden by default.
*/

[hidden]:where(:not([hidden='until-found'])) {
  display: none !important;
}


:root{--bg:#f6f5f0;--paper:#fffefa;--ink:#263f35;--green:#24634e;--muted:#788379;--line:#e2e6dc;--soft:#edf2e8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.65}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);background:var(--paper);border-radius:9px;padding:9px 15px;color:var(--ink);transition:.15s}button:hover{border-color:#8ba791;background:#f0f5ec}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #a7c6a4;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-family:"Songti SC","Noto Serif SC",serif;font-size:43px;line-height:1.3;font-weight:650;letter-spacing:1px}h2{font-size:22px;font-weight:650}h3{font-size:15px;font-weight:650}small,.muted{color:var(--muted);font-size:12px}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--muted);margin-bottom:16px}.primary{background:var(--green);color:white;border-color:var(--green);padding:13px 25px;font-weight:600}.primary:hover{background:#1e513f;color:white}.error{color:#a23f35;padding:10px 0}.entry{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;position:relative;background:#f5f3e9}.entry-brand{position:absolute;top:32px;left:6vw;font-size:20px;font-weight:650}.entry-brand span,.brand span{font-size:13px;font-weight:400;color:var(--muted);margin-left:13px;padding-left:13px;border-left:1px solid #cbd5c7}.login{width:400px;max-width:85%;margin:auto;padding:140px 0 70px}.login h1{font-size:56px;margin:20px 0}.intro{font-size:16px;color:#6a786c;margin:24px 0 34px}.login label{display:block;font-size:13px;margin:18px 0}.login input{display:block;margin-top:8px;width:100%;padding:13px 15px;background:#fffdf6;border:1px solid #d3ddcc;border-radius:9px;color:var(--ink)}.login button{width:100%;margin-top:12px}.footnote{font-size:12px;color:var(--muted);margin-top:25px}.entry-art{position:relative;overflow:hidden;background:linear-gradient(150deg,#dce7d5,#a9c2ad 60%,#487961);display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fffef1}.entry-art p{position:relative;font-family:"Songti SC",serif;font-size:30px;line-height:2;letter-spacing:7px;z-index:2}.orb{position:absolute;border:1px solid #f7f5dd80;border-radius:50%;width:550px;height:550px}.one{top:12%;left:-80px}.two{bottom:0;right:-200px;width:700px;height:700px}.wave{font-size:180px;font-family:serif;opacity:.35;transform:rotate(-15deg);line-height:1.2}.top{height:78px;border-bottom:1px solid var(--line);background:#fbfbf6;display:flex;align-items:center;justify-content:space-between;padding:0 4vw;position:sticky;top:0;z-index:10}.brand{font-size:21px;font-weight:700}.top nav{display:flex;gap:10px;align-items:center}.top nav button{border:none;background:transparent;font-size:13px}.top nav .nav-active{color:var(--green);background:var(--soft)}.user{font-size:13px;padding-left:14px;color:var(--muted)}.columns{max-width:1600px;margin:auto;display:grid;grid-template-columns:300px 1fr}.sidebar{height:calc(100vh - 78px);position:sticky;top:78px;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 18px 12px 24px}.side-heading h1{font-family:inherit;font-size:21px;letter-spacing:0}.side-heading p{font-size:12px;color:var(--muted);margin:7px 0 20px}.search{display:flex;align-items:center;gap:8px;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:8px 11px}.search span{font-size:25px;line-height:1}.search input{width:100%;border:0;background:transparent;outline:none;font-size:12px}.filters{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.filters button,.lyric-tabs button{padding:5px 10px;font-size:12px;border:0;background:transparent}.selected{background:#e2ecd9!important;color:var(--green)!important}.songlist{overflow-y:auto;flex:1;scrollbar-width:thin}.songrow{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:0;background:transparent;border-radius:8px;padding:13px 10px;margin-bottom:3px}.songrow.active{background:#e7eee0}.num{font-size:11px;color:#91a08e;font-variant-numeric:tabular-nums}.songlabel{flex:1;min-width:0}.songlabel strong{display:block;font-size:14px;font-weight:550;overflow-wrap:anywhere}.songlabel small{display:block;font-size:10px;margin-top:3px}.check{color:#b6c1ad}.checked{color:#2d7851}.side-note{font-size:10px;color:#92a08e;padding-top:12px}.song-detail{padding:48px 55px 40px;max-width:1050px;width:100%;margin:auto}.song-head{margin-bottom:32px}.song-head .description{color:#6e7b6f;max-width:720px;margin:16px 0}.tags{display:flex;gap:8px;flex-wrap:wrap}.tags span{font-size:11px;border:1px solid #dce4d4;border-radius:20px;padding:3px 10px;color:#71846b}.tags .voted{background:#e5efdc;color:#3b7044}.creative{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0 22px;margin-bottom:34px}.creative summary{cursor:pointer;font-size:13px;font-weight:600}.creative-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-top:15px}.creative h3{font-size:12px;color:#56805d;margin-bottom:7px}.creative p{font-size:12px;color:#7b847a;margin-bottom:6px}.creative small{display:block;font-size:10px;color:#98a18f}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:26px 0 16px}.section-head span{font-size:11px;color:var(--muted)}.version{border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:19px 21px;margin:12px 0}.version.chosen{border-color:#81a37c;box-shadow:0 0 0 1px #a4bc98}.version-top{display:flex;align-items:center;gap:13px;margin-bottom:12px}.version-top>div{flex:1;min-width:0}.version h3{font-size:13px;overflow-wrap:anywhere}.version-letter{display:flex;width:36px;height:36px;flex-shrink:0;align-items:center;justify-content:center;background:#ebf0e3;border-radius:50%;font-family:serif;font-size:18px;color:#66855d}.pick{display:flex;align-items:center;gap:6px;flex-shrink:0;font-size:12px;color:#658059;cursor:pointer}input[type=radio]{accent-color:var(--green);width:17px;height:17px}audio{width:100%;height:38px}.version-note{margin-top:10px;font-size:11px;color:var(--muted)}.version-note summary{cursor:pointer}.version-note p{margin-top:8px;overflow-wrap:anywhere}.more{width:100%;background:transparent;font-size:12px}.adjust{display:flex;align-items:center;gap:12px;background:#efeee5;padding:17px 20px;border:1px solid transparent;border-radius:9px;margin-top:18px;cursor:pointer}.adjust.chosen{border-color:#91a084}.adjust strong{font-size:12px;display:block;font-weight:500}.adjust small{font-size:10px;display:block}.lyrics{margin-top:38px;border-top:1px solid var(--line);padding-top:6px}.lyric-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:12px}.lyric-tabs button{border:1px solid var(--line);max-width:100%;overflow-wrap:anywhere}.lyric-hint{font-size:11px;color:var(--muted);margin-bottom:18px}.lyrics pre{font-family:"Songti SC","Noto Serif SC",serif;white-space:pre-wrap;line-height:2;font-size:17px;background:#fbfaf3;border-radius:9px;padding:25px 30px;column-count:2;column-gap:38px;border:1px solid #e8e7dd}.opinion{border-top:1px solid var(--line);padding-top:30px;margin-top:38px}.opinion h2{font-size:20px}.opinion>p{font-size:12px;color:var(--muted);margin:9px 0 14px}.opinion textarea{width:100%;background:var(--paper);border:1px solid #d8dfd2;border-radius:9px;padding:14px;font-size:13px;resize:vertical}.submit-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:15px}.submit-row span{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.saved{color:#3b7c4d!important}.empty{font-size:12px;color:var(--muted);padding:24px}footer{font-size:10px;color:#97a18f;margin-top:50px;border-top:1px solid var(--line);padding-top:20px}.loading{text-align:center;padding:100px;font-size:16px}.stats{max-width:1100px;margin:auto;padding:45px 30px}.stats h1{margin-bottom:25px}.statbar{display:flex;gap:15px;align-items:center;flex-wrap:wrap;font-size:13px;margin-bottom:30px}.statcard{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:25px;margin:20px 0}.statcard h2{margin-bottom:15px}.statcard h2 small{margin-left:15px}.resultrow{display:grid;grid-template-columns:minmax(150px,1fr) 2fr 35px;gap:15px;align-items:center;margin:8px 0;font-size:12px}.bar{height:9px;background:#edf1e5;border-radius:20px;overflow:hidden}.bar i{display:block;height:100%;background:#74976b}.statcard details{margin-top:20px;font-size:12px}.statcard details summary{cursor:pointer;color:#5c7b54}.statcard details p{border-top:1px solid var(--line);padding:12px 0}
@media(max-width:1000px){.song-detail{padding:35px 28px}.columns{grid-template-columns:250px 1fr}.sidebar{padding-left:15px;padding-right:12px}.brand span{display:none}.lyrics pre{column-count:1}}@media(max-width:700px){.top{height:auto;min-height:66px;padding:12px 16px;flex-wrap:wrap;gap:10px}.brand{font-size:18px}.top nav{gap:1px}.top nav button{padding:6px 8px;font-size:11px}.user{font-size:11px;padding-left:5px}.columns{display:block}.sidebar{position:relative;top:auto;height:auto;padding:20px 16px;border-right:0;border-bottom:1px solid var(--line)}.side-heading{display:flex;align-items:baseline;justify-content:space-between}.side-heading p{margin:0 0 10px}.songlist{display:flex;overflow:auto;gap:8px;max-height:145px}.songrow{width:190px;flex-shrink:0;border:1px solid var(--line);padding:10px}.songlabel strong{font-size:12px}.songlabel small{font-size:9px}.side-note{display:none}.filters{margin:10px 0}.song-detail{padding:30px 18px}.song-head h1{font-size:34px}.creative-grid{grid-template-columns:1fr;gap:16px}.section-head h2{font-size:20px}.version{padding:16px}.version-top{gap:9px}.version h3{font-size:12px}.pick span{display:none}.lyrics pre{font-size:17px;padding:20px;column-count:1}.entry{display:block}.entry-art{display:none}.entry-brand{left:8%;top:30px}.login{max-width:84%;padding-top:140px}.login h1{font-size:48px}.stats{padding:30px 18px}.stats h1{font-size:32px}.resultrow{grid-template-columns:1.5fr 1fr 22px;gap:8px}.submit-row .primary{flex:1}.opinion>p{line-height:1.8}}

.creative h2{font-size:24px;margin:0 0 22px}.creative p{line-height:1.85}.creative strong{color:#234b3f}.reference-note{margin-top:20px;border-top:1px solid #dbe3da;padding-top:12px}.creative details{margin-top:16px;font-size:14px}.creative details li{overflow-wrap:anywhere;margin:8px 0}.creative summary{cursor:pointer;color:#355e4b}

.mobile-song-picker{display:none}.creative p{font-size:14px;color:#53675b}.creative h3{font-size:14px}.creative small{font-size:12px}.creative details{font-size:13px}.creative h2{margin-bottom:16px}@media(max-width:700px){.mobile-song-picker{display:block;font-size:12px;color:#607462;margin-top:10px}.mobile-song-picker select{display:block;width:100%;background:#fffefa;border:1px solid #cdd9c6;border-radius:9px;padding:12px;font-size:16px;color:#263f35;margin-top:5px}.songlist{display:none}.search input{font-size:16px}.pick span{display:inline}.pick{min-height:40px}.version-top{align-items:flex-start}.creative p{font-size:14px}.lyrics pre{overflow-wrap:anywhere}.section-head{flex-wrap:wrap}.top nav{flex-wrap:wrap}.resultrow span{overflow-wrap:anywhere}}

.song-jumps{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.song-jumps a{padding:7px 11px;border:1px solid #d3decf;background:#fffefa;border-radius:8px;font-size:12px;color:#356449}#listen,#lyrics,#creative{scroll-margin-top:100px}

.rank-pick{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0}.rank-first,.rank-second{font-size:11px;color:#2f6747}.rank-first{background:#e3eedb;padding:3px 8px;border-radius:6px}.rank-second{color:#7e775c}.prefer{font-size:11px;padding:5px 8px}.resultrow{grid-template-columns:minmax(150px,1fr) 2fr 115px}.resultrow b{font-size:11px;white-space:nowrap}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px}@media(max-width:700px){.version-top{flex-wrap:wrap}.rank-pick{flex-direction:row;align-items:center;flex-wrap:wrap;width:100%;justify-content:flex-end}.resultrow{grid-template-columns:1fr 85px}.resultrow .bar{grid-column:1 / -1;grid-row:2}.resultrow b{text-align:right}}

.review-tools{display:flex;align-items:center;justify-content:space-between;gap:.6rem 1rem;flex-wrap:wrap;margin:0 0 .8rem;color:#526458;font-size:.875rem}
.review-tools button{padding:.35rem .7rem}
.version-review{margin-top:.75rem;padding:.65rem .85rem;background:#edf2e8;border-radius:.65rem;color:#294238;overflow-wrap:anywhere}
.version-review summary{cursor:pointer;font-weight:600}
.version-review summary span{display:inline-block;margin-inline-start:.55rem;font-size:.85em;font-weight:400;color:#536956}
.version-review ul{list-style:none;padding:0;margin:.55rem 0 0}
.version-review li{padding:.5rem 0;border-top:1px solid #d8e2d3}
.version-review li p,.version-review>p{margin:.35rem 0 0;font-size:.9em;white-space:pre-wrap}
.review-rank{display:inline-block;margin-inline-start:.35rem;color:#526956;font-size:.85em}
