@charset "UTF-8";
:root {
  --ink: #183e40;
  --muted: #65726b;
  --paper: #fff9e9;
  --cream: #f1e8cf;
  --rust: #b86043;
  --gold: #d4ac59;
  --teal: #346f70;
  --line: #d8d1bb;
  --shadow: 0 7px 0 #173b3920, 0 18px 45px #193e3c12;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Trebuchet MS', 'Segoe UI', sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}
button {
  color: inherit;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
}
h1 span {
  color: var(--rust);
}
button .icon {
  flex-shrink: 0;
}
.icon {
  height: 21px;
  width: 21px;
  vertical-align: middle;
  flex-shrink: 0;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .icon {
  width: 22px;
  height: 25px;
}
.primary,
.secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  padding: 17px 23px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 14px;
  min-height: 52px;
}
.primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 0 #102e3020;
}
.primary:hover:not(:disabled) {
  background: #245659;
}
.secondary {
  background: var(--cream);
  border: 1px solid var(--line);
}
.quiet,
.text-button {
  border: 0;
  background: none;
  padding: 8px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
}
.quiet:hover,
.text-button:hover {
  color: var(--rust);
}
.text-button {
  padding: 8px 0;
  font-weight: 700;
}
.avatar {
  height: 80px;
  width: 70px;
  overflow: visible;
  filter: drop-shadow(2px 3px 0 #183c3e1c);
}
.avatar-large {
  width: 160px;
  height: 184px;
}
.presence {
  display: inline-block;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #b3aaa0;
}
.presence.online {
  background: #58846a;
}
.warning {
  color: #b15b40 !important;
}
.loading {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.loading h1 {
  font-size: 90px;
}
.loading p {
  font-size: 15px;
  color: var(--muted);
}
#toast {
  position: fixed;
  z-index: 100;
  bottom: 24px;
  left: 50%;
  translate: -50% 0;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 22px;
  border: 1px solid #ffffff30;
  border-radius: 5px;
  box-shadow: var(--shadow);
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-size: 14px;
}
#toast.visible {
  opacity: 1;
}
.connection-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: #a4563f;
  color: #fff6e2;
  text-align: center;
  padding: 7px;
  font-size: 12px;
}
.paper-modal {
  background: var(--paper);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow);
  width: min(480px, calc(100vw - 30px));
  max-height: 85vh;
  overflow: auto;
  transform: rotate(-0.4deg);
}
.paper-modal h2 {
  font-size: 38px;
  margin: 15px 0;
}
.paper-modal p {
  font-size: 14px;
  line-height: 1.65;
  margin: 12px 0;
}
.paper-modal .close {
  position: absolute;
  right: 13px;
  top: 10px;
  background: none;
  border: 0;
  font-size: 27px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #183e407d;
  z-index: 50;
  backdrop-filter: blur(3px);
}
.modal-qr {
  display: block;
  width: 220px;
  margin: 20px auto;
}
.log-modal {
  width: min(620px, calc(100vw - 30px));
}
.log-modal p {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.roll-result {
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
