:root {
  --fog: #e8edef;
  --ink: #16232e;
  --slate: #4a5a65;
  --rule: #c5d0d5;
  --rust: #a8442a;
  --ok: #1f9d5a;
  --warn: #c98a12;
  --panel: #f4f7f8;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fog: #0f171d;
    --ink: #e4ebee;
    --slate: #98a8b1;
    --rule: #25333c;
    --rust: #e0855f;
    --ok: #4ade80;
    --warn: #fbbf24;
    --panel: #141d24;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--fog);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--rust);
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(120% 90% at 50% 0%, rgba(8, 16, 22, 0.88) 0%, rgba(8, 16, 22, 0.4) 55%, rgba(8, 16, 22, 0) 100%);
  }
}

.page {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem) 5rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-weight: 600;
}

.domain {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.langs {
  display: flex;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.langs button {
  background: none;
  border: 0;
  padding: 0.35rem 0.15rem;
  font: inherit;
  color: var(--slate);
  cursor: pointer;
}

.langs button[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rust);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.25em;
}

.lede {
  margin: clamp(2.5rem, 10vh, 6rem) 0 0;
  font-size: clamp(2.6rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.lede-line {
  display: block;
}

.lede .initial {
  font-weight: 900;
}

.lede .rest {
  color: var(--slate);
  display: inline-block;
  animation: unfold 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lede-line:nth-child(2) .rest {
  animation-delay: 0.12s;
}

.lede-line:nth-child(3) .rest {
  animation-delay: 0.24s;
}

@keyframes unfold {
  from {
    opacity: 0;
    transform: translateX(-0.2em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.byline {
  margin: clamp(1.75rem, 5vh, 2.75rem) 0 0;
  max-width: 34rem;
  font-size: 1.0625rem;
  color: var(--slate);
}

.byline strong {
  color: var(--ink);
  font-weight: 700;
}

.wheres {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  font-weight: 700;
}

.release {
  margin: clamp(2.25rem, 7vh, 3.5rem) 0 0;
  border-top: 2px solid var(--rust);
  padding-top: 0.9rem;
  max-width: 44rem;
}

.release a {
  font-weight: 700;
  text-decoration: none;
}

.release p {
  margin: 0.35rem 0 0;
  color: var(--slate);
}

.modes {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: clamp(2.5rem, 8vh, 4rem) 0 0;
  padding: 0.75rem 0;
  background: var(--fog);
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.modes button {
  background: none;
  border: 0;
  padding: 0.5rem 0;
  min-height: 44px;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--slate);
  cursor: pointer;
}

.modes button[aria-pressed="true"] {
  color: var(--ink);
  box-shadow: inset 0 -0.18em 0 var(--rust);
}

.count {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate);
}

.mark {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  flex: none;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 28%, transparent);
}

.mark-open {
  background: none;
  box-shadow: inset 0 0 0 2px var(--warn);
}

.mark-claimed {
  background: none;
  box-shadow: inset 0 0 0 2px var(--slate);
  opacity: 0.8;
}

.mark-watch {
  background: none;
  box-shadow: inset 0 0 0 1px var(--slate);
}

.view[hidden] {
  display: none;
}

.entries {
  display: grid;
  gap: 2.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 52rem) {
  .entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem 4rem;
  }
}

.entry {
  border-top: 2px solid var(--rule);
  padding: 1rem 0 0;
  margin: 0;
  cursor: pointer;
}

.entry-merged {
  border-top-color: var(--ok);
}

.entry-open {
  border-top-color: var(--warn);
}

.entry-merged .entry-state {
  color: var(--ok);
  font-weight: 800;
}

.entry-open .entry-state {
  color: var(--warn);
  font-weight: 800;
}

.entry-title {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}

.entry-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.entry-state {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate);
}

.entry h3 {
  margin: 0.6rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.entry p {
  margin: 0.5rem 0 0;
  color: var(--slate);
  max-width: 42ch;
}

.entry-kind {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate);
}

.entry:hover .entry-title {
  text-decoration: underline;
  text-decoration-color: var(--ok);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.watch {
  margin-top: 3.5rem;
  border-top: 1px dashed var(--rule);
  padding-top: 1rem;
  max-width: 44rem;
}

.watch h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.watch h3 {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.watch p {
  margin: 0.4rem 0 0;
  color: var(--slate);
}

.timeline {
  margin: 2.5rem 0 0;
  padding: 0 0 0 1.75rem;
  list-style: none;
  border-left: 2px solid var(--rule);
}

@media (min-width: 52rem) {
  .timeline {
    padding-left: 2.5rem;
    margin-left: 6.5rem;
  }
}

.tl {
  position: relative;
  padding-bottom: 2.75rem;
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tl.is-in {
  opacity: 1;
  transform: none;
}

.tl::before {
  content: "";
  position: absolute;
  left: -2.1rem;
  top: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 28%, transparent);
}

.tl-open::before {
  background: var(--fog);
  box-shadow: inset 0 0 0 2px var(--warn);
}

.tl-claimed::before {
  background: var(--fog);
  box-shadow: inset 0 0 0 2px var(--slate);
}

@media (min-width: 52rem) {
  .tl::before {
    left: -2.85rem;
  }
}

.tl-milestone::before {
  background: var(--fog);
  box-shadow: inset 0 0 0 2px var(--rust);
}

.tl-date {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--rust);
}

@media (min-width: 52rem) {
  .tl-date {
    position: absolute;
    left: -9rem;
    top: 0.15rem;
    width: 6rem;
    text-align: right;
    color: var(--slate);
  }
}

.tl h3 {
  margin: 0.25rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.tl p {
  margin: 0.5rem 0 0;
  color: var(--slate);
  max-width: 54ch;
}

.tl button {
  margin-top: 0.6rem;
  min-height: 44px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--rust);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(8, 16, 22, 0.55);
  border: 0;
  overflow: hidden;
}

.sheet::backdrop {
  background: rgba(8, 16, 22, 0.55);
}

dialog.sheet:not([open]) { display: none; }

dialog.sheet[open] { display: flex; }

dialog.sheet {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  color: var(--ink);
}

body.sheet-open {
  overflow: hidden;
}

.sheet-panel {
  background: var(--panel);
  color: var(--ink);
  width: 100%;
  max-width: 44rem;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 3px solid var(--rust);
  padding: 1.25rem clamp(1.25rem, 5vw, 2.5rem) calc(2.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 52rem) {
  .sheet {
    align-items: center;
    padding: 2rem;
  }

  .sheet-panel {
    max-height: 84vh;
    border: 2px solid var(--ink);
    border-top: 3px solid var(--rust);
  }
}

.sheet-bar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 0.5rem;
  background: var(--panel);
}

.sheet-close {
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--slate);
  cursor: pointer;
}

.sheet-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1rem;
}

.sheet h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sheet-kind {
  margin: 0.5rem 0 0;
  font-weight: 600;
  color: var(--slate);
}

.sheet-state {
  margin-left: auto;
  font-size: 0.95rem;
  color: var(--slate);
}

.sheet-state-merged {
  color: var(--ok);
}

.sheet-state-open {
  color: var(--warn);
}

.sheet-body p {
  margin: 1rem 0 0;
  max-width: 62ch;
}

.sheet-body h3 {
  margin: 1.75rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-top: 1px solid var(--rule);
  padding-top: 0.9rem;
}

.sheet-link {
  display: inline-block;
  margin-top: 1.75rem;
  font-weight: 800;
}

.foot {
  margin-top: 4rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  font-weight: 600;
  color: var(--slate);
}

body[data-lang="en"] .tr,
body[data-lang="tr"] .en {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lede .rest {
    animation: none;
  }

  .tl {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
