/* Acetimations — a dark casino table. One theme, no external assets. */
:root {
  color-scheme: dark;
  --bg: #0a1210;
  --panel: rgba(20, 34, 29, 0.78);
  --panel-solid: #14221d;
  --field: rgba(0, 0, 0, 0.32);
  --text: #f3ecd9;
  --muted: #a3b5aa;
  --line: rgba(233, 196, 106, 0.2);
  --line-soft: rgba(255, 255, 255, 0.09);
  --gold: #e9c46a;
  --gold-light: #f8e7ad;
  --gold-deep: #b8862d;
  --felt: #1f8259;
  --felt-deep: #0c3d2a;
  --green: #34d399;
  --red: #e5484d;
  --red-deep: #8f1d25;
  --card: #fbf6e8;
  --ink: #1c1a1f;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 50px rgba(0, 0, 0, 0.5);
  --display: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 50% -12%, rgba(31, 130, 89, 0.34), transparent 62%),
    radial-gradient(800px 520px at 105% 105%, rgba(143, 29, 37, 0.26), transparent 60%),
    radial-gradient(700px 500px at -5% 100%, rgba(184, 134, 45, 0.12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Suits drifting behind everything */
.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ambient span {
  position: absolute;
  bottom: -90px;
  color: #fff;
  opacity: 0.05;
  animation: drift linear infinite;
}
.ambient span.red { color: var(--red); opacity: 0.09; }
@keyframes drift {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-125vh) rotate(300deg); }
}

/* ---- Top bar ---- */
header.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(10, 18, 16, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}
.brand-name b { font-weight: inherit; color: var(--gold); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-style: normal;
  font-size: 16px;
  color: var(--ink);
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--gold-deep), 0 4px 12px rgba(233, 196, 106, 0.3);
  transition: transform 0.6s var(--spring);
}
.brand:hover .brand-mark { transform: rotate(360deg) scale(1.08); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.conn {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  animation: breathe 1.2s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: 0.45; } }

main { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 20px 16px 0; }
/* make room for the spectator rail without shrinking the table */
main:has(.rail:not([hidden])) { max-width: 1140px; }

/* ---- Panels & forms ---- */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.narrow { max-width: 450px; margin: 44px auto 48px; animation: rise 0.55s var(--out) both; }
.center-card { text-align: center; }
.big-emoji { font-size: 54px; line-height: 1; margin-bottom: 12px; animation: wobble 2.4s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg) translateY(-4px); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px) scale(0.98); } }

h1 { font-family: var(--display); font-size: 27px; line-height: 1.15; margin: 0 0 8px; letter-spacing: 0.005em; }
h2 { font-family: var(--display); font-size: 21px; margin: 0 0 10px; }
p.sub { color: var(--muted); margin: 0 0 20px; line-height: 1.5; }

/* The three little cards above the forms */
.hero-cards { display: flex; justify-content: center; height: 86px; margin: -6px 0 18px; }
.mini-card {
  position: relative;
  width: 52px;
  height: 74px;
  margin: 0 -7px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #fff, var(--card) 60%, #e9dfc4);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  transform-origin: 50% 130%;
  animation: fan-in 0.7s var(--spring) both;
  transition: transform 0.35s var(--spring);
}
.mini-card b { font-family: var(--display); font-size: 28px; }
.mini-card i { position: absolute; top: 5px; left: 7px; font-style: normal; font-size: 13px; }
.mini-card.red { color: var(--red); }
.mini-card:nth-child(1) { --r: -14deg; animation-delay: 0.1s; }
.mini-card:nth-child(2) { --r: 0deg; z-index: 1; animation-delay: 0.18s; }
.mini-card:nth-child(3) { --r: 14deg; animation-delay: 0.26s; }
.mini-card { transform: rotate(var(--r)); }
.hero-cards:hover .mini-card:nth-child(1) { transform: rotate(-22deg) translateY(-4px); }
.hero-cards:hover .mini-card:nth-child(2) { transform: translateY(-10px); }
.hero-cards:hover .mini-card:nth-child(3) { transform: rotate(22deg) translateY(-4px); }
@keyframes fan-in { from { opacity: 0; transform: rotate(0deg) translateY(30px) scale(0.7); } }

label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 7px;
}
input[type='text'] {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--field);
  border: 1.5px solid var(--line-soft);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input[type='text']::placeholder { color: rgba(163, 181, 170, 0.5); }
input[type='text']:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(233, 196, 106, 0.16);
}
input.code {
  letter-spacing: 0.42em;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--gold-light);
}

/* ---- Buttons ---- */
button, .btn {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  transition: transform 0.15s var(--out), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s, filter 0.2s;
}
.btn { display: inline-block; text-decoration: none; }
button:active:not(:disabled), .btn:active { transform: scale(0.95); }
button:disabled { opacity: 0.4; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

.btn-primary {
  position: relative;
  overflow: hidden;
  color: #2a1c05;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 6px 18px rgba(233, 196, 106, 0.22);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 10px 26px rgba(233, 196, 106, 0.36); }
.btn-primary:hover:not(:disabled)::after { transform: translateX(120%); transition: transform 0.6s ease; }
.btn-primary:active:not(:disabled) { transform: scale(0.95); }
.btn-primary.done { background: linear-gradient(180deg, #7ee7bf, var(--green)); color: #05301f; }
/* "Everyone has voted": nudge the creator towards Disclose */
.btn-primary.attn:not(:disabled) { animation: attention 1.1s ease-in-out infinite; }
@keyframes attention {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 196, 106, 0.65), 0 6px 18px rgba(233, 196, 106, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(233, 196, 106, 0), 0 6px 26px rgba(233, 196, 106, 0.5); filter: brightness(1.12); }
}

.btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text); box-shadow: 0 0 0 1px var(--line-soft) inset; }
.btn-secondary:hover:not(:disabled) { background: rgba(255, 255, 255, 0.11); transform: translateY(-2px); }
.btn-danger { background: transparent; color: #ff8a8d; box-shadow: 0 0 0 1px rgba(229, 72, 77, 0.6) inset; }
.btn-danger:hover:not(:disabled), .btn-danger.solid { background: var(--red); color: #fff; }
.btn-danger:hover:not(:disabled) { transform: translateY(-2px); }
.btn-block { width: 100%; margin-top: 22px; padding: 14px; font-size: 16px; }
.icon-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 17px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px var(--line-soft) inset;
}
.sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px var(--line-soft) inset;
}
.sound-btn .sound-icon { font-size: 15px; line-height: 1; }
.sound-btn:hover { background: rgba(255, 255, 255, 0.12); }
.sound-btn.off { color: var(--muted); }
.icon-btn:hover { background: rgba(255, 255, 255, 0.12); transform: scale(1.1) rotate(-8deg); }

.error { color: #ff8a8d; font-size: 14px; min-height: 20px; margin-top: 10px; }
.shake { animation: shake 0.4s ease; }
@keyframes shake {
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(3px); }
}

.avatar-picker { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
.avatar-picker button {
  aspect-ratio: 1;
  padding: 0;
  font-size: 22px;
  border-radius: 50%;
  background: var(--field);
  box-shadow: 0 0 0 1.5px var(--line-soft) inset;
  animation: pop-in 0.4s var(--spring) both;
  animation-delay: calc(var(--i) * 22ms + 150ms);
}
.avatar-picker button:hover { transform: scale(1.18) rotate(-6deg); background: rgba(255, 255, 255, 0.1); }
.avatar-picker button.selected {
  background: radial-gradient(circle at 35% 30%, rgba(248, 231, 173, 0.35), rgba(233, 196, 106, 0.12));
  box-shadow: 0 0 0 2px var(--gold) inset, 0 0 18px rgba(233, 196, 106, 0.45);
  transform: scale(1.14);
}
@keyframes pop-in { from { opacity: 0; transform: scale(0.3); } }

/* Player / spectator choice on the create and join forms */
.role-picker { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.role-picker legend {
  padding: 0;
  margin-bottom: 7px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.role {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  background: var(--field);
  border: 1.5px solid var(--line-soft);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role-icon { font-size: 22px; line-height: 1; }
.role-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.role-text b { font-size: 14px; }
.role-text small { font-size: 11.5px; font-weight: 500; color: var(--muted); line-height: 1.3; }
.role:hover { background: rgba(255, 255, 255, 0.07); }
.role:has(input:checked) {
  border-color: var(--gold);
  background: rgba(233, 196, 106, 0.1);
  box-shadow: 0 0 18px rgba(233, 196, 106, 0.18);
}
.role:has(input:focus-visible) { outline: 2px solid var(--gold-light); outline-offset: 2px; }

.divider { text-align: center; color: var(--muted); margin: 20px 0 0; font-size: 13px; }

/* Landing page: how it works */
.about { max-width: 860px; margin: 0 auto 56px; text-align: center; animation: rise 0.55s var(--out) 0.15s both; }
.about h2 { color: var(--gold-light); margin-bottom: 18px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.steps li {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: #2a1c05;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}
.steps b { font-size: 15px; }
.steps span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.about-note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.about-note b { color: var(--text); }

/* Landing page: questions and answers */
.faq { max-width: 860px; margin: 0 auto 56px; }
.faq h2 { color: var(--gold-light); margin-bottom: 18px; text-align: center; }
.faq details { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 14px; margin-bottom: 8px; }
.faq summary { padding: 14px 16px; font-weight: 600; font-size: 15px; cursor: pointer; }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 14px; }
.faq details p { margin: 0; padding: 0 16px 16px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Footer of the landing page and the text pages */
.site-footer { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 22px 16px 34px; border-top: 1px solid var(--line-soft); text-align: center; font-size: 13.5px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--gold-light); text-decoration: underline; }
.site-footer p { margin: 0; }

/* Text pages: about, contact, terms, privacy */
.prose { max-width: 720px; margin: 36px auto 48px; line-height: 1.65; animation: rise 0.55s var(--out) both; }
.prose h1 { margin-bottom: 16px; }
.prose h2 { color: var(--gold-light); font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose ul { margin: 0 0 14px; color: var(--muted); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 4px; }
.prose b { color: var(--text); }
.prose a { color: var(--gold-light); overflow-wrap: anywhere; }

/* ---- Room: invite strip ---- */
.share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 8px 7px 16px;
  margin-bottom: 10px;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 14px;
  animation: rise 0.5s var(--out) both;
}
.share-fields { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; min-width: 0; }
.share-field { display: flex; align-items: baseline; gap: 9px; min-width: 0; }
.share-field .k { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.share-field .v { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 13.5px; word-break: break-all; }
.share-field .v.pass { font-size: 18px; line-height: 1.1; letter-spacing: 0.22em; font-weight: 700; color: var(--gold-light); }
.share .btn-primary { flex-shrink: 0; padding: 8px 14px; }

.status-line { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; min-height: 42px; }
.status { display: flex; align-items: center; gap: 12px; }
.status-line .round {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: #2a1c05;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}
.status-line .round.bump { animation: bump 0.5s var(--spring); }
#status-text { font-size: 15px; }
.host-controls { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- The table ---- */
.arena { display: flex; align-items: center; gap: 22px; }
.table-wrap { position: relative; flex: 1; min-width: 0; margin-top: 12px; padding: 22px 16px; }

/* ---- The rail: spectators stand beside the table, roped off from the players ---- */
.rail {
  flex: 0 0 136px;
  align-self: center;
  max-height: 440px;
  display: flex;
  flex-direction: column;
  padding: 12px 10px 10px;
  background: rgba(8, 14, 12, 0.72);
  border: 1.5px dashed rgba(233, 196, 106, 0.45);
  border-radius: 16px;
  animation: rise 0.4s var(--out) both;
}
.rail-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.rail-eye { font-size: 14px; letter-spacing: 0; }
.rail-count {
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0;
  text-align: center;
  color: #2a1c05;
  background: var(--gold);
}
.rail-list { list-style: none; margin: 0; padding: 10px 0 2px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; min-height: 0; }
.spectator { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; animation: seat-in 0.45s var(--spring) both; }
.spec-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px dashed rgba(255, 255, 255, 0.32);
  filter: saturate(0.75);
}
.spec-name { margin-top: 3px; font-size: 12.5px; font-weight: 600; max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.spec-tag { font-size: 10.5px; color: var(--muted); opacity: 0.8; }
.spec-tag:empty { display: none; }
.spectator.me .spec-avatar { border-color: var(--gold); }
.spectator.me .spec-name { color: var(--gold-light); }
.spectator.me .spec-tag { color: var(--gold); opacity: 1; }
.rail-note { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--line-soft); font-size: 10.5px; text-align: center; color: var(--muted); }
.felt {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: radial-gradient(ellipse at 50% 35%, #2b9a6b, var(--felt) 45%, var(--felt-deep) 100%);
  box-shadow:
    0 0 0 2px var(--gold-deep),
    0 0 0 11px #4a2e1a,
    0 0 0 12px #1d120a,
    0 24px 60px rgba(0, 0, 0, 0.6),
    inset 0 0 70px rgba(0, 0, 0, 0.5);
}
/* the faint line painted on the felt */
.felt::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: inherit;
  border: 1.5px solid rgba(248, 231, 173, 0.16);
}
.felt::after {
  content: '♠ ♥ ♣ ♦';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.5em;
  color: rgba(0, 0, 0, 0.22);
}
.table-wrap.all-in .felt { animation: felt-glow 1.6s ease-in-out infinite; }
@keyframes felt-glow {
  50% {
    box-shadow:
      0 0 0 2px var(--gold),
      0 0 0 11px #4a2e1a,
      0 0 0 12px #1d120a,
      0 0 46px rgba(233, 196, 106, 0.42),
      inset 0 0 70px rgba(0, 0, 0, 0.5);
  }
}

.center { position: relative; z-index: 2; text-align: center; padding: 6px 0 18px; pointer-events: none; }
.table { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 18px 8px; }
.table:empty { min-height: 80px; }

/* A seat: avatar + name, and the slot where that player's card lands */
.seat { display: flex; flex-direction: column; align-items: center; gap: 8px; --dx: 0px; --dy: 70px; }
.seat-body { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; animation: seat-in 0.5s var(--spring) both; }
.seat.leaving { opacity: 0; scale: 0.5; transition: opacity 0.25s, scale 0.25s; }
@keyframes seat-in { from { opacity: 0; transform: scale(0.3) translateY(14px); } }

.avatar {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 29px;
  background: radial-gradient(circle at 35% 28%, #2b3d36, #101a17 75%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s, filter 0.3s;
}
/* poker-chip rim */
.avatar::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: repeating-conic-gradient(#d9d2c0 0 14deg, #36463f 14deg 30deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px));
  opacity: 0.55;
  transition: opacity 0.3s;
}
.avatar .emoji { display: block; line-height: 1; animation: bob 3.2s ease-in-out infinite; }
.seat:nth-child(2n) .emoji { animation-delay: -1.1s; }
.seat:nth-child(3n) .emoji { animation-delay: -2.2s; }
@keyframes bob { 50% { transform: translateY(-2.5px) rotate(-3deg); } }

.seat.voted .avatar { box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.25), 0 0 22px rgba(52, 211, 153, 0.5), 0 6px 16px rgba(0, 0, 0, 0.5); }
.seat.voted .avatar::before {
  background: repeating-conic-gradient(var(--green) 0 14deg, #0d5c40 14deg 30deg);
  opacity: 1;
  animation: chip-spin 0.6s var(--out);
}
@keyframes chip-spin { from { transform: rotate(-140deg) scale(1.25); } }
.seat.voted .emoji { animation: hop 0.45s var(--spring); }
@keyframes hop { 40% { transform: translateY(-9px) scale(1.15); } }

.badge {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #04261a;
  background: var(--green);
  box-shadow: 0 0 0 2px var(--bg);
  scale: 0;
  transition: scale 0.35s var(--spring);
}
.seat.voted .badge { scale: 1; }
.seat.offline .seat-body { opacity: 0.45; filter: grayscale(0.8); }
.seat.offline .emoji { animation: none; }

.seat .name {
  margin-top: 4px;
  font-weight: 700;
  font-size: 13px;
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
.seat .tag { font-size: 10.5px; line-height: 1.2; min-height: 13px; color: var(--muted); white-space: pre; letter-spacing: 0.02em; }
.seat.me .name { color: var(--gold-light); }
.seat.me .tag { color: var(--gold); }

/* Card slot + playing card */
.slot { position: relative; width: 44px; height: 62px; flex-shrink: 0; perspective: 500px; }
.placeholder {
  position: absolute;
  inset: 0;
  border-radius: 7px;
  border: 1.5px dashed rgba(255, 255, 255, 0.24);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  font-size: 18px;
}
.placeholder.thinking::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -9px 0 currentColor, 9px 0 currentColor;
  animation: think 1.1s ease-in-out infinite;
}
@keyframes think { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 0.9; transform: scale(1.1); } }

.pcard { position: absolute; inset: 0; transform-style: preserve-3d; }
.pcard[data-state='empty'] { visibility: hidden; }
.pcard-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.42s var(--spring) var(--flip-delay, 0ms);
}
.pcard[data-state='up'] .pcard-inner { transform: rotateY(180deg); }
.face {
  position: absolute;
  inset: 0;
  border-radius: 7px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.45);
}
.face.back {
  border: 3px solid var(--card);
  background:
    repeating-linear-gradient(45deg, rgba(248, 231, 173, 0.28) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, rgba(248, 231, 173, 0.28) 0 2px, transparent 2px 7px),
    linear-gradient(160deg, #c22f3a, var(--red-deep));
}
.face.front {
  transform: rotateY(180deg);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(160deg, #fff, var(--card) 60%, #e9dfc4);
  transition: box-shadow 0.3s ease calc(var(--flip-delay, 0ms) + 300ms);
}
.face.front .val { font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1; }
.face.front .pip { position: absolute; top: 3px; left: 5px; font-size: 10px; }
.face.red { color: var(--red); }
.face.wild .pip { color: var(--gold-deep); }
/* cards that match the decision */
.pcard.match .face.front { box-shadow: 0 0 0 2.5px var(--gold), 0 0 20px rgba(233, 196, 106, 0.75), 0 5px 12px rgba(0, 0, 0, 0.45); }

.pcard.deal { animation: deal 0.36s var(--out) both; }
@keyframes deal {
  from { opacity: 0; transform: translate(calc(var(--dx) * -1), calc(var(--dy) * -1)) scale(0.35) rotate(-28deg); }
}
.pcard.bump { animation: bump 0.4s var(--spring); }
@keyframes bump { 35% { transform: scale(1.3) rotate(-5deg); } }
.pcard.out { animation: collect 0.24s ease-in forwards; }
@keyframes collect { to { opacity: 0; transform: translateY(-26px) scale(0.5) rotate(18deg); } }

/* Oval mode: seats sit around the rim, cards land on the felt in front of them */
.table-wrap.oval { height: clamp(450px, calc(100vh - 370px), 580px); padding: 0; margin-top: 4px; }
.table-wrap.oval .felt { inset: 100px 112px; border-radius: 50%; }
.table-wrap.oval .felt::after { content: none; }
.table-wrap.oval .center {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(48%, 400px);
  padding: 0;
}
.table-wrap.oval .table { position: absolute; inset: 0; display: block; }
.table-wrap.oval .seat {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  translate: var(--x, 50%) var(--y, 50%);
  transition: translate 0.55s var(--out), opacity 0.25s, scale 0.25s;
}
.table-wrap.oval .seat-body { position: absolute; left: 0; top: 0; translate: -50% -50%; width: max-content; }
.table-wrap.oval .slot {
  position: absolute;
  left: 0;
  top: 0;
  translate: calc(var(--dx) - 50%) calc(var(--dy) - 50%);
  transition: translate 0.55s var(--out);
}
.table-wrap.compact .avatar { width: 46px; height: 46px; font-size: 23px; }
.table-wrap.compact .seat .name { max-width: 70px; font-size: 12px; }
.table-wrap.compact .slot { width: 38px; height: 54px; }
.table-wrap.compact .face.front .val { font-size: 19px; }

/* Centre of the table: progress ring, then the decision */
.progress { animation: fade-up 0.3s var(--out) both; }
.ring { position: relative; width: 84px; height: 84px; margin: 0 auto 8px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring-track { stroke: rgba(0, 0, 0, 0.28); }
.ring-fill { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 0.5s var(--out), stroke 0.3s; filter: drop-shadow(0 0 5px rgba(233, 196, 106, 0.6)); }
.ring-count { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 22px; }
.progress-label { font-size: 13px; font-weight: 600; color: rgba(243, 236, 217, 0.85); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.table-wrap.all-in .ring { animation: pulse 1.1s ease-in-out infinite; }
.table-wrap.all-in .ring-fill { stroke: var(--gold-light); }
.table-wrap.all-in .progress-label { color: var(--gold-light); }
@keyframes pulse { 50% { transform: scale(1.09); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }

.decision .label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(248, 231, 173, 0.75); }
.decision .value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 62px;
  line-height: 1.05;
  color: var(--gold);
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 30%, #fffbe8 50%, var(--gold) 70%, var(--gold-deep) 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.45));
}
.decision .value.long { font-size: 40px; line-height: 1.3; }
.decision .meta { font-size: 13px; font-weight: 600; color: rgba(243, 236, 217, 0.9); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.distribution { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.distribution span {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.14);
  animation: pop-in 0.35s var(--spring) both;
  animation-delay: calc(var(--reveal-delay, 0ms) + var(--i) * 45ms + 120ms);
}
.distribution span.top { color: #2a1c05; background: linear-gradient(180deg, var(--gold-light), var(--gold)); border-color: transparent; }

/* the reveal: label and meta fade in, the number slams down and a shine sweeps across it */
.decision.enter .label, .decision.enter .meta { animation: fade-up 0.3s var(--out) both; animation-delay: var(--reveal-delay, 0ms); }
.decision.enter .value, .decision .value.pop {
  animation: slam 0.5s var(--spring) both, shine 0.9s ease-out both;
  animation-delay: var(--reveal-delay, 0ms), calc(var(--reveal-delay, 0ms) + 150ms);
}
@keyframes slam { from { opacity: 0; transform: scale(2.4); } }
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.decision.consensus .value { animation-iteration-count: 1, infinite; animation-duration: 0.5s, 2.2s; }

.round-flash {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  translate: -50% -50%;
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  white-space: nowrap;
  color: var(--gold-light);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
}
.round-flash.show { animation: flash 0.85s var(--out); }
@keyframes flash {
  0% { opacity: 0; transform: scale(0.5); }
  25%, 60% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}
/* keep the centre clear while the new round is announced */
.table-wrap:has(.round-flash.show) .progress { animation: fade-up 0.3s var(--out) 0.6s both; }

/* ---- Your hand ---- */
.hand {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin: 6px -16px 0;
  padding: 26px 16px 24px;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(10, 18, 16, 0.94) 34%);
}
.hand-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 22px; }
.deck-title { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.chip-btn {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px var(--line-soft) inset;
}
.chip-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.11); }

/* What a spectator sees instead of a hand of cards */
.watching-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 16px;
  text-align: left;
  background: var(--panel-solid);
  border: 1.5px dashed rgba(233, 196, 106, 0.45);
  border-radius: 14px;
}
.watching-eye { font-size: 28px; line-height: 1; }
.watching-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.watching-text b { font-family: var(--display); font-size: 17px; color: var(--gold-light); }
.watching-text span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.watching-card .btn-primary { flex-shrink: 0; }
.deck { display: flex; justify-content: center; padding: 0 8px; }
.hcard {
  position: relative;
  width: 62px;
  height: 88px;
  margin: 0 -3px;
  padding: 0;
  border-radius: 9px;
  color: var(--ink);
  background: linear-gradient(160deg, #fff, var(--card) 60%, #e9dfc4);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  /* a gentle fan: each card tilts and dips by its distance from the middle */
  --tilt: calc(var(--o) * 2.2deg);
  --dip: calc(var(--o) * var(--o) * 0.9px);
  transform: translateY(var(--dip)) rotate(var(--tilt));
  transition: transform 0.22s var(--spring), box-shadow 0.2s;
  animation: hand-in 0.45s var(--spring) both;
  animation-delay: calc(var(--i) * 28ms);
}
@keyframes hand-in { from { opacity: 0; transform: translateY(70px) rotate(calc(var(--tilt) * 3)); } }
.hcard .val { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; }
.hcard .corner { position: absolute; top: 5px; left: 7px; font-size: 11px; font-weight: 800; line-height: 1; }
.hcard .pip { position: absolute; right: 7px; bottom: 5px; font-size: 13px; line-height: 1; }
.hcard.red { color: var(--red); }
.hcard.wild .pip { color: var(--gold-deep); }
.hcard:hover { z-index: 2; transform: translateY(calc(var(--dip) - 14px)) rotate(0deg) scale(1.07); box-shadow: 0 16px 26px rgba(0, 0, 0, 0.5); }
.hcard:active:not(:disabled) { transform: translateY(calc(var(--dip) - 6px)) scale(0.97); }
.hcard.selected {
  z-index: 3;
  transform: translateY(calc(var(--dip) - 16px)) rotate(0deg) scale(1.1);
  box-shadow: 0 0 0 3px var(--gold), 0 0 28px rgba(233, 196, 106, 0.7), 0 18px 28px rgba(0, 0, 0, 0.5);
}
.hint { color: var(--muted); font-size: 12px; margin: 18px 0 -8px; }

/* ---- Overlays ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  transform: translate(-50%, 24px) scale(0.9);
  background: var(--card);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.35s var(--spring);
}
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }

.modal {
  width: min(400px, calc(100vw - 32px));
  padding: 24px;
  color: var(--text);
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.modal[open] { animation: rise 0.3s var(--spring) both; }
.modal::backdrop { background: rgba(4, 8, 7, 0.72); backdrop-filter: blur(4px); }
.modal p { color: var(--muted); line-height: 1.5; margin: 0 0 22px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* ---- Small screens ---- */
@media (max-width: 640px) {
  header.topbar { padding: 10px 14px; }
  .brand { font-size: 17px; }
  .topbar-actions { gap: 6px; }
  .topbar-actions .btn-secondary { padding: 7px 11px; font-size: 13px; white-space: nowrap; }
  .sound-btn { padding: 6px 10px 6px 8px; font-size: 12px; gap: 5px; }
  .narrow { margin: 22px auto 32px; padding: 22px 18px; }
  .avatar-picker { grid-template-columns: repeat(8, 1fr); gap: 5px; }
  .avatar-picker button { font-size: 18px; }
  .share { flex-direction: column; align-items: stretch; padding: 14px; }
  .share-field { display: block; }
  .status-line { margin-bottom: 4px; }
  .host-controls { width: 100%; }
  .host-controls button { flex: 1; padding: 10px 8px; white-space: nowrap; }
  .decision .value { font-size: 54px; }
  .hand { position: static; margin: 0; padding: 22px 0 28px; background: none; }
  .hand-head { margin-bottom: 14px; }
  .watching-card { flex-wrap: wrap; }
  .watching-card .btn-primary { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .about { margin-bottom: 36px; }
  .hint { margin: 14px 0 0; }
  .deck { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 0; }
  .hcard { width: 100%; height: auto; aspect-ratio: 5 / 7; margin: 0; --tilt: 0deg; --dip: 0px; }
  .hcard:hover { transform: none; }
  .hcard.selected { transform: translateY(-6px) scale(1.05); }
}
/* narrow screens: the rail moves below the table and lays its spectators out in a row */
@media (max-width: 820px) {
  .arena { flex-direction: column; align-items: stretch; gap: 20px; }
  .rail { flex: none; align-self: stretch; max-height: none; }
  .rail-head { justify-content: flex-start; }
  .rail-list { flex-direction: row; flex-wrap: wrap; gap: 10px 14px; padding-top: 12px; overflow: visible; }
  .spec-name { max-width: 84px; }
  .rail-note { display: none; }
}
/* very narrow phones: keep the labelled sound and leave buttons readable by dropping the wordmark */
@media (max-width: 400px) {
  .brand-name { display: none; }
}
@media (max-width: 380px) {
  .role-picker { grid-template-columns: 1fr; }
  .avatar-picker { grid-template-columns: repeat(4, 1fr); }
  .avatar-picker button { font-size: 22px; }
}
/* short laptop screens: keep the hand from covering the table */
@media (min-width: 641px) and (max-height: 900px) {
  .hint { display: none; }
  .hand { padding-top: 16px; }
  .decision .value { font-size: 46px; line-height: 1; }
  .decision .value.long { font-size: 32px; line-height: 1.3; }
  .distribution { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ---- "We have moved" page and small helpers ---- */
.moved-url { margin: 14px 0 0; color: var(--gold-light); font-weight: 600; word-break: break-all; }
.privacy-note { font-size: 12.5px; opacity: 0.85; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- /monitor ---- */
.monitor-page main { max-width: 1140px; padding-bottom: 56px; }
.monitor-page code { color: var(--gold-light); }
.mon-head { margin: 26px 0 4px; }
.mon-head h1 { margin-bottom: 6px; }
.mon-head .sub { margin-bottom: 0; font-size: 14px; }
.mon-title { display: flex; align-items: center; gap: 10px; margin: 30px 0 12px; font-size: 19px; color: var(--gold-light); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: live-pulse 1.8s ease-out infinite; }
@keyframes live-pulse { to { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }
.mon-updated { font-size: 12.5px; color: var(--muted); }
.mon-updated.stale { color: #ff8a8d; }
.mon-since, .mon-note { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.mon-note { padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--field); }

.mon-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.mon-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); min-width: 0; }
.mon-tile-label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mon-tile-value { font-family: var(--display); font-size: 30px; line-height: 1.1; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.mon-tile-hint { font-size: 12.5px; color: var(--muted); }

.mon-card { padding: 18px 20px; margin-bottom: 14px; min-width: 0; }
.mon-card h3 { margin: 0 0 12px; font-size: 15px; color: var(--text); }
.mon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.mon-grid .mon-card { margin-bottom: 0; }
.mon-empty { margin: 0; color: var(--muted); font-size: 14px; }

.mon-scroll { overflow-x: auto; }
.mon-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.mon-table th { text-align: left; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 12px 8px 0; white-space: nowrap; }
.mon-table td { padding: 9px 12px 9px 0; border-top: 1px solid var(--line-soft); white-space: nowrap; }
.mon-table tr.idle td { color: var(--muted); }
.mon-table .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.05em; color: var(--gold-light); }

.mon-row { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; margin-bottom: 4px; border-radius: 8px; font-size: 14px; overflow: hidden; }
.mon-bar { position: absolute; inset: 0 auto 0 0; background: rgba(31, 130, 89, 0.42); border-radius: 8px; }
.mon-row-label, .mon-row-value { position: relative; }
.mon-row-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mon-row-value { flex-shrink: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.mon-row-value small { font-weight: 400; color: var(--muted); }

.mon-legend { display: flex; gap: 16px; margin-bottom: 10px; font-size: 12.5px; color: var(--muted); }
.mon-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw-visits { background: var(--felt); }
.sw-rooms { background: var(--gold); }
.mon-chart { display: flex; align-items: stretch; gap: 3px; height: 150px; }
.mon-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mon-col-bars { flex: 1; display: flex; align-items: flex-end; gap: 1px; border-bottom: 1px solid var(--line-soft); }
.mon-col-bars i { flex: 1; min-height: 0; border-radius: 3px 3px 0 0; }
.mon-col:hover .mon-col-bars { background: rgba(255, 255, 255, 0.05); }
.mon-col-label { height: 18px; padding-top: 4px; font-size: 10.5px; color: var(--muted); text-align: center; white-space: nowrap; overflow: visible; }
