:root {
  --i: #f5e9ff;
  --m: #cab5e2;
  --p: #ff6cc8;
  --c: #6ef0ff;
  --r: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font: 12px/1.5 ui-monospace, monospace;
  color: var(--i);
  background: linear-gradient(180deg, #6b0b2b, #3a0214 45%, #2a0010);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, #fff2, #0000 1px 3px);
  opacity: 0.35;
}

a {
  color: var(--c);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.s {
  min-height: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 16px 72px;
}

.k {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  width: min(980px, 100%);
}

.r {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 14px;
  width: min(860px, 100%);
  align-items: start;
}

.w,
.c {
  border: 1px solid var(--p);
  border-radius: var(--r);
  background: linear-gradient(180deg, #ffffff0d, #ffffff05);
  box-shadow: 0 14px 40px #0008;
  overflow: hidden;
}

.tb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #0009, #0005);
  border-bottom: 1px solid #ff6cc859;
}

.dots {
  display: flex;
  gap: 6px;
}

.d {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid #fff4;
}

.dr {
  background: #ff4d7d;
}
.dy {
  background: #ffd35c;
}
.dg {
  background: #66ffb6;
}

.caption {
  font: 13px/1.2 ui-serif, serif;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct {
  padding: 14px 14px 16px;
  background: linear-gradient(90deg, #0006, #0008);
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  font-family: ui-serif, serif;
  font-weight: 700;
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 18px;
}

p {
  margin: 0 0 10px;
  color: var(--m);
}

.h {
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff6cc899, transparent);
  margin: 12px 0;
}

.b {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ff6cc899;
  border-radius: 8px;
  padding: 7px 10px;
  background: #0006;
  color: var(--i);
  font: inherit;
  font-size: 12px;
  text-decoration: none;
}

.b:hover {
  border-color: var(--c);
}

aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hd {
  padding: 10px 12px;
  border-bottom: 1px solid #ff6cc847;
  background: linear-gradient(180deg, #000a, #0005);
  font-family: ui-serif, serif;
}

.bd {
  padding: 10px 12px;
}

nav {
  display: grid;
  gap: 8px;
}

nav .b {
  justify-content: center;
}

nav .b[aria-current="page"] {
  border-color: var(--c);
  box-shadow: inset 0 0 0 1px #6ef0ff33;
}

.pr {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct ul {
  margin: 8px 0 12px 18px;
  color: var(--m);
  line-height: 1.55;
}

.ct li {
  margin: 6px 0;
}

.ct code {
  font: inherit;
  font-size: 12px;
  background: #0006;
  border: 1px solid #ff6cc840;
  padding: 1px 5px;
  border-radius: 6px;
  color: var(--i);
}

.meta {
  font-size: 11px;
  color: var(--m);
  margin-bottom: 10px;
}

.ls {
  display: grid;
  gap: 10px;
}

.po {
  border: 1px solid #9b8cff66;
  border-radius: var(--r);
  padding: 10px 12px;
  background: #0004;
}

.po .x {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.po .x a {
  font-family: ui-serif, serif;
  font-size: 15px;
}

.po p {
  margin: 6px 0 0;
  font-size: 12px;
}

.t {
  font-size: 11px;
  color: var(--m);
}

.block {
  border: 1px solid #9b8cff66;
  border-radius: var(--r);
  padding: 12px;
  background: #0004;
  margin-bottom: 12px;
}

.block h2 {
  font-size: 16px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ff6cc850;
}

.res {
  list-style: none;
  margin: 0;
  padding: 0;
}

.res li {
  padding: 10px 0;
  border-bottom: 1px solid #9b8cff33;
}

.res li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.res a {
  font-family: ui-serif, serif;
  font-size: 14px;
}

.res .desc {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--m);
}

.highlight {
  border: 1px solid var(--c);
  border-radius: var(--r);
  padding: 12px;
  background: #0005;
  margin-bottom: 12px;
}

.ft {
  width: min(860px, 100%);
  text-align: center;
  font-size: 11px;
  color: var(--m);
  padding-top: 4px;
}

@media (max-width: 780px) {
  .r {
    grid-template-columns: 1fr;
  }
  aside {
    order: 2;
  }
}
