:root {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 17px;
  color: #1f352d;
  font-synthesis: none;
  --ink: #1f352d;
  --green: #256a52;
  --green-2: #1c5341;
  --gold: #e9b93f;
  --paper: #fffdf6;
  --sand: #f4ecd8;
  --muted: #6f7f77;
  --line: rgba(31, 53, 45, 0.12);
  --red: #c9483c;
  --glass: rgba(255, 253, 246, 0.86);
  --shadow: 0 18px 50px rgba(60, 50, 20, 0.16), 0 2px 6px rgba(60, 50, 20, 0.1);
  --r: 22px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--sand);
  overscroll-behavior-y: none;
}
body.playing,
body.sheet-open {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- backdrop */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #bfe3f2 0%, #e6f1e4 38%, var(--sand) 72%);
}
.sky i {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  animation: drift 26s ease-in-out infinite alternate;
}
.sky i:nth-child(1) {
  width: 46vmax;
  height: 46vmax;
  left: -12vmax;
  top: -18vmax;
  background: #ffe9a8;
}
.sky i:nth-child(2) {
  width: 40vmax;
  height: 40vmax;
  right: -14vmax;
  top: 6vmax;
  background: #a9dcc4;
  animation-duration: 32s;
  animation-direction: alternate-reverse;
}
.sky i:nth-child(3) {
  width: 38vmax;
  height: 38vmax;
  left: 24vmax;
  bottom: -22vmax;
  background: #f6c5a8;
  animation-duration: 38s;
}
@keyframes drift {
  to {
    transform: translate3d(6vmax, 4vmax, 0) scale(1.12);
  }
}
#app {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
}
.glass {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

/* ---------------------------------------------------------------- basics */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s, box-shadow 0.2s, background 0.2s;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 53, 45, 0.14);
}
.btn:active:not(:disabled) {
  transform: translateY(1px) scale(0.98);
}
.btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.btn.primary {
  background: linear-gradient(180deg, #2f8565, var(--green));
  border-color: var(--green-2);
  color: #fff;
  box-shadow: 0 3px 0 var(--green-2), 0 8px 18px rgba(37, 106, 82, 0.28);
}
.btn.primary:active:not(:disabled) {
  box-shadow: 0 1px 0 var(--green-2);
}
.btn.ghost {
  background: transparent;
}
.btn.danger {
  color: var(--red);
}
.btn.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
}
.btn.big {
  width: 100%;
  min-height: 56px;
  font-size: 1.08rem;
  margin-top: 6px;
}
label {
  display: block;
  margin: 16px 0 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
label small {
  margin-left: 8px;
  font-weight: 400;
}
label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
}
label.check input {
  width: 22px;
  height: 22px;
  accent-color: var(--green);
}
input:not([type="checkbox"]),
select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(37, 106, 82, 0.14);
}
.note,
.hint {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}
.face {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff8, transparent 60%), var(--tint);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.1), 0 0 0 2px #fff;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
}
.face.mini {
  width: 24px;
  height: 24px;
  font-size: 14px;
  box-shadow: 0 0 0 1.5px #fff;
}
.face.huge {
  width: 84px;
  height: 84px;
  font-size: 46px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.logo svg {
  width: 36px;
  height: 36px;
}
.logo.big {
  font-size: 1.3rem;
}
.logo.big svg {
  width: 46px;
  height: 46px;
}
.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-top: 20px;
  border-radius: 999px;
  background: rgba(31, 53, 45, 0.07);
}
.seg .btn {
  flex: 1;
  min-height: 40px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
}
.seg .btn.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(31, 53, 45, 0.12);
}
.faces {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.pick {
  display: grid;
  place-items: center;
  padding: 5px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.15s;
}
.pick:hover {
  transform: scale(1.08);
}
.pick.on {
  border-color: var(--green);
  background: rgba(37, 106, 82, 0.1);
}
.loading {
  min-height: 100dvh;
  display: grid;
  place-items: center;
}
.loading .logo {
  animation: breathe 1.4s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    transform: scale(1.05);
    opacity: 0.7;
  }
}

/* ---------------------------------------------------------------- sign in */
.auth {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 420px);
  justify-content: center;
  align-items: center;
  gap: 56px;
  padding: calc(28px + var(--safe-t)) 20px calc(28px + var(--safe-b));
}
.auth-card {
  padding: 34px 32px 30px;
}
.enter .auth-card {
  animation: rise 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}
.auth-card h1 {
  margin-top: 26px;
  font-size: 2.1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lead {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.peek {
  position: relative;
  height: 460px;
}
.peek li {
  position: absolute;
  width: 280px;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.peek li svg {
  width: 100%;
  height: 100%;
  display: block;
}
.peek li span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
}
.peek li:nth-child(1) {
  left: 0;
  top: 20px;
  --tilt: -6deg;
  z-index: 3;
}
.peek li:nth-child(2) {
  right: 0;
  top: 150px;
  --tilt: 5deg;
  z-index: 2;
  animation-delay: -2.4s;
}
.peek li:nth-child(3) {
  left: 30px;
  top: 280px;
  --tilt: -3deg;
  z-index: 1;
  animation-delay: -4.6s;
}
@keyframes float {
  0%,
  100% {
    transform: rotate(var(--tilt)) translateY(0);
  }
  50% {
    transform: rotate(var(--tilt)) translateY(-12px);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* ---------------------------------------------------------------- home */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(12px + var(--safe-t)) max(20px, calc((100vw - 1180px) / 2)) 12px;
  background: linear-gradient(180deg, rgba(232, 243, 240, 0.92), rgba(232, 243, 240, 0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.top .logo {
  margin-right: auto;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  color: var(--muted);
}
.chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c2c8c4;
}
.chip.live::before {
  background: #3cb878;
  box-shadow: 0 0 0 3px rgba(60, 184, 120, 0.2);
}
.me {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  max-width: 46vw;
}
.me b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.me .face {
  width: 36px;
  height: 36px;
  font-size: 20px;
}
.home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 28px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px calc(40px + var(--safe-b));
}
.hello h1 {
  font-size: 2.2rem;
  letter-spacing: -0.01em;
}
.hello p {
  margin-top: 6px;
  color: var(--muted);
}
.resume {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 12px 14px 12px 20px;
  border-left: 5px solid var(--gold);
}
.resume span {
  flex: 1;
  min-width: 180px;
  font-weight: 600;
}
.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.game {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.2), box-shadow 0.25s;
}
.enter .game {
  animation: rise 0.5s both;
}
.enter .game:nth-child(2) {
  animation-delay: 0.07s;
}
.enter .game:nth-child(3) {
  animation-delay: 0.14s;
}
.enter .game:nth-child(4) {
  animation-delay: 0.21s;
}
.game.live:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 28px 60px rgba(60, 50, 20, 0.22), 0 4px 10px rgba(60, 50, 20, 0.12);
}
.cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.cover svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.game.live:hover .cover svg {
  transform: scale(1.06);
}
.game.soon .cover svg {
  filter: saturate(0.55) brightness(0.96);
}
.tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.94);
  font-size: 0.78rem;
  font-weight: 700;
}
.game.soon .tag {
  background: rgba(31, 53, 45, 0.78);
  color: #fff;
}
.info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 18px 20px 20px;
}
.info h3 {
  font-size: 1.3rem;
}
.info p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}
.meta > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 53, 45, 0.06);
}
.meta .here {
  background: rgba(60, 184, 120, 0.14);
  color: var(--green);
  font-weight: 600;
}
.meta .here .face + .face {
  margin-left: -8px;
}
.acts {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.acts .btn.primary {
  flex: 1;
}

/* ---------------------------------------------------------------- friends */
.friends {
  position: sticky;
  top: calc(76px + var(--safe-t));
  max-height: calc(100dvh - 100px - var(--safe-t));
  overflow-y: auto;
  padding: 18px;
  overscroll-behavior: contain;
}
h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 20px 4px 8px;
  font-size: 0.95rem;
}
h4 small {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
}
.friend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 16px;
  transition: background 0.2s;
}
.friend:hover {
  background: rgba(31, 53, 45, 0.05);
}
.friend:not(.on) .face {
  filter: grayscale(0.9);
  opacity: 0.6;
}
.who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.who b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.who span {
  font-size: 0.78rem;
  color: var(--muted);
}
.who span.live {
  color: #23915a;
}
.who span.busy {
  color: #b9801b;
}
.more {
  flex: none;
  width: 34px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
}
.more:hover {
  background: rgba(31, 53, 45, 0.08);
}
.done {
  font-size: 0.82rem;
  color: var(--muted);
  padding-right: 6px;
}
.empty {
  padding: 26px 12px 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.empty i {
  display: block;
  font-style: normal;
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.tabs {
  display: none;
}

/* ---------------------------------------------------------------- sheets */
#sheet:empty {
  display: none;
}
#sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}
.veil {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 34, 0.42);
}
.enter .veil {
  animation: fade 0.2s both;
}
.sheet {
  position: relative;
  width: min(480px, 100%);
  max-height: min(86dvh, 720px);
  overflow-y: auto;
  padding: 28px 26px 26px;
  background: var(--paper);
}
.enter .sheet {
  animation: pop 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}
.sheet h2 {
  font-size: 1.4rem;
  padding-right: 36px;
}
.sheet .x {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(31, 53, 45, 0.07);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.sheet .row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.sheet .row .btn {
  flex: 1;
}
.sheet #password-form input + input {
  margin-top: 8px;
}
.sheet #password-form .btn {
  margin-top: 10px;
}
.sheet .btn.danger.ghost {
  margin-top: 18px;
}
.sheet .row .btn.danger.ghost {
  margin-top: 0;
}
.mecard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 18px 0 4px;
  font-size: 1.2rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.chipf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 14px 4px 6px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.12s;
}
.chipf small {
  font-weight: 400;
  color: var(--muted);
}
.chipf.away .face {
  filter: grayscale(0.9);
}
.chipf.on {
  border-color: var(--green);
  background: rgba(37, 106, 82, 0.12);
  color: var(--green-2);
}
.chipf:active {
  transform: scale(0.96);
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
}

/* ---------------------------------------------------------------- playing */
#play {
  display: none;
}
body.playing #play {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 20;
  background: #8cc8ee;
}
body.playing #app,
body.playing .sky {
  display: none;
}
#game {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
#puck {
  display: none;
  position: fixed;
  z-index: 30;
  left: 10px;
  top: calc(78px + var(--safe-t));
  width: 44px;
  height: 44px;
  padding: 6px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 253, 246, 0.82);
  box-shadow: 0 6px 18px rgba(15, 50, 60, 0.3);
  cursor: grab;
  touch-action: none;
  opacity: 0.72;
  transition: opacity 0.2s, transform 0.15s;
}
#puck:hover,
#puck:active {
  opacity: 1;
}
#puck:active {
  transform: scale(0.94);
}
#puck svg {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#puck.ping::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #fff;
}
body.playing #puck {
  display: block;
}

/* ---------------------------------------------------------------- invitations & toast */
#invites {
  position: fixed;
  z-index: 50;
  top: calc(12px + var(--safe-t));
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.invite {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--paper);
  border-left: 5px solid var(--gold);
  pointer-events: auto;
  animation: drop 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
}
#toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: calc(86px + var(--safe-b));
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(31, 53, 45, 0.94);
  color: #fff;
  font-size: 0.92rem;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 900px) {
  .auth {
    grid-template-columns: minmax(0, 460px);
    gap: 0;
    align-items: start;
  }
  .peek {
    display: none;
  }
  .auth-card {
    padding: 28px 22px 24px;
  }
  .auth-card h1 {
    font-size: 1.8rem;
  }
  .home {
    display: block;
    padding: 4px 16px calc(96px + var(--safe-b));
  }
  .home.tab-games .friends,
  .home.tab-friends .shelf {
    display: none;
  }
  .friends {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .hello h1 {
    font-size: 1.8rem;
  }
  .resume span {
    flex-basis: 100%;
  }
  .resume .btn.primary {
    flex: 1;
  }
  .games {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .top {
    padding-left: 16px;
    padding-right: 16px;
  }
  .top .chip {
    display: none;
  }
  .tabs {
    position: fixed;
    z-index: 6;
    left: 50%;
    bottom: calc(14px + var(--safe-b));
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 253, 246, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .tabs .btn {
    position: relative;
    min-width: 120px;
    min-height: 50px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--muted);
  }
  .tabs .btn i {
    font-style: normal;
  }
  .tabs .btn.on {
    background: var(--green);
    color: #fff;
  }
  .tabs em {
    position: absolute;
    right: 14px;
    top: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--red);
    color: #fff;
    font-size: 0.68rem;
    font-style: normal;
    line-height: 18px;
  }
  #sheet {
    place-items: end center;
    padding: 0;
  }
  .sheet {
    width: 100%;
    max-height: 88dvh;
    border-radius: 26px 26px 0 0;
    padding-bottom: calc(26px + var(--safe-b));
  }
  body.playing .tabs {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------------- admin */
.sheet.wide {
  width: min(640px, 100%);
}
.stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 6px;
}
.stats span {
  display: flex;
  flex-direction: column;
  min-width: 84px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(31, 53, 45, 0.06);
  font-size: 0.78rem;
  color: var(--muted);
}
.stats span b {
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.2;
}
.stats .btn {
  margin-left: auto;
}
.member {
  padding: 4px 0 10px;
  border-bottom: 1px solid var(--line);
}
.member:last-child {
  border-bottom: 0;
}
.member .who em {
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--gold);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding-left: 60px;
  font-size: 0.78rem;
  color: var(--muted);
}
.ops {
  margin: 10px 0 2px 60px;
}
.ops .row {
  margin-top: 8px;
}
@media (max-width: 900px) {
  .top .btn.small {
    padding: 0 12px;
  }
}
