/* ui-polish.css —— 顶部导航 / 账号面板 / 签到胶囊 精修
   只做视觉增强，不改结构，不覆盖功能逻辑。 */

:root {
  --up-accent: #c9f98d;
  --up-accent-soft: rgba(201, 249, 141, .14);
  --up-line: rgba(255, 255, 255, .085);
  --up-card: rgba(22, 26, 36, .92);
}

/* ---------- 侧栏 / 顶部导航按钮 ---------- */
aside nav button,
header .nav-hot,
header .nav-master {
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

aside nav button.nav-hot,
aside nav button.nav-master {
  position: relative;
  border-radius: 10px !important;
  border: 1px solid rgba(201, 249, 141, .38) !important;
  background: linear-gradient(135deg, rgba(201, 249, 141, .22), rgba(140, 229, 239, .12)) !important;
  color: #eaffd2 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(201, 249, 141, .12), inset 0 1px 0 rgba(255, 255, 255, .18);
}

aside nav button.nav-master {
  background: linear-gradient(135deg, #c9f98d, #a8e86a) !important;
  color: #16220c !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(201, 249, 141, .28);
}

aside nav button.nav-hot:hover,
aside nav button.nav-master:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(201, 249, 141, .34);
}

aside nav button.nav-hot svg,
aside nav button.nav-master svg {
  opacity: .9;
}

/* ---------- 账号下拉面板 ---------- */
html body #profileDropdown {
  width: 302px !important;
  padding: 10px !important;
  border-radius: 18px !important;
  border: 1px solid var(--up-line) !important;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(201, 249, 141, .10), transparent 55%),
    linear-gradient(180deg, #1a1e28 0%, #12151d 100%) !important;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .60), inset 0 1px 0 rgba(255, 255, 255, .05) !important;
  backdrop-filter: blur(14px) saturate(1.1);
}

html body #profileDropdown button[data-destination] {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  padding: 9px 11px !important;
  margin: 2px 0;
  border: 0 !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: #e6ecf6 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  cursor: pointer;
  text-align: left;
  transition: background .16s ease, transform .16s ease;
}

html body #profileDropdown button[data-destination]:hover {
  background: rgba(255, 255, 255, .065) !important;
  transform: translateX(1px);
}

html body #profileDropdown .profile-menu-label {
  display: inline-flex !important;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

html body #profileDropdown .profile-menu-icon {
  display: inline-grid !important;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(201, 249, 141, .18), rgba(140, 229, 239, .10));
  border: 1px solid rgba(201, 249, 141, .22);
  color: var(--up-accent);
}

html body #profileDropdown .profile-menu-icon svg {
  width: 17px;
  height: 17px;
}

html body #profileDropdown button[data-destination] > span:last-child {
  color: rgba(233, 237, 245, .32) !important;
  font-size: 15px;
  line-height: 1;
}

html body #profileDropdown hr {
  border: 0 !important;
  height: 1px;
  margin: 9px 6px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
}

html body #profileDropdown label {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 8px !important;
  padding: 8px 11px !important;
  border-radius: 11px !important;
  background: rgba(255, 255, 255, .04) !important;
  font-size: 12.5px !important;
  color: rgba(233, 237, 245, .72) !important;
}

html body #profileDropdown label select {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding: 0 26px 0 11px !important;
  height: 30px !important;
  min-height: 30px !important;
  line-height: 28px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(201, 249, 141, .32) !important;
  background-color: rgba(12, 16, 24, .92) !important;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9f98d' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 9px center !important;
  color: #eaffd2 !important;
  font-size: 12.5px !important;
  font-weight: 650;
  cursor: pointer;
  outline: none;
}

html body #profileDropdown .profile-menu-info {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 0;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .05);
  font-size: 12.5px;
  color: rgba(233, 237, 245, .74);
  transition: background .16s ease;
}

html body #profileDropdown .profile-menu-info:hover {
  background: rgba(255, 255, 255, .06);
}

html body #profileDropdown .profile-level-icon {
  display: inline-grid !important;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 9px;
  background: linear-gradient(160deg, rgba(255, 206, 84, .22), rgba(255, 157, 61, .12));
  border: 1px solid rgba(255, 206, 84, .28);
  color: #ffd75e;
}

html body #profileDropdown .profile-level-icon svg {
  width: 15px;
  height: 15px;
}

html body #profileDropdown [data-account-level] {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 206, 84, .14);
  border: 1px solid rgba(255, 206, 84, .28);
  color: #ffd75e !important;
  font-weight: 700;
  font-size: 11.5px;
  white-space: nowrap;
}

html body #profileDropdown [data-musician-status] {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(201, 249, 141, .13);
  border: 1px solid rgba(201, 249, 141, .3);
  color: var(--up-accent) !important;
  font-weight: 700;
  font-size: 11.5px;
  white-space: nowrap;
}

/* ---------- 签到胶囊 ---------- */
.checkin-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 6px 10px 10px !important;
  padding: 8px 13px !important;
  width: auto !important;
  max-width: calc(100% - 20px);
  align-self: flex-start;
  box-sizing: border-box;
  border-radius: 12px !important;
  border: 1px solid rgba(201, 249, 141, .34);
  background: linear-gradient(135deg, rgba(201, 249, 141, .18), rgba(140, 229, 239, .10));
  color: #eaffd2 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.checkin-chip:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 249, 141, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.checkin-chip:disabled,
.checkin-chip.is-done {
  cursor: default;
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .045);
  color: rgba(233, 237, 245, .62) !important;
  box-shadow: none;
}

.checkin-chip svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.checkin-chip .cc-gain {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(201, 249, 141, .16);
  color: var(--up-accent);
  font-size: 11px;
  font-weight: 700;
}

.checkin-chip.is-done .cc-gain {
  background: rgba(255, 255, 255, .07);
  color: rgba(233, 237, 245, .6);
}

/* ---------- 创作中心三栏收窄（大屏更精致） ---------- */
@media (min-width: 1500px) {
  html body.studio-v3 main.page,
  html body.studio-v3 > main > .page {
    max-width: 1740px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html body.studio-v3 .split.music-grid {
    grid-template-columns: 372px minmax(0, 1fr) 392px !important;
    gap: 18px !important;
  }
  html body.studio-v3 .split.music-grid > * { min-width: 0; }
}

/* ---------- 歌词不要每条一块底色 ---------- */
.lyric-scroll button,
.lyric-scroll p,
.mini-lyrics button,
.mini-lyrics p,
#playbackPage .lyric-scroll button,
#playbackPage .lyric-scroll p,
.lp-lyrics button,
.lp-lyrics p,
.music-share-lyrics button,
.music-share-lyrics p {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* 分栏拖拽手柄：平时隐形，悬停才出现细线 */
.studio-v3 .music-grid .col-resize-handle::after {
  display: block !important;
  opacity: 0;
  left: 5px;
  width: 2px;
  top: 6%;
  bottom: 6%;
  background: rgba(255, 255, 255, .10);
  border-radius: 2px;
  transition: opacity .15s, background .15s, width .15s;
}
.studio-v3 .music-grid .col-resize-handle:hover::after {
  opacity: 1;
  background: rgba(201, 249, 141, .55);
  width: 3px;
}
