@font-face {
  font-family: Bricolage;
  src: url("/fonts/bricolage-grotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #282527;
  --muted: #645f64;
  --paper: #fbfaf7;
  --purple: #d2c1f4;
  --line: #dedad4;
  --display: Bricolage, "Arial Rounded MT Bold", Arial, sans-serif;
  font-family: var(--display);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #4f37a7;
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  font-weight: 650;
}
.skip {
  position: fixed;
  left: -100vw;
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip:focus {
  left: 12px;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner,
.shell {
  width: min(1184px, calc(100% - 96px));
  margin: auto;
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 55px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  letter-spacing: -1.65px;
  font-size: 2.05rem;
  font-weight: 800;
  padding: 0;
  line-height: 1;
}
.brand-period {
  color: #7762ad;
}
.brand-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: rotate(-10deg);
  gap: 2px;
  width: 29px;
  height: 29px;
  margin-right: 10px;
}
.brand-mark i {
  background: var(--ink);
  border-radius: 50% 52% 24% 52%;
}
.brand-mark i:nth-child(2) {
  transform: rotate(90deg);
}
.brand-mark i:nth-child(3) {
  transform: rotate(270deg);
}
.brand-mark i:nth-child(4) {
  transform: rotate(180deg);
}
nav {
  display: flex;
  align-self: stretch;
  gap: 28px;
}
nav button {
  font-size: 0.94rem;
  padding: 0 1px;
  position: relative;
  color: var(--muted);
}
nav button[aria-current] {
  color: var(--ink);
}
nav button[aria-current]::after {
  content: "";
  height: 3px;
  background: var(--ink);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.btn {
  border: 1.5px solid var(--ink);
  min-height: 44px;
  border-radius: 12px;
  background: transparent;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 690;
  font-size: 0.94rem;
  transition:
    transform 0.15s,
    background 0.15s;
}
.btn:hover {
  background: #ffffff68;
  transform: translateY(-1px);
}
.btn.primary {
  color: #fff;
  background: var(--ink);
}
.btn.primary:hover {
  background: #44394b;
}
.btn.light {
  background: #fff9;
}
.btn:disabled {
  opacity: 0.6;
  transform: none;
}
.join-top {
  margin-left: auto;
  background: #fff;
  min-height: 40px;
  padding: 8px 15px;
}
.hash {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
}
.shell {
  padding: 30px 0 42px;
}
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border: 1px solid #bbacd3;
  border-radius: 24px;
  background: #d1bff1;
  display: flex;
  min-height: 342px;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 46%;
  background-image: radial-gradient(#74628c4f 1px, transparent 1.4px);
  background-size: 10px 10px;
  mask-image: linear-gradient(90deg, transparent, #000 65%);
  z-index: -2;
}
.hero-copy {
  padding: 32px 0 34px 44px;
  width: 53%;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 1.5px;
  font: 750 0.76rem/1.1 var(--display);
  text-transform: uppercase;
}
.featured {
  background: #f8f2ff8f;
  padding: 8px 11px;
  border: 1px solid #9e8ab6;
  border-radius: 24px;
  letter-spacing: 1.25px;
}
.featured b {
  font-size: 1rem;
  line-height: 0.7;
}
.hero h1 {
  font-size: clamp(3.55rem, 5.7vw, 5.35rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
  margin: 13px 0 10px;
  font-weight: 800;
}
.hero-copy > p {
  max-width: 410px;
  font-size: 1.04rem;
  line-height: 1.42;
}
.hero-art {
  position: absolute;
  height: 111%;
  width: 53%;
  right: 1.1%;
  bottom: -5%;
  object-fit: contain;
  pointer-events: none;
  z-index: -1;
  transform: rotate(-3deg);
}
.meta {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 550;
}
.meta span,
.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
  font-weight: 650;
}
.clock {
  width: 14px;
  height: 14px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  position: relative;
}
.clock::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 3px;
  height: 4px;
  border-left: 1.3px solid;
  border-bottom: 1.3px solid;
  transform: skewY(10deg);
}
.layers {
  width: 14px;
  height: 12px;
  position: relative;
}
.layers::before,
.layers::after {
  content: "";
  position: absolute;
  inset: 0 2px 3px 0;
  border: 1.3px solid;
  border-radius: 2px;
}
.layers::after {
  inset: 3px 0 0 3px;
  border-left: 0;
  border-top: 0;
}
.people {
  font-size: 1rem;
  width: 17px;
  position: relative;
  height: 13px;
}
.people::before,
.people::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 9px;
  height: 6px;
  border: 1.4px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.people::before {
  box-shadow:
    6px 0 0 -1px #d1bff1,
    6px 0 0 0 currentColor;
}
.people::after {
  width: 4px;
  height: 4px;
  border: 1.4px solid;
  border-radius: 50%;
  left: 3px;
  top: 0;
  box-shadow:
    6px 1px 0 -1px #d1bff1,
    6px 1px 0 0 currentColor;
}
.hero .meta {
  margin: 16px 0 22px;
}
.hero-actions,
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.play {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.library-section {
  margin-top: 35px;
}
.category-intro {
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 0;
}
.category-intro h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 1;
}
.category-intro p {
  max-width: 37rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.45;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: 2.13rem;
  letter-spacing: -0.045em;
  font-weight: 770;
}
.filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter {
  font-size: 0.87rem;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 8px 12px;
  color: #625c61;
}
.filter:hover {
  background: #eeebe7;
}
.filter[aria-pressed="true"] {
  background: #e9e5f2;
  color: #443951;
  border-color: #d9d1e4;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  display: block;
  border: 1px solid #d9d5ce;
  border-radius: 17px;
  padding: 0;
  background: #fffdfa;
  text-align: left;
  overflow: hidden;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 14px #3530310c;
}
.card-cover {
  position: relative;
  overflow: hidden;
  height: clamp(132px, 12vw, 167px);
  display: grid;
  place-items: center;
  border-bottom: 1px solid #332c3312;
}
.card-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
}
.card-cover.mix {
  background: #f5b7a8;
}
.mix::before {
  background-image: radial-gradient(#c76f61 1px, transparent 1.1px);
  background-size: 9px 9px;
}
.card-cover.warm {
  background: #bcdccb;
}
.warm::before {
  background-image:
    linear-gradient(#78a79555 1px, transparent 1px),
    linear-gradient(90deg, #78a79555 1px, transparent 1px);
  background-size: 20px 20px;
}
.card-cover.spark {
  background: #f5d77c;
}
.spark::before {
  background: repeating-linear-gradient(
    -38deg,
    transparent 0 11px,
    #c69b382e 12px 13px
  );
}
.card-cover.sales {
  background: #c4d8f5;
  --tile-ink: #334b73;
  --tile-rim: #78a3db;
}
.card-cover.marketing {
  background: #f4c6d4;
  --tile-ink: #73384a;
  --tile-rim: #de88a2;
}
.card-cover.onboarding {
  background: #d9e9af;
  --tile-ink: #405633;
  --tile-rim: #99b570;
}
.card-cover:has(.letter-tiles) {
  container-type: inline-size;
}
.card-cover:has(.letter-tiles)::before {
  background-image: radial-gradient(var(--tile-rim) 1px, transparent 1.4px);
  background-size: 9px 9px;
}
.letter-tiles {
  display: flex;
  gap: 0.14em;
  position: relative;
  color: var(--tile-ink);
  font-size: clamp(1rem, 15cqw, 3.35rem);
  transform: rotate(-6deg);
}
.letter-tiles b {
  display: grid;
  place-items: center;
  width: 1.37em;
  height: 1.47em;
  background: #fff9ec;
  border: 0.045em solid currentColor;
  border-radius: 0.22em;
  box-shadow: 0.035em 0.075em var(--tile-rim), 0.045em 0.115em var(--tile-ink);
  line-height: 1;
  font-weight: 800;
}
.letter-tiles b:nth-child(2) {
  transform: translateY(-0.09em) rotate(5deg);
}
.letter-tiles b:nth-child(3) {
  transform: translateY(0.075em) rotate(2deg);
}
.card-cover img {
  width: 73%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 13.5%;
  filter: drop-shadow(0 3px 2px #3a233417);
}
.card-body {
  display: block;
  padding: 16px 18px 17px;
  position: relative;
}
.card-type {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1.35px;
  font-weight: 750;
  text-transform: uppercase;
  color: #6f5a62;
}
.card-title {
  display: block;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: -0.035em;
  margin: 5px 0 10px;
}
@media (min-width: 881px) {
  .card-title {
    padding-right: 2.2rem;
  }
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.card-go {
  position: absolute;
  right: 17px;
  top: 30px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ded9d2;
  display: grid;
  place-items: center;
}
.card-go .play {
  border-width: 4px 0 4px 6px;
  margin-left: 2px;
}
.library-footer {
  padding: 20px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.library-footer .people::before,
.library-footer .people::after {
  box-shadow: none;
}
dialog {
  width: min(470px, calc(100% - 28px));
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #c2babf;
  border-radius: 21px;
  box-shadow: 0 18px 80px #25202938;
  max-height: 90dvh;
}
dialog::backdrop {
  background: #241c2a68;
  backdrop-filter: blur(3px);
}
.modal-body {
  padding: 32px;
  position: relative;
}
.close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  background: #ece8e3;
}
.modal-body h2,
.stage h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  margin: 12px 0;
}
.modal-body > p,
.intro {
  font-size: 1.03rem;
  color: #554f55;
  line-height: 1.5;
}
.modal-body .actions {
  margin-top: 21px;
}
.modal-body ol {
  padding-left: 1.3em;
  line-height: 1.5;
}
.modal-body li {
  padding: 4px 0;
}
.modal-body label {
  display: block;
  font-weight: 650;
  margin: 15px 0 6px;
}
.modal-body input {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 9px;
  border: 1px solid #9f97a0;
  background: white;
}
.modal-body form .btn {
  margin-top: 20px;
  width: 100%;
}
.error {
  color: #9e2a2a;
  font-size: 0.93rem;
  margin-top: 10px;
}
.modal-body .meta {
  margin-top: 15px;
}
.round-list {
  list-style: none;
  padding: 0 !important;
  counter-reset: round;
}
.round-list li {
  counter-increment: round;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.round-list li::before {
  content: counter(round);
  padding: 2px 6px;
  background: #e9e0f5;
  border-radius: 4px;
  font-size: 0.8rem;
}
.stage-shell {
  max-width: 900px;
  margin: auto;
}
.stage-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  min-height: 32px;
}
.text-btn {
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 5px 0;
}
.stage {
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffdfa;
}
.stage .intro {
  max-width: 600px;
}
.stage h1 {
  max-width: 740px;
}
.stage.lobby {
  background: #e3d6f7;
}
.stage-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}
.stage .code {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1.2;
}
.stage-section {
  margin: 22px 0;
}
.stage-section h2,
.debrief h2 {
  font-size: 1.2rem;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
}
.roster {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.name-chip {
  background: white;
  border: 1px solid #d2c3dd;
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 0.9rem;
}
.round-progress {
  display: flex;
  gap: 4px;
}
.round-progress i {
  height: 5px;
  width: 24px;
  background: #ddd8d4;
  border-radius: 3px;
}
.round-progress i.on {
  background: #7657a6;
}
.debrief {
  background: #f0e9f8;
  padding: 17px 20px;
  border-radius: 12px;
  margin: 16px 0;
}
.debrief p {
  line-height: 1.45;
}
.stage .actions {
  margin-top: 19px;
}
.connection {
  font-size: 0.88rem;
  color: #735739;
}
.summary-list {
  padding: 0;
  list-style: none;
  line-height: 1.7;
}
.tag {
  background: #ece5f3;
  font-size: 0.8rem;
  font-weight: 650;
  padding: 5px 9px;
  border-radius: 8px;
}
.live-note {
  min-height: 1.2em;
  color: var(--muted);
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  padding: 11px 18px;
  z-index: 9;
  box-shadow: 0 4px 10px #0002;
  text-align: center;
}
#toast:empty {
  display: none;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 375px;
  }
  .hero-copy {
    padding-left: 54px;
  }
}
@media (max-width: 880px) {
  .header-inner,
  .shell {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 34px;
  }
  .hero-copy {
    padding-left: 28px;
  }
  .hero-art {
    right: -2%;
  }
  .cards {
    gap: 12px;
  }
  .card-body {
    padding: 14px;
  }
  .card-go {
    right: 10px;
    width: 27px;
    height: 27px;
  }
  .card-title {
    font-size: 1.25rem;
  }
  .card-meta {
    font-size: 0.8rem;
  }
  .filters {
    gap: 0;
  }
}
@media (max-width: 670px) {
  .header-inner,
  .shell {
    width: calc(100% - 32px);
  }
  .header-inner {
    height: 64px;
    gap: 14px;
  }
  .brand {
    font-size: 1.72rem;
  }
  .brand-mark {
    width: 23px;
    height: 23px;
    margin-right: 7px;
  }
  .header-inner nav {
    margin-left: auto;
  }
  .header-inner nav button:first-child {
    display: none;
  }
  .header-inner nav button {
    font-size: 0.8rem;
  }
  .join-top {
    margin-left: 0;
    font-size: 0.83rem;
    min-height: 37px;
    padding: 7px 10px;
  }
  .shell {
    padding-top: 17px;
  }
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    border-radius: 18px;
  }
  .hero-copy {
    width: auto;
    padding: 22px 21px 19px;
  }
  .hero h1 {
    font-size: 3.55rem;
  }
  .hero-copy > p {
    max-width: 390px;
    font-size: 1rem;
  }
  .hero-art {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: center;
    width: 100%;
    height: 174px;
    order: -1;
    margin: 3px 0 -10px;
    transform: none;
  }
  .hero::before {
    inset: 0;
    mask-image: linear-gradient(#000, transparent 65%);
  }
  .hero .meta {
    margin: 12px 0 16px;
  }
  .hero .btn {
    min-height: 42px;
  }
  .library-section {
    margin-top: 23px;
  }
  .section-head {
    display: block;
  }
  .section-head h2 {
    font-size: 1.85rem;
  }
  .filters {
    margin-top: 10px;
  }
  .section-head {
    margin-bottom: 13px;
  }
  .filter {
    padding: 7px 10px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    display: grid;
    grid-template-columns: 32% 1fr;
    min-height: 113px;
  }
  .card-cover {
    height: 100%;
    border-bottom: 0;
    border-right: 1px solid #332c3312;
  }
  .card-cover img {
    width: 95%;
    left: 2.5%;
  }
  .card-body {
    padding: 15px 38px 15px 16px;
    align-self: center;
  }
  .card-go {
    top: calc(50% - 14px);
  }
  .modal-body {
    padding: 27px 21px;
  }
  .stage h1 {
    font-size: 2.05rem;
  }
  .stage .actions .btn {
    max-width: 100%;
  }
  .stage-path {
    font-size: 0.85rem;
  }
}
@media (max-width: 365px) {
  .header-inner {
    gap: 7px;
  }
  .header-inner nav {
    display: none;
  }
  .join-top {
    margin-left: auto;
  }
  .brand {
    font-size: 1.6rem;
  }
  .hero .meta {
    gap: 10px;
  }
  .filter {
    font-size: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (min-width: 671px) and (max-width: 880px) {
  .hero-art {
    width: 50%;
    right: 0;
  }
  .card-go {
    display: none;
  }
}

/* Phone entry and room invitations */
#main:focus {
  outline: none;
}
.join-shell {
  display: grid;
  place-items: start center;
  padding-top: clamp(1.5rem, 6vw, 5rem);
}
.join-panel {
  width: min(100%, 27rem);
  overflow: hidden;
  padding: 0;
}
.join-art {
  height: 6.5rem;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr);
  display: grid;
  place-items: center;
  border-bottom: 1px solid #ac9ac3;
  background-color: #d6c7ed;
  background-image: radial-gradient(#a38abd70 1px, transparent 1px);
  background-size: 10px 10px;
}
.join-art img {
  width: 8rem;
  height: 6rem;
  max-width: 100%;
  object-fit: contain;
}
.join-content {
  padding: 1.25rem clamp(1.25rem, 4vw, 2rem) 1.65rem;
}
.join-content h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  margin: 0 0 1rem;
}
.room-number {
  color: var(--muted);
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.room-number strong {
  color: var(--ink);
  padding: 0.3rem 0.55rem;
  background: #ece5f3;
  border-radius: 6px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.join-content label {
  display: block;
  font-weight: 650;
  margin: 0.5rem 0 0.35rem;
}
.join-content input:not([type="hidden"]) {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #918995;
  border-radius: 10px;
  background: #fff;
}
.join-content input[name="code"] {
  letter-spacing: 0.1em;
}
.join-hint {
  margin: 1.25rem 0 0;
  color: var(--muted);
}
.nickname-option summary {
  display: list-item;
  padding: 0.75rem 0;
  font-weight: 640;
  cursor: pointer;
}
.nickname-option summary:focus-visible {
  outline: 3px solid #4f37a7;
  outline-offset: 2px;
}
.join-submit {
  width: 100%;
  margin-top: 0.75rem;
  min-height: 48px;
}
.change-code {
  display: block;
  margin: 0.6rem auto 0;
  padding: 0.7rem 0.25rem;
  font-size: 0.9rem;
}
.join-content .error:empty {
  display: none;
}
.invite-panel {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  margin: 1.2rem 0;
}
.qr-button {
  padding: 0.55rem 0.55rem 0.7rem;
  border: 1px solid #b4a7c0;
  border-radius: 15px;
  background: white;
}
.qr-button span {
  display: block;
  color: #574c5d;
  font-size: 0.85rem;
}
.qr-button svg,
.big-qr svg {
  display: block;
  width: 100%;
  height: auto;
}
.invite-address {
  margin: 0 0 1rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.invite-address strong {
  display: block;
  font-size: clamp(1rem, 3vw, 1.25rem);
}
.invite-panel .code {
  font-size: clamp(2rem, 6vw, 3.65rem);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.invite-panel .actions {
  margin-top: 0.65rem;
}
.invite-panel.expanded {
  text-align: center;
  display: block;
  margin-bottom: 0;
}
.big-qr {
  margin: 0 auto 1.1rem;
  max-width: min(100%, 42vh);
}
.expanded .invite-details .actions {
  justify-content: center;
}
dialog:has(.invite-panel.expanded) {
  width: min(540px, calc(100% - 28px));
}
body:has(.join-panel) .join-top {
  visibility: hidden;
}
@media (max-width: 570px) {
  .invite-panel {
    grid-template-columns: minmax(105px, 35%) minmax(0, 1fr);
    gap: 0.85rem;
  }
  .invite-panel .code {
    font-size: clamp(1.7rem, 7vw, 2.5rem);
  }
  .invite-panel .actions {
    gap: 0.4rem;
  }
  .invite-panel .actions .btn {
    font-size: 0.86rem;
    padding: 8px 9px;
  }
  .qr-button {
    padding: 0.2rem 0.2rem 0.35rem;
  }
  .invite-address {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
}

.invite-panel.no-qr {
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
