/* KICKFLIP · palette: monochrome + one pop (signal lime) · macrostructure: Workbench (infinite canvas + index list) · 2026-10-18 */

:root {
  color-scheme: dark;
  --bg: oklch(0.15 0.006 265);
  --bg-2: oklch(0.19 0.007 265);
  --panel: oklch(0.17 0.006 265 / 0.86);
  --ink: oklch(0.97 0.004 95);
  --ink-2: oklch(0.79 0.008 265);
  --ink-3: oklch(0.6 0.01 265);
  --line: oklch(1 0 0 / 0.1);
  --line-2: oklch(1 0 0 / 0.2);
  --accent: oklch(0.9 0.21 128);
  --accent-ink: oklch(0.22 0.06 128);
  --el-street: oklch(0.76 0.16 50);
  --el-snow: oklch(0.88 0.07 230);
  --el-water: oklch(0.74 0.13 200);
  --el-earth: oklch(0.72 0.12 85);
  --el-sky: oklch(0.72 0.15 300);
  --shade: oklch(0.08 0.004 265);
  --font-display: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: 16px;
  --page-gutter: clamp(16px, 3vw, 48px);
  --ctl: 36px;
  --list-cols: minmax(0, 3fr) 76px 56px 104px minmax(0, 2fr) 136px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body[data-view="pixels"],
body.modal {
  overflow: hidden;
}

button {
  font: inherit;
  color: inherit;
}

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

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

/* ---- top ------------------------------------------------------------------ */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter);
  pointer-events: none;
}

body:not([data-view="pixels"]) .top {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.top > * {
  pointer-events: auto;
}

.brand,
.top-tools {
  display: flex;
  align-items: center;
  height: 48px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.top-tools {
  gap: 8px;
  padding: 0 6px;
}

.brand .count {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-left: 1px solid var(--line);
}

.mark {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 0 14px;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-stretch: 125%;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.mark b {
  font-weight: 900;
  color: var(--accent);
}

.mark span {
  font-weight: 300;
}


/* ---- grid view ------------------------------------------------------------ */

.grid-view {
  position: fixed;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.grid-view.dragging {
  cursor: grabbing;
}

body:not([data-view="pixels"]) .grid-view,
body[data-view="pixels"] .list-view,
body[data-view="grid"] :is(.list-head, .rows, .list-more),
body[data-view="list"] :is(.cards, .cards-more, .lib-bar) {
  display: none;
}

#field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#tiles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tile {
  --u: 150px;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--avg);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  opacity: 0;
  transition: opacity 0.25s;
  contain: strict;
}

.grid-view.dragging .tile {
  cursor: grabbing;
}

.tile.shown {
  opacity: 1;
}

.tile.shown.off {
  opacity: 0.2;
  pointer-events: none;
}

.tile.off .t-feat {
  display: none;
}

.tile .mosaic,
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.tile .mosaic {
  image-rendering: pixelated;
}

.tile img {
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.18s;
  -webkit-user-drag: none;
}

.tile[data-full] .cover,
.tile .alt.on {
  opacity: 1;
}

.tile .alt.on {
  transition: none;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 38% 0 0 0;
  z-index: 1;
  background: linear-gradient(to top, oklch(0.08 0 0 / 0.82), oklch(0.08 0 0 / 0));
  opacity: 0;
  transition: opacity 0.25s;
}

.tile[data-full]:not(.small)::after {
  opacity: 1;
}

.t-meta,
.t-title,
.t-seen {
  position: absolute;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.tile[data-full]:not(.small) :is(.t-meta, .t-title) {
  opacity: 1;
}

.t-meta {
  top: calc(var(--u) * 0.055);
  left: calc(var(--u) * 0.06);
  font-family: var(--font-mono);
  font-size: clamp(9px, calc(var(--u) * 0.045), 13px);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-shadow: 0 1px 3px oklch(0 0 0 / 0.7);
}

.t-title {
  left: calc(var(--u) * 0.06);
  right: calc(var(--u) * 0.06);
  bottom: calc(var(--u) * 0.06 + 3px);
  font-stretch: 115%;
  font-weight: 800;
  font-size: clamp(11px, calc(var(--u) * 0.088), 44px);
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--ink);
  overflow-wrap: break-word;
}

.t-feat {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: clamp(6px, calc(var(--u) * 0.05), 16px);
  aspect-ratio: 1;
  background: var(--accent);
}

.t-seen {
  top: calc(var(--u) * 0.055);
  right: calc(var(--u) * 0.06 + 12px);
  font-family: var(--font-mono);
  font-size: clamp(9px, calc(var(--u) * 0.042), 12px);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.tile.watched[data-full]:not(.small) .t-seen {
  opacity: 1;
}

.tile.watched :is(img, .mosaic),
.row.watched .row-thumb img {
  filter: grayscale(1) brightness(0.52);
}

.tile.watched .t-title {
  color: var(--ink-2);
}

.t-prog {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: oklch(1 0 0 / 0.18);
  display: none;
}

.t-prog i {
  display: block;
  height: 100%;
  background: var(--accent);
}

.has-prog .t-prog {
  display: block;
}

@media (hover: hover) {
  .tile.shown:not(.off):hover {
    outline: 2px solid var(--ink);
    outline-offset: -2px;
  }
}

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

.hover-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  max-width: 250px;
  padding: 7px 10px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}

.hover-label b {
  font-stretch: 112%;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.15;
  text-transform: uppercase;
}

.hover-label span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  text-transform: uppercase;
}

.empty {
  text-align: center;
  color: var(--ink-2);
}

.grid-view .empty {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 6;
  padding: 20px 24px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: default;
}

.empty p {
  margin: 0 0 12px;
}

/* ---- floating bar ----------------------------------------------------------- */

.bar {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  translate: -50% 0;
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: var(--panel);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line);
}

.bar-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.bar-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.bar-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  animation: sub-in 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes sub-in {
  from {
    opacity: 0;
    translate: 0 6px;
  }
}

.seg {
  display: inline-flex;
  flex: none;
  border: 1px solid var(--line-2);
}

.seg-sub {
  flex: 0 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.seg-sub::-webkit-scrollbar {
  display: none;
}

.seg button,
.chip,
.zoom button {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: var(--ctl);
  padding: 0 12px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.seg button + button {
  border-left: 1px solid var(--line-2);
}

.seg button .n {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
}

.seg button[aria-pressed="true"],
.chip[aria-pressed="true"],
.toggle[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.seg button[aria-pressed="true"] .n {
  color: var(--bg);
  opacity: 0.6;
}

.seg button:disabled {
  color: var(--ink-3);
  cursor: default;
}

.seg button:disabled .px {
  opacity: 0.4;
}

.chip {
  border: 1px solid var(--line-2);
}

@media (hover: hover) {
  .seg button:not([aria-pressed="true"]):not(:disabled):hover,
  .chip:not([aria-pressed="true"]):hover,
  .zoom button:hover,
  .toggle:not([aria-pressed="true"]):hover {
    background: oklch(1 0 0 / 0.08);
  }
}

.px,
.el-px {
  flex: none;
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.el-px {
  width: 0.62em;
  height: 0.62em;
  margin-right: 0.45em;
  vertical-align: 0.02em;
}

[data-el="street"] {
  background: var(--el-street) !important;
}
[data-el="snow"] {
  background: var(--el-snow) !important;
}
[data-el="water"] {
  background: var(--el-water) !important;
}
[data-el="earth"] {
  background: var(--el-earth) !important;
}
[data-el="sky"] {
  background: var(--el-sky) !important;
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}

/* With no filter the search box also takes Reset's slot (84px + 8px gap), so the bar keeps its width. */
.search input {
  width: 302px;
  height: var(--ctl);
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 500 13px var(--font-display);
}

.bar.is-filtered .search input {
  width: 210px;
}

.search input::placeholder {
  color: var(--ink-3);
}

.search input:focus-visible {
  outline-offset: -1px;
  border-color: var(--accent);
}

.count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  padding: 0 4px;
}

.zoom {
  display: inline-flex;
  border: 1px solid var(--line-2);
}

.zoom button {
  width: var(--ctl);
  padding: 0;
  font-size: 18px;
  font-weight: 400;
}

.zoom button + button {
  border-left: 1px solid var(--line-2);
}

body:not([data-view="pixels"]) .zoom {
  display: none;
}

/* Secondary filters live in a panel that opens above the bar. */
.more {
  position: absolute;
  right: -1px;
  bottom: calc(100% + 8px);
  width: 320px;
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--panel);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line);
  animation: sub-in 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.more > * {
  min-width: 0;
}

.more-group {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
}

.more-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

/* Decades wrap into rows of four so any number of them fits the panel. */
.seg-fill {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
}

.seg-fill button {
  padding: 0;
  background: oklch(0.17 0.006 265);
}

.seg-fill button + button {
  border-left: 0;
}

.toggle {
  width: 100%;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.toggle-n {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
}

.toggle[aria-pressed="true"] .toggle-n {
  color: var(--bg);
  opacity: 0.6;
}

/* Always occupies its slot; only its visibility changes, so the bar never shifts. */
.reset {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--ctl);
  padding: 0 8px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: none;
  width: 84px;
  justify-content: center;
}

.reset.on {
  display: inline-flex;
}

.reset-x {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.reset-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (hover: hover) {
  .reset:hover {
    color: var(--ink);
  }
}

@media (pointer: coarse) {
  .zoom {
    display: none;
  }
}

@media (max-width: 700px) {
  .bar {
    left: var(--gutter);
    right: var(--gutter);
    translate: none;
    width: auto;
    max-width: none;
  }
  .bar-main {
    flex-direction: column;
    align-items: stretch;
  }
  .seg-el {
    display: flex;
  }
  .seg-el button {
    flex: 1 1 auto;
    padding: 0 6px;
    gap: 5px;
  }
  .bar-tools {
    justify-content: flex-start;
  }
  .search {
    flex: 1 1 auto;
    min-width: 0;
  }
  .search input {
    width: 100%;
  }
  .count,
  .zoom,
  .seg-sub .n,
  .all-el,
  .reset-label {
    display: none !important;
  }
  .reset {
    width: var(--ctl);
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line-2);
  }
  .bar.is-filtered .search input {
    width: 100%;
  }
  .seg-sub {
    flex: 1 1 auto;
    display: flex;
  }
  .seg-sub button {
    flex: 1 1 auto;
    padding: 0 9px;
  }
  .more {
    left: -1px;
    width: auto;
  }
}

@media (max-width: 400px) {
  .seg-el .px {
    display: none;
  }
}

/* ---- list view ---------------------------------------------------------------- */

.list-view {
  padding: 104px var(--page-gutter) 200px;
}

.list-intro {
  margin-bottom: 40px;
}

.list-intro h2 {
  margin: 0 0 8px;
  font-stretch: 120%;
  font-weight: 900;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.list-intro p {
  margin: 0;
  max-width: 56ch;
  color: var(--ink-2);
  text-wrap: pretty;
}

.list-head,
.row {
  display: grid;
  grid-template-columns: var(--list-cols);
  gap: 16px;
  align-items: center;
}

.list-head {
  position: sticky;
  top: 69px;
  z-index: 2;
  padding: 10px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.list-head button {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.list-head button:hover,
.list-head [aria-sort="ascending"],
.list-head [aria-sort="descending"] {
  color: var(--ink);
}

.list-head [aria-sort="ascending"]::after {
  content: " \2191";
}

.list-head [aria-sort="descending"]::after {
  content: " \2193";
}

.h-title {
  padding-left: 144px !important;
}

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

.row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

@media (hover: hover) {
  .row:hover {
    background: oklch(1 0 0 / 0.03);
  }
}

.row-open {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.row-thumb {
  position: relative;
  display: block;
  width: 128px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--avg);
}

.row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.row-thumb .t-feat {
  width: 7px;
}

.row-title {
  min-width: 0;
}

.row-title b {
  display: block;
  font-stretch: 112%;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.row.watched .row-title b {
  color: var(--ink-2);
}

.row-title small {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
}

.row-logline {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.row-meta {
  display: none !important;
  font-family: var(--font-mono);
  font-size: 11px !important;
  text-transform: uppercase;
}

.c {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
}

.c-cast {
  font-family: var(--font-display);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-head .c-cast {
  font-family: var(--font-mono);
  font-size: 11px;
}

.c-cast em {
  font-style: normal;
  color: var(--ink-3);
}

.row-seen {
  justify-self: start;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.row-seen[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.list-empty {
  padding: 48px 0;
}

@media (max-width: 860px) {
  :root {
    --list-cols: minmax(0, 1fr) auto;
  }
  .list-head .c,
  .row .c {
    display: none;
  }
  .row-meta {
    display: block !important;
  }
  .row-logline {
    display: none !important;
  }
  .row-open {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
  }
  .row-thumb {
    width: 112px;
  }
  .h-title {
    padding-left: 124px !important;
  }
  .row-title b {
    font-size: 16px;
  }
}

/* ---- player ------------------------------------------------------------------- */

.player {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.pl-backdrop {
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.4s;
}

.player.open .pl-backdrop {
  opacity: 1;
}

.pl-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: clip;
  overscroll-behavior: contain;
}

.pl-top {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 var(--gutter);
  background: oklch(0.15 0.006 265 / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pl-top,
.pl-info {
  opacity: 0;
  transition: opacity 0.3s, translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pl-info {
  translate: 0 16px;
}

.player.ready :is(.pl-top, .pl-info) {
  opacity: 1;
  translate: 0 0;
}

.pl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--ctl);
  padding: 0 12px;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pl-btn kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
}

@media (hover: hover) {
  .pl-btn:hover {
    background: oklch(1 0 0 / 0.08);
  }
}

.pl-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pl-pos {
  min-width: 44px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

.pl-stage {
  position: relative;
  width: min(100% - 2 * var(--gutter), (100svh - 170px) * 16 / 9);
  aspect-ratio: 16 / 9;
  margin: 4px auto 0;
  background: var(--avg, #000);
  visibility: hidden;
}

.pl-stage:focus {
  outline: none;
}

.pl-stage:fullscreen {
  width: 100vw;
  height: 100vh;
  margin: 0;
  aspect-ratio: auto;
  background: #000;
}

.player.ready .pl-stage {
  visibility: visible;
}

.pl-poster,
.pl-yt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pl-poster {
  object-fit: cover;
}

.pl-yt {
  opacity: 0;
  transition: opacity 0.5s;
}

.pl-yt.on {
  opacity: 1;
}

.pl-yt iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.pl-resume {
  position: absolute;
  left: 12px;
  top: 12px;
  margin: 0;
  padding: 6px 10px;
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 12px;
  pointer-events: none;
}

.pl-flip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5;
  overflow: hidden;
  background: var(--shade);
  pointer-events: none;
}

.pl-flip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-info {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 88px);
  /* As wide as the video above it, never narrower than 1180px. */
  max-width: max(1180px, calc((100svh - 170px) * 16 / 9 + 2 * var(--gutter)));
  margin: 0 auto;
  padding: 36px var(--gutter) 120px;
}

.pl-main {
  min-width: 0;
  container-type: inline-size;
}

/* Same face as the title at 100px, used to measure the title's longest word. */
.pl-title-probe {
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
  font-stretch: 118%;
  font-weight: 900;
  font-size: 100px;
  line-height: 1;
  text-transform: uppercase;
}

.pl-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.pl-info h1 {
  margin: 0 0 20px;
  font-stretch: 118%;
  font-weight: 900;
  /* --wr is the longest word's width in em, set by the player, so that word always fits the column. */
  font-size: clamp(20px, calc(100cqi / var(--wr, 9)), 88px);
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.pl-logline {
  margin: 0 0 14px;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.35;
  text-wrap: pretty;
}

.pl-desc {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-2);
  text-wrap: pretty;
}

.pl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
}

.pl-seen,
.pl-ext {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.pl-seen {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.pl-seen[aria-pressed="true"] {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.pl-chapters {
  margin-top: 44px;
}

.pl-chapters h2,
.pl-credits dt {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.pl-chapters ol {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 260px;
  column-gap: 24px;
}

.pl-chapters li {
  break-inside: avoid;
}

.pl-chapters button {
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  font-size: 15px;
  cursor: pointer;
}

.pl-chapters .time {
  flex: none;
  width: 58px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-3);
}

@media (hover: hover) {
  .pl-chapters button:hover {
    color: var(--accent);
  }
}

.pl-credits dl {
  margin: 0;
}

.pl-credits dl > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.pl-credits dd {
  margin: 0;
  font-size: 15px;
}

.pl-credits .dim {
  color: var(--ink-3);
  font-size: 13px;
}

.pl-people {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
}

.pl-person {
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}

@media (hover: hover) {
  .pl-person:hover {
    text-decoration-color: var(--accent);
  }
}

.pl-note {
  margin: 8px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  .pl-info {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 28px;
  }
}

@media (max-width: 700px) {
  .pl-auto {
    display: none;
  }
  .pl-top .pl-btn {
    padding: 0 10px;
  }
  .pl-nav {
    gap: 6px;
  }
  .pl-pos {
    min-width: 0;
  }
  .pl-home {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .pl-btn kbd {
    display: none;
  }
}

/* ---- grid of thumbnails ---------------------------------------------------------- */

.lib-bar {
  display: flex;
  justify-content: flex-end;
  margin: -12px 0 20px;
}

.lib-sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.lib-sort select {
  height: var(--ctl);
  padding: 0 32px 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23aab' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--ink);
  font: 600 13px var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  appearance: none;
  cursor: pointer;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 32px 20px;
}

.card {
  position: relative;
  min-width: 0;
}

.card-open {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--avg);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.2s;
}

@media (hover: hover) {
  .card-open:hover .card-thumb img {
    transform: scale(1.035);
  }
  .card-open:hover .card-title {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 4px;
  }
}

.card.watched .card-thumb img {
  filter: grayscale(1) brightness(0.52);
}

.card-thumb .t-feat {
  width: 10px;
}

.card-time {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 6px;
  background: oklch(0.08 0 0 / 0.82);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
}

.card-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.card-title {
  font-stretch: 112%;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

.card.watched .card-title {
  color: var(--ink-2);
}

.card-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--ink-2);
}

.card-cast {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  color: var(--ink-3);
}

/* Status sits over the thumbnail's top-left corner. */
.card-seen {
  position: absolute;
  top: 8px;
  left: 8px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  background: oklch(0.12 0.006 265 / 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.card-seen[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.card.has-prog .card-seen {
  font-family: var(--font-mono);
}

@media (hover: hover) {
  .card:not(.watched):not(.has-prog) .card-seen {
    opacity: 0;
  }
  .card:hover .card-seen,
  .card-seen:focus-visible {
    opacity: 1;
  }
}

.cards-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.cards-more-info {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}

/* ---- list paging + footer -------------------------------------------------------- */

.list-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.list-more-info {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}

.site-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
  margin: 96px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}

.site-foot p {
  margin: 0;
  max-width: 60ch;
}

.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-foot a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}

.site-foot a:hover,
.site-foot a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

/* ---- film as its own page ---------------------------------------------------------- */

.pl-home {
  display: none;
  align-items: baseline;
  gap: 5px;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-stretch: 125%;
  font-size: 17px;
  line-height: 1;
}

.pl-home b {
  font-weight: 900;
}

.pl-home span {
  font-weight: 300;
}

.player.as-page .pl-home {
  display: inline-flex;
}

.player.as-page .pl-close {
  display: none;
}

.player.as-page .pl-backdrop {
  opacity: 1;
  transition: none;
}

body[data-mode="page"] :is(.top, main, .bar) {
  display: none;
}

/* ---- autoplay + up next ------------------------------------------------------------ */

.pl-auto::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink-3);
}

.pl-auto[aria-pressed="true"]::before {
  background: var(--accent);
  border-color: var(--accent);
}

@media not ((hover: hover) and (pointer: fine)) {
  .pl-auto {
    display: none;
  }
}

.pl-next {
  position: absolute;
  right: 16px;
  /* Clears YouTube's own control bar so fullscreen and settings stay clickable. */
  bottom: 64px;
  z-index: 3;
  width: min(440px, 100% - 32px);
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px 14px;
  padding: 12px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2);
  animation: sub-in 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pl-next-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.pl-next-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.pl-next-k {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

.pl-next-k b {
  color: var(--accent);
  font-weight: 500;
}

.pl-next-t {
  font-stretch: 112%;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.pl-next-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

.pl-next-play {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ---- doc pages (legal, credits) ---------------------------------------------------- */

body.doc .top {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.doc-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 128px var(--gutter) 0;
}

.doc-wide {
  max-width: 1180px;
}

.doc-main h1 {
  margin: 0 0 16px;
  font-stretch: 120%;
  font-weight: 900;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.doc-lede {
  margin: 0 0 40px;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.4;
  text-wrap: pretty;
}

.doc-main h2 {
  margin: 40px 0 10px;
  font-stretch: 112%;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
}

.doc-main p {
  color: var(--ink-2);
  text-wrap: pretty;
}

.doc-todo {
  padding: 10px 14px;
  border: 1px dashed var(--accent);
  color: var(--accent) !important;
  font-family: var(--font-mono);
  font-size: 13px;
}

.doc-updated {
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3) !important;
}

.doc-foot {
  margin: 96px var(--gutter) 0;
  padding-bottom: 40px;
}

@media (min-width: 1213px) {
  .doc-foot {
    margin-left: auto;
    margin-right: auto;
  }
}

.credits-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.credits-head {
  border-bottom-color: var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.credits-row a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}

.credits-row b {
  font-stretch: 112%;
  font-weight: 800;
  text-transform: uppercase;
}

.credits-row .dim {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
}

@media (max-width: 700px) {
  .credits-head {
    display: none;
  }
  .credits-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .credits-row > span:not(:first-child) {
    color: var(--ink-2);
    font-size: 14px;
  }
}

/* ---- report + removal ------------------------------------------------------------- */

.ico {
  width: 14px;
  height: 14px;
  flex: none;
}

.pl-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (hover: hover) {
  .pl-flag:hover {
    color: var(--ink);
  }
}

.pl-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (hover: hover) {
  .pl-link:hover {
    color: var(--ink);
    text-decoration-color: var(--accent);
  }
}

.pl-error {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(20px, 6%, 64px);
  background: oklch(0.12 0.006 265 / 0.86);
}

.pl-error p {
  margin: 0;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: clamp(15px, 1.6vw, 18px);
  text-wrap: pretty;
}

.pl-error b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 26px);
  text-transform: uppercase;
}

.pl-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

dialog.report {
  width: min(460px, 100% - 2 * var(--gutter));
  max-height: calc(100% - 2 * var(--gutter));
  padding: 0;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
}

dialog.report::backdrop {
  background: oklch(0.08 0.004 265 / 0.72);
  backdrop-filter: blur(4px);
}

.report-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.report-form h2 {
  margin: 0;
  font-stretch: 115%;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}

.report-film {
  margin: -6px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}

.report-film span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}

.report-form fieldset {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

.report-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  cursor: pointer;
}

.report-opt:has(input:checked) {
  border-color: var(--ink);
  background: oklch(1 0 0 / 0.05);
}

.report-opt input {
  accent-color: var(--accent);
  margin: 0;
}

.report-field {
  display: grid;
  gap: 6px;
}

.report-field span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.report-field textarea,
.report-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 15px var(--font-display);
  resize: vertical;
}

.report-field :is(textarea, input):focus-visible {
  outline-offset: -1px;
  border-color: var(--accent);
}

/* Spam trap: invisible to people, filled in by bots. */
.report-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.report-error {
  margin: 0;
  color: oklch(0.78 0.15 30);
  font-size: 14px;
}

.report-done {
  margin: 0;
  font-size: 17px;
  text-wrap: pretty;
}

.report-proto {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}

.report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.report-send {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ---- 404: "Lost the line" ------------------------------------------------------------ */

body.lost {
  position: relative;
  min-height: 100svh;
}

body.lost .top {
  background: transparent;
  border-bottom: 0;
}

.lost-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  touch-action: none;
}

.lost-main {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: clamp(20px, 4svh, 40px);
  min-height: 100svh;
  padding: 72px var(--page-gutter) calc(var(--lost-s, 32px) * 2.6 + 24px);
  pointer-events: none;
}

.lost-stage {
  width: 100%;
  height: min(46svh, calc((100vw - 2 * var(--page-gutter)) * 7 / 17));
}

.lost-copy {
  max-width: 520px;
}

.lost-copy a,
.lost-copy button {
  pointer-events: auto;
}

.lost-copy h1 {
  margin: 0 0 12px;
  font-stretch: 120%;
  font-weight: 900;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.lost-copy h1.shake {
  animation: lost-shake 0.34s linear;
}

@keyframes lost-shake {
  0%, 100% { translate: 0 0; }
  20% { translate: -6px 3px; }
  40% { translate: 5px -4px; }
  60% { translate: -4px -2px; }
  80% { translate: 3px 2px; }
}

.lost-lede {
  margin: 0 0 14px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.4;
  color: var(--ink-2);
  text-wrap: pretty;
}

.lost-hint {
  min-height: 1.6em;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
  text-wrap: pretty;
}

.lost-count {
  white-space: nowrap;
}

.lost-count b {
  color: var(--accent);
  font-weight: 600;
}

.lost-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lost-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.lost-btn:hover {
  border-color: var(--ink-2);
}

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

.lost-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.lost-primary:hover {
  border-color: var(--ink);
  background: var(--ink-2);
}

.lost-win:empty {
  display: none;
}

.lost-win {
  margin-top: 20px;
}

.lost-win p {
  margin: 0 0 12px;
  font-size: 17px;
  text-wrap: pretty;
}

.lost-go {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.lost-go:hover {
  border-color: var(--ink);
}

.lost-label {
  position: absolute;
  z-index: 3;
  max-width: min(360px, 70vw);
  padding: 4px 8px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
}

@media (max-width: 640px) {
  .lost-stage {
    height: min(40svh, calc((100vw - 2 * var(--page-gutter)) * 5 / 11));
  }
}

@media (min-width: 1100px) {
  .lost-main {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    align-items: end;
    column-gap: 48px;
  }
  .lost-stage {
    height: clamp(220px, 50svh, 520px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lost-copy h1.shake {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-next {
    animation: none;
  }
  .tile,
  .tile img,
  .pl-backdrop,
  .pl-top,
  .pl-info,
  .pl-yt {
    transition-duration: 0.01ms !important;
  }
  .pl-info {
    translate: 0 0;
  }
  .bar-sub,
  .more {
    animation: none;
  }
}
