@import url("redesign.css");
/* Nine-slice panel: the corners retain their size as content height grows. */
.entrance {
  padding-top: clamp(20px, 6svh, 64px);
}
.brand-wrap {
  position: relative;
  isolation: isolate;
  flex: none;
  max-width: 94%;
}
.brand-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -28px -8% -20px;
  background: radial-gradient(
    ellipse,
    #050b08d9 5%,
    #050b088f 42%,
    #050b0833 65%,
    transparent 76%
  );
  pointer-events: none;
}
.brand-wrap .brand {
  max-width: 100%;
  filter: drop-shadow(0 3px 8px #000c);
}
.play {
  position: relative;
  width: 260px;
  height: auto;
  margin: 28px 0 36px;
  background: none;
  clip-path: none;
  box-shadow: none;
  transition:
    filter 0.15s,
    transform 0.15s;
}
.play img {
  display: block;
  width: 100%;
  height: auto;
}
.play-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-left: 10px;
  transform: translateY(3px);
  font:
    400 21px/1 Vollkorn,
    Georgia,
    serif;
  color: #e8ddc4;
  text-shadow: 0 1px 3px #000;
}
.play:hover {
  background: none;
  filter: brightness(1.15);
  transform: translateY(-1px);
}
.play:active {
  background: none;
  filter: brightness(0.92);
  transform: translateY(1px);
}
.news {
  position: relative;
  isolation: isolate;
  width: 380px;
  padding: 45px 33px 32px;
  text-shadow: none;
}
.news::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-style: solid;
  border-width: 0;
  border-image-source: url("assets/journal-panel-v1.webp");
  border-image-slice: 24% 38% 20% 36% fill;
  border-image-width: 76px 116px 64px 110px;
  border-image-repeat: stretch;
  pointer-events: none;
}
.news-heading {
  margin-left: 5px;
  padding-bottom: 15px;
  border-color: #b3b49b29;
}
h1 {
  color: #b8beaa;
  font-size: 10px;
  letter-spacing: 0.17em;
}
.archive-link {
  font:
    12px/1.4 system-ui,
    sans-serif;
}
.entries {
  padding: 6px 0 0;
}
.entry {
  gap: 12px;
  grid-template-columns: 68px 1fr;
  padding: 17px 4px;
}
.entry time {
  font-size: 10px;
  line-height: 1.5;
  color: #939b87;
  font-variant-numeric: tabular-nums;
}
.entry-title {
  font:
    17px/1.4 Georgia,
    "Times New Roman",
    serif;
  color: inherit;
}
.entry:hover .entry-title {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #a7a58b70;
}
.dialog-body {
  font:
    15px/1.75 system-ui,
    sans-serif;
}
.dialog-head h2,
.dialog-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.social-links {
  display: flex;
  flex: none;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}
.social-link {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  color: #cfc3a2;
  background: url("assets/social-frame-v1.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 4px #02070488);
  transition:
    color 0.15s,
    filter 0.15s,
    transform 0.15s;
  text-decoration: none;
}
.social-link svg {
  width: 22px;
  height: 22px;
  transform: translate(2px, 2px);
  filter: drop-shadow(0 1px 1px #000) drop-shadow(0 -0.5px 0 #e8dcb33d);
}
.discord-eye {
  fill: #151b16;
}
.social-link:hover {
  color: #ede1bf;
  filter: brightness(1.18) drop-shadow(0 4px 5px #02070499);
  transform: translateY(-1px);
}
.social-link:active {
  filter: brightness(0.94);
  transform: translateY(1px);
}
.social-link[aria-disabled="true"] {
  cursor: default;
}
.journal-dialog {
  isolation: isolate;
  width: min(820px, calc(100% - 48px));
  max-height: calc(100svh - 72px);
  padding: 52px 40px 36px 46px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.journal-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 20px;
}
.journal-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-style: solid;
  border-width: 0;
  border-image-source: url("assets/journal-panel-v1.webp");
  border-image-slice: 24% 38% 20% 36% fill;
  border-image-width: 76px 92px 64px 88px;
  border-image-repeat: stretch;
  filter: drop-shadow(0 12px 24px #0006);
  pointer-events: none;
}
.journal-dialog::backdrop {
  background: #030907c4;
}
.dialog-head {
  align-items: flex-start;
  gap: 28px;
  margin: 0;
  padding-bottom: 20px;
  padding-left: 24px;
  border: 0;
}
.dialog-heading {
  min-width: 0;
}
.dialog-head h2 {
  font-size: clamp(27px, 3.5vw, 36px);
  line-height: 1.25;
  color: #e6ddc5;
  text-wrap: balance;
}
.close {
  width: 48px;
  height: 48px;
  padding: 14px 12px 11px 15px;
  margin-top: -4px;
  border: 0;
  border-radius: 0;
  background: url("assets/social-frame-v1.webp") center / 100% 100% no-repeat;
  color: #ded0aa;
  filter: drop-shadow(0 2px 3px #0008);
  transition: filter 0.15s;
}
.close svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 1px #000);
}
.close:hover {
  color: #f1e5c6;
  background: url("assets/social-frame-v1.webp") center / 100% 100% no-repeat;
  filter: brightness(1.2) drop-shadow(0 2px 3px #0008);
}
.dialog-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #797b5f #151b17;
  padding-right: 18px;
  color: #dfddcf;
  font:
    17px/1.8 system-ui,
    sans-serif;
}
.dialog-body time {
  display: inline;
  margin: 0;
  font:
    13px/1.5 system-ui,
    sans-serif;
  letter-spacing: 0.08em;
  color: #a9ad98;
}
.dialog-body p {
  margin: 0 0 18px;
}
.dialog-body ul {
  padding-left: 18px;
  margin: 18px 0 0;
}
.dialog-body li {
  margin: 14px 0;
  padding-left: 8px;
}
.dialog-body li::marker {
  color: #a99d78;
  font-size: 10px;
}
.dialog-body h3 {
  color: #e2d9c2;
  font-size: 22px;
  margin: 0 0 12px;
}
.dialog-body hr {
  margin: 28px 0;
  border-color: #b3b49b29;
}
.dialog-body .post-meta {
  margin: 0 0 24px;
  font:
    13px/1.6 system-ui,
    sans-serif;
  color: #a9ad98;
}
.post-image {
  margin: 28px 0;
}
.post-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}
.post-image figcaption {
  margin-top: 10px;
  color: #a4aa96;
  font:
    13px/1.6 system-ui,
    sans-serif;
}
.dialog-body h4 {
  margin: 28px 0 14px;
  color: #e4ddc8;
  font:
    400 24px/1.3 Georgia,
    serif;
}
@media (max-width: 600px) {
  .entrance {
    padding: 28px 18px 20px;
  }
  .brand {
    width: 300px;
  }
  .play {
    width: 245px;
    margin: 30px 0 38px;
    height: auto;
  }
  .news {
    width: 355px;
    padding: 43px 27px 30px;
  }
  .entry {
    gap: 9px;
    grid-template-columns: 64px 1fr;
    padding: 16px 2px;
  }
  .entry-title {
    font-size: 16px;
  }
  .journal-dialog {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    max-height: calc(100svh - 40px);
    padding: 48px 24px 30px;
  }
  .journal-dialog[open] {
    gap: 17px;
  }
  .journal-dialog::before {
    border-image-width: 64px 78px 54px 74px;
  }
  .dialog-head {
    gap: 12px;
    padding-bottom: 4px;
  }
  .dialog-head h2 {
    font-size: 27px;
  }
  .dialog-body {
    font-size: 16px;
    line-height: 1.75;
    padding-right: 8px;
  }
  .close {
    width: 44px;
    height: 44px;
    padding: 13px 11px 10px 14px;
  }
}
@media (max-height: 620px) {
  .entrance {
    padding-top: 12px;
  }
  .brand {
    width: 265px;
  }
  .play {
    width: 218px;
    height: auto;
    margin: 14px 0 22px;
  }
  .news {
    padding-top: 37px;
    padding-bottom: 26px;
  }
  .news-heading {
    padding-bottom: 10px;
  }
  .entry {
    padding-top: 11px;
    padding-bottom: 11px;
  }
}
