:root {
  color-scheme: light;
  --width: 1152px;
  --gutter: 16px;
  --section-gap: 32px;
  --card-gap: 20px;
  --radius: 16px;
  --control-radius: 8.8px;
  --ink: #231e2d;
  --text: #181521;
  --muted: #756b86;
  --line: #d9d0e5;
  --bg: #fbf9fe;
  --surface: #fefefe;
  --orchid: #b96dec;
  --violet: #7765f5;
  --purple: #732686;
  --mint: #43fac4;
  --accent-gradient: linear-gradient(110deg,#bf69f4,#7765f5);
  --selected-gradient: linear-gradient(110deg,#e6b2e5,#7765f5);
  --serif: "Yu Mincho","游明朝","Noto Serif JP","Noto Serif KR","Batang",Georgia,serif;
  --sans: "Yu Gothic UI","Malgun Gothic",system-ui,sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--serif);
}

button, input, select {
  font: inherit;
}

button {
  color: inherit;
}

button, select, summary {
  cursor: pointer;
}

button, a, summary, input, select {
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: default;
  opacity: .4;
}

a {
  color: var(--purple);
}

[hidden] {
  display: none!important;
}

button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 18px;
  background: var(--surface);
}

.header-inner, .content {
  width: 100%;
  max-width: var(--width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.masthead {
  background: var(--ink);
  color: #fff;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px;
  padding-block: 32px;
}

.brand {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--mint);
  font: 12px/1.4 var(--sans);
  letter-spacing: .05em;
}

.brand-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px,3.5vw,52px);
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.3;
}

html[lang=ko] h1 {
  font-weight: 900;
}

.name-accent {
  color: var(--orchid);
}

.intro {
  max-width: 800px;
  margin: 16px 0 0;
  color: #ded5e5;
  line-height: 1.9;
  letter-spacing: .025em;
  overflow-wrap: anywhere;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #efe7e4;
  border-radius: 50%;
  background: #fffdff;
  color: var(--orchid);
}

.social-links .icon {
  width: 19px;
  height: 19px;
}

.header-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 165px;
  gap: 32px;
}

.language-control {
  position: relative;
  width: 102px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--violet);
}

.language-control select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  appearance: none;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--text);
  padding: 0 24px 0 29px;
  font: 12px/1.5 var(--sans);
  cursor: pointer;
}

.language-control>.icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  pointer-events: none;
}

.language-control>.select-chevron {
  left: auto;
  right: 8px;
}

.site-totals {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orchid);
  white-space: nowrap;
}

.site-totals .icon {
  width: 29px;
  height: 29px;
}

#total-count {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.random-section {
  display: flex;
  justify-content: center;
  padding-block: var(--section-gap);
}

.random-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 244px;
  min-height: 69px;
  padding: 12px 28px;
  border: 0;
  border-radius: 9999px;
  background: var(--accent-gradient);
  color: #fff;
  font: 700 34px/1.2 var(--sans);
}

.random-button .icon {
  width: 31px;
  height: 31px;
}

.player-card {
  display: grid;
  grid-template-columns: minmax(0,2.08fr) minmax(300px,1fr);
  gap: 20px;
  padding: 20px;
  margin-bottom: 32px;
  border: 3px solid transparent;
  border-radius: 16px;
  background: linear-gradient(#fff,#fff) padding-box,linear-gradient(110deg,#c14a84,#6233a6) border-box;
}

.video-column, .now-card {
  min-width: 0;
  max-width: 100%;
}

.video-panel {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #fffdff;
  isolation: isolate;
}

.yt-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.yt-stage>#player, .yt-stage>iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%!important;
  height: 100%!important;
  min-width: 0!important;
  max-width: 100%!important;
  border: 0;
}

.video-panel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #fffdff;
  pointer-events: none;
}

.empty-video {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #d9d9d9;
  color: #a49aa9;
  font-size: 14px;
}

.empty-video .icon {
  width: 48px;
  height: 48px;
  opacity: .6;
}

.player-card:not(.is-empty) .empty-video {
  display: none;
}

.player-card.is-empty .yt-stage {
  visibility: hidden;
}

.progress-row {
  display: flex;
  gap: 16px;
  padding: 16px 0 0;
  color: var(--purple);
  font: 12px/1.4 var(--sans);
  font-variant-numeric: tabular-nums;
}

.progress-row input {
  flex: 1;
}

input[type=range] {
  appearance: none;
  height: 6px;
  margin: 0;
  border-radius: 9999px;
  background: linear-gradient(to right,var(--violet) var(--progress,0%),#e7e2e9 var(--progress,0%));
  cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 0;
  background: var(--violet);
}

input[type=range]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 0;
  background: var(--violet);
}

input[type=range]:disabled {
  opacity: .55;
  cursor: default;
}

.now-card {
  display: flex;
  flex-direction: column;
  padding: 12px 0 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
}

.now-heading {
  min-width: 0;
  min-height: 180px;
}

#playing-title {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

#playing-title.empty-title {
  color: #a69aaf;
  font-weight: 500;
}

.playing-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 12px;
  padding-top: 12px;
  background: var(--accent-gradient) left top/100% 3px no-repeat;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.transport {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: auto 0 20px;
  padding-top: 24px;
}

.transport-step {
  display: grid;
  place-items: center;
  width: 36px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--violet);
}

.transport-step .icon {
  width: 30px;
  height: 30px;
}

.play-button {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(150deg,#bf69f4,#7765f5);
  color: #fff;
}

.play-button .icon {
  width: 33px;
  height: 33px;
}

.play-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.play-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font: 11px/1.5 var(--sans);
}

input[type=checkbox] {
  accent-color: var(--violet);
  width: 13px;
  height: 13px;
  margin: 0;
}

.clip-actions {
  display: flex;
  margin-left: auto;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--violet);
  border-radius: 8.8px;
  background: var(--surface);
  color: var(--purple);
}

.icon-button .icon {
  width: 17px;
  height: 17px;
}

#original {
  color: #c14a84;
}

.icon-button[aria-disabled=true] {
  opacity: .4;
  pointer-events: none;
}

.icon-button[aria-pressed=true] {
  border-color: var(--violet);
}

.icon-button[aria-pressed=true] .icon {
  color: var(--mint);
  fill: var(--mint);
  stroke: var(--mint);
}

.disclosure-button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 0 6px 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 11px/1.5 var(--sans);
}

.disclosure-button .icon {
  width: 14px;
  height: 14px;
  color: var(--violet);
}

.disclosure-button[aria-expanded=true] .icon {
  transform: rotate(180deg);
}

.quiet-button {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font: 10px/1.5 var(--sans);
}

.empty {
  margin: 12px;
  color: var(--muted);
  font-size: 13px;
}

.year-group {
  margin: 0 0 32px;
}

.year-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 14px 20px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.year-heading::-webkit-details-marker, .group-heading::-webkit-details-marker {
  display: none;
}

.year-heading>.icon:first-child {
  order: 4;
  width: 14px;
  height: 14px;
  color: var(--violet);
}

.year-heading>.icon:nth-child(2) {
  order: 0;
  width: 22px;
  height: 22px;
  color: var(--violet);
}

.year-group[open]>.year-heading>.icon:first-child {
  transform: rotate(180deg);
}

.year-name {
  order: 1;
  min-width: 0;
  font-size: 20px;
}

.year-count {
  order: 2;
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.year-body {
  display: grid;
  gap: 20px;
  padding-top: 20px;
}

.video-group {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  list-style: none;
}

.group-heading>.icon {
  order: 4;
  width: 14px;
  height: 14px;
  color: var(--violet);
}

.video-group[open]>.group-heading>.icon {
  transform: rotate(180deg);
}

.group-heading img {
  order: 0;
  width: 75.6px;
  height: 42.3px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 5px;
  background: #e8e2ee;
}

.group-title {
  order: 1;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 600;
}

.group-meta {
  order: 2;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.group-body {
  position: relative;
  padding: 20px;
  background: #fffdff;
}

.group-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--line);
}

.clip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clip-item {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: var(--surface);
  overflow: hidden;
}

.clip-item.active {
  background: var(--selected-gradient);
  color: #fff;
}

.clip {
  border: 0;
  padding: 6.4px 13.6px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

footer {
  padding: 64px 0 32px;
  text-align: center;
  color: var(--muted);
  font: 11px/1.8 var(--sans);
}

footer p {
  margin: 0;
}

footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer .updated {
  margin-top: 12px;
}

@media(min-width:1600px) {
  body {
    padding-top: 0;
  }
}

@media(max-width:1100px) {
  h1 {
    font-size: 40px;
  }

  .header-side {
    min-width: 145px;
  }

  .play-options {
    gap: 8px;
  }

  .clip-actions {
    gap: 6px;
  }

  .now-heading {
    min-height: 150px;
  }
}

@media(max-width:900px) {
  .player-card {
    grid-template-columns: minmax(0,1fr);
  }

  .now-card {
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px 20px;
  }

  .now-heading {
    grid-column: 1;
    min-height: 0;
  }

  #playing-title {
    -webkit-line-clamp: 4;
  }

  .playing-meta {
    grid-column: 1;
    margin-top: 0;
    justify-content: flex-start;
    gap: 10px;
  }

  .transport {
    grid-column: 2;
    grid-row: 1/3;
    margin: auto;
    padding: 0;
    gap: 16px;
  }

  .play-options {
    grid-column: 1;
  }

  .play-button {
    width: 62px;
    height: 62px;
  }
}

@media(max-width:639px) {
  body {
    padding-top: 0;
  }

  .header-inner {
    position: relative;
    grid-template-columns: minmax(0,1fr);
    padding-block: 28px;
    gap: 24px;
  }

  .eyebrow {
    min-height: 32px;
    display: flex;
    align-items: center;
    padding-right: 104px;
    margin-bottom: 24px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(25px,7vw,37px);
  }

  .brand-row {
    gap: 12px;
    row-gap: 16px;
  }

  .intro {
    margin-top: 24px;
    font-size: 12px;
  }

  .social-links {
    gap: 8px;
  }

  .social-links a {
    width: 30px;
    height: 30px;
  }

  .social-links .icon {
    width: 16px;
    height: 16px;
  }

  .header-side {
    display: contents;
  }

  .language-control {
    position: absolute;
    top: 28px;
    right: 16px;
    width: 94px;
  }

  .site-totals {
    justify-content: flex-end;
  }

  #total-count {
    font-size: 17px;
  }

  .site-totals .icon {
    width: 22px;
    height: 22px;
  }

  .random-button {
    min-width: 210px;
    min-height: 62px;
    font-size: 29px;
  }

  .player-card {
    padding: 16px;
    gap: 20px;
  }

  .progress-row {
    gap: 8px;
    font-size: 11px;
  }

  .now-card {
    display: flex;
    gap: 0;
  }

  .now-heading {
    min-height: 90px;
  }

  .playing-meta {
    margin-top: 12px;
    font-size: 12px;
  }

  .transport {
    margin: 20px 0;
    gap: 28px;
  }

  .play-options {
    gap: 12px;
  }

  .disclosure-button {
    font-size: 10px;
  }

  .year-heading {
    padding-inline: 16px;
  }

  .year-name {
    font-size: 17px;
  }

  .year-count {
    font-size: 10px;
  }

  .group-heading, .group-body {
    padding: 16px;
  }

  .group-heading {
    gap: 8px;
  }

  .group-title {
    font-size: 13px;
  }

  .group-meta {
    max-width: 60px;
    font-size: 10px;
    white-space: normal;
  }

  .group-body::before {
    left: 16px;
    right: 16px;
  }

  .clip-grid {
    gap: 6px;
  }

  .clip {
    padding-inline: 10px;
  }

  footer {
    padding-top: 32px;
    font-size: 10px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    scroll-behavior: auto!important;
    transition: none!important;
  }
}

.language-control select:focus, .language-control select:focus-visible {
  outline: none;
  box-shadow: none;
}

.player-card, .now-card {
  background-color: #fff;
}

.video-panel, .video-panel::after {
  background-color: #fff;
}

.progress-row {
  color: #732686;
}

#duration {
  min-width: 42px;
  font-weight: 600;
}

#seek {
  height: 11px;
  border: 1px solid #b4b4b4;
  border-radius: 4px;
  background: linear-gradient(110deg, #bf69f4, #7765f5) left center / var(--progress, 0%) 100% no-repeat, #fbf9fe;
}

#seek::-webkit-slider-thumb {
  width: 12px;
  height: 11px;
  border-radius: 4px;
  background: #7765f5;
}

#seek::-moz-range-thumb {
  width: 12px;
  height: 11px;
  border-radius: 4px;
  background: #7765f5;
}

.icon-button {
  position: relative;
  isolation: isolate;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
}

.icon-button .icon {
  width: 19px;
  height: 19px;
  position: relative;
  z-index: 1;
}

#stop {
  color: #6233a6;
}

.icon-button::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fbf9fe;
  opacity: 0;
  pointer-events: none;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .icon-button:not(:disabled):not([aria-disabled=true]):hover::before {
    opacity: 1;
  }
}

.transport-step {
  border-radius: 50%;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .transport-step:not(:disabled):hover, .social-links a:hover {
    background: #fbf9fe;
  }
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .play-button:not(:disabled):hover {
    box-shadow: 0 0 0 6px #fbf9fe;
  }
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .random-button:not(:disabled):hover {
    box-shadow: 0 0 0 6px #fbf9fe;
  }
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .disclosure-button:hover, .quiet-button:hover {
    background: #fbf9fe;
  }
}

.group-thumb {
  order: 0;
  display: block;
  flex: 0 0 auto;
  border-radius: 5px;
  overflow: hidden;
}

.group-thumb img {
  display: block;
}

.group-title {
  color: inherit;
  text-decoration: none;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .group-title:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.clip-actions {
  gap: 8px;
}

@media(max-width:900px) {
  .play-options {
    grid-column: 1 / -1;
  }
}

.archive, #list, .year-group, .year-heading, .year-body, .video-group {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-inline: 0;
}

.year-body {
  padding-inline: 0;
}

.group-heading, .group-body {
  width: 100%;
  min-width: 0;
  margin-inline: 0;
  box-sizing: border-box;
}

.group-meta {
  flex: 0 1 auto;
  max-width: 28%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: right;
}

.year-heading, .video-group {
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.year-name, #duration {
  font-family: var(--serif);
}

.year-name {
  font-size: 17px;
  font-weight: 700;
}

.progress-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

#duration {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: center;
  font-size: 13.6px;
  font-weight: 700;
  line-height: 1.5;
}

.progress-row input {
  width: 100%;
  min-width: 0;
}

#playing-title, .group-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.disclosure-button {
  flex-shrink: 0;
  white-space: nowrap;
}

.clip {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.play-options label {
  min-height: 36px;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.play-options input[type=checkbox] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media(hover:hover) and (pointer:fine) {
  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .year-group:not([open]) > .year-heading:hover {
      background: var(--surface);
      box-shadow: 0 6px 18px #231e2d1f;
      transform: translateY(-2px);
      border-color: #cbbadc;
    }
  }

  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .video-group:not([open]):hover {
      box-shadow: 0 6px 18px #231e2d1f;
      transform: translateY(-2px);
      border-color: #cbbadc;
    }
  }

  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .video-group:not([open]) > .group-heading:hover {
      background: var(--surface);
    }
  }

  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .year-group[open] > .year-heading:hover, .video-group[open] > .group-heading:hover {
      background: #fbf9fe;
    }
  }

  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .clip-item:hover {
      background: #fbf9fe;
      color: var(--text);
    }
  }
}

@media(max-width:639px) {
  .progress-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }
}

@media(prefers-reduced-motion:reduce) {
  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .year-group:not([open]) > .year-heading:hover, .video-group:not([open]):hover {
      transform: none;
    }
  }
}

:root {
  --jp-text: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Sans', sans-serif;
  --jp-display: 'Noto Serif JP', 'Yu Mincho', serif;
  --section-row-height: 60px;
}

[lang=ja] {
  --serif: var(--jp-display);
  --sans: var(--jp-text);
}

html[lang=ja] h1 {
  font-family: var(--jp-display);
  font-weight: 900;
}

[lang=ja].group-title, #playing-title[lang=ja] {
  font-family: var(--serif);
}

#playing-title {
  font-size: 20px;
  font-weight: 700;
}

#duration {
  font-family: var(--jp-display);
  font-size: 15px;
  font-weight: 900;
}

.play-options {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px;
}

.clip-actions {
  margin-left: 0;
  justify-self: end;
}

.year-heading, .group-heading {
  min-height: var(--section-row-height);
  padding-block: 0;
}

.group-heading img {
  width: 68px;
  height: 38px;
}

.year-name {
  line-height: 1.5;
}

.disclosure-button, .year-count, .group-meta {
  font-size: 12px;
  font-weight: 500;
}

.clip-item:not(.active) {
  border-color: var(--violet);
  background: #fff;
}

.clip-item:not(.active) .clip {
  position: relative;
  isolation: isolate;
}

.clip-item:not(.active) .clip::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fbf9fe;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

@media(hover:hover) and (pointer:fine) {
  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .clip-item.active:hover {
      background: var(--selected-gradient);
      color: #fff;
    }
  }

  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .clip-item:not(.active):hover {
      background: #fff;
      color: var(--text);
    }
  }

  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .clip-item:not(.active) .clip:hover::before {
      opacity: 1;
    }
  }
}

.intro {
  font-size: 14px;
  font-weight: 400;
}

.group-title {
  font-size: 15px;
  font-weight: 700;
}

.clip, .play-options label {
  font-size: 13px;
  font-weight: 600;
}

.playing-meta, .group-meta, .year-count, .disclosure-button {
  font-size: 12px;
  font-weight: 500;
}

footer {
  font-size: 12px;
  font-weight: 400;
}

.intro {
  font-family: var(--serif);
}

@media(max-width:639px) {
  #playing-title {
    font-size: 19px;
  }

  .year-heading, .group-heading {
    min-height: var(--section-row-height);
  }

  .play-options {
    gap: 8px;
  }

  .group-heading img {
    width: 54px;
    height: 34.2px;
  }

  .intro {
    font-size: 13px;
  }

  .clip, .play-options label {
    font-size: 12px;
  }
}

:root {
  --frame-gap: 20px;
  --archive-item-gap: 10px;
}

.playing-meta, #playing-date, #playing-range {
  font-size: 13px;
  font-weight: 500;
  color: #181521;
}

.clip-item.active .clip {
  color: #fff;
}

.player-card {
  margin-bottom: var(--frame-gap);
}

.year-body {
  padding-top: var(--archive-item-gap);
  gap: var(--archive-item-gap);
}

.year-group {
  margin-bottom: var(--frame-gap);
}

.icon-button::before, .clip-item .clip::before {
  content: none;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .random-button:not(:disabled):hover {
    box-shadow: none;
  }
}

.archive, #list, .year-group, .year-body {
  overflow: visible;
}

.year-heading {
  position: relative;
  z-index: 1;
}

.year-heading, .video-group {
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

@media (hover: hover) {
  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .icon-button:not(:disabled):not([aria-disabled=true]):hover, .random-button:not(:disabled):hover {
      background-color: #fbf9fe;
    }
  }

  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .clip-item:not(.active):hover {
      background: #fbf9fe;
      color: #181521;
    }
  }

  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .clip-item.active:hover {
      background: var(--selected-gradient);
      color: #fff;
    }
  }

  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .year-group:not([open]):hover > .year-heading {
      background: var(--surface);
      box-shadow: 0 8px 20px #231e2d30;
      transform: translateY(-3px);
      border-color: #cbbadc;
      z-index: 2;
    }
  }

  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .video-group:not([open]):hover {
      background: var(--surface);
      box-shadow: 0 8px 20px #231e2d30;
      transform: translateY(-3px);
      border-color: #cbbadc;
      position: relative;
      z-index: 2;
    }
  }

  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .video-group:not([open]):hover > .group-heading {
      background: var(--surface);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  @media(min-width:640px) and (hover:hover) and (pointer:fine) {
    .year-group:not([open]):hover > .year-heading, .video-group:not([open]):hover {
      transform: none;
    }
  }
}

.clip-item, .clip-item:not(.active), .clip-item.active {
  border-color: #d9d0e5;
}

.group-title-slot {
  order: 1;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.group-title-slot > .group-title {
  display: inline;
}

.group-title-slot > a.group-title {
  display: inline !important;
  flex: none;
  width: auto;
  padding: 0;
  margin: 0;
  pointer-events: none;
  text-decoration: none;
}

.group-title-text {
  display: inline;
  pointer-events: auto;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .group-title:hover {
    text-decoration: none;
  }
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .group-title-text:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.group-title, .group-title[lang=ja] {
  font-family: system-ui, 'Malgun Gothic', sans-serif;
  font-size: 17px;
  font-weight: 700;
}

html[lang=ko] .random-button {
  font-family: var(--jp-text);
}

#playing {
  --serif: var(--sans);
  font-family: var(--sans);
}

#playing [lang=ja] {
  --serif: var(--jp-text);
  --sans: var(--jp-text);
}

#playing #duration {
  font-family: var(--jp-display);
}

#playing #playing-title, #playing #playing-title[lang=ja] {
  font-family: var(--sans);
}

.group-title, .group-title[lang=ja] {
  font-family: var(--sans);
}

.year-body {
  padding-inline-start: 21px;
  padding-inline-end: 0;
}

@media(max-width:639px) {
  .year-body {
    padding-inline-start: 17px;
  }
}

@media(max-width:639px) {
  .archive .group-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-weight: 500;
  }

  .archive .group-title[lang=ja], html[lang=ja] .archive .group-title {
    font-family: 'Noto Sans JP', sans-serif;
  }

  .year-name {
    font-weight: 700;
  }

  .year-count, .group-meta {
    font-size: 12px;
    font-weight: 400;
  }

  .year-body {
    padding-inline: 0;
  }

  .group-title-slot {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
  }
}

@media(max-width:639px) {
  #playing #duration {
    font-weight: 500;
  }
}

@media(max-width:639px) {
  .archive .year-count, .archive .group-meta {
    font-family: 'Noto Sans KR', sans-serif;
  }

  html[lang=ja] .archive .year-count, html[lang=ja] .archive .group-meta {
    font-family: 'Noto Sans JP', sans-serif;
  }

  .archive .year-name {
    font-weight: 700;
  }
}

#playing #duration {
  font-weight: 900;
}

@media(max-width:639px) {
  html[lang=ko] h1 {
    font-family: 'Noto Serif KR', serif;
    font-weight: 900;
  }

  html[lang=ko] .archive .year-name {
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
  }

  html[lang=ja] .archive .year-name {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
  }
}

html[lang=ko] .intro {
  font-family: 'Noto Serif KR', serif;
}

html[lang=ko] #playing #duration {
  font-family: 'Noto Serif KR', serif;
  font-weight: 900;
}

html[lang=ja] #playing #duration {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
}

#playing .playing-meta {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 6px;
}

#playing-date {
  justify-self: start;
  white-space: nowrap;
}

#playing-meta > span[aria-hidden=true] {
  justify-self: center;
}

#playing-range {
  justify-self: end;
  white-space: nowrap;
}

.archive .group-meta {
  flex: 0 0 auto;
  max-width: none;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.year-group {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}

.year-heading {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.year-body {
  padding: 4px 20px 24px;
  gap: 28px;
}

.year-body .video-group {
  display: block;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.year-body .group-heading {
  padding: 0;
  min-height: 0;
  background: transparent;
  align-items: flex-start;
  gap: 12px;
}

.group-title-slot {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.5;
}

.year-body .group-meta {
  padding-top: 3px;
}

.year-body .group-body {
  width: calc(100% - 80px);
  padding: 10px 0 0;
  margin-left: 80px;
  background: transparent;
}

.group-body::before {
  content: none;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .year-body .video-group:hover, .year-body .video-group:not([open]):hover {
    box-shadow: none;
    transform: none;
    border-color: transparent;
  }
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .year-body .video-group .group-heading:hover, .year-group[open]>.year-heading:hover {
    background: transparent;
  }
}

@media(max-width:639px) {
  .year-body {
    padding: 2px 16px 20px;
    gap: 22px;
  }

  .year-body .group-heading {
    gap: 8px;
  }

  .year-body .group-body {
    width: calc(100% - 62px);
    margin-left: 62px;
    padding-top: 8px;
  }

  .year-body .group-meta {
    padding-top: 0;
  }
}

.info-trigger {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 12px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #756b86;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .info-trigger:hover {
    background: #f0eaf7;
    color: #6233a6;
  }
}

.info-trigger svg {
  width: 21px;
  height: 21px;
}

.info-dialog {
  position: fixed;
  inset: 50% 24px auto auto;
  transform: translateY(-50%);
  margin: 0;
  width: 440px;
  max-width: calc(100vw - 48px);
  max-height: 78dvh;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d9d0e5;
  border-radius: 18px;
  background: #fefefe;
  color: #181521;
  box-shadow: 0 18px 60px #231e2d26;
  font-family: var(--sans);
}

.info-dialog::backdrop {
  background: #231e2d45;
}

.info-dialog[open] {
  display: flex;
  flex-direction: column;
}

.overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #eee8f3;
  flex-shrink: 0;
}

.overlay-head h2 {
  margin: 0;
  font: 700 16px/1.5 var(--sans);
}

.overlay-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6233a6;
  font: 400 27px/1 sans-serif;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .overlay-close:hover {
    background: #fbf9fe;
  }
}

.overlay-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0 0;
}

.overlay-notes {
  padding: 8px 20px;
  font-size: 13px;
  line-height: 1.8;
  color: #756b86;
}

.overlay-notes h3 {
  color: #181521;
  font-size: 14px;
  margin: 8px 0;
}

.overlay-notes p {
  margin: 6px 0 14px;
}

.overlay-notes a {
  color: inherit;
}

@media(max-width:639px) {
  .info-dialog {
    inset: auto 0 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    max-height: 78dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
  }

  .info-dialog::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 34px;
    height: 4px;
    margin: 10px auto 0;
    background: #d9d0e5;
    border-radius: 99px;
  }

  .overlay-head {
    padding: 4px 14px 8px;
  }

  .overlay-head h2 {
    font-size: 15px;
  }

  .overlay-body {
    padding-bottom: max(12px,env(safe-area-inset-bottom));
  }

  .overlay-notes {
    font-size: 13px;
  }
}

#playing .transport {
  display: grid;
  grid-template-columns: 44px 74px 44px 44px;
  align-items: center;
  gap: 10px;
}

#playing .transport-step {
  width: 44px;
  height: 44px;
}

.mode-icons {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mode-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #756b86;
}

.mode-icon .icon {
  width: 21px;
  height: 21px;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .mode-icon:hover {
    background: #fbf9fe;
    color: #6233a6;
  }
}

.mode-icon[aria-pressed=true] {
  border-color: #43fac4;
  background: #e8fff7;
  color: #6233a6;
}

#playing .play-options {
  justify-content: flex-end;
  gap: 0;
}

#playing .clip-actions {
  margin: 0;
  gap: 4px;
  justify-content: flex-end;
}

#playing .clip-actions .icon-button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

#playing {
  position: static;
}

@media(max-width:639px) {
  #playing .transport {
    grid-column: 1/-1;
    gap: 8px;
    margin-block: 18px;
  }

  #playing .play-options {
    justify-content: center;
  }

  #playing .clip-actions {
    justify-content: center;
  }
}

#playing .now-heading {
  min-height: 100px;
}

#playing .now-card {
  padding-top: 4px;
}

#playing .transport {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 14px 0;
}

#playing .play-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
}

#playing .mode-icons {
  flex-direction: row;
  gap: 4px;
}

#playing .clip-actions {
  gap: 6px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #d9d0e5;
  border-radius: 50%;
  background: #fefefe;
  color: #6233a6;
  box-shadow: 0 4px 16px #231e2d14;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .back-to-top:hover {
    background: #fbf9fe;
    border-color: #bba6d2;
  }
}

.back-to-top svg {
  width: 21px;
  height: 21px;
}

@media(min-width:901px) {
  #playing.player-card {
    grid-template-columns: minmax(0,1.55fr) minmax(300px,1fr);
    padding: 16px;
  }
}

@media(max-width:900px) {
  #playing .now-card {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  #playing .now-heading {
    min-height: 54px;
  }

  #playing .transport {
    align-self: center;
    margin: 14px 0;
  }

  #playing .play-options {
    margin: 0;
  }
}

@media(max-width:639px) {
  #playing .transport {
    gap: 24px;
    margin: 12px 0;
  }

  #playing .play-options {
    justify-content: space-between;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

#playing .mode-icon {
  position: relative;
  border-color: transparent;
  background: transparent;
  color: #9a91a5;
}

#playing .mode-icon[aria-pressed=true] {
  border-color: transparent;
  background: transparent;
  color: #6233a6;
}

#playing .mode-icon::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: calc(50% - 1.5px);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #6233a6;
  opacity: 0;
}

#playing .mode-icon[aria-pressed=true]::after {
  opacity: 1;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  #playing .mode-icon:hover {
    color: #6233a6;
    background: #fbf9fe;
  }
}

#playing .mode-icon[aria-pressed=true] {
  color: #43fac4;
}

#playing .mode-icon::after {
  top: 4px;
  bottom: auto;
  background: #43fac4;
}

.fan-follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
  padding-inline: 16px;
}

.follow-sparkle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #bf69f4;
}

.follow-sparkle .icon {
  width: 30px;
  height: 30px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 320px;
  max-width: 100%;
  padding: 18px;
  border: 1px solid #d9d0e5;
  border-radius: 16px;
  background: #fefefe;
  box-shadow: 0 5px 24px #231e2d0f;
  text-align: left;
  font-family: var(--sans);
}

.channel-avatar {
  display: block;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.channel-details {
  min-width: 0;
}

.channel-details strong {
  display: block;
  font: 700 15px/1.5 'Noto Sans JP',sans-serif;
}

.channel-details small {
  display: block;
  color: #756b86;
  font-size: 12px;
}

.subscribe-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #231e2d;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .follow-sparkle:hover {
    background: #fbf9fe;
  }

  .subscribe-link:hover {
    background: #6233a6;
  }
}

@media(max-width:639px) {
  #playing.player-card {
    padding: 8px 0 16px;
    gap: 16px;
    overflow: hidden;
  }

  #playing .video-column {
    width: 100%;
  }

  #playing .progress-row {
    padding-inline: 16px;
  }

  #playing .now-card {
    margin-inline: 16px;
  }
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  .year-group:not([open]):hover>.year-heading {
    box-shadow: none;
    transform: none;
    border-color: var(--line);
  }

  .year-group:not([open]):hover {
    box-shadow: 0 2px 8px #231e2d0d;
  }
}

body {
  padding-bottom: 120px!important;
}

#playing.player-card {
  display: block!important;
  border: 0!important;
  border-radius: 0!important;
  background: transparent!important;
  padding: 0!important;
  margin: 0 auto 32px!important;
  max-width: 800px;
  overflow: visible!important;
}

#playing .video-column {
  width: 100%;
  max-width: 100%;
}

#playing .progress-row {
  padding: 12px 0!important;
}

#playing .now-card {
  position: fixed!important;
  inset: auto 20px 16px!important;
  width: calc(100% - 40px)!important;
  margin: 0 auto!important;
  z-index: 100;
  display: grid!important;
  grid-template-columns: minmax(0,1fr) auto auto!important;
  grid-template-rows: auto auto;
  column-gap: 20px!important;
  row-gap: 1px!important;
  padding: 12px 18px!important;
  border: 2px solid transparent!important;
  border-radius: 16px!important;
  background: linear-gradient(#fff,#fff) padding-box,linear-gradient(110deg,#c14a84,#6233a6) border-box!important;
  box-shadow: 0 5px 24px #231e2d14;
  min-height: 82px!important;
}

#playing.is-empty .now-card {
  display: none!important;
}

#playing .now-heading {
  grid-column: 1;
  grid-row: 1;
  min-height: 0!important;
  align-self: end;
}

#playing #playing-title {
  font-size: 16px!important;
  line-height: 1.5!important;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0!important;
}

#playing .playing-meta {
  grid-column: 1;
  grid-row: 2;
  display: flex!important;
  justify-content: flex-start;
  gap: 10px!important;
  margin: 0!important;
  padding: 0!important;
  align-self: start;
}

#playing .transport {
  grid-column: 2!important;
  gap: 4px!important;
  align-self: center;
}

#playing .play-button {
  width: 44px!important;
  height: 44px!important;
}

#playing .play-button .icon {
  width: 23px!important;
  height: 23px!important;
}

#playing .transport-step {
  width: 36px!important;
  height: 40px!important;
}

#playing .transport-step .icon {
  width: 19px!important;
  height: 19px!important;
}

#playing .play-options {
  grid-column: 3;
  grid-row: 1/3;
  display: flex!important;
  width: auto!important;
  margin: 0!important;
  padding: 0!important;
  gap: 8px!important;
  align-self: center;
}

#playing .mode-icon {
  width: 36px!important;
  height: 42px!important;
}

#playing .clip-actions {
  gap: 4px!important;
}

#playing .clip-actions .icon-button {
  width: 36px!important;
  height: 36px!important;
  flex-basis: 36px!important;
}

.back-to-top {
  bottom: 116px!important;
}

@media(min-width:640px) {
  #playing .mode-icons {
    order: 0;
  }

  #playing .clip-actions {
    order: 1;
  }
}

@media(max-width:639px) {
  body {
    padding-bottom: 146px!important;
  }

  #playing .now-card {
    inset: auto 8px 8px!important;
    width: calc(100% - 16px)!important;
    grid-template-columns: minmax(0,1fr) auto!important;
    grid-template-rows: auto auto!important;
    gap: 5px 8px!important;
    border-radius: 14px!important;
  }

  #playing .now-heading {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  #playing #playing-title {
    -webkit-line-clamp: 1;
  }

  #playing .playing-meta {
    grid-column: 1;
    grid-row: 2;
    gap: 5px!important;
    flex-wrap: wrap;
  }

  #playing .playing-meta>* {
    font-size: 10px!important;
  }

  #playing .transport {
    grid-column: 2!important;
    grid-row: 1/3!important;
    gap: 0!important;
  }

  #playing .transport-step {
    width: 28px!important;
  }

  #playing .play-button {
    width: 40px!important;
    height: 40px!important;
  }

  #playing .play-options {
    grid-column: 1/3;
    grid-row: 3;
    justify-content: space-between!important;
    width: 100%!important;
  }

  #playing .mode-icon {
    height: 30px!important;
  }

  #playing .mode-icon::after {
    top: 0!important;
  }

  #playing .clip-actions .icon-button {
    height: 30px!important;
  }

  .back-to-top {
    bottom: 154px!important;
  }
}

#playing .now-card {
  row-gap: 0!important;
  border-radius: 14px!important;
  box-shadow: 0 2px 14px #231e2d0a!important;
}

.bar-source-icon {
  grid-column: 1;
  grid-row: 1/3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(110deg,#e9d9ee,#d6f3e9);
  color: #9054a3;
}

.bar-source-icon .icon {
  width: 23px;
  height: 23px;
}

#playing .now-heading {
  grid-column: 2!important;
  grid-row: 1!important;
  align-self: stretch!important;
  display: flex!important;
  align-items: center!important;
  border-bottom: 2px solid transparent!important;
  border-image: linear-gradient(90deg,#bf69f4,#7765f5) 1!important;
  margin-right: 70px!important;
  min-width: 0;
}

#playing #playing-title {
  font-size: 17px!important;
  font-weight: 700!important;
  line-height: 1.4!important;
  width: 100%;
}

#playing .playing-meta {
  grid-column: 2!important;
  grid-row: 2!important;
  gap: 8px!important;
  line-height: 13px!important;
  color: #9a91a5!important;
  white-space: nowrap!important;
  flex-wrap: nowrap!important;
}

#playing .playing-meta>* {
  font-size: 9px!important;
  color: #9a91a5!important;
}

#playing .transport {
  grid-column: 3!important;
  grid-row: 1/3!important;
  display: flex!important;
  gap: 3px!important;
  margin: 0!important;
}

#playing .transport-step {
  color: #50617a!important;
}

#playing .play-button {
  background: #ff929e!important;
  box-shadow: none!important;
  border: 0!important;
  color: white!important;
}

#playing .mode-icons {
  display: flex!important;
  flex-direction: row!important;
  gap: 0!important;
  margin-right: 3px!important;
}

#playing .mode-icon {
  width: 28px!important;
  height: 34px!important;
  color: #aaa0b8!important;
}

#playing .mode-icon .icon {
  width: 19px!important;
  height: 19px!important;
}

#playing .mode-icon[aria-pressed=true] {
  color: #43fac4!important;
}

#playing .mode-icon::after {
  top: 0!important;
}

#playing .play-options {
  display: none!important;
}

#playing .transport .clip-actions {
  display: flex!important;
  gap: 4px!important;
  margin-left: 9px!important;
}

#playing .transport .clip-actions .icon-button {
  display: grid!important;
  place-items: center!important;
  width: 30px!important;
  height: 30px!important;
  flex: 0 0 30px!important;
  border: 1px solid #b8a0ff!important;
  border-radius: 9px!important;
  background: #fff!important;
  color: #6233a6!important;
}

#playing .transport .clip-actions .icon-button .icon {
  width: 17px!important;
  height: 17px!important;
}

#playing .transport .clip-actions #original {
  color: #b94d8e!important;
}

#playing .transport .clip-actions [hidden] {
  display: none!important;
}

@media(max-width:639px) {
  #playing .now-card {
    grid-template-rows: 28px 12px auto!important;
  }

  .bar-source-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .bar-source-icon .icon {
    width: 19px;
    height: 19px;
  }

  #playing .now-heading {
    margin-right: 0!important;
  }

  #playing #playing-title {
    font-size: 12px!important;
  }

  #playing .playing-meta>* {
    font-size: 8px!important;
  }

  #playing .transport {
    justify-content: flex-end!important;
    width: 100%;
  }

  #playing .transport .mode-icons {
    margin-right: auto!important;
  }
}

#playing .now-heading {
  position: relative!important;
  border-bottom: 0!important;
  border-image: none!important;
  margin-right: 0!important;
  padding-bottom: 7px!important;
}

#playing .now-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 207px;
  max-width: 100%;
  height: 3px;
  background: linear-gradient(170.2deg,#bf69f4,#7765f5);
  pointer-events: none;
}

#playing .now-card {
  max-width: 1052px!important;
  min-height: 86px!important;
  grid-template-columns: 48px minmax(0,1fr) auto!important;
  grid-template-rows: 32px 16px!important;
  column-gap: 12px!important;
  padding: 16px!important;
  align-content: center!important;
  align-items: center!important;
}

#playing .bar-source-icon {
  width: 48px!important;
  height: 48px!important;
  border-radius: 12px!important;
  background: linear-gradient(94.8deg,#c14a84,#6233a6)!important;
  color: #fff!important;
}

#playing .bar-source-icon .icon {
  width: 30px!important;
  height: 30px!important;
}

#playing .playing-meta {
  background: none!important;
  background-image: none!important;
  border: 0!important;
  padding: 2px 0 0!important;
  line-height: 14px!important;
  gap: 12px!important;
  align-self: start!important;
}

#playing .playing-meta>* {
  font-size: 11px!important;
  font-weight: 400!important;
  color: #6b647a!important;
  line-height: 14px!important;
}

#playing .transport {
  align-self: center!important;
  min-height: 48px!important;
}

#playing .transport .mode-icons {
  gap: 0!important;
  margin: 0 4px 0 0!important;
}

#playing .mode-icon, #playing .transport-step {
  width: 40px!important;
  height: 44px!important;
  flex: 0 0 40px!important;
}

#playing .transport-step {
  color: #7765f5!important;
}

#playing .transport-step .icon {
  width: 23px!important;
  height: 23px!important;
}

#playing .mode-icon .icon {
  width: 22px!important;
  height: 22px!important;
}

#playing .play-button {
  width: 47px!important;
  height: 47px!important;
  flex: 0 0 47px!important;
  background: linear-gradient(#bf69f4,#7765f5)!important;
}

#playing .play-button .icon {
  width: 26px!important;
  height: 26px!important;
}

#playing .transport .clip-actions {
  align-self: center!important;
  margin-left: 12px!important;
}

#playing .transport .clip-actions #stop {
  width: 40px!important;
  height: 40px!important;
  flex: 0 0 40px!important;
  color: #d9d0e5!important;
  opacity: 1!important;
}

#playing .transport .clip-actions #stop .icon {
  width: 22px!important;
  height: 22px!important;
  color: #d9d0e5!important;
}

@media(max-width:639px) {
  #playing .now-card {
    grid-template-columns: 36px minmax(0,1fr)!important;
    grid-template-rows: 32px 17px auto!important;
    padding: 10px 12px!important;
    column-gap: 10px!important;
  }

  #playing .bar-source-icon {
    width: 36px!important;
    height: 36px!important;
    border-radius: 9px!important;
  }

  #playing .bar-source-icon .icon {
    width: 24px!important;
    height: 24px!important;
  }

  #playing .playing-meta>* {
    font-size: 11px!important;
  }

  #playing .playing-meta {
    gap: 6px!important;
  }

  #playing .transport {
    justify-content: center!important;
    gap: 3px!important;
    margin-top: 8px!important;
  }

  #playing .transport .clip-actions {
    margin-left: 5px!important;
  }

  #playing .mode-icon, #playing .transport-step {
    width: 38px!important;
    flex-basis: 38px!important;
  }
}

#playing .now-card {
  min-height: 74px!important;
  grid-template-columns: 36px minmax(0,1fr) auto!important;
  grid-template-rows: 32px 13px!important;
  padding: 9px 10px!important;
  max-width: 1120px!important;
  column-gap: 10px!important;
}

#playing .bar-source-icon {
  width: 36px!important;
  height: 36px!important;
  border-radius: 10px!important;
}

#playing .bar-source-icon .icon {
  width: 23px!important;
  height: 23px!important;
}

#playing .transport {
  height: 100%!important;
  min-height: 0!important;
  align-self: stretch!important;
  align-items: center!important;
  justify-content: center!important;
  gap: 8px!important;
  padding: 0!important;
}

#playing .transport .mode-icons {
  height: 100%!important;
  align-items: center!important;
  margin-block: 0!important;
}

#playing .transport .mode-icon {
  width: 28px!important;
  height: 34px!important;
  flex: 0 0 28px!important;
  align-self: center!important;
}

#playing .transport .mode-icon .icon {
  width: 19px!important;
  height: 19px!important;
}

#playing .transport-step {
  width: 22px!important;
  height: 34px!important;
  flex: 0 0 22px!important;
  align-self: center!important;
}

#playing .transport-step .icon {
  width: 16px!important;
  height: 16px!important;
}

#playing .play-button {
  width: 34px!important;
  height: 34px!important;
  flex: 0 0 34px!important;
  align-self: center!important;
}

#playing .play-button .icon {
  width: 20px!important;
  height: 20px!important;
}

#playing .transport .clip-actions {
  height: 100%!important;
  align-self: stretch!important;
  align-items: center!important;
  justify-content: center!important;
  margin-block: 0!important;
}

#playing .transport .clip-actions #stop {
  width: 30px!important;
  height: 30px!important;
  flex: 0 0 30px!important;
  align-self: center!important;
}

#playing .transport .clip-actions #stop .icon {
  width: 17px!important;
  height: 17px!important;
}

@media(max-width:639px) {
  #playing .now-card {
    grid-template-columns: 28px minmax(0,1fr)!important;
    grid-template-rows: 28px 16px auto!important;
    min-height: 96px!important;
    padding: 8px 10px!important;
    column-gap: 8px!important;
  }

  #playing .bar-source-icon {
    width: 28px!important;
    height: 28px!important;
    border-radius: 8px!important;
  }

  #playing .bar-source-icon .icon {
    width: 19px!important;
    height: 19px!important;
  }

  #playing .transport {
    grid-column: 1/3!important;
    grid-row: 3!important;
    min-height: 34px!important;
    height: 34px!important;
    align-self: center!important;
    margin-top: 5px!important;
    gap: 8px!important;
  }

  #playing .transport .mode-icons {
    margin-right: 4px!important;
  }

  #playing .transport .clip-actions {
    margin-left: 8px!important;
  }
}

#playing .transport {
  gap: 11px!important;
}

#playing .transport .mode-icons {
  gap: 5px!important;
}

#playing .transport .clip-actions {
  margin-left: 4px!important;
}

#playing .transport .clip-actions #stop {
  border: 0!important;
  transform: translateX(-4px);
}

@media(max-width:639px) {
  #playing .transport {
    gap: 11px!important;
  }

  #playing .transport .clip-actions {
    margin-left: 4px!important;
  }
}

#playing .transport {
  gap: 14px!important;
}

#playing .transport .mode-icons {
  gap: 7px!important;
}

#playing .transport .clip-actions {
  margin-left: 2px!important;
}

#playing .transport .clip-actions #stop {
  transform: translateX(-8px);
}

#playing .transport .mode-icon {
  width: 32px!important;
  height: 38px!important;
  flex-basis: 32px!important;
}

#playing .transport .mode-icon .icon {
  width: 21px!important;
  height: 21px!important;
}

#playing .transport-step {
  width: 26px!important;
  height: 38px!important;
  flex-basis: 26px!important;
}

#playing .transport-step .icon {
  width: 18px!important;
  height: 18px!important;
}

#playing .play-button {
  width: 38px!important;
  height: 38px!important;
  flex-basis: 38px!important;
}

#playing .play-button .icon {
  width: 22px!important;
  height: 22px!important;
}

#playing .now-heading .bar-title-link {
  display: block;
  width: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

#playing .bar-source-icon {
  text-decoration: none;
}

@media(hover:hover) and (pointer:fine) {
  #playing .bar-title-link:hover #playing-title {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

@media(max-width:639px) {
  #playing .transport {
    gap: 14px!important;
    height: 38px!important;
    min-height: 38px!important;
  }

  #playing .transport .clip-actions {
    margin-left: 2px!important;
  }
}

@media(min-width:640px) {
  #playing .transport .clip-actions #stop {
    transform: translateX(-5px);
  }

  .info-dialog {
    inset: 50% auto auto 50%!important;
    transform: translate(-50%,-50%)!important;
    margin: 0!important;
  }
}

#playing .transport-step {
  position: relative!important;
  isolation: isolate;
  background: transparent!important;
  border-radius: 50%!important;
}

#playing .transport-step::before {
  content: none!important;
}

#playing .transport-step::after {
  content: '';
  position: absolute;
  width: 38px;
  height: 38px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: #fbf9fe;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

@media(min-width:640px) and (hover:hover) and (pointer:fine) {
  #playing .transport-step:hover::after {
    opacity: 1;
  }
}

@media(max-width:639px) {
  #playing .transport .mode-icon .icon {
    width: 18px!important;
    height: 18px!important;
  }
}

@media (max-width:639px) {
  #playing .transport {
    display: grid!important;
    grid-template-columns: minmax(0,1fr) auto auto auto minmax(0,1fr);
    gap: 0!important;
    justify-items: center;
  }

  #playing .transport .mode-icons, #playing .transport .clip-actions {
    margin-inline: 0!important;
  }

  #playing .transport .play-button {
    margin-inline: 14px;
  }

  #playing .transport .clip-actions #stop {
    transform: none;
  }
}

#overlay-notes {
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  padding: 12px 20px 22px;
}

#overlay-notes p, #overlay-notes li {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

#overlay-notes h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0 0 10px;
  color: var(--text);
}

#overlay-notes section+section {
  margin-top: 24px;
}

#overlay-notes p {
  margin: 0 0 14px;
}

#overlay-notes ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

#overlay-notes a {
  color: var(--purple);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

#seek {
  background: linear-gradient(110deg,#bf69f4,#7765f5) left center / var(--progress,0%) 100% no-repeat,#fff;
}

#overlay-notes a, #overlay-notes a:link, #overlay-notes a:visited, #overlay-notes a:hover, #overlay-notes a:active {
  color: var(--text);
}

#overlay-notes section+section {
  border-top: 1px solid #d9d0e5;
  padding-top: 20px;
  margin-top: 20px;
}

#overlay-notes .info-updates {
  list-style: disc;
  padding-left: 1.25em;
}

@media(min-width:640px){
  #playing .bar-title-link,#playing #playing-title {pointer-events:none;}
  #playing #playing-title-text {display:inline;pointer-events:auto;}
}
