@font-face {
  font-family: Fredoka;
  src: url(fredoka.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url(nunito.woff2) format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #111e19;
  --card: #1b2c23;
  --line: #385043;
  --text: #f2f0de;
  --dim: #b1c0b5;
  --green: #bfd7a8;
  --fox: #f08a49;
  --deep: #1b291d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.5 Nunito,
    system-ui,
    sans-serif;
}
h1,
h2,
h3,
.brand,
.tiles strong {
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.018em;
}
h1 {
  font-size: clamp(2.15rem, 6vw, 3.4rem);
  margin: 0.25em 0 0.2em;
}
h2 {
  font-size: 1.52rem;
  margin: 0.12em 0 0.55em;
}
h3 {
  margin-top: 1.5em;
}
p {
  margin: 0.55em 0 1em;
  color: var(--dim);
}
small,
.fine,
.lede {
  color: var(--dim);
}
small {
  display: block;
  font-size: 0.84rem;
}
.fine {
  font-size: 0.86rem;
}
.lede {
  margin-bottom: 1.45rem;
}
a {
  color: var(--green);
  text-underline-offset: 4px;
  font-weight: 750;
}
a:hover {
  color: #e2efce;
}
main,
.bar {
  width: min(100% - 32px, 580px);
  margin: auto;
}
main {
  padding: 26px 0 54px;
}
header {
  background: #15251d;
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  flex-wrap: wrap;
  padding-block: 6px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 1.12rem;
}
.brand img {
  width: 30px;
  height: 30px;
}
nav,
.buttons,
.sectionhead,
.parenttitle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
nav a,
nav .text {
  font:
    750 0.87rem Nunito,
    system-ui,
    sans-serif;
}
nav a {
  text-decoration: none;
}
nav form {
  margin: 0;
}
.hero {
  border-radius: 24px;
  background:
    linear-gradient(90deg, #16281ff7 5%, #16281fa3 55%, #16281f22),
    url(forest.svg) right center/auto 170% no-repeat,
    #172c22;
  padding: clamp(22px, 6vw, 36px);
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.hero p {
  margin: 6px 0 0;
}
.card,
.pinned,
.tiles a {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(16px, 4vw, 24px);
  margin: 0 0 16px;
  min-width: 0;
}
.pinned {
  background: #352e1f;
  border-color: #765733;
}
.pinned > strong,
.draw {
  color: #ffac71;
}
.pinned h2 {
  margin-top: 7px;
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tiles a {
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px;
}
.tiles strong {
  font-size: 1.2rem;
}
.draw {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #463524;
  font-size: 23px;
  margin-bottom: 6px;
}
.supply-icon {
  background: #384433;
  color: #c9dfa8;
}
.sectionhead,
.parenttitle {
  justify-content: space-between;
}
.sectionhead a,
.back {
  font-size: 0.9rem;
}
.back {
  display: inline-block;
  margin-bottom: 10px;
}
.row,
.queueitem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  overflow-wrap: anywhere;
}
.row > span:first-child {
  min-width: 0;
}
.row strong,
.queueitem strong {
  display: block;
}
.pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  background: #354935;
  color: #d5e6c3;
  border-radius: 99px;
  padding: 4px 10px;
  text-align: center;
  flex-shrink: 0;
  max-width: 55%;
}
label,
legend,
dt {
  font-weight: 800;
}
label {
  display: block;
  margin: 14px 0 5px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  min-width: 0;
  background: #101d16;
  color: var(--text);
  border: 1px solid #536c5b;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  display: inline;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  accent-color: var(--green);
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 16px 0;
  padding: 10px 14px;
}
fieldset label {
  font-weight: 650;
}
button {
  font:
    800 0.95rem Nunito,
    system-ui,
    sans-serif;
  cursor: pointer;
  color: var(--text);
  background: #314336;
  border: 1px solid #526c57;
  border-radius: 11px;
  min-height: 42px;
  padding: 9px 15px;
}
button:hover {
  filter: brightness(1.12);
}
button.primary {
  color: #21291d;
  background: var(--green);
  border-color: var(--green);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.buttons {
  margin: 18px 0 6px;
}
.wide {
  width: 100%;
  margin-top: 20px;
}
.text {
  border: 0;
  background: transparent;
  color: var(--dim);
  padding: 4px;
}
.notice,
.errorlist {
  border-radius: 12px;
  background: #3f3925;
  color: #ffe4aa;
  padding: 12px 16px;
  margin: 0 0 12px;
}
.errorlist {
  list-style: none;
}
.entry {
  max-width: 420px;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 20px 75px #07100a55;
}
.signin main {
  padding-top: min(8vh, 64px);
}
.forest {
  height: clamp(160px, 25vh, 230px);
  background: url(forest.svg) center 40% / cover;
  position: relative;
}
.foxmark {
  width: 60px;
  height: 60px;
  position: absolute;
  bottom: -17px;
  left: 28px;
  background: var(--card);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 17px;
}
.entryform {
  padding: 20px 28px 14px;
}
.entryform h1 {
  font-size: 2.1rem;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 105px), 1fr));
  gap: 10px;
  margin: 12px 0;
}
.gallery img {
  display: block;
  width: 100%;
  max-height: 260px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--bg);
}
.thumb {
  margin: 0;
  font-size: 0.85rem;
}
.upload {
  padding: 12px;
  border: 1px dashed #6e856f;
  border-radius: 12px;
  color: var(--green);
}
.upload input {
  font-size: 0.85rem;
  padding: 5px;
  margin-top: 7px;
}
.trail {
  list-style: none;
  margin: 0;
  padding: 0;
}
.trail li {
  padding: 7px 10px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.trail li.current {
  background: #344534;
  color: var(--text);
  border-radius: 10px;
  font-weight: 900;
}
.paw {
  font-size: 14px;
  filter: grayscale(1) brightness(2);
}
details {
  margin-block: 12px;
}
summary {
  font-weight: 800;
  cursor: pointer;
  color: var(--green);
}
dl {
  margin: 0;
}
dt {
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.84rem;
}
dd {
  margin: 3px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.parent main,
.parent .bar {
  max-width: 1180px;
  width: calc(100% - 40px);
}
.parenttitle {
  margin-bottom: 10px;
}
.desk {
  display: grid;
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
  gap: 20px;
}
.queue {
  align-self: start;
}
.queueitem {
  display: block;
  padding: 12px;
  border: 0;
  border-radius: 10px;
}
.queueitem.active {
  background: #304234;
}
.empty {
  text-align: center;
  padding: 50px 22px;
}
.empty img {
  width: 56px;
}
.compact {
  max-width: 620px;
}
.divider,
.guidance {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
pre,
blockquote {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #132219;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 12px 0;
}
blockquote {
  border-left: 3px solid var(--fox);
}
.tablewrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th,
td {
  padding: 12px 9px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 0.82rem;
  color: var(--dim);
}
:focus-visible {
  outline: 3px solid #edb277;
  outline-offset: 3px;
}
@media (max-width: 720px) {
  .desk {
    display: block;
  }
  .parent main,
  .parent .bar {
    width: calc(100% - 24px);
  }
  .parenttitle a {
    font-size: 0.9rem;
  }
}
@media (max-width: 400px) {
  .bar {
    gap: 4px;
  }
  .child .brand {
    font-size: 0.96rem;
  }
  .child .brand img {
    width: 24px;
  }
  .child nav {
    gap: 7px;
  }
  .child nav a,
  .child nav button {
    font-size: 0.78rem;
  }
  .entryform {
    padding: 22px 18px 12px;
  }
  .tiles {
    gap: 8px;
  }
  .tiles a {
    padding: 12px;
  }
  .sectionhead {
    gap: 3px;
  }
  .row {
    flex-wrap: wrap;
  }
}
