@font-face {
  font-family: "MADE Outer Sans";
  src: url("fonts/MADE-Outer-Sans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.tune-section-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}
.tune-section-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 4px 22px;
  border: 2px solid transparent;
  border-radius: 26px;
  font-family: "MADE Outer Sans", var(--font-black), sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: #b39db4;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 180ms ease;
}
@media (hover: hover) {
  .tune-section-tab:hover { transform: translateY(-2px); box-shadow: 0 4px 16px #0003; }
}
.tune-section-tab:active { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) {
  .tune-section-tab { transition: none; }
  .tune-section-tab:hover, .tune-section-tab:active { transform: none; }
}
.tune-section-tab--home { color: #b39db4; background: transparent; }
.tune-section-tab--home[aria-current="page"] { color: #b39db4; background: #fff; }
.tune-section-tab--music { color: #feddff; border-color: #feddff; background: transparent; }
.tune-section-tab--music[aria-current="page"] { color: #111; background: #feddff; border-color: #feddff; }
.tune-section-tab--store { color: #b18a00; border-color: #b18a00; background: transparent; }
.tune-section-tab--store[aria-current="page"] { color: #111; background: #ffc400; border-color: #ffc400; }
.tune-section-tab:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.tune-music-page {
  box-sizing: border-box;
  width: min(100%, 860px);
  min-height: 100%;
  margin: 0 auto;
  padding: 18px 15px 42px;
  background: #111;
}
.page-grid[data-route="music"] { background: #111; }
.tune-music-logo { display: block; width: calc(100% + 30px); max-width: none; height: auto; margin: 30px -15px 0; }
.tune-music-logo { background-color: #feddff; -webkit-mask: url("assets/efefef_1.png") center / 100% 100% no-repeat; mask: url("assets/efefef_1.png") center / 100% 100% no-repeat; }
.tune-music-logo > img { display: block; width: 100%; height: auto; visibility: hidden; }
.music-daily-description { max-width: 620px; margin: 20px auto 38px; color: #aaa; font-size: 13px; line-height: 1.65; text-align: center; }
.music-daily-section { margin: 0 0 36px; }
.music-daily-section h2, .music-daily-done h2 { color: #f5f5f5; font-family: var(--font-bold); font-size: clamp(18px, 3vw, 24px); margin: 0 0 18px; letter-spacing: -.4px; }
.music-daily-grid { display: flex; align-items: flex-start; gap: 10px; margin-right: -15px; margin-left: -15px; padding: 0 15px 5px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
.music-daily-grid::-webkit-scrollbar { display: none; }
.music-daily-card { min-width: 0; flex: 0 0 clamp(128px, 36vw, 172px); padding: 0; border: 0; background: transparent; color: #fff; text-align: left; cursor: pointer; font: inherit; }
.music-daily-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #202020; transition: filter 180ms ease; }
.music-daily-card:hover img { filter: brightness(1.12); }
.music-daily-card:focus-visible { outline: 2px solid #b34f24; outline-offset: 5px; border-radius: 12px; }
.music-daily-card strong { display: block; margin-top: 9px; font-family: var(--font-bold); font-size: 13px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-daily-card span { display: block; margin-top: 3px; color: var(--color-text-secondary, #aaa); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-daily-empty, .music-daily-feedback { color: #aaa; font-size: 13px; line-height: 1.6; }
.music-daily-empty { flex: 1; padding: 18px; margin: 0; border-radius: 12px; background: #191919; }
.music-daily-feedback:empty { display: none; }
.music-daily-feedback { margin-bottom: 20px; }
.music-daily-done { text-align: center; padding: 32px 12px 42px; border-top: 1px solid #ffffff12; }
.music-daily-done[hidden] { display: none; }
.music-daily-done img { margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .9; }
.music-daily-done h2 { margin-bottom: 8px; font-size: 20px; }
.music-daily-done p { margin: 0; color: #999; font-size: 14px; }
@media (min-width: 701px) {
  .tune-music-page { padding: 32px 30px 55px; }
  .tune-music-logo { width: calc(100% + 60px); margin-right: -30px; margin-left: -30px; }
  .music-daily-grid { margin-right: -30px; margin-left: -30px; padding-right: 30px; padding-left: 30px; }
}
@media (min-width: 901px) {
  .tune-music-page { width: 100%; max-width: none; padding: 32px 0 55px; }
  .tune-music-logo { width: calc(100% + 40px); margin-right: -20px; margin-left: -20px; }
  .music-daily-grid { margin-right: 0; margin-left: 0; padding-right: 0; padding-left: 0; }
}
