/* Shared inner-page accents */
.page-title > span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 220, 204, 0.32);
}

.page-title > em {
  color: var(--gold);
}

.inner-page .starfield {
  opacity: 0.38;
}

.changelog-hero .page-shell,
.bugs-hero .page-shell {
  position: relative;
}

/* Changelog */
.changelog-hero {
  position: relative;
  overflow: hidden;
}

.changelog-hero::before {
  content: "";
  position: absolute;
  top: -44%;
  right: -5%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 123, 150, 0.11), transparent 66%);
  pointer-events: none;
}

.changelog-hero-orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 5%;
  width: 310px;
  height: 310px;
  transform: translateY(-50%);
  border: 1px solid rgba(228, 220, 204, 0.055);
  border-radius: 50%;
  animation: orbit-spin 80s linear infinite;
  pointer-events: none;
}

.changelog-hero-orbit::before,
.changelog-hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.changelog-hero-orbit::before {
  inset: 18%;
  border: 1px dashed rgba(228, 220, 204, 0.08);
}

.changelog-hero-orbit::after {
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(185, 158, 112, 0.6);
  transform: translate(-50%, -50%);
}

.changelog-hero-orbit span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--paper-faint);
}

.changelog-hero-orbit span:first-child { top: -2px; left: 50%; }
.changelog-hero-orbit span:last-child { right: 15%; bottom: 12%; background: var(--gold); }

.log-workspace {
  padding: 76px 0 112px;
}

.log-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.filter-group button {
  display: inline-flex;
  height: 34px;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--paper-faint);
  font: 9px/1 var(--font-mono);
  letter-spacing: 0.06em;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.filter-group button span {
  color: rgba(185, 158, 112, 0.42);
  font-size: 7px;
}

.filter-group button:hover {
  color: var(--paper-soft);
}

.filter-group button.is-active {
  border-color: var(--line-strong);
  background: rgba(229, 210, 171, 0.035);
  color: var(--gold-bright);
}

.log-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper-faint);
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.icon-button:hover {
  border-color: rgba(229, 210, 171, 0.32);
  background: rgba(229, 210, 171, 0.04);
  color: var(--gold-bright);
}

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

.log-list {
  position: relative;
  border-top: 1px solid var(--line);
}

.log-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 238px;
  width: 1px;
  background: linear-gradient(to bottom, var(--line), rgba(228, 220, 204, 0.02));
}

.log-entry {
  position: relative;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.45s ease;
  scroll-margin-top: 100px;
}

.log-entry:hover {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.012), transparent 62%);
}

.log-entry.is-highlighted {
  animation: record-highlight 2.2s var(--ease-soft);
}

@keyframes record-highlight {
  0%, 100% { background-color: transparent; }
  25% { background-color: rgba(185, 158, 112, 0.06); }
}

.log-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 42px 44px 42px 0;
}

.log-version {
  color: var(--gold-bright);
  font: 27px/1 var(--font-latin);
  letter-spacing: -0.01em;
}

.log-date {
  margin-top: 12px;
  color: var(--paper-faint);
  font: 8px/1 var(--font-mono);
  letter-spacing: 0.06em;
}

.log-channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: rgba(236, 229, 217, 0.3);
  font: 7px/1 var(--font-mono);
  letter-spacing: 0.08em;
}

.log-channel::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.log-channel-beta::before {
  background: var(--gold);
}

.log-node {
  position: absolute;
  top: 46px;
  right: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(229, 210, 171, 0.7);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 14px rgba(229, 210, 171, 0.22);
}

.log-content {
  padding: 40px 0 46px 48px;
}

.log-entry-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.log-entry-heading h2 {
  font: 34px/1.3 var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.log-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.log-tags span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: rgba(236, 229, 217, 0.38);
  font: 7px/1 var(--font-mono);
  letter-spacing: 0.05em;
}

.log-summary {
  max-width: 740px;
  margin-top: 15px;
  color: var(--paper-dim);
  font-size: 13px;
  line-height: 1.9;
}

.log-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 30px;
  border-top: 1px solid rgba(228, 220, 204, 0.07);
}

.log-highlights li {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(228, 220, 204, 0.055);
  color: rgba(236, 229, 217, 0.5);
  font-size: 11px;
  line-height: 1.7;
}

.log-highlight-mark {
  flex: 0 0 auto;
  color: rgba(185, 158, 112, 0.55);
  font: 12px/1.4 var(--font-mono);
}

.log-entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  color: rgba(236, 229, 217, 0.2);
  font: 7px/1 var(--font-mono);
  letter-spacing: 0.1em;
}

.log-entry-footer .text-link {
  border: 0;
  padding: 0;
  font-size: 8px;
}

.log-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 52px;
  padding: 24px 0;
}

.log-bottom p {
  margin-top: 7px;
  color: var(--paper-dim);
  font-size: 11px;
}

.log-empty-state {
  border: 0;
  border-bottom: 1px solid var(--line);
}

.embed-guide {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  border-top: 1px solid var(--line);
  background: rgba(12, 15, 22, 0.42);
}

.embed-guide::before {
  content: "";
  position: absolute;
  top: -80%;
  right: -4%;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 158, 112, 0.055), transparent 68%);
}

.embed-guide h2 {
  margin: 13px 0 14px;
  font: 37px/1.3 var(--font-display);
  font-weight: 400;
}

.embed-guide p {
  max-width: 760px;
  color: var(--paper-dim);
  font-size: 12px;
  line-height: 1.9;
}

.embed-guide p code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--gold-bright);
  font: 10px/1 var(--font-mono);
}

.embed-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 930px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(4, 5, 8, 0.48);
}

.embed-code code {
  overflow: hidden;
  color: rgba(236, 229, 217, 0.5);
  font: 9px/1.5 var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.embed-code button {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper-faint);
  font: 7px/1 var(--font-mono);
}

/* Bugs */
.bugs-hero {
  position: relative;
  overflow: hidden;
}

.bugs-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 46%;
  width: 420px;
  height: 420px;
  border: 1px dashed rgba(228, 220, 204, 0.05);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(228, 220, 204, 0.009), 0 0 0 128px rgba(228, 220, 204, 0.006);
}

.beacon-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.beacon-meta > div {
  padding: 26px 26px 28px;
  border-right: 1px solid var(--line);
}

.beacon-meta > div:last-child {
  border-right: 0;
}

.beacon-meta span {
  display: block;
  margin-bottom: 13px;
  color: var(--paper-faint);
  font: 7px/1 var(--font-mono);
  letter-spacing: 0.14em;
}

.beacon-meta strong {
  display: block;
  font: 34px/1 var(--font-latin);
  font-weight: 400;
}

.beacon-meta strong em {
  margin-left: 2px;
  color: var(--gold);
  font-size: 13px;
  font-style: normal;
}

.beacon-meta small {
  display: block;
  margin-top: 8px;
  color: var(--paper-faint);
  font-size: 9px;
}

.bugs-workspace {
  padding: 60px 0 110px;
}

.bugs-list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 36px;
}

.bugs-list-footer p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(236, 229, 217, 0.27);
  font: 8px/1.5 var(--font-mono);
  letter-spacing: 0.03em;
}

.bugs-list-footer .icon {
  width: 11px;
  height: 11px;
}

.bugs-list-footer .button {
  min-height: 42px;
}

.bug-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.bug-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 24px 22px;
  background: #080a10;
  cursor: pointer;
  transition: background-color 0.35s ease;
}

.bug-card:hover,
.bug-card:focus-visible {
  background: #0b0e15;
}

.bug-card:focus-visible {
  outline-offset: -2px;
}

.bug-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(185, 158, 112, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bug-card:hover::after {
  opacity: 1;
}

.bug-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-badge,
.severity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--paper-faint);
  font: 7px/1 var(--font-mono);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.status-received,
.status-reviewing {
  border-color: rgba(185, 158, 112, 0.18);
  color: rgba(229, 210, 171, 0.72);
}

.status-fixing {
  border-color: rgba(157, 178, 196, 0.2);
  color: rgba(157, 178, 196, 0.8);
}

.status-resolved {
  border-color: rgba(137, 170, 145, 0.22);
  color: rgba(137, 170, 145, 0.82);
}

.status-archived {
  color: var(--paper-faint);
}

.severity-badge {
  border: 0;
  padding-right: 0;
  color: rgba(236, 229, 217, 0.25);
}

.severity-high,
.severity-critical {
  color: rgba(201, 109, 94, 0.7);
}

.bug-card h2 {
  margin-top: 24px;
  font: 25px/1.35 var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.bug-card-description {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  color: var(--paper-dim);
  font-size: 11px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.bug-card-media {
  position: relative;
  display: grid;
  height: 142px;
  place-items: center;
  overflow: hidden;
  margin: 22px 0 18px;
  border: 1px solid rgba(228, 220, 204, 0.075);
  background: rgba(3, 4, 7, 0.5);
}

.bug-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  filter: saturate(0.72);
  transition: transform 0.65s var(--ease-out), opacity 0.4s ease, filter 0.4s ease;
}

.bug-card:hover .bug-card-media img {
  transform: scale(1.035);
  opacity: 0.92;
  filter: saturate(0.9);
}

.bug-card-media.is-empty {
  align-content: center;
  gap: 4px;
  color: rgba(236, 229, 217, 0.16);
  font: 6px/1.4 var(--font-mono);
  letter-spacing: 0.1em;
}

.bug-card-glyph {
  color: rgba(185, 158, 112, 0.26);
  font: 34px/1 var(--font-latin);
}

.bug-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(228, 220, 204, 0.06);
  color: rgba(236, 229, 217, 0.22);
  font: 7px/1.3 var(--font-mono);
  letter-spacing: 0.04em;
}

.bug-card-id {
  color: rgba(185, 158, 112, 0.48);
}

.bug-card-platform {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bug-card-open {
  margin-top: 13px;
  color: rgba(236, 229, 217, 0.2);
  font: 6px/1 var(--font-mono);
  letter-spacing: 0.13em;
  transition: color 0.3s ease;
}

.bug-card:hover .bug-card-open {
  color: var(--gold);
}

.bugs-empty {
  border-color: var(--line);
}

.report-prompt {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  border-top: 1px solid var(--line);
  background: rgba(11, 14, 21, 0.48);
}

.report-prompt-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.62fr;
  gap: 90px;
  align-items: end;
}

.report-prompt h2 {
  margin-top: 15px;
  font: 42px/1.3 var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.report-prompt p {
  margin-bottom: 24px;
  color: var(--paper-dim);
  font-size: 12px;
  line-height: 1.9;
}

.report-prompt .button {
  min-height: 46px;
}

.report-prompt-orbit {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(228, 220, 204, 0.045);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(228, 220, 204, 0.008);
  pointer-events: none;
}

/* Bug detail dialog */
.bug-dialog {
  width: min(1080px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #080a10;
  color: var(--paper);
  box-shadow: 0 60px 180px rgba(0, 0, 0, 0.78);
}

.bug-dialog::backdrop {
  background: rgba(2, 3, 6, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.bug-dialog-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 580px;
  max-height: calc(100vh - 48px);
}

.bug-dialog-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(6, 7, 11, 0.76);
  color: var(--paper-dim);
}

.bug-dialog-close:hover {
  border-color: rgba(229, 210, 171, 0.4);
  color: var(--gold-bright);
}

.bug-dialog-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.012) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.012) 75%),
    #050609;
  background-size: 22px 22px;
}

.bug-dialog-media img {
  width: 100%;
  max-height: calc(100vh - 48px);
  object-fit: contain;
}

.bug-dialog-content {
  overflow-y: auto;
  padding: 42px 38px 32px;
}

.bug-dialog-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bug-dialog-content h2 {
  margin-top: 24px;
  font: 36px/1.32 var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.bug-dialog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 15px;
  color: var(--paper-faint);
  font: 7px/1.4 var(--font-mono);
  letter-spacing: 0.06em;
}

.bug-dialog-meta span:first-child {
  color: rgba(185, 158, 112, 0.55);
}

.bug-dialog-section {
  margin-top: 32px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.bug-dialog-section > span {
  color: var(--paper-faint);
  font: 7px/1 var(--font-mono);
  letter-spacing: 0.12em;
}

.bug-dialog-section p {
  margin-top: 14px;
  color: rgba(236, 229, 217, 0.62);
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
}

.bug-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--paper-faint);
  font: 7px/1 var(--font-mono);
  letter-spacing: 0.08em;
}

.bug-dialog-foot .text-link {
  padding: 0;
  border: 0;
}

/* Report */
.report-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 84px;
  border-bottom: 1px solid var(--line);
}

.report-hero::before {
  content: "";
  position: absolute;
  top: -60%;
  right: 8%;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(228, 220, 204, 0.045);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(228, 220, 204, 0.008), 0 0 0 100px rgba(228, 220, 204, 0.005);
}

.report-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: 90px;
  align-items: end;
}

.report-hero .page-title {
  margin-top: 26px;
}

.report-hero-copy {
  padding-bottom: 8px;
}

.report-hero-copy > p {
  color: var(--paper-dim);
  font-size: 14px;
  line-height: 1.95;
}

.report-response {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 30px;
  color: var(--paper-faint);
  font: 8px/1 var(--font-mono);
  letter-spacing: 0.06em;
}

.report-response i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(137, 170, 145, 0.7);
}

.report-response strong {
  color: var(--gold-bright);
  font: 14px/1 var(--font-latin);
  font-weight: 400;
}

.report-workspace {
  padding: 80px 0 120px;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(520px, 1.12fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}

.report-aside {
  position: sticky;
  top: 110px;
}

.report-reticle {
  position: relative;
  width: min(310px, 82%);
  aspect-ratio: 1;
  margin: 0 auto 64px;
}

.report-reticle::before,
.report-reticle::after {
  content: "";
  position: absolute;
  background: linear-gradient(to right, transparent, rgba(228, 220, 204, 0.08), transparent);
}

.report-reticle::before { top: 50%; right: 4%; left: 4%; height: 1px; }
.report-reticle::after { top: 4%; bottom: 4%; left: 50%; width: 1px; background: linear-gradient(to bottom, transparent, rgba(228, 220, 204, 0.08), transparent); }

.report-reticle-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(228, 220, 204, 0.13);
  border-radius: 50%;
  animation: orbit-spin 70s linear infinite;
}

.report-reticle-ring::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 16px rgba(229, 210, 171, 0.5);
}

.report-reticle-ring-2 {
  inset: 19%;
  border-style: dashed;
  border-color: rgba(157, 178, 196, 0.13);
  animation-direction: reverse;
  animation-duration: 48s;
}

.report-reticle-ring-2::before {
  background: var(--ice);
}

.report-reticle-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(229, 210, 171, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 210, 171, 0.07), rgba(7, 8, 13, 0.82) 72%);
  color: var(--gold-bright);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 55px rgba(185, 158, 112, 0.08);
}

.report-reticle-mark .icon {
  width: 23px;
  height: 23px;
}

.report-coordinate {
  position: absolute;
  color: rgba(236, 229, 217, 0.23);
  font: 6px/1.4 var(--font-mono);
  letter-spacing: 0.12em;
}

.report-coordinate-a { top: 7%; left: 5%; }
.report-coordinate-b { right: 1%; bottom: 24%; }
.report-coordinate-c { bottom: -1%; left: 34%; }

.report-protocol {
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.report-protocol ol {
  display: grid;
  gap: 2px;
  margin-top: 24px;
}

.report-protocol li {
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(228, 220, 204, 0.06);
}

.report-protocol li > span {
  padding-top: 3px;
  color: rgba(185, 158, 112, 0.4);
  font: 7px/1 var(--font-mono);
}

.report-protocol strong {
  display: block;
  margin-bottom: 5px;
  font: 17px/1.3 var(--font-display);
  font-weight: 400;
}

.report-protocol p {
  color: var(--paper-dim);
  font-size: 10px;
  line-height: 1.7;
}

.report-privacy {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  padding: 16px;
  border: 1px solid rgba(228, 220, 204, 0.07);
  color: var(--paper-faint);
}

.report-privacy .icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.report-privacy p {
  font-size: 9px;
  line-height: 1.75;
}

.report-form-panel {
  padding: 36px clamp(26px, 4vw, 54px) 46px;
  border: 1px solid var(--line);
  background: rgba(9, 11, 18, 0.68);
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.report-form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.report-form-heading h2 {
  margin-top: 10px;
  font: 34px/1.2 var(--font-display);
  font-weight: 400;
}

.report-form-index {
  color: var(--paper-faint);
  font: 7px/1 var(--font-mono);
  letter-spacing: 0.11em;
}

.report-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 22px;
  padding-top: 33px;
}

.field {
  position: relative;
  display: grid;
  gap: 9px;
}

.field-full {
  grid-column: 1 / -1;
}

.field > label,
.severity-field legend,
.field > legend {
  color: rgba(236, 229, 217, 0.46);
  font: 9px/1.2 var(--font-mono);
  letter-spacing: 0.05em;
}

.field > label span,
.field > legend span {
  margin-left: 8px;
  color: rgba(236, 229, 217, 0.22);
  font-size: 7px;
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  border: 1px solid rgba(228, 220, 204, 0.11);
  border-radius: 0;
  outline: 0;
  background: rgba(4, 5, 8, 0.42);
  color: var(--paper-soft);
  font: 12px/1.7 var(--font-sans);
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.field input[type="text"],
.field input[type="email"] {
  height: 48px;
  padding: 0 13px;
}

.field textarea {
  min-height: 106px;
  padding: 12px 13px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(236, 229, 217, 0.2);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(229, 210, 171, 0.42);
  background: rgba(8, 10, 16, 0.7);
  box-shadow: 0 0 0 3px rgba(229, 210, 171, 0.025);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error .screenshot-drop {
  border-color: rgba(201, 109, 94, 0.54);
}

.field-error {
  min-height: 0;
  color: #d99184;
  font-size: 9px;
  line-height: 1.5;
}

.field-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.field-count {
  flex: 0 0 auto;
  color: rgba(236, 229, 217, 0.18);
  font: 7px/1.5 var(--font-mono);
}

.severity-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.severity-field legend {
  margin-bottom: 12px;
  padding: 0;
}

.severity-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.severity-options label {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px 12px;
  background: rgba(7, 8, 13, 0.92);
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.severity-options label:hover {
  background: rgba(229, 210, 171, 0.035);
}

.severity-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.severity-options label > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--paper-dim);
  font-size: 10px;
}

.severity-options label i {
  width: 5px;
  height: 5px;
  border: 1px solid rgba(228, 220, 204, 0.28);
  border-radius: 50%;
}

.severity-options small {
  color: var(--paper-faint);
  font-size: 8px;
}

.severity-options input:checked + span {
  color: var(--gold-bright);
}

.severity-options input:checked + span i {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(229, 210, 171, 0.45);
}

.severity-options label:has(input:focus-visible) {
  outline: 1px solid var(--gold-bright);
  outline-offset: -2px;
}

.screenshot-drop {
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(228, 220, 204, 0.15);
  background: rgba(4, 5, 8, 0.32);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.screenshot-drop.is-dragging,
.screenshot-drop:hover {
  border-color: rgba(229, 210, 171, 0.4);
  background: rgba(229, 210, 171, 0.025);
}

.screenshot-drop-target {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.screenshot-drop-target .icon {
  width: 21px;
  height: 21px;
  margin-bottom: 7px;
  color: rgba(229, 210, 171, 0.55);
}

.screenshot-drop-target strong {
  color: var(--paper-dim);
  font-size: 11px;
  font-weight: 400;
}

.screenshot-drop-target span {
  color: var(--paper-faint);
  font: 7px/1 var(--font-mono);
  letter-spacing: 0.04em;
}

.screenshot-preview {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 13px;
}

.screenshot-preview img {
  width: 112px;
  height: 76px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.screenshot-preview > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.screenshot-preview span {
  overflow: hidden;
  color: var(--paper-dim);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screenshot-preview small {
  color: var(--paper-faint);
  font: 7px/1 var(--font-mono);
}

.screenshot-preview button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper-faint);
}

.screenshot-preview button:hover {
  color: var(--paper);
}

.screenshot-preview button .icon {
  width: 12px;
  height: 12px;
}

.diagnostics {
  grid-column: 1 / -1;
  border: 1px solid rgba(228, 220, 204, 0.08);
  background: rgba(4, 5, 8, 0.24);
}

.diagnostics summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 16px;
  color: var(--paper-dim);
  font: 9px/1 var(--font-mono);
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
}

.diagnostics summary::-webkit-details-marker {
  display: none;
}

.diagnostics summary::before {
  content: "+";
  color: var(--gold);
}

.diagnostics[open] summary::before {
  content: "−";
}

.diagnostics summary span {
  color: var(--paper-faint);
  font-size: 7px;
}

.diagnostics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 4px 16px 18px;
}

.diagnostics-grid .field-full {
  grid-column: 1 / -1;
}

.public-switch {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.public-switch > input {
  position: absolute;
  opacity: 0;
}

.switch-track {
  position: relative;
  display: block;
  width: 32px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid rgba(228, 220, 204, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.switch-track i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper-faint);
  transition: transform 0.3s var(--ease-out), background-color 0.3s ease;
}

.public-switch input:checked + .switch-track {
  border-color: rgba(229, 210, 171, 0.36);
  background: rgba(229, 210, 171, 0.09);
}

.public-switch input:checked + .switch-track i {
  background: var(--gold-bright);
  transform: translateX(14px);
}

.public-switch input:focus-visible + .switch-track {
  outline: 1px solid var(--gold-bright);
  outline-offset: 3px;
}

.switch-copy {
  display: grid;
  gap: 4px;
}

.switch-copy strong {
  color: var(--paper-soft);
  font-size: 10px;
  font-weight: 400;
}

.switch-copy small {
  color: var(--paper-faint);
  font-size: 9px;
  line-height: 1.7;
}

.form-error-summary {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border: 1px solid rgba(201, 109, 94, 0.36);
  background: rgba(201, 109, 94, 0.055);
  color: #dba096;
  font-size: 10px;
  line-height: 1.6;
}

.report-submit-row {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 5px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.report-submit-row > p {
  max-width: 390px;
  color: var(--paper-faint);
  font-size: 8px;
  line-height: 1.7;
}

.report-submit-row .button {
  flex: 0 0 auto;
  min-height: 46px;
}

.report-submit-row .button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.report-success {
  display: grid;
  min-height: 600px;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.report-success-orbit {
  position: relative;
  display: block;
  width: 94px;
  height: 94px;
  margin-bottom: 30px;
  border: 1px solid rgba(229, 210, 171, 0.22);
  border-radius: 50%;
  animation: orbit-spin 20s linear infinite;
}

.report-success-orbit::before,
.report-success-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.report-success-orbit::before {
  inset: 17%;
  border: 1px dashed rgba(229, 210, 171, 0.15);
}

.report-success-orbit::after {
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--gold-bright);
  box-shadow: 0 0 22px rgba(229, 210, 171, 0.55);
  transform: translate(-50%, -50%);
}

.report-success h2 {
  margin: 16px 0 11px;
  font: 40px/1.25 var(--font-display);
  font-weight: 400;
}

.report-success > p {
  max-width: 440px;
  color: var(--paper-dim);
  font-size: 12px;
  line-height: 1.9;
}

.report-success-id {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 34px;
  padding: 13px 18px;
  border: 1px solid var(--line);
}

.report-success-id span {
  color: var(--paper-faint);
  font: 7px/1 var(--font-mono);
  letter-spacing: 0.1em;
}

.report-success-id strong {
  color: var(--gold-bright);
  font: 18px/1 var(--font-mono);
  font-weight: 400;
}

.report-success-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}

.report-success-actions .button {
  min-height: 44px;
}

.report-success-actions .text-link {
  padding: 0;
  border: 0;
  background: transparent;
}

/* Embed overrides */
body.is-embed .changelog-hero,
body.is-embed .bugs-hero {
  padding: 40px 0 30px;
}

body.is-embed .page-title {
  font-size: 44px;
}

body.is-embed .page-title-en,
body.is-embed .page-meta,
body.is-embed .page-intro small,
body.is-embed .beacon-meta,
body.is-embed .embed-guide,
body.is-embed .log-bottom,
body.is-embed .report-prompt,
body.is-embed .report-hero,
body.is-embed .report-aside,
body.is-embed .page-vignette {
  display: none;
}

body.is-embed .page-intro {
  font-size: 13px;
}

body.is-embed .page-hero-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

body.is-embed .log-workspace,
body.is-embed .bugs-workspace {
  padding: 22px 0 44px;
}

body.is-embed .log-entry {
  grid-template-columns: 150px minmax(0, 1fr);
}

body.is-embed .log-list::before {
  left: 150px;
}

body.is-embed .log-rail {
  padding-right: 28px;
}

body.is-embed .log-content {
  padding-left: 32px;
}

body.is-embed .log-highlights {
  grid-template-columns: 1fr;
}

body.is-embed .report-workspace {
  padding: 20px 0 40px;
}

body.is-embed .report-layout {
  grid-template-columns: 1fr;
  max-width: 880px;
}

body.is-embed .report-form-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 10px 0 30px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.is-embed .report-form-heading {
  padding-bottom: 20px;
}

body.is-embed .report-form {
  padding-top: 24px;
}

body.is-embed .report-success {
  min-height: 480px;
}

body.is-embed .page-shell {
  width: calc(100vw - 40px);
}

/* 404 */
.not-found-page {
  min-height: 100svh;
  overflow: hidden;
}

.not-found-main {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 50px 24px;
}

.not-found-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(76vw, 800px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(228, 220, 204, 0.055);
  border-radius: 50%;
  animation: orbit-spin 90s linear infinite;
}

.not-found-orbit::before,
.not-found-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.not-found-orbit::before {
  inset: 15%;
  border: 1px dashed rgba(228, 220, 204, 0.07);
}

.not-found-orbit::after {
  inset: 36%;
  border: 1px solid rgba(229, 210, 171, 0.08);
}

.not-found-orbit span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.not-found-orbit span:nth-child(1) { top: -2px; left: 50%; }
.not-found-orbit span:nth-child(2) { right: 12%; bottom: 21%; }
.not-found-orbit span:nth-child(3) { top: 24%; left: 8%; width: 2px; height: 2px; }

.not-found-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: center;
}

.not-found-content .brand {
  justify-content: center;
  margin-bottom: 70px;
}

.not-found-code {
  color: var(--paper-faint);
  font: 8px/1 var(--font-mono);
  letter-spacing: 0.18em;
}

.not-found-content h1 {
  margin: 24px 0 22px;
  font: clamp(62px, 10vw, 132px)/1.02 var(--font-display);
  font-weight: 300;
  letter-spacing: -0.06em;
}

.not-found-content h1 em {
  color: var(--gold-bright);
  font-style: italic;
  font-weight: 300;
}

.not-found-content > p {
  max-width: 430px;
  margin-inline: auto;
  color: var(--paper-dim);
  font-size: 13px;
  line-height: 1.9;
}

.not-found-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
}

.not-found-footer {
  position: absolute;
  right: 32px;
  bottom: 26px;
  left: 32px;
  display: flex;
  justify-content: space-between;
  color: rgba(236, 229, 217, 0.18);
  font: 7px/1 var(--font-mono);
  letter-spacing: 0.1em;
}

@media (max-width: 1120px) {
  .log-entry {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .log-list::before {
    left: 190px;
  }

  .log-rail {
    padding-right: 34px;
  }

  .log-content {
    padding-left: 38px;
  }

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

  .report-layout {
    grid-template-columns: minmax(250px, 0.5fr) minmax(480px, 1.15fr);
    gap: 52px;
  }

  .report-reticle {
    width: min(270px, 86%);
  }
}

@media (max-width: 900px) {
  .log-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .log-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .log-entry {
    grid-template-columns: 1fr;
  }

  .log-list::before {
    display: none;
  }

  .log-rail {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 27px 0 0;
  }

  .log-date,
  .log-channel {
    margin-top: 0;
  }

  .log-node {
    display: none;
  }

  .log-content {
    padding: 22px 0 36px;
  }

  .log-highlights {
    grid-template-columns: 1fr;
  }

  .report-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .report-hero-copy {
    max-width: 620px;
  }

  .report-layout {
    grid-template-columns: 1fr;
  }

  .report-aside {
    position: static;
  }

  .report-reticle {
    width: 230px;
    margin-bottom: 42px;
  }

  .report-protocol ol {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .report-protocol li {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-right: 18px;
    border-right: 1px solid rgba(228, 220, 204, 0.06);
  }

  .report-protocol li:last-child {
    border-right: 0;
  }

  .report-privacy {
    max-width: 540px;
  }

  .report-prompt-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .bug-dialog-shell {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .bug-dialog-media {
    min-height: 280px;
    max-height: 42vh;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .bug-dialog-content {
    overflow: visible;
  }

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

  .beacon-meta > div:nth-child(2) {
    border-right: 0;
  }

  .beacon-meta > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .bugs-workspace {
    padding-top: 42px;
  }

  .bug-grid {
    grid-template-columns: 1fr;
  }

  .bug-card {
    min-height: 390px;
  }

  .bugs-list-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-form {
    grid-template-columns: 1fr;
  }

  .report-form .field-full,
  .severity-field,
  .diagnostics,
  .public-switch,
  .report-submit-row,
  .form-error-summary {
    grid-column: auto;
  }

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

  .diagnostics-grid {
    grid-template-columns: 1fr;
  }

  .diagnostics-grid .field-full {
    grid-column: auto;
  }

  .report-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-submit-row .button {
    width: 100%;
    justify-content: space-between;
  }

  .report-protocol ol {
    grid-template-columns: 1fr;
  }

  .report-protocol li {
    grid-template-columns: 29px 1fr;
    padding-right: 0;
    border-right: 0;
  }

  .log-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .embed-code {
    align-items: flex-start;
    flex-direction: column;
  }

  .embed-code code {
    white-space: normal;
    word-break: break-all;
  }

  .report-prompt h2 {
    font-size: 34px;
  }

  .bug-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .bug-dialog-shell {
    max-height: calc(100vh - 24px);
  }

  .bug-dialog-content {
    padding: 32px 24px 28px;
  }

  .bug-dialog-content h2 {
    font-size: 29px;
  }

  body.is-embed .log-entry {
    grid-template-columns: 1fr;
  }

  body.is-embed .log-list::before {
    display: none;
  }

  body.is-embed .log-rail {
    padding-right: 0;
  }

  body.is-embed .log-content {
    padding-left: 0;
  }
}

@media (max-width: 540px) {
  .page-hero {
    padding-top: 64px;
  }

  .filter-group {
    gap: 2px;
  }

  .filter-group button {
    padding: 0 9px;
    font-size: 8px;
  }

  .log-toolbar-actions {
    gap: 10px;
  }

  .log-toolbar-actions .micro-label {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .log-entry-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .log-tags {
    justify-content: flex-start;
  }

  .log-entry-heading h2 {
    font-size: 28px;
  }

  .log-entry-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .beacon-meta > div {
    padding: 20px 18px;
  }

  .beacon-meta strong {
    font-size: 28px;
  }

  .report-hero {
    padding: 56px 0 50px;
  }

  .report-workspace {
    padding: 50px 0 80px;
  }

  .report-form-panel {
    padding: 26px 18px 34px;
  }

  .report-form-heading h2 {
    font-size: 29px;
  }

  .report-form-index {
    display: none;
  }

  .severity-options label {
    padding: 12px 10px;
  }

  .screenshot-preview {
    grid-template-columns: 70px 1fr auto;
  }

  .screenshot-preview img {
    width: 70px;
    height: 60px;
  }

  .public-switch {
    padding: 14px;
  }

  .report-success {
    min-height: 520px;
  }

  .report-success h2 {
    font-size: 32px;
  }

  .report-success-actions {
    flex-direction: column;
    gap: 16px;
  }

  .not-found-content .brand {
    margin-bottom: 48px;
  }

  .not-found-content h1 {
    font-size: clamp(56px, 18vw, 84px);
  }

  .not-found-actions {
    flex-direction: column;
    gap: 20px;
  }

  .not-found-actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .not-found-footer {
    display: none;
  }

  body.is-embed .page-title {
    font-size: 38px;
  }
}
