:root {
  --blue: #165dff;
  --blue-lite: #4a86ff;
  --text: #12192b;
  --sub: #5f6b85;
  --ok: #0f9d58;
  --err: #e5484d;
  --glass: rgba(255, 255, 255, .5);
  --glass-2: rgba(255, 255, 255, .66);
  --glass-3: rgba(255, 255, 255, .84);
  --glass-line: rgba(255, 255, 255, .72);
  --shadow: 0 10px 30px rgba(31, 45, 90, .10);
  --shadow-lg: 0 22px 60px rgba(31, 45, 90, .18);
  --blur: 22px;
  --sat: 175%;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --liquid: cubic-bezier(.34, 1.45, .5, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 760px at 8% -6%, #dbe7ff 0%, rgba(219, 231, 255, 0) 55%),
    radial-gradient(980px 700px at 96% 4%, #f0e2ff 0%, rgba(240, 226, 255, 0) 52%),
    radial-gradient(900px 820px at 50% 108%, #d6f6ea 0%, rgba(214, 246, 234, 0) 55%),
    linear-gradient(175deg, #f7faff 0%, #eef3ff 48%, #f4f0ff 100%);
  background-attachment: fixed;
}

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

button,
input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .58;
  will-change: transform;
}

.g1 {
  width: 540px;
  height: 540px;
  top: -150px;
  left: -110px;
  background: radial-gradient(circle, #86b4ff 0%, rgba(134, 180, 255, 0) 70%);
  animation: driftA 22s ease-in-out infinite alternate;
}

.g2 {
  width: 470px;
  height: 470px;
  top: 6%;
  right: -130px;
  background: radial-gradient(circle, #d3a8ff 0%, rgba(211, 168, 255, 0) 70%);
  animation: driftB 26s ease-in-out infinite alternate;
}

.g3 {
  width: 620px;
  height: 620px;
  bottom: -240px;
  left: 20%;
  background: radial-gradient(circle, #8ee0c8 0%, rgba(142, 224, 200, 0) 70%);
  animation: driftC 30s ease-in-out infinite alternate;
}

.g4 {
  width: 390px;
  height: 390px;
  bottom: 10%;
  right: 6%;
  background: radial-gradient(circle, #ffd9a8 0%, rgba(255, 217, 168, 0) 70%);
  animation: driftB 24s ease-in-out infinite alternate-reverse;
}

@keyframes driftA {
  to {
    transform: translate3d(90px, 70px, 0) scale(1.18);
  }
}

@keyframes driftB {
  to {
    transform: translate3d(-80px, 62px, 0) scale(1.12);
  }
}

@keyframes driftC {
  to {
    transform: translate3d(72px, -84px, 0) scale(1.15);
  }
}

#rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .9;
}

.glass-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .38) 100%);
  opacity: .72;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.hd {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(var(--blur)) saturate(var(--sat));
  -webkit-backdrop-filter: blur(var(--blur)) saturate(var(--sat));
  border-bottom: 1px solid var(--glass-line);
  box-shadow: 0 4px 20px rgba(31, 45, 90, .06);
}

.hd-in {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 70%;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 40px;
  padding: 0 2px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 14px rgba(31, 45, 90, .07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-logo.is-img {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  min-width: 0;
  padding: 0;
}

.brand-logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

main {
  flex: 1;
  padding: 30px 0 44px;
}

.hero {
  position: relative;
  text-align: center;
  padding: 26px 0 30px;
}

.hero-t {
  font-size: 27px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: .3px;
}

.hero-d {
  margin: 0 0 24px;
  color: var(--sub);
  font-size: 14px;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  padding: 7px 7px 7px 15px;
  border-radius: 18px;
  background: var(--glass-2);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .95);
  backdrop-filter: blur(var(--blur)) saturate(var(--sat));
  -webkit-backdrop-filter: blur(var(--blur)) saturate(var(--sat));
  transition: box-shadow .35s, transform .35s var(--liquid), border-color .35s;
  overflow: hidden;
}

.search::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .75), transparent 62%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

.search:hover::after {
  opacity: 1;
}

.search:focus-within {
  border-color: rgba(22, 93, 255, .5);
  box-shadow: 0 0 0 4px rgba(22, 93, 255, .13), var(--shadow-lg), inset 0 1px 0 #fff;
  transform: translateY(-1px);
}

.search-ico {
  display: flex;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.search-in {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 14.5px;
  position: relative;
  z-index: 1;
}

.search-in::placeholder {
  color: #97a1b8;
}

.search-in::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  height: 40px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--blue-lite) 0%, var(--blue) 55%, #0f4fe0 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(22, 93, 255, .34), inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: transform .32s var(--liquid), box-shadow .32s, filter .3s;
}

.search-btn:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 13px 30px rgba(22, 93, 255, .42), inset 0 1px 0 rgba(255, 255, 255, .68);
  filter: saturate(1.08);
}

.search-btn:active {
  transform: scale(.955);
  transition-duration: .08s;
}

.search-btn:disabled {
  filter: grayscale(.4) brightness(1.1);
  cursor: default;
  transform: none;
}

.card {
  position: relative;
  margin-bottom: 22px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(var(--blur)) saturate(var(--sat));
  -webkit-backdrop-filter: blur(var(--blur)) saturate(var(--sat));
  overflow: hidden;
  animation: rise .5s var(--liquid) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.card-hd {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .12));
}

.card-hd h2 {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

.card-sub {
  margin-left: auto;
  color: var(--sub);
  font-size: 12.5px;
}

.rank {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 26px;
  padding: 12px 20px 18px;
}

.rank-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 6px;
  min-width: 0;
  border-radius: var(--r-sm);
  border-bottom: 1px dashed rgba(255, 255, 255, .75);
  transition: background .3s, transform .3s var(--liquid);
}

.rank-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-sm);
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .85), transparent 65%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.rank-item:hover {
  transform: translateX(2px);
}

.rank-item:hover::after {
  opacity: 1;
}

.rank-no {
  position: relative;
  z-index: 1;
  width: 20px;
  flex: 0 0 auto;
  text-align: center;
  font-size: 12.5px;
  color: var(--sub);
  font-weight: 500;
}

.rank-no.top {
  color: var(--blue);
  font-weight: 600;
}

.rank-pic {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .8);
  flex: 0 0 auto;
}

.rank-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
}

.rank-name {
  font-size: 13.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-sub {
  font-size: 12px;
  color: var(--sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-cnt {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--blue);
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 20px;
  padding: 2px 10px;
  box-shadow: inset 0 1px 0 #fff;
}

.songs {
  padding: 6px 0;
}

.song {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  animation: rise .45s var(--liquid) both;
  transition: background .3s;
}

.song:nth-child(1) {
  animation-delay: .01s;
}

.song:nth-child(2) {
  animation-delay: .04s;
}

.song:nth-child(3) {
  animation-delay: .07s;
}

.song:nth-child(4) {
  animation-delay: .1s;
}

.song:nth-child(5) {
  animation-delay: .13s;
}

.song:nth-child(6) {
  animation-delay: .16s;
}

.song:nth-child(7) {
  animation-delay: .19s;
}

.song:nth-child(8) {
  animation-delay: .22s;
}

.song::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .8), transparent 62%);
  opacity: 0;
  transition: opacity .32s;
  pointer-events: none;
}

.song:hover::after {
  opacity: 1;
}

.song:last-child {
  border-bottom: 0;
}

.song-pic {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 6px 16px rgba(31, 45, 90, .12);
  flex: 0 0 auto;
}

.song-info {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.song-name {
  font-size: 14.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-sub {
  font-size: 12.5px;
  color: var(--sub);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-cnt {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  font-size: 12.5px;
  color: var(--sub);
  white-space: nowrap;
}

.song-cnt b {
  color: var(--blue);
  font-weight: 500;
}

.song-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(233, 241, 255, .88));
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(22, 93, 255, .14), inset 0 1px 0 #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .32s var(--liquid), box-shadow .32s, background .32s;
}

.song-btn:hover {
  transform: translateY(-2px) scale(1.06);
  background: linear-gradient(180deg, #fff, #dce9ff);
  box-shadow: 0 11px 26px rgba(22, 93, 255, .24), inset 0 1px 0 #fff;
}

.song-btn:active {
  transform: scale(.93);
  transition-duration: .09s;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 18px 14px;
  flex-wrap: wrap;
}

.pg {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--glass-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .6);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .3s var(--liquid), box-shadow .3s, background .3s;
}

.pg:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 8px 20px rgba(22, 93, 255, .18), inset 0 1px 0 #fff;
}

.pg:active:not(:disabled) {
  transform: scale(.94);
}

.pg.on {
  background: linear-gradient(180deg, var(--blue-lite), var(--blue));
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 93, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.pg:disabled {
  color: #b6bece;
  cursor: default;
}

.pg-info {
  color: var(--sub);
  font-size: 12.5px;
  padding: 0 6px;
}

.state {
  padding: 46px 20px;
  text-align: center;
  color: var(--sub);
  font-size: 13.5px;
}

.ft {
  position: relative;
  z-index: 1;
  padding: 22px 0 28px;
  color: var(--sub);
  font-size: 12.5px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .7);
}

.ft-txt {
  line-height: 1.9;
}

.mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(24, 34, 60, .3);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  animation: fadeIn .24s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dialog {
  width: 100%;
  max-width: 410px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .68));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  backdrop-filter: blur(34px) saturate(190%);
  -webkit-backdrop-filter: blur(34px) saturate(190%);
  overflow: hidden;
  animation: popIn .38s var(--liquid) both;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.dialog-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .8);
}

.dialog-hd h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  transition: transform .3s var(--liquid), background .3s, border-color .3s;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, .85);
  border-color: rgba(255, 255, 255, .95);
  transform: scale(1.08);
}

.icon-btn:active {
  transform: scale(.92);
}

.dialog-bd {
  padding: 18px;
}

.dlg-song {
  margin-bottom: 14px;
  font-size: 13.5px;
  color: var(--sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}

.code-img {
  height: 56px;
  width: auto;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(31, 45, 90, .1);
  transition: transform .3s var(--liquid);
}

.code-img:active {
  transform: scale(.97);
}

.code-refresh {
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, .7);
}

.dlg-in {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: inset 0 1px 3px rgba(31, 45, 90, .06);
  transition: border-color .3s, box-shadow .3s;
}

.dlg-in:focus {
  border-color: rgba(22, 93, 255, .55);
  box-shadow: 0 0 0 4px rgba(22, 93, 255, .13), inset 0 1px 3px rgba(31, 45, 90, .06);
}

.gt-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 2px 0;
}

.gt-box > div {
  max-width: 100%;
}

.gt-state {
  min-height: 22px;
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--sub);
}

.gt-state.ok {
  color: var(--ok);
}

.gt-state.err {
  color: var(--err);
}

.hcap {
  position: relative;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 14px;
  background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 3px rgba(31, 45, 90, .07);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.hcap-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(214, 231, 255, .9), rgba(233, 243, 255, .95));
}

.hcap-tip {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--sub);
  pointer-events: none;
  transition: opacity .25s;
}

.hcap-btn {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 42px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(180deg, #fff, #f0f5ff);
  border: 1px solid rgba(255, 255, 255, 1);
  color: var(--blue);
  cursor: grab;
  box-shadow: 0 4px 14px rgba(22, 93, 255, .2), inset 0 1px 0 #fff;
  touch-action: none;
  transition: transform .2s var(--liquid);
}

.hcap-btn:active {
  cursor: grabbing;
  transform: scale(1.05);
}

.hcap.ok {
  border-color: rgba(15, 157, 88, .4);
}

.hcap.ok .hcap-fill {
  background: linear-gradient(90deg, rgba(205, 242, 224, .95), rgba(228, 249, 238, .95));
}

.hcap.ok .hcap-btn {
  color: var(--ok);
  box-shadow: 0 4px 14px rgba(15, 157, 88, .22), inset 0 1px 0 #fff;
}

.hcap.err {
  border-color: rgba(229, 72, 77, .4);
}

.hcap.err .hcap-fill {
  background: linear-gradient(90deg, rgba(252, 226, 226, .95), rgba(253, 238, 238, .95));
}

.hcap.err .hcap-btn {
  color: var(--err);
  box-shadow: 0 4px 14px rgba(229, 72, 77, .22), inset 0 1px 0 #fff;
}

.dlg-err {
  min-height: 18px;
  margin-top: 9px;
  color: var(--err);
  font-size: 12.5px;
  line-height: 1.5;
}

.dialog-ft {
  display: flex;
  gap: 11px;
  padding: 0 18px 18px;
}

.btn {
  flex: 1;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--blue-lite), var(--blue) 60%, #0f4fe0);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(22, 93, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .32s var(--liquid), box-shadow .32s;
}

.btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 12px 28px rgba(22, 93, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.btn:active {
  transform: scale(.96);
  transition-duration: .08s;
}

.btn.ghost {
  flex: 0 0 100px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--glass-line);
  color: var(--text);
  box-shadow: inset 0 1px 0 #fff;
}

.btn.ghost:hover {
  background: #fff;
  color: var(--blue);
}

.btn:disabled {
  filter: grayscale(.35) brightness(1.08);
  cursor: default;
  transform: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  z-index: 200;
  max-width: 80vw;
  padding: 11px 20px;
  border-radius: 14px;
  background: rgba(22, 30, 50, .78);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 13px;
  text-align: center;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 14px 40px rgba(20, 30, 60, .3);
  animation: toastIn .34s var(--liquid) both;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 12px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

.xh-block {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(247, 250, 255, .82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.xh-block-box {
  text-align: center;
}

.xh-block-title {
  margin-top: 14px;
  font-size: 17px;
  color: var(--text);
}

.xh-block-tip {
  margin-top: 8px;
  font-size: 13px;
  color: var(--sub);
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .card,
  .song,
  .dialog,
  .toast {
    animation: none !important;
  }

  .search-btn,
  .song-btn,
  .pg,
  .btn {
    transition: none !important;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 14px;
  }

  .hd-in {
    height: 58px;
  }

  .hero {
    padding: 14px 0 22px;
  }

  .hero-t {
    font-size: 21px;
  }

  .hero-d {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .search {
    padding: 6px 6px 6px 13px;
    border-radius: 16px;
  }

  .search-btn {
    padding: 0 17px;
  }

  .glow {
    filter: blur(58px);
    opacity: .5;
  }

  #rain {
    opacity: .75;
  }

  main {
    padding: 18px 0 32px;
  }

  .card {
    border-radius: 18px;
    margin-bottom: 16px;
  }

  .card-hd {
    padding: 13px 15px;
  }

  .rank {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px 14px 14px;
  }

  .song {
    padding: 11px 15px;
    gap: 11px;
  }

  .song-pic {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .song-name {
    font-size: 14px;
  }

  .song-sub {
    font-size: 12px;
  }

  .song-cnt {
    font-size: 11.5px;
  }

  .song-btn {
    height: 32px;
    padding: 0 12px;
    font-size: 12.5px;
    border-radius: 10px;
  }

  .dialog {
    border-radius: 20px;
  }
}

@media (max-width: 420px) {
  .song-cnt {
    display: none;
  }

  .rank-pic {
    width: 30px;
    height: 30px;
  }
}
