/* 木子的小游戏乐园 · 首页样式 */

:root {
  --bg: #fff8ee;
  --ink: #3d3029;
  --ink-soft: #6b5a4d;
  --muted: #94847a;
  --card: #ffffff;
  --coral: #ff6b6b;
  --coral-dark: #df5050;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow-card: 0 2px 0 rgba(61, 48, 41, .04), 0 16px 30px -20px rgba(61, 48, 41, .45);
  --shadow-hover: 0 4px 0 rgba(61, 48, 41, .05), 0 28px 44px -22px rgba(61, 48, 41, .45);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

body {
  touch-action: manipulation;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 1px 1px, #ffe9cd 1.5px, transparent 0),
    radial-gradient(900px 520px at 6% -10%, #ffe1ef 0%, transparent 62%),
    radial-gradient(820px 500px at 100% -4%, #dff4ff 0%, transparent 58%),
    radial-gradient(760px 480px at 50% 118%, #fff0c9 0%, transparent 60%);
  background-size: 26px 26px, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部 ---------- */

.hero {
  padding: 64px 0 34px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: #b8895f;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .02em;
}

.hero h1 .mark {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.hero h1 .mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -3%;
  right: -3%;
  bottom: 4%;
  height: 36%;
  border-radius: 8px;
  background: #ffdf7e;
  transform: rotate(-1.2deg);
}

.hero-sub {
  max-width: 30em;
  margin: 16px auto 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.btn-random {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: var(--coral);
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--coral-dark);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn-random:hover { background: #ff7b7b; transform: translateY(-2px); box-shadow: 0 7px 0 var(--coral-dark); }
.btn-random:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--coral-dark); }
.btn-random:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: 0 5px 0 var(--coral-dark); }

.btn-random:focus-visible,
.tag:focus-visible {
  outline: 3px dashed #7c6a5c;
  outline-offset: 3px;
}

.count-pill {
  display: inline-block;
  padding: 10px 16px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .85);
  border: 2px dashed #f0dcc6;
  border-radius: 999px;
}

/* ---------- 搜索与标签 ---------- */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 6px 0 26px;
}

.search {
  display: flex;
  flex: 1 1 260px;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 12px 28px -24px rgba(61, 48, 41, .8);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.search:focus-within {
  border-color: #ffc7c7;
  box-shadow: 0 0 0 4px #ffe8e8;
}

.search-icon { font-size: .95rem; }

.search input {
  width: 100%;
  border: none;
  outline: none;
  background: none;
  font: inherit;
  color: inherit;
}

.search input::placeholder { color: #b7a598; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  appearance: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: #fff;
  padding: 8px 15px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -16px rgba(61, 48, 41, .7);
  transition: transform .16s ease, background .16s ease, color .16s ease;
}

.tag:hover { transform: translateY(-2px); }

.tag.is-active {
  color: #fff;
  background: var(--ink);
}

/* ---------- 游戏卡片 ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 16px;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .22s cubic-bezier(.2, .8, .3, 1.3), box-shadow .22s ease;
}

.card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-hover);
}

.card:active { transform: translateY(-2px); }

.card:focus-visible {
  outline: 3px solid #7cc4f5;
  outline-offset: 4px;
}

.card-enter {
  animation: pop-in .4s ease backwards;
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
}

.card-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-image: linear-gradient(140deg, var(--c1, #dbeafe), var(--c2, #93c5fd));
}

.card-cover::before,
.card-cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .34);
}

.card-cover::before { width: 96px; height: 96px; top: -30px; right: -22px; }
.card-cover::after { width: 64px; height: 64px; bottom: -24px; left: -16px; background: rgba(255, 255, 255, .26); }

.card-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-emoji {
  position: relative;
  z-index: 1;
  font-size: clamp(3rem, 8vw, 4.2rem);
  line-height: 1;
  filter: drop-shadow(0 8px 10px rgba(61, 48, 41, .18));
  transition: transform .25s cubic-bezier(.2, .8, .3, 1.5);
}

.card:hover .cover-emoji { transform: scale(1.1) rotate(5deg); }

.theme-mint  { --c1: #d3f9ec; --c2: #7fd8be; }
.theme-peach { --c1: #ffe3d1; --c2: #ffab8f; }
.theme-sky   { --c1: #dcefff; --c2: #7cc4f5; }
.theme-lilac { --c1: #eae3ff; --c2: #b7a4f7; }
.theme-lemon { --c1: #fff6c2; --c2: #ffd95e; }
.theme-rose  { --c1: #ffe0ec; --c2: #ff9ec4; }

.badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  padding: 4px 8px;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 12px -8px rgba(61, 48, 41, .7);
}

.badge-feature { left: 10px; color: #b07a00; }
.badge-new { left: 10px; color: var(--coral-dark); transform: rotate(-6deg); }
.badge-feature + .badge-new { left: auto; right: 10px; }

.play-dot {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: .75rem;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border-radius: 50%;
  box-shadow: 0 6px 14px -6px rgba(61, 48, 41, .6);
  transition: transform .2s ease;
}

.card:hover .play-dot { transform: scale(1.12) rotate(-8deg); }

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 14px 6px 0;
}

.card-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
}

.card-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0 0;
  margin: auto 0 0;
  list-style: none;
}

.card-tags li {
  padding: 3px 9px;
  font-size: .72rem;
  font-weight: 700;
  color: #8a6a4f;
  background: #fff4e4;
  border-radius: 999px;
}

/* ---------- 空状态 ---------- */

.empty-state {
  grid-column: 1 / -1;
  padding: 60px 24px;
  text-align: center;
  background: rgba(255, 255, 255, .72);
  border: 3px dashed #f0dcc6;
  border-radius: 30px;
}

.empty-emoji { font-size: 3rem; line-height: 1.2; }

.empty-state h2 {
  margin: 12px 0 8px;
  font-size: 1.3rem;
  font-weight: 800;
}

.empty-state p {
  max-width: 30em;
  margin: 6px auto;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--muted);
}

.empty-state code {
  padding: 2px 6px;
  font-size: .85em;
  color: #8a6a4f;
  background: #fff2dc;
  border-radius: 6px;
}

.empty-state .empty-note { font-size: .84rem; color: #b3a294; }

.no-result {
  grid-column: 1 / -1;
  padding: 50px 20px;
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
}

.no-result span {
  display: block;
  margin-bottom: 10px;
  font-size: 2.4rem;
}

.no-result p { margin: 0; }

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 54px 20px 40px;
  text-align: center;
  font-size: .86rem;
  color: #b3a294;
}

.site-footer p { margin: 0; }

/* ---------- 小屏适配 ---------- */

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 24px; }
  .hero-sub { font-size: .95rem; }
  .hero-actions { margin-top: 22px; }
  .btn-random { padding: 12px 20px; font-size: .95rem; }
  .count-pill { padding: 9px 14px; font-size: .86rem; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .card { padding: 9px 9px 12px; border-radius: 20px; }
  .card-cover { border-radius: 14px; }
  .card-body { padding: 10px 4px 0; }
  .card-title { font-size: 1rem; }
  .card-desc { font-size: .8rem; -webkit-line-clamp: 2; }
  .play-dot { width: 32px; height: 32px; font-size: .65rem; }
  .tags { width: 100%; }
}

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

/* ---------- 账号入口 ---------- */

.account-bar {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 60;
}

.account-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid #f3e5d6;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 22px -14px rgba(61, 48, 41, .6);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.account-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px -16px rgba(61, 48, 41, .7);
}

.account-btn:focus-visible {
  outline: 3px solid #ffd28a;
  outline-offset: 3px;
}

.avatar-face {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  background: #fff3e6;
}

.account-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #4cc38a;
}

.avatar-c1 { background: linear-gradient(140deg, #ffe4ef, #ffc9dc); }
.avatar-c2 { background: linear-gradient(140deg, #fff0d6, #ffd9a3); }
.avatar-c3 { background: linear-gradient(140deg, #e7f0ff, #c7dcff); }
.avatar-c4 { background: linear-gradient(140deg, #fff0e2, #ffd0a8); }
.avatar-c5 { background: linear-gradient(140deg, #eef1f4, #d5dde3); }
.avatar-c6 { background: linear-gradient(140deg, #e8f8e8, #c9ecc9); }

/* ---------- 登录 / 账号弹层 ---------- */

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(61, 48, 41, .42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: authFade .16s ease;
}

.auth-overlay[hidden] { display: none; }

.auth-open { overflow: hidden; }

.auth-card {
  position: relative;
  width: min(380px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px 24px 22px;
  border-radius: var(--radius-lg);
  background: #fffdfa;
  box-shadow: 0 34px 70px -26px rgba(61, 48, 41, .55);
  animation: authPop .2s ease;
}

.auth-card[hidden] { display: none; }

.auth-eyebrow {
  margin: 0 0 6px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: #b8895f;
}

.auth-title {
  margin: 0 0 18px;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.35;
  word-break: break-all;
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f7eee4;
  color: #8a776a;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}

.auth-close:hover { background: #f0e1d3; }

.auth-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #f8f1e8;
}

.auth-tab {
  flex: 1;
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.auth-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 12px -8px rgba(61, 48, 41, .5);
}

.auth-form[hidden] { display: none; }

.auth-field {
  display: block;
  margin-bottom: 14px;
}

.auth-field > span {
  display: block;
  margin-bottom: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #f0e2d3;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .96rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #ffc98a;
  box-shadow: 0 0 0 4px rgba(255, 201, 138, .25);
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 14px;
  font-size: .86rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.auth-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--coral);
  cursor: pointer;
}

.auth-hint {
  margin: 0 0 14px;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--muted);
}

.auth-msg {
  min-height: 1.2em;
  margin: 0 0 10px;
  font-size: .85rem;
  line-height: 1.55;
  color: var(--muted);
}

.auth-msg:empty { display: none; }

.auth-msg.is-ok { color: #2f9e63; }
.auth-msg.is-warn { color: var(--coral-dark); }

.auth-submit {
  width: 100%;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8b7e, var(--coral));
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 14px 24px -16px rgba(255, 107, 107, .9);
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.auth-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px -16px rgba(255, 107, 107, .95);
}

.auth-submit:disabled {
  opacity: .7;
  cursor: default;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.avatar-option {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 22px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.avatar-option:hover { transform: translateY(-2px); }

.avatar-option.is-active {
  border-color: var(--coral);
  box-shadow: 0 10px 20px -14px rgba(255, 107, 107, .95);
}

.avatar-option.is-saving { opacity: .6; }

.auth-card-member .auth-title { margin-bottom: 4px; font-size: 1.05rem; }

.auth-logout {
  width: 100%;
  padding: 11px 18px;
  margin-top: 4px;
  border: 2px solid #f0e2d3;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}

.auth-logout:hover { background: #fbf3ea; color: var(--coral-dark); }

@keyframes authFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes authPop {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 560px) {
  .account-bar { top: 12px; right: 12px; }
  .account-btn { width: 44px; height: 44px; }
  .avatar-face { width: 34px; height: 34px; font-size: 20px; }
  .auth-card { padding: 24px 18px 18px; }
  .avatar-option { font-size: 26px; border-radius: 18px; }
}

/* ---------- 账号面板 ---------- */

.member-logout {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .76rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.member-logout:hover { color: var(--coral-dark); }

.member-name { margin: 0 0 6px; }

.member-email {
  margin: 0 0 18px;
  font-size: .84rem;
  color: var(--muted);
  word-break: break-all;
}

.auth-field-nick { margin-bottom: 8px; }

.nick-row { display: flex; gap: 8px; }

.nick-input { flex: 1; min-width: 0; }

.nick-save {
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #ffe9d6;
  color: #b26a2f;
  font: inherit;
  font-weight: 800;
  font-size: .86rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background .16s ease;
}

.nick-save:hover { background: #ffdcbe; }

.avatar-label { margin: 8px 0 8px; font-weight: 700; color: var(--ink-soft); }

.avatar-c7 { background: linear-gradient(140deg, #fff3d1, #ffe0a3); }
.avatar-c8 { background: linear-gradient(140deg, #e9f0ff, #cddcff); }
.avatar-c9 { background: linear-gradient(140deg, #ffe9ef, #ffc9d8); }

.auth-close-bottom {
  width: 100%;
  margin-top: 6px;
  padding: 11px 18px;
  border: 2px solid #f0e2d3;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: background .16s ease;
}

.auth-close-bottom:hover { background: #fbf3ea; }

/* ---------- 成就榜 ---------- */

.board {
  margin: 42px 0 8px;
  padding: 22px 22px 18px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid #f4e6d7;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.board-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
}

.board-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.board-tab {
  padding: 8px 14px;
  border: 2px solid #f2e4d5;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.board-tab:hover { transform: translateY(-1px); }

.board-tab.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #ffb37e, #ff8f6b);
  color: #fff;
}

.board-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.board-row {
  display: grid;
  grid-template-columns: 34px 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #f7ecdf;
  border-radius: 16px;
}

.board-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.board-row-expand {
  display: block;
  padding: 0;
}

.board-row-expand > summary {
  display: grid;
  grid-template-columns: 34px 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  cursor: pointer;
  list-style: none;
}

.board-row-expand > summary::-webkit-details-marker { display: none; }

.board-row-expand[open] { border-color: #ffd3ae; background: #fffaf3; }

.fish-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 13px 96px;
}

.fish-chip {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f7f1e8;
  color: var(--ink-soft);
  font-size: .76rem;
}

.fish-chip b {
  margin-left: 4px;
  color: #c4623c;
  font-weight: 800;
}

.board-row.is-me {
  border-color: #ffd3ae;
  background: #fff8ef;
}

.board-rank {
  text-align: center;
  font-size: 1rem;
  font-weight: 900;
  color: #b8895f;
}

.board-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.board-me {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #ffe7d2;
  color: #b26a2f;
  font-size: .7rem;
  font-weight: 800;
  vertical-align: middle;
}

.board-score {
  text-align: right;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 800;
  color: #c4623c;
}

.board-score em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: .76rem;
  font-weight: 600;
  color: var(--muted);
}

.board-empty {
  padding: 18px 10px 8px;
  text-align: center;
  color: var(--muted);
}

.board-empty span {
  display: block;
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.board-empty p {
  margin: 0 0 10px;
  font-size: .9rem;
}

.board-login {
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font: inherit;
  font-size: .85rem;
  font-weight: 800;
  cursor: pointer;
}

.board-more {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.board-more-btn {
  padding: 9px 22px;
  border: 2px solid #f2e4d5;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}

.board-more-btn:hover:not(:disabled) {
  border-color: #ffd3ae;
  background: #fffaf3;
}

.board-more-btn:disabled {
  opacity: .6;
  cursor: default;
}

.board-tip {
  margin: 12px 0 0;
  text-align: right;
  font-size: .78rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .board { padding: 18px 14px 14px; margin-top: 30px; }
  .board-head { align-items: flex-start; flex-direction: column; }
  .board-row { grid-template-columns: 28px 32px 1fr auto; padding: 10px 12px; }
  .board-row-expand > summary { grid-template-columns: 28px 32px 1fr auto; padding: 10px 12px; }
  .fish-chips { padding: 0 12px 12px 74px; }
  .board-score { font-size: .84rem; }
}
