:root {
  color-scheme: dark;
  --accent: #aa88ff;
  --text: #dddddd;
  --muted: #8a8a8a;
  --chip: #1c1c1c;
  --line: #2a2a2a;
  font: 13px/1.35 "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  letter-spacing: .02em;
  text-transform: uppercase;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; background: #000; color: var(--text); }
h1, h2, p, ul { margin: 0; font: inherit; }
a { color: inherit; }
#bg, .ui { position: fixed; inset: 0; width: 100%; height: 100%; }
#bg { z-index: 0; }
.ui { z-index: 1; pointer-events: none; }
.brand, .counter, .tags, .list, .about { position: absolute; z-index: 1; }
.brand, .about { mix-blend-mode: plus-lighter; }
.brand { top: 24px; left: 24px; display: flex; align-items: center; gap: 14px; color: #fff; }
.brand h1 { font-size: 20px; line-height: 1.1; }
.brand p { margin-top: 2px; color: var(--muted); font-size: 11px; }
.counter {
  top: 24px; right: 24px; display: grid; place-items: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: #0a0a0a; color: #fff; font-size: 14px;
}
.tags { top: 120px; left: 24px; width: 320px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 5px 9px; background: var(--chip); color: #cfcfcf; font-size: 11px; }
.tags .active { background: #e6e6e6; color: #000; }
.list {
  top: 250px; bottom: 0; left: 24px; width: 320px; pointer-events: auto;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
}
.list::-webkit-scrollbar { display: none; }
.card { padding: 18px 0; border-top: 1px solid var(--line); }
.thumb { height: 160px; border-radius: 2px; background: #0a0a0a; overflow: hidden; }
.thumb video { display: block; width: 100%; height: 100%; object-fit: cover; }
.meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-size: 12px; }
.meta h2 { color: #fff; }
.meta p { color: var(--muted); text-align: right; }
.about { top: 50%; right: 90px; width: 380px; transform: translateY(-50%); }
.about section + section { margin-top: 2.2em; }
.about h2 { margin-bottom: 1em; color: var(--accent); }
.about p { margin-bottom: 1em; text-align: justify; }
.about ul { padding: 0; list-style-position: inside; }
.about a { display: block; width: fit-content; margin: 4px 0; pointer-events: auto; transition: opacity 300ms; }
.about a:hover { opacity: .7; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }

@media (max-width: 1100px) {
  .about { right: 24px; width: 320px; }
}

@media (max-width: 760px) {
  .list, .tags { display: none; }
  .about { top: auto; bottom: 24px; left: 24px; right: 24px; width: auto; transform: none; }
  .about p { text-align: left; }
}

@media (max-height: 560px) {
  .about { max-height: calc(100% - 96px); overflow-y: auto; scrollbar-width: none; pointer-events: auto; }
  .about section + section { margin-top: 1.1em; }
  .about h2 { margin-bottom: .55em; }
}
