/* Dark catalog. System serif + sans. Posters are local img files. */
:root {
  --bg: #000;
  --ink: #f3efe6;
  --muted: #b7b1a6;
  --line: #2a2a2a;
  --accent: #fd5a1e;
  --heading: #e4d3a6;
  --hover: #707070;
  --accent-dim: #5a2e18;
  --plate: #0c0c0c;
}

html {
  background: #000;
}

body {
  margin: 0;
  background: #000;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

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

.site {
  box-sizing: border-box;
  max-width: 892px;
  margin: 0 auto;
  padding: 18px 16px 12px;
  border-bottom: 1px solid var(--accent);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

a.brand:hover .host {
  color: var(--hover);
}

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

.brand-text {
  min-width: 0;
}

.host {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--muted);
}

.board {
  margin: 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 42px;
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.board a,
.board a:hover {
  color: inherit;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
  padding-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav a,
.nav button.login {
  text-decoration: none;
  color: var(--accent);
}

.nav a:hover,
.nav button.login:hover {
  color: var(--hover);
}

.nav button.login {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.nav .who {
  color: var(--heading);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.wrap {
  box-sizing: border-box;
  max-width: 892px;
  margin: 0 auto;
  padding: 16px 0 8px;
}

.home {
  position: relative;
  box-sizing: border-box;
  max-width: 892px;
  margin: 0 auto;
}

.live-feed {
  display: none;
}

.feed-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.feed-list li {
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
  min-width: 0;
}

.feed-poster {
  flex: 0 0 32px;
  width: 32px;
  height: 47px;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line);
}

.feed-copy {
  min-width: 0;
}

.feed-film,
.feed-who,
.feed-text {
  margin: 0;
}

.feed-film,
#authors .body h3,
#film-authors .body h3 {
  color: var(--heading);
  font-size: 13px;
  line-height: 1.3;
}

#authors .body h3,
#film-authors .body h3 {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

.feed-film a {
  color: inherit;
  text-decoration: none;
}

.feed-who,
#authors .body h3 .meta,
#film-authors .body h3 .meta {
  color: var(--muted);
  font-size: 12px;
}

#authors .body h3 .meta,
#film-authors .body h3 .meta {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

.online-name {
  display: flex;
  align-items: center;
  gap: 6px;
}

.online-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc6a;
}

.online-dot.is-off {
  background: #6e6e6e;
}

.online-watch {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.feed-text {
  display: block;
  max-width: 100%;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none;
}

@media (min-width: 1490px) {
  .live-feed {
    display: block;
    position: absolute;
    top: 16px;
    left: calc(100% + 48px);
    width: 250px;
  }
}

.block {
  margin: 0 0 22px;
}

h2 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heading);
}

.anime-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}

.anime-head h2 {
  margin: 0;
}

.filter-reset {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.filter-reset:hover {
  color: var(--hover);
}

.lead-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
}

.lead {
  margin: 0 0 14px;
  max-width: 40em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-inline: auto;
}

.author-rail {
  position: relative;
  width: 100%;
}

.author-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 28px;
  height: 64px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: #000;
  color: var(--heading);
  font: 28px/1 Georgia, serif;
  cursor: pointer;
  transform: translateY(-50%);
}

.author-prev {
  left: -40px;
}

.author-next {
  right: -40px;
}

.author-arrow:hover,
.author-arrow:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.author-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

#authors .author-track,
#film-authors .author-track {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

#authors .author-track::-webkit-scrollbar,
#film-authors .author-track::-webkit-scrollbar {
  display: none;
}

#authors .author-track .tile,
#film-authors .author-track .tile {
  flex: 0 0 calc((100% - 50px) / 6 - 40px + 20px);
  scroll-snap-align: start;
}

#authors .grid,
#film-authors .grid {
  width: 100%;
  margin: 0;
}

.wrap,
.home,
.author-rail {
  overflow: visible;
}

.tile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--plate);
  border: 1px solid var(--line);
}

#authors .tile[hidden],
#film-authors .tile[hidden],
#anime .tile[hidden] {
  display: none !important;
}

#anime .grid {
  perspective: 980px;
}

#anime .tile {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  --shine: -12%;
  position: relative;
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

#anime .tile:hover {
  --lift: -3px;
  z-index: 2;
  transition: transform 40ms linear, box-shadow 200ms ease-out;
  box-shadow:
    0 8px 14px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(228, 211, 166, 0.1);
}

#anime .tile:focus-within {
  --lift: -3px;
  --rx: 2deg;
  --ry: -1.5deg;
  --shine: 12%;
  z-index: 2;
  box-shadow:
    0 8px 14px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(228, 211, 166, 0.1);
}

#authors .tile,
#film-authors .tile {
  cursor: pointer;
}

#authors .tile:focus,
#film-authors .tile:focus {
  outline: none;
}

#authors .tile:focus-visible,
#film-authors .tile:focus-visible {
  outline: 2px solid #e4d3a6;
  outline-offset: 2px;
}

#authors .tile[aria-pressed="true"],
#film-authors .tile[aria-pressed="true"] {
  border-color: #fd5a1e;
  outline: 2px solid #fd5a1e;
  outline-offset: 2px;
}

#authors .body,
#film-authors .body {
  padding: 4px 8px 3px;
}

#authors .plate,
#film-authors .plate {
  background: #000 url("author-placeholder.jpg?v=20261109p") center center / cover no-repeat;
}

.plate {
  background: var(--plate);
  border-bottom: 1px solid var(--accent-dim);
  aspect-ratio: 225 / 301;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 36px;
  letter-spacing: 0.04em;
}

.poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 225 / 301;
  object-fit: cover;
  background: #000;
  border-bottom: 1px solid var(--accent-dim);
}

#anime .poster,
#anime .plate {
  aspect-ratio: 2 / 3;
}

.cover {
  position: relative;
}

#anime .cover,
#anime .plate {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}

#anime .poster {
  height: 100%;
  aspect-ratio: auto;
}

#anime .cover::after,
#anime .plate::after {
  content: "";
  position: absolute;
  inset: 0 -50%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(228, 211, 166, 0.07) 42%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(253, 90, 30, 0.04) 58%,
    transparent 80%
  );
  opacity: 0;
  transform: translateX(var(--shine));
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}

#anime .tile:hover .cover::after,
#anime .tile:hover .plate::after {
  opacity: 1;
  transition: opacity 200ms ease-out, transform 40ms linear;
}

#anime .tile:focus-within .cover::after,
#anime .tile:focus-within .plate::after {
  opacity: 1;
}

#anime .pick {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  margin: 0;
  padding: 4px 8px 5px;
  background: #fd5a1e;
  color: #000;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
}

#anime .runtime {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  margin: 0;
  padding: 2px 6px 3px;
  background: rgba(0, 0, 0, 0.86);
  color: #e4d3a6;
  border: 1px solid #fd5a1e;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}

#anime .tile:has(.pick) .runtime {
  top: 30px;
}

.badge {
  position: absolute;
  top: 40px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  margin: 0;
  padding: 3px 8px 4px;
  max-width: calc(100% - 16px);
  box-sizing: border-box;
  background: #000;
  color: #e4d3a6;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  box-shadow:
    inset 0 0 0 1px #e4d3a6,
    inset 0 0 0 3px #000,
    inset 0 0 0 4px #fd5a1e;
  -webkit-mask-image:
    radial-gradient(circle at 0 50%, transparent 4px, #000 4.5px),
    radial-gradient(circle at 100% 50%, transparent 4px, #000 4.5px);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle at 0 50%, transparent 4px, #000 4.5px),
    radial-gradient(circle at 100% 50%, transparent 4px, #000 4.5px);
  mask-composite: intersect;
}

#authors .poster[alt="Нагаи Го"] {
  object-position: 38% 28%;
}

#authors .poster[alt="Миура Кэнтаро"] {
  object-position: center 30%;
}

#authors .poster[alt="Такахаси Наохито"] {
  object-position: center 22%;
}

.body {
  min-width: 0;
  max-height: 220px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 8px 8px 10px;
}

h3,
.ru,
.en,
.jp {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

h3 {
  margin: 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

#anime h3 {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  column-gap: 0.35em;
  overflow: hidden;
  white-space: nowrap;
}

#anime h3 .title {
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#anime h3 .meta {
  flex: 0 0 auto;
  overflow: visible;
  white-space: nowrap;
  text-overflow: clip;
}

.ru {
  margin: 1px 0 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 14px;
  line-height: 1.25;
  color: var(--ink);
}

.meta {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.jp {
  margin: 4px 0 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Hiragino Sans", Palatino, serif;
  font-size: 14px;
  color: var(--muted);
}

.en {
  margin: 2px 0 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: #b7b1a6;
}

.kind {
  margin: 3px 0 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #e4d3a6;
}

.fact {
  margin: 2px 0 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
  white-space: normal;
}

.copy .facts {
  margin: 12px 0 0;
}

.copy .fact {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.4;
}

.watch {
  align-self: flex-start;
  margin-top: 8px;
  font-size: 14px;
}

.back {
  margin: 4px 0 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.watch-title {
  margin: 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.sheet {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 16px;
}

.copy {
  flex: 1 1 auto;
  min-width: 0;
}

.copy .ru,
.copy .en,
.copy .jp {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.copy .year {
  margin: 12px 0 0;
  color: var(--heading);
  font-weight: 600;
}

.views {
  margin: 4px 0 0;
  padding-top: 0.45em;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
}

.views .wave {
  display: inline-block;
  animation: view-wave 2.4s ease-in-out infinite;
}

@keyframes view-wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.45em); }
}

.copy .views {
  margin: 8px 0 0;
  font-size: 15px;
}

.art {
  display: block;
  width: 178px;
  flex: 0 0 178px;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border: 1px solid var(--line);
  background: #000;
}

.art[hidden] {
  display: none;
}

.about {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  white-space: normal;
}

.about p {
  margin: 0 0 10px;
}

.about p:lang(ja) {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Segoe UI", sans-serif;
}

.about .subhead {
  margin: 0 0 8px;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: left;
  text-transform: none;
  color: #e4d3a6;
}

.parts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.parts[hidden] {
  display: none;
}

.parts a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: #000;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.parts a:hover {
  color: var(--ink);
}

.parts a[aria-current="page"] {
  border-color: #fd5a1e;
  background: #000;
  color: #e4d3a6;
}

.parts a[aria-current="page"]:hover {
  color: #e4d3a6;
}

.top {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 4px 8px;
  background: rgba(12, 12, 12, 0.92);
  border-bottom: 1px solid var(--line);
  -webkit-user-select: auto;
  user-select: auto;
}

.episodes {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.episodes[hidden] {
  display: none;
}

.ep-btn {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--heading);
  font: 13px/1.3 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

a.ep-btn:hover,
a.ep-btn:focus-visible {
  color: var(--ink);
  border-color: #fd5a1e;
  outline: none;
}

.ep-btn.ep-current {
  color: #e4d3a6;
  border-color: #e4d3a6;
}

.ep-arrow {
  flex: 0 0 auto;
  padding: 2px 8px;
  color: var(--heading);
  font: 20px/1 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
}

.ep-list {
  box-sizing: border-box;
  max-width: 892px;
  margin: 0 auto 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ep-list[hidden] {
  display: none;
}

.ep-row {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 1px;
  align-items: baseline;
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: #000;
  color: var(--ink);
  text-decoration: none;
}

a.ep-row:hover,
a.ep-row:focus-visible {
  border-color: #fd5a1e;
  color: var(--ink);
  outline: none;
}

.ep-row[aria-current="page"] {
  border-color: #fd5a1e;
  color: #e4d3a6;
}

.ep-no {
  grid-row: 1 / span 2;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}

.ep-jp {
  color: var(--muted);
  font-size: 13px;
}

a.ep-arrow:hover,
a.ep-arrow:focus-visible {
  color: #fd5a1e;
}

.ep-arrow[aria-disabled="true"] {
  color: var(--line);
  pointer-events: none;
}

.subs {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin: 0;
}

.subs[hidden] {
  display: none;
}

.subs select {
  margin: 0;
  padding: 2px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--heading);
  font: 13px/1.3 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
  color-scheme: dark;
}

.subs select:not(:disabled):hover,
.subs select:not(:disabled):focus-visible {
  border-color: #fd5a1e;
  color: var(--ink);
  outline: none;
}

.subs select:disabled {
  opacity: 1;
  color: var(--heading);
  -webkit-text-fill-color: var(--heading);
  cursor: default;
  appearance: none;
  -webkit-appearance: none;
}

.sub-size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 0 8px;
  color: var(--heading);
  font: 13px/1 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}

.sub-size[hidden] {
  display: none;
}

.sub-size span {
  min-width: 3.4em;
  color: var(--muted);
}

.sub-size input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 72px;
  height: 16px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sub-size input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: #2a2a2a;
}

.sub-size input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.sub-size input[type="range"]:hover::-webkit-slider-thumb,
.sub-size input[type="range"]:focus-visible::-webkit-slider-thumb {
  background: #fd5a1e;
}

.sub-size input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: #2a2a2a;
  border: 0;
}

.sub-size input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.stage {
  position: relative;
  margin-top: 16px;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.stage:focus {
  outline: none;
}

.stage:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.stage:fullscreen {
  display: flex;
  flex-direction: column;
  border: 0;
}

.stage:fullscreen .screen {
  flex: 1 1 auto;
  min-height: 0;
}

.stage:fullscreen .player {
  height: 100%;
  aspect-ratio: auto;
}

.screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.spin {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: 0;
  color: var(--accent);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.spin[hidden] {
  display: none;
}

.spin svg {
  display: block;
  width: 36px;
  height: 36px;
  animation: spin-ring 0.75s linear infinite;
}

@keyframes spin-ring {
  to {
    transform: rotate(360deg);
  }
}

.player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.caption {
  position: absolute;
  z-index: 2;
  left: 6%;
  right: 6%;
  bottom: 4.5%;
  text-align: center;
  pointer-events: none;
}

.caption span {
  display: inline-block;
  max-width: 100%;
  padding: 0.12em 0.4em;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font: var(--caption-size, 20px)/1.35 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Arial, sans-serif;
  white-space: pre-line;
  border-radius: 2px;
}

.caption[hidden] {
  display: none;
}

.start {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 168px;
  height: 168px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.start[hidden] {
  display: none;
}

.start-mark {
  position: relative;
  z-index: 1;
  width: 140px;
  height: 140px;
  margin: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.02);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cpolygon points='22,8 22,132 137,70' fill='%23fff'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cpolygon points='22,8 22,132 137,70' fill='%23fff'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  backdrop-filter: invert(1);
  -webkit-backdrop-filter: invert(1);
}

@media (prefers-reduced-motion: reduce) {
  .start {
    transition: none;
  }

  .spin svg {
    animation: none;
  }
}

.fade-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 0 2px 0 4px;
  color: #e4d3a6;
  font: 13px/1.2 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.fade-toggle input {
  margin: 0;
  accent-color: #fd5a1e;
  cursor: pointer;
}

.stage.is-full .fade-toggle,
.stage:fullscreen .fade-toggle,
.stage:-webkit-full-screen .fade-toggle {
  display: inline-flex;
}

.stage.is-full .top,
.stage.is-full .bar,
.stage.is-full .start,
.stage:fullscreen .top,
.stage:fullscreen .bar,
.stage:fullscreen .start {
  transition: opacity 0.7s ease;
}

.stage.is-dim .top,
.stage.is-dim .bar,
.stage.is-dim .start {
  opacity: 0;
  pointer-events: none;
}

.stage.is-dim {
  cursor: none;
}

.bar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 8px;
  background: rgba(12, 12, 12, 0.92);
  border-top: 1px solid var(--line);
  color: var(--ink);
  -webkit-user-select: auto;
  user-select: auto;
}

.bar button {
  flex: 0 0 auto;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: 13px/1.2 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.bar button:hover,
.bar button:focus-visible {
  border-color: var(--accent);
  color: var(--heading);
}

.bar input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  height: 16px;
  border: 0;
  background: transparent;
  -webkit-user-select: auto;
  user-select: auto;
  pointer-events: auto;
  cursor: pointer;
}

.bar input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: #2a2a2a;
}

.bar input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.bar input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: #2a2a2a;
  border: 0;
}

.bar input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

#seek {
  --pct: 0%;
  flex: 1 1 auto;
  width: auto;
  min-width: 48px;
  height: 28px;
  margin: 0;
  cursor: pointer;
}

#seek::-webkit-slider-runnable-track {
  height: 28px;
  border-radius: 0;
  background:
    linear-gradient(var(--accent), var(--accent)) left center / var(--pct) 4px no-repeat,
    linear-gradient(#2a2a2a, #2a2a2a) left center / 100% 4px no-repeat;
}

#seek::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: 7px;
  background: #fff;
}

#seek::-moz-range-track {
  height: 28px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(var(--accent), var(--accent)) left center / var(--pct) 4px no-repeat,
    linear-gradient(#2a2a2a, #2a2a2a) left center / 100% 4px no-repeat;
}

#seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

#volume {
  flex: 0 0 72px;
  width: 72px;
  height: 16px;
  align-self: center;
}

#volume::-webkit-slider-runnable-track {
  height: 4px;
}

#volume::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -4px;
}

#volume::-moz-range-track {
  height: 4px;
}

@media (max-width: 360px) {
  .bar {
    flex-wrap: wrap;
    row-gap: 0;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  #seek {
    flex: 1 0 100%;
    order: -1;
    height: 22px;
  }

  #seek::-webkit-slider-runnable-track {
    height: 22px;
  }

  #seek::-webkit-slider-thumb {
    margin-top: 4px;
  }

  #seek::-moz-range-track {
    height: 22px;
  }

  #volume {
    flex: 1 1 36px;
    width: auto;
    min-width: 36px;
  }
}

.time {
  flex: 0 0 auto;
  color: var(--muted);
  font: 12px/1 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rate {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font: 12px/1 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  white-space: nowrap;
}

.rate select {
  margin: 0;
  padding: 0 11px 0 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'%3E%3Cpath fill='%23e4d3a6' d='M0 0h8L4 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 7px 5px;
  color: var(--heading);
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.rate select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.bar button.play,
.bar button.pip,
.bar button.full {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.bar button.play:hover,
.bar button.play:focus-visible,
.bar button.pip:hover,
.bar button.pip:focus-visible,
.bar button.full:hover,
.bar button.full:focus-visible {
  border-color: transparent;
  background: transparent;
}

.play {
  width: 28px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.play svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

.play .icon-pause,
.play.is-playing .icon-play {
  display: none;
}

.play.is-playing .icon-pause {
  display: block;
}

.pip {
  width: 28px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pip[hidden] {
  display: none;
}

.pip svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
  stroke: currentColor;
}

.pip .icon-pip-off {
  display: none;
}

.pip.is-pip .icon-pip-on {
  display: none;
}

.pip.is-pip .icon-pip-off {
  display: block;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.full {
  width: 28px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.full svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.full .icon-shrink {
  display: none;
}

.full.is-full .icon-expand {
  display: none;
}

.full.is-full .icon-shrink {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .bar button,
  .subs select,
  .stage {
    transition: none;
  }
}

.preroll {
  position: absolute;
  z-index: 8;
  inset: 0;
  background: #000;
}

.preroll[hidden] {
  display: block !important;
  opacity: 0;
  pointer-events: none;
}

.preroll-tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  margin: 0;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preroll-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  pointer-events: none;
}

.preroll-steam {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--heading);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--heading);
  font: 15px/1 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
}

.preroll-steam:hover,
.preroll-steam:focus-visible {
  border-color: var(--accent);
  color: var(--ink);
}

.preroll-skip {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 10px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--heading);
  border-radius: 999px;
  background: #000;
  color: var(--heading);
  font: 15px/1 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.preroll-skip:hover,
.preroll-skip:focus-visible {
  border-color: var(--accent);
  color: var(--ink);
}

.preroll-volume {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  width: 92px;
  height: 28px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid var(--heading);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.preroll-volume::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: #6a6a6a;
}

.preroll-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.preroll-volume::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: #6a6a6a;
  border: 0;
}

.preroll-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.preroll-volume:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.missing {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.comments {
  margin: 28px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.comments h2 {
  margin: 0 0 14px;
  color: var(--heading);
  font-size: 18px;
  font-weight: 600;
}

.comment-form {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--plate);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.comment-form button {
  justify-self: start;
  margin: 0;
  padding: 8px 16px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: #000;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.comment-form button:hover,
.comment-form button:focus-visible {
  background: #ff7a42;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.comment-vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 28px;
  flex: 0 0 auto;
}

.comment-vote button {
  margin: 0;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #b7b1a6;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.comment-vote button:hover,
.comment-vote button:focus-visible {
  color: #e4d3a6;
}

.comment-vote button[aria-pressed="true"] {
  color: #fd5a1e;
}

.comment-score {
  color: #e4d3a6;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.comment-main {
  min-width: 0;
  flex: 1;
}

.comment-meta {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.comment-name {
  margin-right: 8px;
  color: var(--heading);
  font-weight: 600;
}

.comment-text {
  margin: 0;
  color: var(--ink);
}

.foot {
  box-sizing: border-box;
  max-width: 892px;
  margin: 0 auto;
  padding: 8px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.foot p {
  margin: 0 0 4px;
}

@media (max-width: 640px) {
  .sheet {
    flex-direction: column;
  }

  .art {
    width: min(100%, 178px);
    flex-basis: auto;
  }

  .site {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 14px;
  }

  .board {
    font-size: 36px;
  }

  .nav {
    justify-content: flex-start;
    padding-bottom: 0;
  }

  h3 {
    font-size: 16px;
  }

  #authors .body h3,
  #film-authors .body h3 {
    font-size: 13px;
  }

  #authors .body h3 .meta,
  #film-authors .body h3 .meta {
    font-size: 12px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #authors .author-track .tile,
  #film-authors .author-track .tile {
    flex-basis: calc((100% - 20px) / 3 - 40px + 20px);
  }

  .plate {
    font-size: 32px;
  }

  .caption span {
    font-size: var(--caption-size, 16px);
  }
}

@media (max-width: 460px) {
  .grid {
    grid-template-columns: 1fr;
  }

  #authors .author-track .tile,
  #film-authors .author-track .tile {
    flex-basis: calc(100% / 1.5 - 40px + 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #authors .author-track,
  #film-authors .author-track {
    scroll-behavior: auto;
  }

  .views .wave {
    animation: none;
  }

  #anime .tile,
  #anime .cover::after,
  #anime .plate::after {
    transition: none;
  }

  #anime .tile:hover,
  #anime .tile:focus-within {
    transform: translateY(-2px);
  }

  #anime .tile:hover .cover::after,
  #anime .tile:focus-within .cover::after,
  #anime .tile:hover .plate::after,
  #anime .tile:focus-within .plate::after {
    opacity: 0;
    transform: none;
  }
}
