/* Fredoka liegt lokal (SIL Open Font License, siehe fonts/OFL.txt) – keine Anfragen an Google */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/fredoka-latin.woff2) format('woff2');
}

:root {
  --ink: #6b4423;
  --ink-soft: #8a6242;
  --cream: #fff8ec;
  --cream-2: #ffefd6;
  --orange: #f59b3c;
  --orange-d: #d97a1c;
  --green: #6ccb4a;
  --green-d: #46a031;
  --pink: #ff6f91;
  --font: 'Fredoka', 'Arial Rounded MT Bold', 'Nunito', ui-rounded, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #2d1f14;
  background: radial-gradient(ellipse at center, #4a3222 0%, #23170e 100%);
  font-family: var(--font);
  color: var(--ink);
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-text-size-adjust: 100%;
  touch-action: none;
  overscroll-behavior: none;
}

/* Spielfläche mittig, mit Abstand zu Notch und Home-Leiste */
body {
  display: grid; place-items: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
#safe-probe {
  position: fixed; visibility: hidden; pointer-events: none;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
body.touch #stage { border-radius: 0; box-shadow: none; }

#stage {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s;
}
body.loaded #stage { opacity: 1; }

#game { display: block; width: 100%; height: 100%; }

#ui {
  position: absolute;
  inset: 0 auto auto 0;
  width: 960px;
  height: 540px;
  transform-origin: 0 0;
  pointer-events: none;
}

/* ---------------------------------------------------------------- Bildschirme */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.screen.visible { opacity: 1; visibility: visible; pointer-events: auto; }
.screen.modal { background: rgba(60, 35, 15, 0.35); backdrop-filter: blur(3px); }

/* ---------------------------------------------------------------- Knöpfe */
button { font-family: inherit; cursor: pointer; }
button:focus-visible { outline: 4px solid #fff; outline-offset: 3px; }

.btn {
  min-width: 260px;
  padding: 12px 28px 14px;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--ink), 0 10px 18px rgba(60, 30, 10, 0.25);
  transition: transform 0.12s, box-shadow 0.12s, background 0.2s;
}
.btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 9px 0 var(--ink), 0 14px 22px rgba(60, 30, 10, 0.25); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink), 0 4px 8px rgba(60, 30, 10, 0.25); }
.btn.primary { background: linear-gradient(#ffc06b, var(--orange)); color: #fff; text-shadow: 0 2px 0 var(--orange-d), 0 0 2px var(--ink); }
.btn.primary:hover { background: linear-gradient(#ffcc80, #f7a650); }
.btn.small { min-width: 0; font-size: 20px; padding: 9px 22px 11px; }

.round-btn {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  padding: 0;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.12s;
}
.round-btn:hover { transform: translateY(-2px) scale(1.06); }
.round-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.round-btn svg { width: 26px; height: 26px; fill: var(--ink); stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.round-btn.small { width: 46px; height: 46px; }
.round-btn svg .wave, .round-btn svg .line, .round-btn svg .cross { fill: none; }
.round-btn svg .cross { display: none; stroke: #e04a5f; stroke-width: 3; }
.round-btn.off svg .cross { display: inline; }
.round-btn.off svg .wave { opacity: 0.2; }
.round-btn.off { background: #f1e3cf; }

.menu { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.menu.row { flex-direction: row; gap: 14px; }
.toggles { display: flex; gap: 12px; }

/* ---------------------------------------------------------------- Titel */
#screen-title { justify-content: flex-start; padding-top: 62px; }
#screen-title .toggles { position: absolute; top: 14px; right: 16px; }
#screen-title .menu { gap: 14px; }
#screen-title .btn { padding: 10px 28px 12px; font-size: 25px; }

.logo {
  margin: 0;
  font-size: 100px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
}
.logo span {
  display: inline-block;
  color: #ffb04a;
  background: linear-gradient(#ffd27a 20%, #f59b3c 75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 7px var(--ink);
  paint-order: stroke fill;
  filter: drop-shadow(0 7px 0 var(--ink)) drop-shadow(0 12px 14px rgba(60, 30, 10, 0.3));
  animation: letter 2.4s ease-in-out infinite;
}
.logo span:nth-child(2) { animation-delay: 0.12s; }
.logo span:nth-child(3) { animation-delay: 0.24s; }
.logo span:nth-child(4) { animation-delay: 0.36s; }
.logo span:nth-child(5) { animation-delay: 0.48s; }
.logo span:nth-child(6) { animation-delay: 0.6s; }
@keyframes letter {
  0%, 60%, 100% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(-12px) rotate(-3deg); }
}

.tagline {
  margin: 6px 0 18px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 0 var(--ink), 0 0 2px var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink);
}

.pantry-box {
  position: absolute;
  top: 16px;
  left: 16px;
  transform: scale(0.88);
  transform-origin: 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 8px;
  background: rgba(255, 248, 236, 0.9);
  border: 3px solid var(--ink);
  border-radius: 999px;
}
.pantry-label {
  font-size: 15px; font-weight: 700; color: #fff;
  background: var(--green-d);
  padding: 5px 12px;
  border-radius: 999px;
}
.pantry { display: flex; gap: 16px; font-size: 20px; font-weight: 700; }
.pantry-item { display: flex; align-items: center; gap: 5px; }
.pantry-item img { width: 26px; height: 26px; }

.controls-hint {
  position: absolute;
  bottom: 4px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff8e8;
  opacity: 0.95;
}
/* Impressum & Datenschutz – klein und unaufdringlich im Titelbild */
.legal {
  position: absolute;
  bottom: 6px;
  right: 16px;
  display: flex;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
}
.legal a { color: #fff8e8; opacity: 0.75; text-decoration: none; }
.legal a:hover, .legal a:focus-visible { opacity: 1; text-decoration: underline; }

kbd {
  display: inline-block;
  min-width: 22px;
  padding: 0 6px;
  margin: 0 2px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 2px 0 var(--ink);
}

/* ---------------------------------------------------------------- Levelauswahl */
#screen-levels { background: rgba(255, 248, 236, 0.35); backdrop-filter: blur(2px); gap: 16px; }
#chapter-tabs { display: flex; gap: 12px; }
.chapter-tab {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 22px 8px;
  font-size: 19px; font-weight: 700; line-height: 1.1;
  color: var(--ink);
  background: rgba(255, 248, 236, 0.75);
  border: 3px solid var(--ink);
  border-radius: 999px;
  transition: transform 0.12s, background 0.2s;
}
.chapter-tab small { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.chapter-tab:not(:disabled):hover { transform: translateY(-2px); }
.chapter-tab.active { background: linear-gradient(#ffc06b, var(--orange)); color: #fff; box-shadow: 0 4px 0 var(--ink); }
.chapter-tab.active small { color: #fff3dc; }
.chapter-tab:disabled { cursor: default; opacity: 0.6; }
.screen-title {
  margin: 0;
  font-size: 44px;
  color: #fff;
  -webkit-text-stroke: 7px var(--ink);
  paint-order: stroke fill;
  filter: drop-shadow(0 4px 0 var(--ink));
}
#level-list { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; max-width: 940px; }
.level-card {
  position: relative;
  width: 174px;
  padding: 14px 8px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--ink);
  background: linear-gradient(var(--card, #fff) 0 46%, var(--cream) 46%);
  border: 4px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 6px 0 var(--ink), 0 12px 20px rgba(60, 30, 10, 0.25);
  transition: transform 0.15s;
}
.level-card:not(.locked):hover { transform: translateY(-6px) rotate(-1.5deg); }
.level-card:nth-child(even):not(.locked):hover { transform: translateY(-6px) rotate(1.5deg); }
.level-card .portrait { width: 96px; height: 96px; }
.level-num {
  position: absolute; top: 10px; left: 12px;
  width: 30px; height: 30px; line-height: 24px;
  font-size: 17px; font-weight: 700;
  color: #fff; background: var(--orange);
  border: 3px solid var(--ink); border-radius: 50%;
}
.level-name { font-size: 19px; font-weight: 700; line-height: 1.1; margin-top: 4px; }
.level-friend { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.stars { font-size: 26px; letter-spacing: 2px; }
.stars i { font-style: normal; color: #e9d9c2; -webkit-text-stroke: 1.5px #c4ad8c; }
.stars i.on { color: #ffcf33; -webkit-text-stroke: 1.5px #c48a00; }
.level-card.locked { cursor: default; filter: grayscale(0.8) brightness(0.92); }
.level-card.locked .portrait { opacity: 0.45; }
.lock { position: absolute; top: 42px; font-size: 38px; }
.party-card { background: linear-gradient(135deg, #ffe0ea, #fff4c7, #dff4ff); justify-content: center; min-height: 220px; }
.party-emoji { font-size: 64px; }

/* ---------------------------------------------------------------- Dialog */
#dialog {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: flex; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
#dialog.visible { opacity: 1; visibility: visible; pointer-events: auto; cursor: pointer; }
.dialog-box {
  position: relative;
  width: 820px;
  min-height: 150px;
  display: flex; align-items: center; gap: 20px;
  padding: 18px 28px 18px 18px;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 7px 0 var(--ink), 0 16px 30px rgba(40, 20, 5, 0.35);
}
#dialog.pop .dialog-box { animation: pop 0.28s cubic-bezier(.3, 1.6, .5, 1); }
#dialog.right .dialog-box { flex-direction: row-reverse; padding: 18px 18px 18px 28px; }
#dialog-portrait { width: 120px; height: 120px; flex: none; animation: bob 1.6s ease-in-out infinite; }
.dialog-body { flex: 1; }
#dialog.right .dialog-body { text-align: right; }
#dialog-name {
  display: inline-block;
  padding: 3px 16px;
  font-size: 18px; font-weight: 700; color: #fff;
  background: var(--orange);
  border: 3px solid var(--ink);
  border-radius: 999px;
  margin-bottom: 8px;
}
#dialog-text { margin: 0; font-size: 25px; line-height: 1.32; font-weight: 500; min-height: 66px; }
#dialog-next {
  position: absolute; right: 24px; bottom: 10px;
  font-size: 18px; color: var(--orange-d);
  opacity: 0; transition: opacity 0.2s;
}
#dialog.right #dialog-next { right: auto; left: 24px; }
#dialog-next.ready { opacity: 1; animation: nudge 0.8s ease-in-out infinite; }

@keyframes pop { from { transform: scale(0.92) translateY(10px); } to { transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------------------------------------------------------------- Panels */
.panel {
  position: relative;
  min-width: 480px;
  padding: 28px 40px 32px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  background: var(--cream);
  background-image: radial-gradient(circle at 20% 15%, #fff 0 2px, transparent 3px), radial-gradient(circle at 80% 30%, #fff 0 2px, transparent 3px);
  background-size: 60px 60px;
  border: 5px solid var(--ink);
  border-radius: 34px;
  box-shadow: 0 8px 0 var(--ink), 0 20px 40px rgba(40, 20, 5, 0.4);
}
.screen.visible .panel { animation: pop 0.35s cubic-bezier(.3, 1.6, .5, 1); }
.panel h2 { margin: 0; font-size: 46px; color: var(--orange); -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; }
.panel .sub { margin: 4px 0 22px; font-size: 20px; font-weight: 500; color: var(--ink-soft); }
.panel .toggles { margin-top: 20px; }

.big-stars { margin-top: -70px; margin-bottom: 6px; font-size: 84px; line-height: 1; display: flex; gap: 6px; }
.big-stars i { font-style: normal; color: #eadbc4; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; display: inline-block; }
.big-stars i:nth-child(2) { font-size: 104px; transform: translateY(-14px); }
.big-stars i.on { color: #ffcf33; }
.big-stars i.pop { animation: starpop 0.5s cubic-bezier(.3, 1.8, .5, 1); }
.big-stars i:nth-child(2).pop { animation-name: starpop2; }
@keyframes starpop { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
@keyframes starpop2 { from { transform: translateY(-14px) scale(0) rotate(-90deg); } to { transform: translateY(-14px); } }

.counts { display: flex; gap: 14px; justify-content: center; margin-bottom: 10px; }
.count {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px 6px 8px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 24px;
}
.count img { width: 34px; height: 34px; }
.count small { font-size: 16px; color: var(--ink-soft); }
.hint { margin: 6px 0 20px; font-size: 17px; font-weight: 500; color: var(--green-d); }

/* ---------------------------------------------------------------- Party */
#screen-party { justify-content: flex-start; padding-top: 104px; }
.party-text {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 30px 18px;
  text-align: center;
  background: rgba(255, 248, 236, 0.92);
  border: 4px solid var(--ink);
  border-radius: 30px;
  box-shadow: 0 6px 0 var(--ink);
  max-width: 600px;
}
.party-title { margin: 0; font-size: 42px; color: var(--pink); -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; animation: letter 1.6s ease-in-out infinite; }
.party-text p { margin: 0; font-size: 18px; font-weight: 500; }
.party-text .btn { margin-top: 6px; }

/* ---------------------------------------------------------------- Spiel-HUD */
#hud-buttons { position: absolute; top: 14px; right: 14px; display: none; }
#hud-buttons.visible { display: block; pointer-events: auto; }

/* Touch-Steuerung: feste Größe in echten Pixeln, unabhängig von der Spielskalierung */
#touch {
  --tb: clamp(62px, 19vmin, 96px);
  --gap: max(12px, calc(var(--tb) * 0.22));
  position: fixed; inset: 0;
  display: none;
  pointer-events: none;
  z-index: 5;
}
#touch.visible { display: block; }
.touch-zone {
  position: absolute; bottom: 0;
  display: flex; align-items: flex-end; gap: calc(var(--tb) * 0.3);
  padding: calc(var(--tb) * 0.45) var(--gap) max(var(--gap), env(safe-area-inset-bottom));
  pointer-events: auto;
  touch-action: none;
}
.touch-zone.left { left: 0; padding-left: max(var(--gap), env(safe-area-inset-left)); padding-right: calc(var(--tb) * 0.5); }
.touch-zone.right { right: 0; padding-right: max(var(--gap), env(safe-area-inset-right)); padding-left: calc(var(--tb) * 0.6); }
.touch-btn {
  width: var(--tb); height: var(--tb);
  display: grid; place-items: center;
  padding: 0;
  background: rgba(255, 248, 236, 0.42);
  border: 4px solid rgba(107, 68, 35, 0.6);
  border-radius: 50%;
  box-shadow: 0 4px 0 rgba(107, 68, 35, 0.35);
  pointer-events: none;
  transition: transform 0.06s, background 0.06s;
}
.touch-btn.down { background: rgba(255, 214, 150, 0.9); transform: translateY(3px) scale(0.94); box-shadow: 0 1px 0 rgba(107, 68, 35, 0.35); }
.touch-btn svg { width: 58%; height: 58%; fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.touch-btn.jump { width: calc(var(--tb) * 1.25); height: calc(var(--tb) * 1.25); }

/* größerer Pause-Knopf auf dem Handy */
body.touch #btn-pause { width: 70px; height: 70px; }
body.touch #btn-pause svg { width: 34px; height: 34px; }
body.touch .kbd-only, body:not(.touch) .touch-only { display: none; }

/* kein "hängender" Hover-Effekt nach dem Antippen */
@media (hover: none) {
  .btn:hover, .round-btn:hover, .chapter-tab:not(:disabled):hover,
  .level-card:not(.locked):hover, .level-card:nth-child(even):not(.locked):hover { transform: none; }
  .btn:hover { box-shadow: 0 6px 0 var(--ink), 0 10px 18px rgba(60, 30, 10, 0.25); }
  .btn.primary:hover { background: linear-gradient(#ffc06b, var(--orange)); }
}

/* Hochformat-Hinweis */
#rotate {
  position: fixed; inset: 0; z-index: 20;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 24px;
  text-align: center;
  color: var(--cream);
  background: radial-gradient(ellipse at center, #4a3222 0%, #23170e 100%);
}
#rotate p { margin: 10px 0 0; font-size: 26px; font-weight: 700; }
#rotate small { font-size: 17px; font-weight: 500; opacity: 0.85; }
.rotate-phone { width: 120px; height: 120px; fill: none; stroke: #ffc06b; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; animation: turn 2.4s ease-in-out infinite; }
.rotate-phone circle { fill: #ffc06b; stroke: none; }
@keyframes turn { 0%, 20% { transform: rotate(0); } 50%, 80% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }
@media (orientation: portrait) and (pointer: coarse) { #rotate { display: flex; } }

/* ---------------------------------------------------------------- Rangliste */
#screen-title .menu.row .btn { min-width: 0; padding: 10px 24px 12px; }
#screen-ranks { background: rgba(255, 248, 236, 0.35); backdrop-filter: blur(2px); gap: 12px; padding: 14px 0 16px; }
#rank-tabs { display: flex; gap: 12px; }
#rank-board {
  width: 560px;
  height: 268px;
  padding: 10px 12px;
  overflow-y: auto;
  touch-action: pan-y;
  overscroll-behavior: contain;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 6px 0 var(--ink), 0 12px 20px rgba(60, 30, 10, 0.25);
}
.rank-row {
  display: flex; align-items: center; gap: 12px;
  padding: 5px 12px;
  font-size: 19px; font-weight: 600;
  border-radius: 999px;
}
.rank-row:nth-child(even) { background: var(--cream-2); }
.rank-row.me { background: linear-gradient(#ffd9a0, #ffc06b); box-shadow: inset 0 0 0 3px var(--orange-d); }
.rank-pos { width: 34px; text-align: center; font-weight: 700; font-size: 20px; }
.rank-name { flex: 1; }
.rank-right { font-size: 17px; color: var(--ink-soft); white-space: nowrap; }
.rank-right b { color: #ffcf33; -webkit-text-stroke: 1.5px #c48a00; font-size: 20px; }
.rank-gap { text-align: center; color: var(--ink-soft); line-height: 1; padding: 2px 0; }
.rank-empty { margin: 70px 0 0; text-align: center; font-size: 21px; font-weight: 600; }
.rank-empty small { font-size: 16px; font-weight: 500; color: var(--ink-soft); }
.rank-foot { display: flex; align-items: center; gap: 18px; }
#rank-me {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px 6px 18px;
  background: rgba(255, 248, 236, 0.9);
  border: 3px solid var(--ink);
  border-radius: 999px;
}
.rank-me-text { font-size: 17px; font-weight: 500; }
#rank-me .btn.small { font-size: 16px; padding: 5px 14px 7px; border-width: 3px; box-shadow: 0 4px 0 var(--ink); }
#rank-me .btn.confirm { background: #ffd6dc; }
.rank-note { margin: -12px 0 16px; font-size: 18px; font-weight: 700; color: var(--orange-d); min-height: 0; }
.rank-note:empty { display: none; }

/* Namenswahl */
.name-pick { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.picker { display: flex; align-items: center; gap: 8px; }
.picker span {
  min-width: 190px;
  padding: 6px 10px;
  text-align: center;
  font-size: 26px; font-weight: 700;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
}
.picker .round-btn svg { fill: none; stroke-width: 3; }
#btn-dice { font-size: 26px; }
.name-note { margin: 4px 0 8px; font-size: 15px; font-weight: 500; color: var(--ink-soft); line-height: 1.35; }
.name-note a { color: var(--orange-d); }
.name-error { margin: 0 0 10px; min-height: 20px; font-size: 16px; font-weight: 600; color: #d0435a; }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }

/* Spielzeit & Einladung im „Geschafft!“-Fenster */
.rank-time { margin-left: 12px; font-size: 15px; color: var(--ink-soft); }
.time-note { margin: -12px 0 14px; font-size: 17px; font-weight: 600; color: var(--ink-soft); }
.time-note b { color: var(--green-d); }
.join-invite {
  display: flex; align-items: center; gap: 10px;
  margin: -4px 0 16px;
  padding: 5px 6px 5px 16px;
  background: var(--cream-2);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 17px; font-weight: 600;
}
.join-invite[hidden] { display: none; }
.join-invite .btn.small { font-size: 15px; padding: 4px 14px 6px; border-width: 3px; box-shadow: 0 3px 0 var(--ink); }
