@charset "UTF-8";
:root {
  --bone: #d4c89a;
  --blood: #8b1a1a;
  --blood-br: #c0392b;
  --blood-dk: #5a1212;
  --dark: #0a0806;
  --dark2: #12100d;
  --dark3: #1a1710;
  --olive: #4a5040;
  --olive-br: #6b7a5a;
  --amber: #b8802a;
  --sea: #2a6080;
  --sea-br: #5a9bc4;
  --text: #e0d4b0;
  --text-dim: #b0a07a;
  --line: #2a251c;
  --ok: #7a9a4a;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0a0806;
  color: #e0d4b0;
  font-family: "monospace", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 18px;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes wake {
  0% {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes roll {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes drip {
  0% {
    transform: translateY(0) scaleY(0.5);
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  10% {
    transform: translateY(2px) scaleY(1);
  }
  16% {
    transform: translateY(4px) scaleY(1.15);
  }
  22% {
    transform: translateY(70px) scaleY(2.2);
    opacity: 0.9;
  }
  30% {
    transform: translateY(150px) scaleY(2.6);
    opacity: 0;
  }
  100% {
    transform: translateY(150px) scaleY(2.6);
    opacity: 0;
  }
}
@keyframes drip-home {
  0% {
    transform: translateY(0) scaleY(0.5);
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  12% {
    transform: translateY(3px) scaleY(1.15);
    opacity: 1;
  }
  22% {
    transform: translateY(80px) scaleY(2.3);
    opacity: 0.85;
  }
  30% {
    transform: translateY(160px) scaleY(2.6);
    opacity: 0;
  }
  100% {
    transform: translateY(160px) scaleY(2.6);
    opacity: 0;
  }
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 8, 6, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a251c;
}
.navbar .nav-in {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar .nav-logo {
  font-family: "monospace", sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: #d4c89a;
  text-decoration: none;
  line-height: 1;
  margin-right: auto;
}
.navbar .nav-logo small {
  display: block;
  font-family: "monospace", sans-serif;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 3px;
  color: #c0392b;
  text-transform: uppercase;
}
.navbar .nav-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid #2a251c;
  border-radius: 6px;
  color: #b0a07a;
  font-size: 18px;
  cursor: pointer;
  transition: 0.15s;
}
.navbar .nav-burger:hover {
  border-color: #c0392b;
  color: #d4c89a;
}
@media (min-width: 620px) {
  .navbar .nav-burger {
    display: none;
  }
}
.navbar .nav-links {
  display: none;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 8, 6, 0.98);
  border-bottom: 1px solid #2a251c;
  padding: 10px 14px 14px;
}
.navbar .nav-links.open {
  display: flex;
}
@media (min-width: 620px) {
  .navbar .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    position: static;
    background: none;
    border: none;
    padding: 0;
  }
}
.navbar .nav-link {
  font-family: "monospace", sans-serif;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #e0d4b0;
  text-decoration: none;
  padding: 9px 11px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.15s;
  white-space: nowrap;
}
.navbar .nav-link:hover {
  color: #d4c89a;
  background: rgba(255, 255, 255, 0.05);
}
.navbar .nav-link.dim {
  color: #b0a07a;
  cursor: default;
}
.navbar .nav-link.dim:hover {
  background: none;
  color: #b0a07a;
}
.navbar .nav-login {
  font-family: "monospace", sans-serif;
  font-size: 14px;
  letter-spacing: 0.8px;
  color: #b0a07a;
  padding: 9px 11px;
  cursor: default;
  opacity: 0.55;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid #2a251c;
  padding: 24px 0 44px;
}
.site-footer .foot-note {
  text-align: center;
  color: #b0a07a;
  font-size: 14px;
  line-height: 1.85;
  font-family: "monospace", sans-serif;
}
.site-footer .foot-note .ft {
  display: block;
  font-family: "monospace", sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: #d4c89a;
  margin-bottom: 4px;
}
.site-footer .foot-note a {
  color: #b8802a;
  text-decoration: none;
}
.site-footer .foot-note a:hover {
  text-decoration: underline;
}

.putrid {
  position: relative;
  display: block;
  text-decoration: none;
  color: #e0d4b0;
  background: linear-gradient(180deg, #12100d, #1a1710);
  border: 1px solid #2a251c;
  border-bottom: unset;
  border-radius: 10px 10px 5px 5px;
  overflow: visible;
  transition: transform 0.15s ease, border-color 0.25s ease;
}
.putrid:hover {
  transform: translateY(-2px);
  border-color: #8b1a1a;
}
.putrid:active {
  transform: translateY(0);
}
.putrid:focus-visible {
  outline: 2px solid #d4c89a;
  outline-offset: 3px;
}
.putrid .rot {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -5px;
  height: 12px;
  pointer-events: none;
  background: #5a1212;
  clip-path: polygon(0 0, 8% 55%, 14% 20%, 22% 70%, 30% 30%, 38% 85%, 46% 35%, 54% 75%, 62% 25%, 70% 80%, 78% 40%, 86% 70%, 93% 25%, 100% 60%, 100% 0);
}
.putrid .drop {
  position: absolute;
  bottom: -7px;
  width: 6px;
  height: 9px;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle at 50% 35%, #c0392b, #6f1414 70%);
  border-radius: 50% 50% 50% 50%/60% 60% 40% 40%;
  transform-origin: top center;
  opacity: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
}

@media (prefers-reduced-motion: no-preference) {
  .drop {
    animation: drip-home 13s ease-in infinite;
  }
  .drop.d2 {
    animation-duration: 19s;
    animation-delay: 7s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .drop {
    display: none;
  }
}
.ptag {
  font-size: 13.5px;
  padding: 2px 8px;
  border-radius: 30px;
  border: 1px solid #2a251c;
  color: #b0a07a;
  background: rgba(0, 0, 0, 0.25);
}
.ptag.pp {
  color: #b8802a;
  border-color: #b8802a;
}
.ptag.ok {
  color: #7a9a4a;
  border-color: #3a4a28;
}
.ptag.warn {
  color: #c0392b;
  border-color: #5a1212;
}

.tagi {
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 30px;
  border: 1px solid #2a251c;
  color: #e0d4b0;
  background: rgba(0, 0, 0, 0.25);
}
.tagi.warn {
  color: #c0392b;
  border-color: #5a1212;
}
.tagi.good {
  color: #7a9a4a;
  border-color: #3a4a28;
}

.sec-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sec-h h2 {
  font-family: "monospace", sans-serif;
  font-size: 24px;
  letter-spacing: 1.2px;
  color: #d4c89a;
}
.sec-h .hint {
  font-size: 14px;
  color: #b0a07a;
  letter-spacing: 0.5px;
  font-family: "monospace", sans-serif;
}

body.landing {
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #0a0806;
  background-image: linear-gradient(180deg, rgba(10, 8, 6, 0.55) 0%, rgba(10, 8, 6, 0.35) 35%, rgba(10, 8, 6, 0.8) 100%), radial-gradient(ellipse 90% 60% at 50% 30%, rgba(139, 26, 26, 0.28), transparent 70%), url("../hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px 50px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.shell {
  position: relative;
  z-index: 2;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
}

.l-title {
  font-family: "monospace", sans-serif;
  font-size: clamp(46px, 13.5vw, 150px);
  line-height: 0.9;
  letter-spacing: 2px;
  white-space: nowrap;
  text-shadow: 0 0 40px rgba(139, 26, 26, 0.55), 0 4px 18px rgba(0, 0, 0, 0.95);
}

.l-sub {
  margin-top: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: clamp(6px, 3.5vw, 16px);
  padding-left: 0.6em;
  font-size: clamp(14px, 4vw, 20px);
  color: #c0392b;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.l-enter {
  position: relative;
  margin-top: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  font-family: "monospace", sans-serif;
  font-size: 28px;
  letter-spacing: 4px;
  color: #d4c89a;
  background: linear-gradient(180deg, #9a1d1d, #6f1414);
  border: 1px solid #c0392b;
  border-bottom: unset;
  border-radius: 8px 8px 4px 4px;
  padding: 16px 48px;
  text-decoration: none;
  overflow: visible;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, background 0.25s ease;
}
.l-enter:hover {
  background: linear-gradient(180deg, #b32222, #7c1616);
  transform: translateY(-1px);
}
.l-enter:active {
  transform: translateY(1px);
}
.l-enter:focus-visible {
  outline: 2px solid #d4c89a;
  outline-offset: 3px;
}
.l-enter .rot {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -6px;
  height: 14px;
  pointer-events: none;
  background: #5a1212;
  clip-path: polygon(0 0, 8% 55%, 14% 20%, 22% 70%, 30% 30%, 38% 85%, 46% 35%, 54% 75%, 62% 25%, 70% 80%, 78% 40%, 86% 70%, 93% 25%, 100% 60%, 100% 0);
}
.l-enter .drop {
  position: absolute;
  bottom: -8px;
  width: 6px;
  height: 9px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 35%, #c0392b, #6f1414 70%);
  border-radius: 50% 50% 50% 50%/60% 60% 40% 40%;
  transform-origin: top center;
  opacity: 0;
  z-index: 3;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
}
.l-enter .drop.d1 {
  left: 26%;
}
.l-enter .drop.d2 {
  left: 68%;
}

@media (prefers-reduced-motion: no-preference) {
  .w1 {
    animation: wake 1s 0.1s both;
  }
  .w2 {
    animation: wake 1s 0.35s both;
  }
  .w3 {
    animation: wake 1s 0.62s both;
  }
  .l-enter .drop {
    animation: drip 11s ease-in infinite;
  }
  .l-enter .drop.d2 {
    animation-duration: 17s;
    animation-delay: 6s;
  }
}
.play-sec {
  padding: 26px 0 8px;
}

.play {
  padding: 32px 24px 36px;
  text-align: center;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(139, 26, 26, 0.2), transparent 70%), linear-gradient(180deg, #12100d, #1a1710);
}
.play .kick {
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 11px;
  color: #c0392b;
  margin-bottom: 8px;
}
.play h1 {
  font-family: "monospace", sans-serif;
  font-size: clamp(42px, 11vw, 80px);
  letter-spacing: 2px;
  color: #d4c89a;
  line-height: 0.95;
}
.play p {
  max-width: 44ch;
  margin: 12px auto 0;
  font-size: 16px;
  color: #e0d4b0;
  font-family: unset;
  line-height: 1.7;
}

.play-cta-inv {
  visibility: hidden;
}

@media (max-width: 768px) {
  .play-cta-inv {
    display: none;
  }
}
.play-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.play-cta-pri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "monospace", sans-serif;
  font-size: 28px;
  letter-spacing: 4px;
  color: #d4c89a;
  background: linear-gradient(180deg, #9a1d1d, #6f1414);
  border: 1px solid #c0392b;
  border-radius: 8px;
  padding: 12px 44px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s, background 0.25s;
}
.play-cta-pri:hover {
  background: linear-gradient(180deg, #b32222, #7c1616);
  transform: translateY(-1px);
}

.play-cta-sec {
  font-family: "monospace", sans-serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #e0d4b0;
  border: 1px solid #2a251c;
  border-radius: 8px;
  padding: 12px 20px;
  text-decoration: none;
  transition: 0.15s;
  background: rgba(255, 255, 255, 0.03);
}
.play-cta-sec:hover {
  border-color: #c0392b;
  color: #d4c89a;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 22px 0;
}

.tile {
  padding: 20px 18px;
}
.tile .ico {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
  filter: grayscale(0.2);
}
.tile h3 {
  font-family: "monospace", sans-serif;
  font-size: 24px;
  letter-spacing: 1.5px;
  color: #d4c89a;
  margin-bottom: 6px;
}
.tile p {
  font-size: 14px;
  color: #b0a07a;
  font-family: unset;
}
.tile .soon {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b8802a;
  border: 1px solid #b8802a;
  border-radius: 30px;
  padding: 2px 9px;
  opacity: 0.85;
}
.tile.locked {
  opacity: 0.62;
}
.tile.locked:hover {
  transform: none;
  border-color: #2a251c;
}

header.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 8, 6, 0.94);
  backdrop-filter: blur(7px);
  border-bottom: 1px solid #2a251c;
}

.top-in {
  max-width: 760px;
  margin: 0 auto;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "monospace", sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: #d4c89a;
}
.logo a {
  color: inherit;
  text-decoration: none;
}

.exit {
  font-size: 14px;
  letter-spacing: 1px;
  color: #b0a07a;
  text-decoration: none;
  text-transform: uppercase;
}
.exit:hover {
  color: #c0392b;
}

.steps {
  display: flex;
  gap: 6px;
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 16px 0;
}
.steps .s {
  flex: 1;
  text-align: center;
}
.steps .bar {
  height: 4px;
  border-radius: 3px;
  background: #2a251c;
  margin-bottom: 6px;
  overflow: hidden;
  position: relative;
}
.steps .bar i {
  position: absolute;
  inset: 0;
  background: #8b1a1a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.steps .s.done .bar i, .steps .s.active .bar i {
  transform: scaleX(1);
}
.steps .lbl {
  font-size: 13.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b0a07a;
}
.steps .s.active .lbl {
  color: #d4c89a;
}
.steps .s.done .lbl {
  color: #6b7a5a;
}
.steps .s.clickable {
  cursor: pointer;
}
.steps .s.clickable:hover .lbl {
  color: #d4c89a;
}
.steps .s.clickable:hover .bar i {
  background: #c0392b;
}

.panel {
  display: none;
  animation: fade 0.4s ease;
}
.panel.active {
  display: block;
}

.phead {
  padding: 26px 4px 6px;
}
.phead .kick {
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 11px;
  color: #c0392b;
}
.phead h2 {
  font-family: "monospace", sans-serif;
  font-size: clamp(30px, 8vw, 46px);
  letter-spacing: 1.5px;
  color: #d4c89a;
  line-height: 1;
  margin: 4px 0;
}
.phead p {
  font-size: 15px;
  color: #b0a07a;
  font-family: unset;
  max-width: 54ch;
  line-height: 1.7;
}

.opts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  margin-top: 14px;
}

.opt {
  position: relative;
  text-align: left;
  cursor: pointer;
  padding: 18px 16px;
  color: #e0d4b0;
  background: linear-gradient(180deg, #12100d, #1a1710);
  border: 1px solid #2a251c;
  border-bottom: unset;
  border-radius: 10px 10px 5px 5px;
  transition: transform 0.14s, border-color 0.2s;
}
.opt:hover {
  transform: translateY(-2px);
  border-color: #8b1a1a;
}
.opt .rot {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -5px;
  height: 11px;
  pointer-events: none;
  background: #5a1212;
  clip-path: polygon(0 0, 8% 55%, 14% 20%, 22% 70%, 30% 30%, 38% 85%, 46% 35%, 54% 75%, 62% 25%, 70% 80%, 78% 40%, 86% 70%, 93% 25%, 100% 60%, 100% 0);
}
.opt.sel {
  border-color: #c0392b;
  background: linear-gradient(180deg, #23130f, #1a1710);
  box-shadow: 0 0 0 1px #c0392b, 0 6px 20px rgba(139, 26, 26, 0.25);
}
.opt.sel::before {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: #8b1a1a;
  color: #d4c89a;
  border-radius: 50%;
  font-size: 14px;
}
.opt .ot {
  font-family: "monospace", sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: #d4c89a;
  margin-bottom: 3px;
  padding-right: 30px;
}
.opt .od {
  font-size: 14px;
  color: #b0a07a;
  margin-bottom: 8px;
  font-family: unset;
  line-height: 1.6;
}
.opt .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pp-face {
  overflow: hidden;
}

.pp-face img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.25);
  transform-origin: center;
}

.pp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pp-face {
  position: relative;
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #5a1212;
  background: linear-gradient(135deg, #1a1710, #0a0806);
  cursor: pointer;
}
.pp-face img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.pp-face .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #b0a07a;
}
.pp-face .redo {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(139, 26, 26, 0.9);
  color: #d4c89a;
  font-size: 11px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-top-left-radius: 6px;
}
.pp-face:hover .redo {
  background: #c0392b;
}

.name-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.name-row input {
  flex: 1;
}

.dice {
  flex: 0 0 auto;
  width: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: linear-gradient(180deg, #9a1d1d, #6f1414);
  border: 1px solid #c0392b;
  border-radius: 6px;
  font-size: 20px;
  color: #d4c89a;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background 0.2s;
}
.dice:hover {
  background: linear-gradient(180deg, #b32222, #7c1616);
}
.dice .ic {
  display: inline-block;
  line-height: 1;
}
.dice.rolling .ic {
  animation: roll 0.5s ease;
}

.dice-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  cursor: pointer;
  font-size: 14px;
  color: #b8802a;
  letter-spacing: 0.5px;
}
.dice-all:hover {
  text-decoration: underline;
}
.dice-all.rolling .ic {
  animation: roll 0.5s ease;
}

.pp-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

.pp-card {
  background: linear-gradient(180deg, #12100d, #1a1710);
  border: 1px solid #2a251c;
  border-radius: 10px;
  padding: 16px;
}
.pp-card h3 {
  font-family: "monospace", sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: #c0392b;
  margin-bottom: 10px;
}

.field {
  margin-bottom: 11px;
}
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b0a07a;
  margin-bottom: 4px;
}
.field input {
  width: 100%;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2a251c;
  border-radius: 6px;
  color: #d4c89a;
  font-family: "monospace", sans-serif;
  font-size: 15px;
}
.field input:focus {
  outline: none;
  border-color: #c0392b;
}

.traits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.trait {
  cursor: pointer;
  text-align: center;
  padding: 9px 4px;
  border: 1px solid #2a251c;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.25);
  transition: 0.15s;
}
.trait:hover {
  border-color: #6b7a5a;
}
.trait.sel {
  border-color: #c0392b;
  background: rgba(139, 26, 26, 0.15);
  color: #d4c89a;
}
.trait .tn {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.trait .tx {
  font-size: 11px;
  color: #b0a07a;
  margin-top: 2px;
  font-family: unset;
}

.sumbox {
  background: linear-gradient(180deg, #12100d, #1a1710);
  border: 1px solid #2a251c;
  border-radius: 10px;
  padding: 18px;
  margin-top: 14px;
}

.sumrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #2a251c;
  font-size: 14.5px;
}
.sumrow:last-child {
  border-bottom: none;
}
.sumrow .k {
  color: #b0a07a;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}
.sumrow .v {
  color: #d4c89a;
  text-align: right;
}

.note-login {
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px dashed #b8802a;
  border-radius: 8px;
  background: rgba(184, 128, 42, 0.08);
  font-size: 14px;
  color: #b0a07a;
  font-family: unset;
}
.note-login b {
  color: #b8802a;
}

.nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  flex: 1;
  font-family: "monospace", sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  text-align: center;
  cursor: pointer;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.15s;
  border: 1px solid;
}
.btn.back {
  flex: 0 0 auto;
  min-width: 96px;
  background: transparent;
  border-color: #2a251c;
  color: #b0a07a;
}
.btn.back:hover {
  border-color: #b0a07a;
  color: #e0d4b0;
}
.btn.next {
  position: relative;
  background: linear-gradient(180deg, #9a1d1d, #6f1414);
  border-color: #c0392b;
  color: #d4c89a;
  border-bottom-color: #5a1212;
}
.btn.next:hover {
  background: linear-gradient(180deg, #b32222, #7c1616);
}
.btn.next:disabled, .btn.next[aria-disabled=true] {
  opacity: 0.4;
  pointer-events: none;
}
.btn.next .rot {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -5px;
  height: 10px;
  pointer-events: none;
  background: #5a1212;
  clip-path: polygon(0 0, 10% 55%, 18% 22%, 28% 70%, 38% 32%, 48% 80%, 58% 30%, 68% 72%, 78% 35%, 88% 68%, 96% 28%, 100% 55%, 100% 0);
}

.err {
  color: #c0392b;
  font-size: 14px;
  margin-top: 10px;
  min-height: 18px;
  text-align: center;
  font-family: unset;
}

body.board {
  padding-bottom: 90px;
}

.status {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 6, 5, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a251c;
}

.status-in {
  max-width: 760px;
  margin: 0 auto;
  padding: 9px 14px;
}

.status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.com-name {
  font-family: "monospace", sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: #d4c89a;
  line-height: 1;
}

.turn-info {
  font-size: 14px;
  color: #b0a07a;
  letter-spacing: 0.5px;
  text-align: right;
}
.turn-info b {
  color: #b8802a;
  font-weight: 500;
}

.res-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.res {
  flex: 1 1 auto;
  min-width: 60px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #2a251c;
  border-radius: 6px;
}
.res .ic {
  font-size: 15px;
  line-height: 1;
}
.res .v {
  font-family: "monospace", sans-serif;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: #d4c89a;
  line-height: 1;
}
.res .nm {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b0a07a;
}
.res.moral {
  min-width: 96px;
}

.moral-bar {
  flex: 1;
  height: 7px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  overflow: hidden;
  margin-left: 2px;
}
.moral-bar i {
  display: block;
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, #8b1a1a, #7a9a4a);
}

section {
  margin-top: 22px;
}

.people {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

.person {
  display: flex;
  gap: 12px;
  background: linear-gradient(180deg, #12100d, #1a1710);
  border: 1px solid #2a251c;
  border-radius: 10px;
  padding: 12px;
}
.person .face {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #5a1212;
  background: linear-gradient(135deg, #1a1710, #0a0806);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #b0a07a;
}
.person .face img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.person .info {
  flex: 1;
  min-width: 0;
}
.person .nm {
  font-family: "monospace", sans-serif;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: #d4c89a;
  line-height: 1.1;
}
.person .role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 2px 0 6px;
  font-family: "monospace", sans-serif;
}
.person .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.role.violento {
  color: #c0392b;
}

.role.sociale {
  color: #5a9bc4;
}

.role.solitario {
  color: #6b7a5a;
}

.pp-azione {
  margin-top: 8px;
  border-top: 1px solid #2a251c;
  padding-top: 8px;
}

.az-btn {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #b0a07a;
  cursor: pointer;
  padding: 7px 8px;
  border-radius: 6px;
  border: 1px dashed #2a251c;
  background: none;
  transition: 0.15s;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-family: "monospace", sans-serif;
}
.az-btn.assigned {
  border-style: solid;
  border-color: #7a9a4a;
  color: #7a9a4a;
  background: rgba(122, 154, 74, 0.08);
}

.az-picker {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.az-opt {
  flex: 1;
  min-width: 72px;
  text-align: center;
  font-size: 14px;
  padding: 8px 4px;
  border-radius: 5px;
  border: 1px solid #2a251c;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
  color: #b0a07a;
  transition: 0.15s;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-family: "monospace", sans-serif;
}
.az-opt.sel {
  border-color: #7a9a4a;
  color: #7a9a4a;
  background: rgba(122, 154, 74, 0.1);
}

.res-picker {
  display: flex;
  gap: 5px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.res-opt {
  flex: 1;
  min-width: 55px;
  text-align: center;
  font-size: 14px;
  padding: 6px 4px;
  border-radius: 5px;
  border: 1px solid #2a251c;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
  color: #b0a07a;
  transition: 0.15s;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-family: "monospace", sans-serif;
}
.res-opt.sel {
  border-color: #b8802a;
  color: #b8802a;
  background: rgba(184, 128, 42, 0.1);
}

.slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.slot {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px dashed #2a251c;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}
.slot .sn {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(139, 26, 26, 0.18);
  color: #c0392b;
  font-family: "monospace", sans-serif;
  font-size: 18px;
}
.slot .st {
  flex: 1;
}
.slot .st b {
  display: block;
  color: #d4c89a;
  font-weight: 400;
  font-size: 15px;
}
.slot .st span {
  font-size: 14px;
  color: #b0a07a;
  font-family: unset;
}
.slot.filled {
  border-style: solid;
  border-color: #4a5040;
  background: rgba(74, 80, 64, 0.12);
}
.slot.filled .sn {
  background: rgba(74, 80, 64, 0.25);
  color: #6b7a5a;
}

.builds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.build {
  background: linear-gradient(180deg, #12100d, #1a1710);
  border: 1px solid #2a251c;
  border-radius: 9px;
  padding: 12px;
  text-align: center;
}
.build .bic {
  font-size: 22px;
  margin-bottom: 5px;
}
.build .bn {
  font-size: 14px;
  color: #d4c89a;
  letter-spacing: 0.3px;
}
.build .bs {
  font-size: 13.5px;
  color: #b0a07a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  font-family: "monospace", sans-serif;
}
.build.empty {
  border-style: dashed;
  opacity: 0.7;
  display: grid;
  place-items: center;
  min-height: 78px;
  cursor: pointer;
}
.build.empty .plus {
  font-size: 22px;
  color: #b0a07a;
}
.build.empty:hover {
  border-color: #8b1a1a;
  opacity: 1;
}

.log {
  background: linear-gradient(180deg, #12100d, #1a1710);
  border: 1px solid #2a251c;
  border-radius: 10px;
  padding: 14px;
}
.log .e {
  display: flex;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid #2a251c;
  font-size: 14px;
  font-family: unset;
  line-height: 1.55;
}
.log .e:last-child {
  border-bottom: none;
}
.log .e .dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 7px;
  background: #b0a07a;
}
.log .e .tx {
  color: #e0d4b0;
}
.log .e .tx b {
  color: #d4c89a;
  font-weight: 600;
}
.log .e.good .dot {
  background: #7a9a4a;
}
.log .e.bad .dot {
  background: #c0392b;
}
.log .e.warn .dot {
  background: #b8802a;
}

.endbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(8, 6, 5, 0.96) 30%);
  display: flex;
  justify-content: center;
}

.endbtn {
  position: relative;
  width: 100%;
  max-width: 500px;
  text-align: center;
  font-family: "monospace", sans-serif;
  font-size: 20px;
  letter-spacing: 3px;
  color: #d4c89a;
  background: linear-gradient(180deg, #9a1d1d, #6f1414);
  border: 1px solid #c0392b;
  border-bottom-color: #5a1212;
  border-radius: 10px 10px 5px 5px;
  padding: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 -2px 24px rgba(0, 0, 0, 0.6);
}
.endbtn:hover {
  background: linear-gradient(180deg, #b32222, #7c1616);
}
.endbtn .rot {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -5px;
  height: 10px;
  background: #5a1212;
  pointer-events: none;
  clip-path: polygon(0 0, 10% 55%, 18% 22%, 28% 70%, 38% 32%, 48% 80%, 58% 30%, 68% 72%, 78% 35%, 88% 68%, 96% 28%, 100% 55%, 100% 0);
}

.about {
  padding: 32px 0 16px;
}

.about h2 {
  font-family: "monospace", sans-serif;
  font-size: clamp(28px, 7vw, 40px);
  letter-spacing: 1px;
  color: #d4c89a;
  text-align: center;
  margin-bottom: 6px;
}

.about .sub {
  text-align: center;
  color: #b0a07a;
  font-size: 15px;
  font-family: unset;
  max-width: 50ch;
  margin: 0 auto 24px;
}

.about-img {
  width: 100%;
  border: 1px solid #2a251c;
  border-radius: 10px;
  display: block;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  background: linear-gradient(135deg, #1a1710, #0a0806);
  margin-bottom: 22px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

.about-txt p {
  font-size: 16px;
  margin-bottom: 14px;
  font-family: unset;
  line-height: 1.75;
  color: #e0d4b0;
}
.about-txt strong {
  color: #d4c89a;
  font-weight: 600;
}

.about-side {
  width: 100%;
  border: 1px solid #2a251c;
  border-radius: 10px;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  background: linear-gradient(135deg, #1a1710, #0a0806);
}

@media (min-width: 620px) {
  .opts {
    grid-template-columns: 1fr 1fr;
  }
  .opts.three {
    grid-template-columns: repeat(3, 1fr);
  }
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1.6fr 1fr;
  }
  .people {
    grid-template-columns: 1fr 1fr;
  }
  .slots {
    grid-template-columns: repeat(3, 1fr);
  }
  .builds {
    grid-template-columns: repeat(4, 1fr);
  }
  .pp-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 860px) {
  .tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}/*# sourceMappingURL=main.css.map */