@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap";

/* src/styles.css */
:root {
  color-scheme: dark;
  --bg:#11131b;
  --surface:#191c27;
  --surface-2:#212534;
  --text:#f3f0e8;
  --muted:#9699a8;
  --line:#303547;
  --accent:#d6f56d;
  --accent-ink:#17200e;
  --danger:#ff948f;
  --online:#73e6a1;
  --offline:#ff6e6e;
  --grid-dot:#59607845;
}
:root.light {
  color-scheme: light;
  --bg:#f5f3ed;
  --surface:#fffdf8;
  --surface-2:#eeece4;
  --text:#181a20;
  --muted:#696d78;
  --line:#dedbd0;
  --accent:#385d19;
  --accent-ink:#f8fff0;
  --danger:#b42318;
  --online:#218653;
  --offline:#d53c3c;
  --grid-dot:#a7a99c55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
body {
  background-image:
    radial-gradient(
      circle,
      var(--grid-dot) 1.1px,
      transparent 1.2px);
  background-size: 28px 28px;
}
.shell {
  max-width: 1180px;
  min-height: 100vh;
  margin: auto;
  padding: 28px 42px 22px;
  display: flex;
  flex-direction: column;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -.04em;
  text-decoration: none;
  font-size: 1.1rem;
}
.brand-mark {
  color: var(--accent);
  margin-right: 8px;
}
.icon-button {
  color: var(--muted);
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  width: 38px;
  height: 38px;
}
.start-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 10%;
  padding: 75px 5% 65px;
}
.eyebrow {
  color: var(--accent);
  font: 500 .72rem "DM Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.08em;
  margin: 18px 0 25px;
}
h1 em {
  color: var(--accent);
  font-style: normal;
}
.lede {
  color: var(--muted);
  max-width: 440px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.sparkline {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 45px;
  margin-top: 54px;
}
.sparkline span {
  width: 7px;
  border-radius: 8px;
  background: var(--accent);
  opacity: .85;
}
.sparkline span:nth-child(1) {
  height: 18px;
}
.sparkline span:nth-child(2) {
  height: 30px;
}
.sparkline span:nth-child(3) {
  height: 22px;
}
.sparkline span:nth-child(4) {
  height: 42px;
}
.sparkline span:nth-child(5) {
  height: 28px;
}
.sparkline span:nth-child(6) {
  height: 36px;
}
.entry-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 31px;
  border-radius: 18px;
  box-shadow: 0 22px 80px #0003;
}
.card-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 29px;
}
.card-heading h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}
.card-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.step-badge {
  font: 500 .68rem "DM Mono", monospace;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  padding: 8px 6px;
}
label {
  display: block;
  color: var(--muted);
  font-size: .75rem;
  margin: 18px 0;
}
input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}
input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.primary,
.secondary {
  width: 100%;
  border-radius: 8px;
  padding: 13px 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid transparent;
}
.primary {
  color: var(--accent-ink);
  background: var(--accent);
}
.primary:disabled,
.secondary:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}
.compact {
  width: auto;
  padding: 10px 14px;
}
.or {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .72rem;
  margin: 25px 0 8px;
}
.or:before,
.or:after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.error {
  color: var(--danger);
  font-size: .82rem;
}
.invite-copy {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
  margin: -8px 0 24px;
}
.invite-alternate {
  justify-content: center;
  margin-top: 12px;
  font-size: .82rem;
}
.room-page {
  flex: 1;
  padding: 70px 3% 48px;
}
.room-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 45px;
}
.room-heading h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 0;
}
.room-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 22px;
}
.people-panel,
.table-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 23px;
}
.panel-title,
.progress-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: 500 .72rem "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 12px var(--online);
}
.live-dot.offline {
  background: var(--offline);
  box-shadow: 0 0 12px var(--offline);
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.presence-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--offline);
  box-shadow: 0 0 10px color-mix(in srgb, var(--offline) 75%, transparent);
}
.presence-dot.online {
  background: var(--online);
  box-shadow: 0 0 10px color-mix(in srgb, var(--online) 75%, transparent);
}
.avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: var(--surface-2);
  color: var(--accent);
  border-radius: 50%;
  font-weight: 600;
  font-size: .75rem;
}
.person-name {
  font-size: .85rem;
  flex: 1;
}
.vote-state {
  color: var(--muted);
  font: 500 .9rem "DM Mono", monospace;
}
.vote-state.done {
  color: var(--accent);
}
.vote-feedback {
  color: var(--accent);
  text-align: center;
  font-size: .82rem;
  margin: 35px 0 -40px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(50px, 1fr));
  gap: 12px;
  padding: 70px 10% 60px;
}
.poker-card {
  position: relative;
  aspect-ratio: 2/3;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 1.2rem;
  font-weight: 600;
  transition:
    transform .16s ease,
    border-color .16s ease,
    opacity .16s ease;
}
.poker-card:hover,
.poker-card:focus-visible {
  transform: translateY(-7px);
  border-color: var(--accent);
  color: var(--accent);
}
.poker-card.selected {
  border: 2px solid var(--accent);
  color: var(--accent);
  transform: translateY(-7px);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 18%, transparent);
}
.poker-card.selected::after {
  content: "\2713";
  position: absolute;
  top: 7px;
  right: 8px;
  font: 500 .75rem "DM Mono", monospace;
}
.poker-card.muted {
  opacity: .45;
}
.actions {
  display: flex;
  justify-content: center;
}
.actions .primary {
  width: auto;
  min-width: 190px;
}
.result {
  text-align: center;
  padding: 60px 10px 55px;
}
.result strong {
  display: block;
  font-size: 2.4rem;
  letter-spacing: -.06em;
  margin: 12px 0 28px;
}
.revealed-participants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 12px;
  text-align: left;
}
.revealed-person {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.revealed-person-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .85rem;
  margin-bottom: 14px;
}
.revealed-vote {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}
.revealed-vote-label {
  color: var(--muted);
  font: 500 .65rem "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mini-card {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 12px 15px;
  border-radius: 7px;
  font: 500 1rem "DM Mono", monospace;
}
.reconnecting {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: .65rem "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
@media (max-width: 750px) {
  .shell {
    padding: 20px;
  }
  .start-layout {
    display: block;
    padding: 55px 0;
  }
  .intro {
    margin-bottom: 40px;
  }
  .room-page {
    padding: 45px 0;
  }
  .room-heading {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
  .room-grid {
    grid-template-columns: 1fr;
  }
  .people-panel {
    order: 2;
  }
  .cards {
    padding: 45px 0;
    gap: 8px;
  }
  footer {
    gap: 10px;
    flex-direction: column;
  }
}
.room-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.leave-button {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 50%, var(--line));
}
.person-name.self strong {
  font-weight: 700;
}
.you,
.role {
  font-weight: 400;
  color: var(--muted);
}
.rename-button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 4px;
  font-size: 1rem;
  line-height: 1;
}
.rename-button:hover,
.rename-button:focus-visible {
  color: var(--accent);
}
.rename-editor {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.rename-editor input {
  margin: 0;
  min-width: 0;
  padding: 7px 9px;
}
.rename-action {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  min-width: 29px;
  height: 29px;
}
.rename-action:hover,
.rename-action:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #080a0f99;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.rejoin-modal {
  width: min(100%, 440px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 90px #0008;
}
.rejoin-modal h2 {
  margin: 10px 0 12px;
  font-size: 2rem;
  letter-spacing: -.05em;
}
.rejoin-modal > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.modal-actions button {
  flex: 1;
}
@media (max-width: 750px) {
  .room-header-actions {
    width: 100%;
  }
  .room-header-actions button {
    flex: 1;
  }
  .modal-actions {
    flex-direction: column;
  }
}
.room-page {
  padding-top: 42px;
}
.room-heading h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}
@media (max-width: 750px) {
  .room-page {
    padding-top: 30px;
  }
}
.round-stage {
  min-height: 480px;
}
.vote-feedback {
  min-height: 1.25rem;
  visibility: hidden;
  margin: 0 0 -5px;
}
.vote-feedback.visible {
  visibility: visible;
}
.person {
  padding: 11px 0;
}
.person-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
.you,
.role {
  white-space: nowrap;
}
@media (max-width: 750px) {
  .round-stage {
    min-height: 0;
  }
}
.rename-button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0;
}
.vote-state {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  line-height: 1;
}
.rename-button + .vote-state {
  margin-left: -6px;
}
.person-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}
.person-controls .vote-state {
  margin-left: 0;
}
.vote-pending-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.rename-modal {
  width: min(100%, 440px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 90px #0008;
}
.rename-modal h2 {
  margin: 10px 0 12px;
  font-size: 2rem;
  letter-spacing: -.05em;
}
.rename-modal > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}
.rename-modal label {
  margin: 24px 0 0;
}
.qr-modal {
  position: relative;
  width: min(100%, 420px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 90px #0008;
  text-align: center;
}
.qr-modal h2 {
  margin: 10px 0 12px;
  font-size: 2rem;
  letter-spacing: -.05em;
}
.qr-modal > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
}
.modal-close:hover,
.modal-close:focus-visible {
  color: var(--text);
  border-color: var(--accent);
}
.qr-code {
  display: grid;
  place-items: center;
  margin: 24px auto;
  padding: 14px;
  width: min(100%, 270px);
  background: #fff;
  border-radius: 12px;
}
.qr-code canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
  image-rendering: pixelated;
}
.invite-url {
  display: block;
  max-height: 4.5em;
  overflow: auto;
  margin: 0 0 20px;
  color: var(--muted);
  font: 500 .7rem/1.5 "DM Mono", monospace;
  overflow-wrap: anywhere;
  text-align: left;
}
@media (max-width: 750px) {
  .shell {
    padding: 16px;
  }
  .start-layout {
    padding: 32px 0 38px;
  }
  .intro {
    margin-bottom: 28px;
  }
  .intro h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }
  .sparkline {
    margin-top: 32px;
  }
  .entry-card {
    padding: 22px;
  }
  .room-page {
    padding: 30px 0 36px;
  }
  .room-heading {
    margin-bottom: 28px;
  }
  .room-heading h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
  }
  .room-header-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
  .room-header-actions button {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    white-space: nowrap;
  }
  .room-header-actions .leave-button {
    flex-basis: 100%;
  }
  .room-grid {
    gap: 14px;
  }
  .people-panel,
  .table-panel {
    padding: 18px;
  }
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 32px 0 38px;
    gap: 9px;
  }
  .poker-card {
    font-size: 1.05rem;
  }
  .qr-modal {
    padding: 24px 18px;
  }
}
.github-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  padding: 3px;
  border-radius: 4px;
}
.github-link svg {
  width: 18px;
  height: 18px;
  display: block;
}
.github-link:hover {
  color: var(--text);
}
.github-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 750px) {
  footer .github-link {
    align-self: flex-end;
  }
}
.footer-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.privacy-button {
  padding: 3px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}
.privacy-button:hover {
  color: var(--text);
}
.privacy-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.privacy-modal {
  position: relative;
  width: min(100%, 560px);
  max-height: min(680px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 90px #0008;
}
.privacy-modal h2 {
  margin: 10px 0 18px;
  font-size: 2.2rem;
  letter-spacing: -.05em;
}
.privacy-modal > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 750px) {
  footer .footer-actions {
    align-self: flex-end;
  }
  .privacy-modal {
    padding: 24px 18px;
  }
  .privacy-modal h2 {
    font-size: 1.9rem;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
