:root {
  --red: #bf302b;
  --shanghai: #c52a25;
  --cream: #fff7e7;
  --ink: #4f261c;
  --muted: #9a7760;
  --gold: #d5a341;
  --line: #dfc7a3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f3e5ce;
  color: var(--ink);
  font:
    13px Arial,
    sans-serif;
  background-image: radial-gradient(#79552b0b 0.7px, transparent 0.7px);
  background-size: 4px 4px;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #317d67;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
[hidden] {
  display: none !important;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
}
.topline {
  background: #70291f;
  color: #eecb91;
  padding: 9px 5%;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 5%;
  border-bottom: 1px solid #ceb18a;
  background: #fff6e3b3;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    700 26px Georgia,
    Georgia,
    serif;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font:
    8px Arial,
    sans-serif;
  letter-spacing: 3px;
  margin-top: 6px;
}
.brand-seal {
  font: 32px serif;
  color: #ffe6ae;
  background: var(--red);
  padding: 6px 9px;
  border: 3px double #e6bc6b;
  box-shadow: 2px 2px 0 #7d261e;
}
nav {
  display: flex;
  gap: 30px;
}
nav button {
  border: 0;
  background: none;
  color: #8b6f58;
  font-size: 11px;
  padding: 9px 0;
}
nav button.nav-active {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}
.login-button {
  padding: 11px 17px;
  color: var(--red);
  background: transparent;
  border: 1px solid #b87753;
  font-size: 11px;
  min-width: 110px;
}
.login-button span {
  margin-left: 24px;
}
main {
  max-width: 1530px;
  margin: auto;
  padding: 0 4.8%;
}
.welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0 27px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 2px;
  color: #ac7857;
}
h1 {
  font:
    600 clamp(23px, 2.6vw, 38px) Georgia,
    Georgia,
    serif;
  letter-spacing: -1px;
  margin: 10px 0;
}
h1 i {
  font-weight: 500;
  color: var(--red);
}
.welcome p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 0;
}
.welcome-art {
  position: relative;
  text-align: center;
  min-width: 170px;
  margin-right: 20px;
}
.welcome-art > span {
  font: 44px serif;
  color: var(--red);
  letter-spacing: 9px;
  position: relative;
}
.welcome-art small {
  display: block;
  font-size: 7px;
  letter-spacing: 3px;
  margin-top: 8px;
}
.welcome-art svg {
  position: absolute;
  left: -45px;
  top: 8px;
  width: 115px;
  height: 60px;
  stroke: #c1a065;
  fill: none;
  stroke-width: 1.2;
}
.room {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.membership {
  background: #fdf2db;
  border: 1px solid #d4b88e;
  padding: 19px 18px;
  box-shadow: 0 3px 0 #cbb18e40;
  position: relative;
}
.membership:before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid #c8a26660;
  pointer-events: none;
}
.membership-top {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  letter-spacing: 1px;
  color: #94704f;
}
.membership-top b {
  font-weight: 400;
}
.profile-avatar {
  margin: 24px auto 13px;
  background: var(--red);
  color: #ffe1a0;
  font: 36px serif;
  width: 65px;
  height: 65px;
  border: 4px double #efc775;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 0 #8f2c2140;
  border-radius: 50%;
}
.membership h2 {
  text-align: center;
  font:
    600 20px Georgia,
    serif;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
.membership p {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
  min-height: 35px;
  overflow-wrap: anywhere;
}
.membership > button {
  width: 100%;
  background: none;
  border: 0;
  border-block: 1px solid #dfc8a2;
  color: var(--red);
  padding: 14px 0;
  font-size: 10px;
}
.rating-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}
.rating-mini strong {
  font:
    600 27px Georgia,
    serif;
}
.rating-mini div > span {
  display: block;
  font-size: 6px;
  letter-spacing: 1px;
  margin-top: 4px;
  color: #aa8664;
}
.rating-stamp {
  font: 19px serif;
  color: #b84c34;
  border: 1px solid #bd684a;
  writing-mode: vertical-rl;
  padding: 3px;
  transform: rotate(8deg);
}
.club-note {
  margin-top: 28px;
  text-align: center;
  color: var(--red);
  padding: 0 5px;
}
.club-note svg {
  width: 165px;
  height: 135px;
  color: #b73729;
}
.club-note h3 {
  font:
    600 21px/1.5 Georgia,
    serif;
  margin: 7px 0;
}
.club-note p {
  font-size: 10px;
  line-height: 1.9;
  color: #a87c5d;
}
.club-note > span {
  display: block;
  font-size: 6px;
  letter-spacing: 2px;
  margin-top: 22px;
  color: #b58a63;
}
.player {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 4px 15px;
}
.player-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  background: #74342b;
  color: #fbd99d;
  border: 2px solid #c6944d;
  border-radius: 7px;
  font: 29px serif;
  box-shadow: 0 3px 0 #4f261c25;
}
.player strong {
  font-size: 12px;
  font-weight: 600;
}
.player small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
}
.clock {
  margin-left: auto;
  font:
    600 23px Georgia,
    serif;
  letter-spacing: 1px;
  background: #e9d8bb;
  padding: 7px 12px;
  border-radius: 4px;
  min-width: 93px;
  text-align: center;
  box-shadow: inset 0 1px 2px #4f261c13;
}
.clock.ticking {
  background: #fff6de;
  border: 1px solid #bc9352;
  box-shadow: 0 2px 0 #c1a376;
}
.clock.low {
  color: var(--red);
}
.board-frame {
  position: relative;
  padding: 22px;
  border: 1px solid #f0cc76;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    #f9e4a0 0%,
    #c18b2c 15%,
    #f4d482 25%,
    #a76a20 48%,
    #d3a444 65%,
    #f5d78a 83%,
    #a3661c 100%
  );
  box-shadow:
    inset 0 0 0 3px #f8df9c,
    inset 0 0 0 6px #ad792e,
    inset 0 0 0 8px #eed18d,
    0 6px 0 #87501d,
    0 8px 0 #e9c57a,
    0 11px 0 #7d491f,
    0 24px 28px #5b321939;
  transform: perspective(1400px) rotateX(2deg);
}
.board-rim {
  padding: 4px;
  border: 1px solid #78502e;
  background: linear-gradient(145deg, #9c622d, #f6e1a9, #93602a);
  box-shadow:
    0 0 0 2px #f7d788,
    inset 0 0 7px #4b2519;
}
.corner {
  position: absolute;
  color: #7f4e20;
  text-shadow: 0 1px #fce7a9;
  font-size: 16px;
  line-height: 1;
}
.tl {
  top: 4px;
  left: 4px;
}
.tr {
  top: 4px;
  right: 4px;
}
.bl {
  bottom: 3px;
  left: 4px;
}
.br {
  bottom: 3px;
  right: 4px;
}
#board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  aspect-ratio: 1;
  border: 1px solid #682b23;
  background: #fffaf0;
}
.sq {
  border: 0;
  border-radius: 0;
  padding: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(145deg, #fffdf3, #fff5e6 70%, #ebddc9);
  box-shadow: inset 0 1px 1px #ffffffb0;
  overflow: hidden;
}
.sq.dark {
  background: linear-gradient(145deg, #e44636 0%, #c52a25 42%, #b32022 85%, #9a201e);
  box-shadow:
    inset 0 1px 1px #ff887454,
    inset 0 -1px 2px #7d151b40;
}
.sq:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffffff18, transparent 40%, transparent 60%, #ffffff08);
  pointer-events: none;
}
.sq svg {
  width: 85%;
  height: 85%;
  filter: drop-shadow(0 3px 1px #34120870);
  position: relative;
  transition: transform 0.15s;
}
.sq:hover svg {
  transform: translateY(-2px);
}
.sq.selected {
  background: #d4b45f !important;
}
.sq.last {
  box-shadow: inset 0 0 0 3px #eab84dcc;
}
.sq.legal:after {
  content: '';
  position: absolute;
  width: 22%;
  height: 22%;
  background: #4d27166b;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff3c544;
}
.sq.occupied.legal:after {
  width: 90%;
  height: 90%;
  border: 3px solid #f2c15e;
  background: none;
}
.coord {
  position: absolute;
  left: 3px;
  top: 3px;
  font: 8px sans-serif;
  color: #b3744d;
}
.dark .coord {
  color: #ffd3a2;
}
.coord.file {
  left: auto;
  top: auto;
  right: 3px;
  bottom: 2px;
}
.bottom {
  margin-top: 24px;
  margin-bottom: 7px;
}
.you {
  background: #fff1d3;
  color: #a52b25;
}
.board-toolbar {
  display: flex;
  align-items: center;
  color: #967658;
  font-size: 9px;
  min-height: 32px;
  gap: 10px;
  padding: 0 4px;
}
.board-toolbar > span {
  flex: 1;
  line-height: 1.5;
}
.board-toolbar button {
  background: none;
  border: 0;
  color: #8a5b37;
  font-size: 23px;
}
.play-card {
  background: #fff6e5;
  border: 1px solid #d4b88e;
  padding: 19px 20px;
  position: relative;
  box-shadow: 0 4px 0 #d8c19f70;
  border-radius: 5px;
}
.play-card:before {
  content: '';
  height: 5px;
  background: repeating-linear-gradient(90deg, #bb3228 0 14px, #e7be6a 14px 16px);
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  border-radius: 4px 4px 0 0;
}
.card-label {
  font-size: 7px;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
  color: #a38465;
}
.card-label b {
  font-weight: 400;
  color: #b02a25;
}
.play-card h2 {
  font:
    600 25px Georgia,
    serif;
  margin: 21px 0;
}
.mode-tabs {
  display: flex;
  border-bottom: 1px solid #dec8a9;
  gap: 18px;
}
.mode-tabs button {
  border: 0;
  background: none;
  padding: 0 0 13px;
  color: #a1856b;
  font-size: 10px;
}
.mode-tabs .selected {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}
.control-label {
  font-size: 7px;
  letter-spacing: 1.4px;
  color: #9d8064;
  margin: 21px 0 12px;
}
.controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.controls button {
  background: #f5e8d1;
  border: 1px solid #e5cfac;
  border-radius: 4px;
  padding: 12px 3px;
  color: #693e2c;
  box-shadow: 0 2px 0 #dfc9a75c;
}
.controls b {
  font:
    600 22px Georgia,
    serif;
  white-space: nowrap;
}
.controls b span {
  font-size: 13px;
  margin-left: 2px;
  font-weight: 500;
}
.controls small {
  display: block;
  font-size: 8px;
  color: #a08263;
  margin-top: 5px;
}
.controls .selected {
  background: #fff9ed;
  border: 1px solid #be3f2b;
  box-shadow:
    inset 0 0 0 1px #be3f2b,
    0 2px 0 #bd4d2c30;
}
.controls .selected b,
.controls .selected small {
  color: var(--red);
}
.classical {
  background: none;
  border: 0;
  border-bottom: 1px dashed #d5b990;
  padding: 15px 0;
  width: 100%;
  text-align: left;
  font-size: 8px;
  color: #987453;
}
.classical b {
  float: right;
  font-size: 10px;
  color: #75462c;
}
.classical.selected {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}
.primary {
  border: 1px solid #90201c;
  background: linear-gradient(#d34431, #b22624);
  color: #fff0cd;
  padding: 15px 16px;
  width: 100%;
  text-align: left;
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 #ed8a59,
    0 3px 0 #7a261d;
  margin-top: 19px;
  font-size: 12px;
}
.primary:hover {
  background: linear-gradient(#de4b36, #c12c27);
}
.primary > span {
  float: right;
}
.queue-note {
  font-size: 8px;
  color: #a08163;
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.7;
}
.game-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.game-actions button {
  background: none;
  border: 1px solid #d2b78e;
  color: #8b5039;
  padding: 8px;
  font-size: 9px;
  flex: 1;
}
.score-card {
  margin-top: 23px;
  padding: 17px;
  background: #ead8b940;
  border: 1px solid #dbc29c;
  border-radius: 4px;
}
#moves {
  font: 11px/2 monospace;
  max-height: 100px;
  min-height: 38px;
  overflow: auto;
  margin-top: 12px;
  color: #926f51;
  white-space: pre-wrap;
}
.puzzle-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 0 0;
  border: 0;
  background: none;
  color: #784c35;
  text-align: left;
  gap: 12px;
}
.puzzle-link > span {
  font: 35px serif;
  color: var(--red);
}
.puzzle-link strong {
  font-size: 11px;
  font-weight: 500;
}
.puzzle-link small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
  color: #a18062;
}
.puzzle-link b {
  margin-left: auto;
  color: var(--red);
  font-weight: 400;
}
.bottom-strip {
  display: flex;
  align-items: center;
  gap: 17px;
  border-top: 1px solid #cfb28a;
  border-bottom: 1px solid #cfb28a;
  margin-top: 40px;
  padding: 22px 0;
}
.bottom-strip > span {
  font: 40px serif;
  color: var(--red);
}
.bottom-strip p {
  font-size: 10px;
  color: #a17c5d;
  line-height: 1.8;
}
.bottom-strip b {
  color: #754d32;
  font-weight: 500;
}
.bottom-strip button {
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--red);
  font-size: 10px;
  white-space: nowrap;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  color: #a18469;
  padding: 24px 0;
}
footer > span:first-child {
  font:
    600 17px Georgia,
    serif;
  color: #72482e;
}
footer small {
  font: 8px sans-serif;
  margin-left: 8px;
}
dialog {
  background: #fff5e1;
  color: var(--ink);
  padding: 35px;
  border: 6px double #bc8b43;
  border-radius: 7px;
  max-width: 510px;
  width: 92%;
  box-shadow: 0 20px 80px #29170c70;
}
dialog::backdrop {
  background: #381c14b5;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font:
    600 27px Georgia,
    serif;
  margin: 16px 0 20px;
}
#close {
  position: absolute;
  right: 13px;
  top: 7px;
  border: 0;
  background: none;
  color: var(--red);
  font-size: 27px;
}
#content {
  font-size: 12px;
  line-height: 1.8;
}
#content p {
  color: #947152;
}
label {
  display: block;
  margin: 13px 0 5px;
  font-size: 10px;
}
input,
textarea {
  width: 100%;
  border: 1px solid #cbaa7a;
  padding: 12px;
  background: #fffaf0;
  color: var(--ink);
  border-radius: 3px;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
.form-error {
  color: #b62423;
  min-height: 20px;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 10px;
}
.form-switch {
  border: 0;
  background: none;
  color: var(--red);
  font-size: 11px;
  padding: 15px 0;
}
.ratings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.rating-box {
  padding: 14px;
  border: 1px solid #ddc096;
  background: #f4e6cb;
}
.rating-box strong {
  font:
    600 26px Georgia,
    serif;
  display: block;
}
.rating-box small {
  color: #967352;
  font-size: 9px;
}
.profile-bio {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.muted {
  color: #a08365;
  font-size: 10px;
}
.logout {
  border: 0;
  background: none;
  color: var(--red);
  margin-top: 12px;
  padding: 8px 0;
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 22px;
  background: #663327;
  color: #fff1cf;
  z-index: 10;
  box-shadow: 0 4px 15px #4b24154d;
  border-radius: 4px;
  font-size: 12px;
  max-width: 90%;
}
.leader-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.leader-tabs button {
  border: 1px solid #d1b186;
  background: none;
  padding: 7px 11px;
  color: #86573c;
}
.leader-tabs .selected {
  color: var(--red);
  border-color: var(--red);
}
.leader-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e2ceb0;
  padding: 10px 0;
}
.promotion {
  display: flex;
  gap: 10px;
}
.promotion button {
  flex: 1;
  border: 1px solid #c59a58;
  background: #f3dfb9;
  font: 30px serif;
  padding: 10px;
}
.empty-note {
  padding: 20px 0;
  color: #987658;
}
.queueing {
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.65;
  }
}
@media (min-width: 1450px) {
  .room {
    grid-template-columns: 220px minmax(0, 1fr) 300px;
    gap: 36px;
  }
}
@media (max-width: 1100px) {
  .room {
    grid-template-columns: 160px minmax(0, 1fr) 245px;
    gap: 20px;
  }
  main {
    padding: 0 3%;
  }
  .membership {
    padding: 17px 12px;
  }
  .membership h2 {
    font-size: 17px;
  }
  .club-note svg {
    width: 135px;
  }
  .play-card {
    padding: 18px 15px;
  }
  .play-card h2 {
    font-size: 22px;
  }
  .board-frame {
    padding: 18px;
  }
  .player small {
    font-size: 8px;
  }
  .clock {
    font-size: 20px;
    padding: 7px;
    min-width: 80px;
  }
  .brand {
    font-size: 23px;
  }
  nav {
    gap: 20px;
  }
}
@media (max-width: 880px) {
  .room {
    grid-template-columns: minmax(0, 1fr) 265px;
    gap: 25px;
  }
  .left-column {
    display: none;
  }
  .welcome {
    padding: 25px 0;
  }
  .welcome-art {
    min-width: 120px;
  }
  .welcome-art > span {
    font-size: 35px;
  }
  .welcome-art svg {
    left: -30px;
    width: 80px;
  }
  .brand {
    font-size: 21px;
  }
  header {
    padding: 18px 3%;
  }
  nav {
    gap: 15px;
  }
  nav button {
    font-size: 9px;
  }
  .login-button {
    min-width: 85px;
  }
  .login-button span {
    margin-left: 10px;
  }
  .clock {
    font-size: 20px;
  }
  .board-frame {
    padding: 19px;
  }
}
@media (max-width: 620px) {
  .topline {
    padding: 8px 5%;
    font-size: 7px;
  }
  .topline span:last-child {
    display: none;
  }
  header {
    padding: 15px 5%;
    flex-wrap: wrap;
    gap: 15px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-seal {
    font-size: 26px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 2.4px;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0;
    border-top: 1px solid #dbc29e;
    padding-top: 10px;
  }
  nav button {
    font-size: 10px;
    padding: 6px 0;
  }
  .login-button {
    font-size: 10px;
    padding: 10px;
  }
  main {
    padding: 0 5%;
  }
  .welcome {
    padding: 25px 0;
  }
  .welcome .eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: 27px;
    line-height: 1.5;
  }
  h1 i {
    display: block;
  }
  .welcome p {
    font-size: 10px;
    max-width: 240px;
    line-height: 1.8;
  }
  .welcome-art {
    margin: 0;
    min-width: 60px;
  }
  .welcome-art > span {
    font-size: 30px;
    writing-mode: vertical-rl;
    letter-spacing: 7px;
  }
  .welcome-art small,
  .welcome-art svg {
    display: none;
  }
  .room {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .table {
    order: 0;
  }
  .right-column {
    order: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .play-card {
    padding: 22px;
  }
  .play-card h2 {
    font-size: 27px;
    margin: 17px 0;
  }
  .controls {
    grid-template-columns: repeat(3, 1fr);
  }
  .controls button {
    padding: 13px;
  }
  .controls b {
    font-size: 25px;
  }
  .score-card {
    margin-top: 0;
  }
  .puzzle-link {
    padding-top: 0;
  }
  .board-frame {
    padding: 18px;
  }
  .clock {
    font-size: 24px;
    padding: 6px 14px;
    min-width: 100px;
  }
  .player strong {
    font-size: 12px;
  }
  .player small {
    font-size: 9px;
  }
  .coord {
    font-size: 7px;
  }
  .bottom-strip {
    margin-top: 30px;
    padding: 16px 0;
  }
  .bottom-strip button {
    display: none;
  }
  .bottom-strip p {
    font-size: 10px;
  }
  footer > span:last-child {
    display: none;
  }
  footer > span:first-child {
    font-size: 15px;
  }
  .board-toolbar {
    font-size: 9px;
  }
  .sq svg {
    width: 90%;
    height: 90%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* Club identity: vermilion lacquer, rice paper, carved lattice. */
:root {
  --shanghai: #c52a25;
  --cream: #faf4e5;
  --ink: #382b22;
  --muted: #8f7664;
}
body {
  background-color: #f5eedf;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23614829' opacity='.035' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
  background-size: 160px;
}
.topline {
  background: #541f1b;
  color: #d3b788;
  letter-spacing: 0.7px;
}
header {
  background: #a72b25;
  color: #fff1cf;
  border-bottom: 4px double #dbb46c;
  position: relative;
}
header:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 4px;
  background: #84302533;
}
.brand {
  font-weight: 600;
  font-size: 25px;
}
.brand-seal {
  border: 1px solid #e2b66c;
  background: transparent;
  box-shadow: none;
  padding: 5px 8px;
}
.brand small {
  color: #e2bd8c;
  font-size: 7px;
}
.login-button {
  color: #ffefd1;
  border-color: #dcad76;
  background: #95271f;
}
nav button {
  color: #edcbb0;
}
nav button.nav-active {
  color: #fff2d6;
  border-bottom-color: #f2d49b;
}
.welcome {
  padding: 30px 0 25px;
}
.welcome h1 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin: 9px 0;
}
.welcome p {
  font-size: 11px;
  color: #9c7b63;
}
.welcome-art > span {
  font-size: 38px;
}
.welcome-art small {
  font-size: 6px;
}
.membership {
  background: transparent;
  border: 1px solid #c8ac7c;
  box-shadow: none;
  padding: 21px 18px;
}
.membership:before {
  inset: 5px;
  border-color: #c8ac7c55;
}
.membership:after {
  content: '';
  position: absolute;
  top: -5px;
  left: 20px;
  right: 20px;
  height: 8px;
  background: #a32b24;
  border-block: 2px solid #d5b17a;
}
.membership h2 {
  font:
    500 19px Georgia,
    serif;
}
.profile-avatar {
  border-radius: 0;
  background: #b3372c;
  border: 4px double #ebd2a0;
  width: 80px;
  height: 80px;
  color: #f8e8c2;
  box-shadow: none;
  padding: 6px;
}
.emblem-art {
  display: block;
  width: 100%;
  height: 100%;
}
.club-note {
  border: 1px solid #c8ac7c60;
  margin: 24px 10px 0;
  padding: 20px 8px;
  position: relative;
}
.club-note > svg {
  display: none;
}
.club-note:before {
  content: '';
  display: block;
  margin: 0 auto 18px;
  width: 64px;
  height: 64px;
  border: 3px double #b69a6a;
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, transparent 0 13px, #b69a6a66 13px 14px),
    repeating-linear-gradient(90deg, transparent 0 13px, #b69a6a66 13px 14px);
  transform: rotate(45deg);
}
.club-note .chinese-verse {
  font:
    38px/1.35 'KaiTi',
    'STKaiti',
    serif;
  writing-mode: vertical-rl;
  margin: 0 auto;
  color: #a32b24;
  letter-spacing: 10px;
}
.club-note p {
  font-size: 8px;
  margin-top: 20px;
}
.club-note > span {
  font-size: 5px;
  letter-spacing: 1.7px;
}
.play-card {
  border-radius: 0;
  background: #fbf5e7;
  box-shadow: none;
  padding-top: 25px;
}
.play-card:before {
  background: #ac3227;
  height: 5px;
  border-radius: 0;
}
.play-card h2 {
  font-weight: 500;
  font-size: 23px;
}
.controls button {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border-color: #d6c5a6;
}
.controls .selected {
  box-shadow: none;
  background: #b03228;
  color: #fff2d8;
  border-color: #a62e25;
}
.controls .selected b,
.controls .selected small {
  color: #fff2d8;
}
.primary {
  border-radius: 0;
  box-shadow:
    inset 0 1px #e48664,
    0 2px #78261e;
}
.score-card {
  border-radius: 0;
  background: transparent;
}
.sq svg {
  width: 90%;
  height: 90%;
  filter: none;
  transition: none;
}
.sq:hover svg {
  transform: none;
}
.board-frame {
  border-radius: 3px;
}
.corner {
  font-size: 14px;
}
.bottom-strip {
  padding: 15px 0;
  margin-top: 32px;
}
.bottom-strip > span {
  font: 25px serif;
}
.bottom-strip p {
  font-size: 10px;
  letter-spacing: 2px;
}
.player-link {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #bda17d;
  text-underline-offset: 4px;
}
.player-link:hover {
  color: var(--red);
}
.promotion button {
  padding: 4px;
}
.promotion svg {
  width: 50px;
  height: 50px;
}
.breadcrumbs {
  display: flex;
  gap: 13px;
  color: #a18a73;
  font-size: 10px;
  margin: 29px 0 22px;
}
.breadcrumbs a:hover {
  color: var(--red);
}
.community-loading {
  padding: 100px 0;
  color: #97735b;
}
.profile-banner {
  position: relative;
  background: #a72823;
  color: #fff1d4;
  border: 1px solid #8b271f;
  box-shadow:
    0 4px 0 #7a241a,
    inset 0 0 0 6px #a72823,
    inset 0 0 0 7px #e4bc7770;
  overflow: hidden;
  padding: 27px 35px 0;
}
.profile-banner:before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border: 18px double #f1d19818;
  right: -80px;
  top: -100px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, transparent 0 49px, #ecc48a10 49px 51px),
    repeating-linear-gradient(90deg, transparent 0 49px, #ecc48a10 49px 51px);
  transform: rotate(45deg);
  pointer-events: none;
}
.profile-banner:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, #d8b174 0 7px, transparent 7px 12px);
  opacity: 0.8;
}
.profile-banner-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e9bd8b;
  font-size: 8px;
  letter-spacing: 1.7px;
}
.profile-banner-top > span:first-child {
  font:
    18px 'KaiTi',
    'STKaiti',
    serif;
  letter-spacing: 4px;
}
.profile-banner-top small {
  font:
    7px Arial,
    sans-serif;
  letter-spacing: 2.6px;
  margin-left: 12px;
  vertical-align: middle;
}
.profile-identity {
  display: flex;
  align-items: center;
  gap: 27px;
  position: relative;
  padding: 34px 0 28px;
}
.public-avatar {
  width: 126px;
  height: 126px;
  flex: none;
  border: 1px solid #e6c586;
  outline: 1px solid #e6c58660;
  outline-offset: 6px;
  color: #f5e0ac;
  background: #8c241f;
  padding: 11px;
}
.profile-kicker {
  font-size: 7px;
  letter-spacing: 2.8px;
  color: #e3b48b;
}
.identity-text {
  min-width: 0;
}
.identity-text h1 {
  font:
    500 clamp(27px, 4vw, 51px) / 1.2 Georgia,
    serif;
  letter-spacing: -1px;
  margin: 9px 0 15px;
  overflow-wrap: anywhere;
}
.identity-text p {
  font-size: 10px;
  color: #e9c0a1;
  margin: 0;
}
.banner-calligraphy {
  margin-left: auto;
  font:
    60px/1.08 'KaiTi',
    'STKaiti',
    serif;
  letter-spacing: 9px;
  transform: rotate(-7deg);
  color: #f7dfb8d9;
  min-width: 130px;
}
.profile-banner-bottom {
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
  padding: 20px 0 25px;
  border-top: 1px solid #e5b47555;
  position: relative;
}
.profile-banner-bottom > p {
  font-size: 11px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 65%;
  color: #f5dbc2;
  margin: 0;
}
.profile-banner-bottom > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.profile-banner-bottom button {
  border: 1px solid #d4a678;
  background: transparent;
  color: #ffebcd;
  font-size: 9px;
  padding: 10px 13px;
  white-space: nowrap;
}
.profile-banner-bottom button:hover {
  background: #e3b27b20;
}
.profile-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 50px;
  margin-top: 43px;
}
.profile-section-title {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #cab28b;
  padding-bottom: 15px;
}
.profile-section-title > span {
  font:
    22px 'KaiTi',
    'STKaiti',
    serif;
  color: #a53125;
}
.profile-section-title h2 {
  font:
    500 19px Georgia,
    serif;
  margin: 0;
}
.profile-section-title > small {
  font-size: 7px;
  color: #9e856c;
  letter-spacing: 1.4px;
  margin-left: auto;
}
.total-played {
  font:
    500 65px Georgia,
    serif;
  margin-top: 17px;
  display: block;
}
.small-caption {
  font-size: 10px;
  color: #98816c;
  margin: 0 0 20px;
}
.results-track {
  display: flex;
  height: 5px;
  gap: 3px;
  width: 100%;
}
.results-track .win {
  background: #547261;
}
.results-track .draw {
  background: #cbb78f;
}
.results-track .loss {
  background: #b44a38;
}
.results-track .unplayed {
  background: #dfd0b7;
  flex: 1;
}
.result-breakdown {
  font-size: 11px;
  margin: 22px 0;
}
.result-breakdown > div {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
}
.result-breakdown dd {
  margin: 0;
}
.result-breakdown dt {
  color: #89735e;
  display: flex;
  gap: 10px;
  align-items: center;
}
.result-breakdown i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.win-dot {
  background: #547261;
}
.draw-dot {
  background: #cbb78f;
}
.loss-dot {
  background: #b44a38;
}
.win-percent {
  border-block: 1px solid #d7c5a6;
  padding: 17px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.win-percent strong {
  font:
    500 25px Georgia,
    serif;
}
.win-percent span {
  font-size: 10px;
  color: #a08b74;
}
.profile-side-note {
  text-align: center;
  padding: 30px 0;
}
.profile-side-note > span {
  font:
    50px 'KaiTi',
    'STKaiti',
    serif;
  color: #b6a181;
}
.profile-side-note p {
  font-size: 9px;
  line-height: 1.9;
  color: #a08b74;
}
.rating-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 25px 0 15px;
}
.ledger-rating {
  border: 0;
  border-right: 1px solid #d9c7a7;
  background: transparent;
  text-align: left;
  color: var(--ink);
  padding: 0 20px;
}
.ledger-rating:first-child {
  padding-left: 0;
}
.ledger-rating:last-child {
  border: 0;
}
.ledger-symbol {
  font:
    24px 'KaiTi',
    'STKaiti',
    serif;
  color: #ad3025;
  display: block;
  margin-bottom: 10px;
}
.ledger-name {
  font-size: 11px;
  display: block;
}
.ledger-rating strong {
  font:
    500 clamp(24px, 2.8vw, 37px) Georgia,
    serif;
  display: block;
  margin: 10px 0 5px;
}
.ledger-rating sup {
  font: 10px sans-serif;
  vertical-align: super;
  margin-left: 3px;
  color: #a18c73;
}
.ledger-rating small {
  font-size: 9px;
  color: #a18c73;
}
.ledger-rating.selected .ledger-name {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.rating-footnote {
  font-size: 8px;
  color: #a18c73;
  margin: 12px 0 0;
}
.public-history {
  margin-top: 38px;
}
.history-filters {
  display: flex;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid #d5c2a2;
}
.history-filters button {
  border: 0;
  background: transparent;
  color: #9a8269;
  font-size: 10px;
  padding: 4px 0;
}
.history-filters .selected {
  color: #ad3025;
  text-decoration: underline;
  text-underline-offset: 7px;
}
.game-log-head,
.game-log-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 85px 95px 125px;
  gap: 15px;
  align-items: center;
}
.game-log-head {
  font-size: 8px;
  color: #a38b73;
  padding: 17px 0 13px;
  border-bottom: 1px solid #d5c2a2;
}
.game-log-row {
  border-bottom: 1px solid #decfb7;
  padding: 15px 0;
  font-size: 11px;
}
.opponent-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.opponent-link > span:last-child {
  overflow-wrap: anywhere;
}
.opponent-link:hover {
  color: var(--red);
}
.opponent-emblem {
  color: #a53b2a;
  width: 34px;
  height: 34px;
  border: 1px solid #c9ae83;
  padding: 2px;
  flex: none;
}
.opponent-link small,
.log-control small {
  display: block;
  font-size: 8px;
  color: #a18a72;
  margin-top: 5px;
}
.log-control {
  font-size: 12px;
}
.log-result {
  font-size: 10px;
}
.log-result.win {
  color: #52705b;
}
.log-result.loss {
  color: #b34433;
}
.log-result.draw {
  color: #9c8668;
}
.game-log-row time {
  font-size: 9px;
  color: #a08a72;
}
.history-empty {
  text-align: center;
  padding: 37px 15px 30px;
}
.history-empty > div {
  width: 60px;
  margin: auto;
  opacity: 0.5;
}
.history-empty h3 {
  font:
    500 19px Georgia,
    serif;
  margin: 15px 0 10px;
}
.history-empty p {
  font-size: 10px;
  color: #a28c73;
  line-height: 1.9;
}
.history-empty a {
  display: inline-block;
  color: var(--red);
  font-size: 10px;
  margin-top: 12px;
}
.history-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #aa9277;
  border-top: 1px solid #d5c2a2;
  padding: 15px 0;
}
.history-pagination button {
  background: none;
  border: 0;
  color: #9b6a46;
  padding: 5px 0;
  font-size: 10px;
}
.community-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #cbb28c;
  font-size: 9px;
  color: #a28b73;
  padding: 25px 0;
  margin-top: 45px;
}
.community-footer a {
  font:
    500 15px Georgia,
    serif;
}
.avatar-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 13px 0 23px;
}
.avatar-options button {
  color: #9b3328;
  background: transparent;
  border: 1px solid #d5b98e;
  padding: 8px;
}
.avatar-options button.selected {
  border: 2px solid #b02c24;
  padding: 7px;
  background: #e3be7926;
}
.avatar-options small {
  display: block;
  margin-top: 8px;
  font-size: 8px;
  color: #957356;
}
.page-empty {
  text-align: center;
  padding: 70px 0;
}
.page-empty h1 {
  font:
    500 28px Georgia,
    serif;
}
.page-empty p {
  color: #a18a73;
  line-height: 1.9;
}
.page-empty a {
  color: var(--red);
  display: inline-block;
  margin: 20px 0;
}
.error-seal {
  font: 48px serif;
  color: var(--red);
}
.directory-heading {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 35px 0;
}
.directory-heading h1 {
  font:
    500 38px Georgia,
    serif;
  letter-spacing: -1px;
}
.directory-heading p {
  font-size: 11px;
  color: #9c8267;
}
.directory-seal {
  background: #a72b25;
  color: #edce96;
  padding: 12px 15px;
  font:
    30px/1.1 'KaiTi',
    serif;
  border: 5px double #d6af6a;
}
.directory-heading .eyebrow {
  font-size: 7px;
}
#player-search {
  max-width: 540px;
  margin: 30px 0;
}
#player-search label {
  font-size: 9px;
  color: #9c8267;
  margin-bottom: 10px;
}
#player-search > div {
  display: flex;
}
#player-search input {
  border-radius: 0;
  background: transparent;
  border-color: #c8af8a;
}
#player-search button {
  border: 1px solid #a72b25;
  background: #a72b25;
  color: #f8e5bf;
  white-space: nowrap;
  font-size: 11px;
  padding: 12px 24px;
}
.player-directory {
  border-top: 1px solid #c8af8a;
}
.directory-player {
  display: flex;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #d5c2a3;
  padding: 21px 0;
}
.directory-player:hover {
  background: #e6d6b738;
}
.directory-avatar {
  display: block;
  width: 58px;
  height: 58px;
  color: #a13727;
  border: 1px solid #c8af8a;
  padding: 6px;
}
.directory-player strong {
  font:
    500 19px Georgia,
    serif;
  overflow-wrap: anywhere;
}
.directory-player small {
  display: block;
  font-size: 9px;
  color: #a38b72;
  margin-top: 7px;
}
.directory-games {
  margin-left: auto;
  font:
    500 22px Georgia,
    serif;
  text-align: right;
}
.directory-arrow {
  color: var(--red);
  font-size: 19px;
  margin-left: 30px;
}
.directory-caption {
  font-size: 9px;
  color: #a38b72;
  margin: 25px 0 45px;
}
@media (max-width: 1100px) {
  .profile-layout {
    gap: 30px;
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .game-log-head,
  .game-log-row {
    grid-template-columns: minmax(90px, 1fr) 65px 75px 90px;
    gap: 10px;
  }
  .game-log-row time {
    font-size: 8px;
  }
  .ledger-rating {
    padding: 0 14px;
  }
}
@media (max-width: 880px) {
  .profile-layout {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 26px;
  }
  .profile-banner {
    padding: 24px 25px 0;
  }
  .public-avatar {
    width: 105px;
    height: 105px;
  }
  .identity-text h1 {
    font-size: 36px;
  }
  .banner-calligraphy {
    font-size: 50px;
    min-width: 105px;
  }
  .profile-banner-bottom {
    align-items: start;
  }
  .profile-banner-bottom > p {
    max-width: 55%;
  }
  .ledger-rating {
    padding: 0 10px;
  }
  .ledger-rating strong {
    font-size: 28px;
  }
  .game-log-head,
  .game-log-row {
    grid-template-columns: minmax(100px, 1fr) 55px 75px;
    gap: 7px;
  }
  .game-log-head > span:last-child,
  .game-log-row time {
    display: none;
  }
  .profile-section-title > small {
    font-size: 6px;
  }
  .profile-section-title h2 {
    font-size: 18px;
  }
  header nav {
    gap: 18px;
  }
}
@media (max-width: 620px) {
  header nav {
    gap: 0;
  }
  .welcome {
    padding: 25px 0;
  }
  .welcome h1 {
    font-size: 25px;
  }
  .welcome-art > span {
    font-size: 28px;
  }
  .welcome-art {
    min-width: 40px;
  }
  .club-note {
    display: none;
  }
  .breadcrumbs {
    margin-top: 24px;
    font-size: 8px;
    gap: 9px;
  }
  .profile-banner {
    padding: 20px 22px 0;
  }
  .profile-banner-top > span:first-child {
    font-size: 16px;
  }
  .profile-banner-top small {
    display: none;
  }
  .profile-banner-top > span:last-child {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .profile-identity {
    gap: 18px;
    padding: 30px 0 24px;
  }
  .public-avatar {
    width: 78px;
    height: 78px;
    outline-offset: 4px;
    padding: 6px;
  }
  .identity-text h1 {
    font-size: 28px;
    letter-spacing: -1px;
    margin: 8px 0 10px;
  }
  .identity-text p {
    font-size: 8px;
  }
  .profile-kicker {
    font-size: 6px;
    letter-spacing: 1.6px;
  }
  .banner-calligraphy {
    display: none;
  }
  .profile-banner-bottom {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 25px;
  }
  .profile-banner-bottom > p {
    max-width: 100%;
    font-size: 10px;
  }
  .profile-banner-bottom > div {
    justify-content: start;
  }
  .profile-banner-bottom button {
    font-size: 8px;
    padding: 9px 10px;
  }
  .profile-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 31px;
  }
  .profile-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 22px;
    align-items: start;
  }
  .profile-side > .profile-section-title {
    grid-column: 1/-1;
    margin-bottom: 15px;
  }
  .total-played {
    font-size: 50px;
    margin: 0;
    grid-column: 1;
  }
  .small-caption {
    grid-column: 1;
    margin: 0 0 15px;
    font-size: 9px;
  }
  .results-track {
    grid-column: 1/-1;
    grid-row: 4;
    margin-top: 4px;
  }
  .result-breakdown {
    grid-column: 2;
    grid-row: 2/4;
    margin: 0;
  }
  .result-breakdown > div {
    margin: 8px 0 14px;
    font-size: 10px;
  }
  .win-percent {
    grid-column: 1/-1;
    padding: 14px 0;
    border-top: 0;
    margin-top: 15px;
  }
  .win-percent strong {
    font-size: 21px;
  }
  .win-percent span {
    font-size: 9px;
  }
  .profile-side-note {
    display: none;
  }
  .profile-main {
    min-width: 0;
    width: 100%;
  }
  .profile-section-title {
    padding-bottom: 13px;
  }
  .profile-section-title h2 {
    font-size: 20px;
  }
  .profile-section-title > small {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .rating-ledger {
    padding-top: 21px;
  }
  .ledger-rating {
    padding: 0 10px;
  }
  .ledger-rating:first-child {
    padding-left: 0;
  }
  .ledger-name {
    font-size: 10px;
  }
  .ledger-symbol {
    font-size: 22px;
  }
  .ledger-rating strong {
    font-size: 25px;
  }
  .ledger-rating small {
    font-size: 7px;
  }
  .rating-footnote {
    font-size: 7px;
    line-height: 1.8;
  }
  .history-filters {
    gap: 19px;
  }
  .history-filters button {
    font-size: 9px;
  }
  .game-log-row {
    font-size: 10px;
    padding: 14px 0;
  }
  .game-log-head,
  .game-log-row {
    grid-template-columns: minmax(100px, 1fr) 55px 70px;
  }
  .opponent-emblem {
    width: 29px;
    height: 29px;
  }
  .opponent-link {
    gap: 8px;
  }
  .opponent-link small,
  .log-control small {
    font-size: 7px;
  }
  .log-result {
    font-size: 9px;
  }
  .history-empty {
    padding: 30px 5px;
  }
  .history-empty h3 {
    font-size: 18px;
  }
  .history-empty p {
    font-size: 9px;
  }
  .community-footer {
    font-size: 7px;
    margin-top: 30px;
  }
  .community-footer a {
    font-size: 12px;
  }
  .avatar-options {
    gap: 7px;
  }
  .avatar-options button {
    padding: 5px;
  }
  .avatar-options button.selected {
    padding: 4px;
  }
  .avatar-options small {
    font-size: 7px;
  }
  .directory-heading {
    gap: 19px;
    margin: 30px 0;
  }
  .directory-heading h1 {
    font-size: 28px;
  }
  .directory-heading p {
    font-size: 9px;
    line-height: 1.8;
  }
  .directory-seal {
    font-size: 27px;
    padding: 10px;
  }
  .directory-heading .eyebrow {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .directory-player {
    gap: 13px;
    padding: 17px 0;
  }
  .directory-avatar {
    width: 45px;
    height: 45px;
  }
  .directory-player strong {
    font-size: 16px;
  }
  .directory-player small {
    font-size: 7px;
  }
  .directory-arrow {
    margin-left: 10px;
  }
  .directory-games {
    font-size: 19px;
  }
  .directory-caption {
    font-size: 8px;
    line-height: 1.8;
  }
}
/* The squares stay still; only the piece layer moves. */
#board {
  position: relative;
  isolation: isolate;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  outline: none;
}
#board:focus-visible {
  outline: 2px solid #f4d28f;
  outline-offset: 3px;
}
.sq {
  touch-action: none;
}
.sq.movable {
  cursor: grab;
}
.sq svg {
  pointer-events: none;
}
.piece-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.piece-token {
  position: absolute;
  left: 0;
  top: 0;
  width: 12.5%;
  height: 12.5%;
  display: grid;
  place-items: center;
  transform-origin: 0 0;
  transition: transform 175ms cubic-bezier(0.2, 0.7, 0.25, 1);
  will-change: transform;
  pointer-events: none;
}
.piece-token svg {
  display: block;
  width: 89%;
  height: 89%;
  filter: drop-shadow(0 1px 0.5px #44231c22);
  pointer-events: none;
}
.piece-token.entering {
  transition: none;
}
.piece-token.dragging {
  transition: none !important;
  z-index: 20;
  will-change: transform;
}
.piece-token.dragging svg {
  filter: drop-shadow(0 7px 4px #311e1640);
  transform: scale(1.04);
}
#board.is-dragging,
#board.is-dragging .sq {
  cursor: grabbing;
}
.sq.drop-target {
  box-shadow:
    inset 0 0 0 4px #f3d18e,
    inset 0 0 0 6px #85632990;
}
.sq.legal:after {
  z-index: 1;
}
.sq.last {
  box-shadow: inset 0 0 0 3px #e9bc6380;
}
.resume-game {
  display: block;
  width: 100%;
  text-align: left;
  background: #f0e3c8;
  border: 1px solid #c9aa76;
  border-left: 3px solid #a73125;
  color: #8c3e28;
  font-size: 10px;
  padding: 11px 10px;
  margin: 15px 0 0;
  line-height: 1.5;
}
.captured-tray {
  display: flex;
  gap: 0;
  align-items: center;
  min-height: 26px;
  padding: 3px 4px;
  opacity: 0.75;
  flex-wrap: wrap;
}
.captured-tray > span {
  width: 23px;
  height: 24px;
  margin-right: -3px;
}
.captured-tray svg {
  width: 100%;
  height: 100%;
}
.board-toolbar #sound {
  font-size: 18px;
  opacity: 0.4;
}
.board-toolbar #sound.sound-on {
  opacity: 1;
  color: #9e3927;
}
.board-frame {
  transform: none;
  background: linear-gradient(
    130deg,
    #edcf83,
    #b88637 18%,
    #efd68e 32%,
    #b78332 55%,
    #e9ca80 82%,
    #966124
  );
  box-shadow:
    inset 0 0 0 3px #f4dda1,
    inset 0 0 0 6px #ac7d38,
    inset 0 0 0 8px #e2c182,
    0 5px 0 #87501d,
    0 7px 0 #ddb874,
    0 9px 0 #754820,
    2px 16px 25px #51331d26;
}
.frame-label {
  font: 9px serif;
}
.play-card {
  border-radius: 3px 3px 7px 2px;
  background-color: #fbf3e2;
  background-image: linear-gradient(110deg, #f7e8cc26, transparent 40%);
  border-color: #c9ad83;
  box-shadow: 2px 4px 0 #c7aa7b18;
}
.play-card:before {
  height: 4px;
  border-radius: 2px;
  left: 9px;
  right: 12px;
  top: -3px;
  transform: rotate(-0.45deg);
}
.membership {
  background: #f6edda;
  box-shadow: 1px 3px 0 #c7aa7b20;
}
.membership:after {
  transform: rotate(0.7deg);
}
.controls button {
  border-radius: 3px 2px 4px 2px;
  background: #f6ecd73b;
  box-shadow: 0 1px 0 #ba9b6c30;
}
.controls .selected {
  box-shadow:
    inset 0 1px #dd7756,
    0 2px #7f33212e;
}
.score-card {
  background: #fff7e730;
  border: 0;
  border-top: 1px solid #c9ad83;
  border-bottom: 1px solid #dac7a7;
  padding: 17px 2px;
}
.player-icon {
  border-radius: 5px 7px 5px 4px;
}
.clock {
  font-variant-numeric: tabular-nums;
}
.welcome h1 {
  font-weight: 500;
}
.board-toolbar {
  min-height: 38px;
}
.club-note {
  transform: rotate(-0.8deg);
  background: #f7efde;
}
.club-note:before {
  opacity: 0.7;
}
.profile-banner {
  border-radius: 2px 3px 1px 4px;
}
.primary {
  border-radius: 2px 4px 3px 2px;
}
dialog {
  border-radius: 3px 5px 7px 3px;
}
.history-empty > div svg {
  max-width: 100%;
}
@media (max-width: 620px) {
  .piece-token svg {
    width: 90%;
    height: 90%;
  }
  .piece-token {
    transition-duration: 150ms;
  }
  .board-frame {
    padding: 16px;
  }
  .resume-game {
    font-size: 10px;
  }
  .captured-tray > span {
    width: 21px;
    height: 23px;
  }
  .board-toolbar {
    min-height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .piece-token {
    transition: none !important;
  }
  .piece-token.dragging svg {
    transform: none;
  }
}
.sq.in-check {
  background-image: radial-gradient(ellipse at 50% 65%, #d64a38 0%, #c42a2270 50%, transparent 75%);
  box-shadow: inset 0 0 0 2px #edce88;
}
/* DJ Doctor: a friendly listening room, a turntable and a patient training partner. */
:root {
  --ink: #37534a;
  --muted: #8d8b73;
  --red: #c85e49;
  --line: #d9d6b9;
}
body {
  font-family: Arial, Arial, sans-serif;
  background-color: #f8f3e6;
}
.topline {
  background: #477363;
  color: #f4e7c3;
  padding-block: 8px;
}
.topline > span:first-child {
  display: flex;
  gap: 7px;
  align-items: center;
}
.on-air-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f4bd7f;
  box-shadow: 0 0 0 3px #f4bd7f16;
}
header {
  background: #fff9ec;
  color: #385f50;
  border-bottom: 1px solid #d9d6bd;
  padding-top: 20px;
  padding-bottom: 20px;
}
header:after {
  bottom: -5px;
  height: 4px;
  background: #e8bfa035;
  left: 5%;
  right: 5%;
  transform: rotate(-0.15deg);
}
.brand {
  font-weight: 600;
}
.brand-seal {
  color: #f8eccb;
  background: #58816b;
  border: 3px double #f7edcf;
  border-radius: 13px 16px 10px 15px;
  font-size: 27px;
  transform: rotate(-5deg);
}
.brand small {
  color: #98a18c;
  letter-spacing: 1.8px;
  font-size: 6px;
}
.login-button {
  background: #f3ddbb;
  color: #855e41;
  border: 1px solid #d8b88d;
  border-radius: 20px 18px 17px 19px;
}
nav {
  gap: 21px;
}
nav button {
  color: #8a927c;
  font-size: 10px;
}
nav button.nav-active {
  color: #3d735b;
  border-bottom-color: #d78962;
}
.welcome {
  padding: 27px 0;
}
.welcome .eyebrow {
  font-size: 8px;
  color: #c4815b;
  letter-spacing: 1.5px;
}
.welcome h1 {
  font-size: 36px;
  color: #3d594b;
  margin: 10px 0;
}
.hello-spark {
  font: 32px serif;
  color: #ddaa66;
  vertical-align: middle;
  margin-left: 7px;
}
.welcome p {
  color: #97947e;
  font-size: 11px;
}
.doctor-mark {
  width: 135px;
  min-width: 135px;
  height: 125px;
  margin: 0 26px 0 0;
  transform: rotate(5deg);
}
.doctor-mark svg {
  position: static;
  width: 130px;
  height: 112px;
  stroke: none;
  fill: initial;
}
.doctor-mark > span {
  display: block;
  position: absolute;
  right: -13px;
  bottom: 7px;
  font:
    600 23px Georgia,
    cursive;
  letter-spacing: 0;
  color: #cf7d58;
  transform: rotate(-8deg);
}
.room {
  gap: 27px;
}
.membership {
  border: 1px solid #cbd5ba;
  background: #edf0df;
  border-radius: 6px 8px 12px 5px;
  box-shadow: 2px 4px 0 #cad1b22b;
}
.membership:before {
  border-color: #bdc9ac70;
  border-radius: 4px 6px 9px 4px;
}
.membership:after {
  background: #e3a57d;
  left: 23px;
  right: 45px;
  opacity: 0.85;
  transform: rotate(-2deg);
  border: 0;
  height: 10px;
  top: -5px;
}
.membership-top {
  color: #9b9e83;
}
.profile-avatar {
  border-radius: 50%;
  background: #7c9a77;
  color: #fff4d8;
  border: 4px double #dfdfbd;
  box-shadow: 0 2px 0 #b4bf9f;
}
.membership h2 {
  color: #47654f;
  font-size: 19px;
}
.membership p {
  color: #92957e;
}
.membership > button {
  color: #74906c;
  border-color: #ced7b9;
}
.rating-mini strong {
  color: #567759;
}
.rating-stamp {
  color: #cc9b72;
  border-color: #cc9b72;
}
.club-note {
  border: 0;
  background: none;
  transform: rotate(-3deg);
  margin-top: 24px;
  padding-top: 6px;
}
.club-note:before {
  display: none;
}
.vinyl-disc {
  width: 95px;
  height: 95px;
  display: grid;
  place-items: center;
  background: repeating-radial-gradient(
    circle at center,
    #476254 0 4px,
    #526d5c 4px 5px,
    #476254 5px 8px
  );
  border-radius: 50%;
  margin: 8px auto 14px;
  position: relative;
  box-shadow: 3px 4px 0 #d7d5bb70;
}
.vinyl-disc:after {
  content: '';
  position: absolute;
  right: -14px;
  top: -7px;
  width: 35px;
  height: 56px;
  border-top: 3px solid #bd995f;
  border-right: 3px solid #bd995f;
  transform: rotate(16deg);
  border-radius: 0 10px 0 0;
}
.vinyl-disc span {
  display: grid;
  place-items: center;
  background: #edb27e;
  border: 4px solid #eac891;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 15px;
  color: #7d6443;
}
.club-note .handwritten-note {
  font:
    600 30px/1.15 Georgia,
    cursive;
  writing-mode: initial;
  letter-spacing: 0;
  color: #73916c;
  margin: 15px 0;
}
.club-note p {
  font-size: 9px;
  color: #9d9e85;
  margin-top: 14px;
}
.club-note > span {
  color: #b4b196;
}
.play-card {
  background: #fff9ed;
  border-color: #e2d3b3;
  border-radius: 12px 14px 9px 16px;
  box-shadow: 3px 4px 0 #e7dbc32b;
  padding: 23px 18px 18px;
}
.play-card:before {
  background: #e8b78b;
  height: 8px;
  left: 21px;
  right: 147px;
  top: -4px;
  transform: rotate(3deg);
  opacity: 0.7;
}
.card-label {
  color: #b1a78a;
  font-size: 7px;
}
.card-label b {
  color: #d79e71;
}
.play-card h2 {
  color: #5a7159;
  font-size: 24px;
  margin: 19px 0;
}
.mode-tabs {
  gap: 6px;
  border: 0;
  background: #f0efdf;
  border-radius: 21px;
  padding: 4px;
}
.mode-tabs button {
  flex: 1;
  font-size: 9px;
  padding: 10px 4px;
  border: 0;
  border-radius: 17px;
  white-space: nowrap;
  color: #9a9e85;
}
.mode-tabs button.selected {
  border: 0;
  color: #fff7e2;
  background: #729879;
  box-shadow: 0 2px 2px #57734b17;
}
.controls {
  gap: 7px;
}
.controls button {
  border-color: #e4dcc4;
  background: #faf3e5;
  border-radius: 8px;
  color: #8b8869;
  padding: 11px 3px;
}
.controls small {
  color: #b0aa8c;
}
.controls .selected {
  background: #e9b990;
  border-color: #dba67e;
  box-shadow: none;
}
.controls .selected b,
.controls .selected small {
  color: #7b593c;
}
.controls b {
  font-size: 21px;
}
.primary {
  background: #d58061;
  color: #fff7e6;
  border: 1px solid #c17759;
  box-shadow:
    inset 0 1px #edb38b,
    0 3px #b4775345;
  border-radius: 8px 10px 7px 9px;
  font-size: 12px;
}
.primary:hover {
  background: #ca7558;
}
.control-label {
  color: #ada58b;
  font-size: 7px;
}
.classical {
  border-color: #e3d5b9;
  color: #aaa084;
}
.classical b {
  color: #9c896b;
}
.queue-note {
  font-size: 8px;
  color: #aea68c;
}
.player-icon {
  background: #739779;
  border-color: #c4d0aa;
  color: #f9eed0;
  box-shadow: none;
  border-radius: 11px;
}
.player-icon.you {
  background: #f4dfb6;
  color: #987349;
  border-color: #e3c99b;
}
.player strong {
  color: #5c7057;
}
.player small {
  color: #a4a68b;
}
.clock {
  background: #eee8d4;
  color: #6e7f60;
  font-family: Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  border-radius: 9px;
}
.clock.ticking {
  background: #edf1da;
  border-color: #b6c49a;
  box-shadow: 0 2px #cad3b4;
}
.board-frame {
  box-shadow:
    inset 0 0 0 3px #f4dda1,
    inset 0 0 0 6px #ac7d38,
    inset 0 0 0 8px #e2c182,
    0 5px 0 #99723d,
    0 7px 0 #ddb874,
    0 9px 0 #87623a,
    3px 16px 25px #6e60431f;
  border-radius: 6px 7px 5px 8px;
}
.sq.dark {
  background: linear-gradient(135deg, #d7513b, #c12f28 60%, #b42c27);
}
.board-toolbar {
  color: #9e9f85;
  font-size: 9px;
}
.board-toolbar button {
  color: #a6a184;
}
.board-toolbar #sound.sound-on {
  color: #72916d;
}
.bottom-strip {
  border-color: #d9d8bf;
  color: #9da083;
}
.bottom-strip > span {
  color: #a4b08d;
}
.bottom-strip p {
  color: #b2af94;
}
.bottom-strip button {
  color: #99a17c;
}
footer {
  color: #b2af94;
}
footer > span:first-child {
  color: #779070;
}
.resume-game {
  background: #edf1df;
  border: 1px solid #cad5b2;
  border-left: 3px solid #8ba57c;
  color: #7e946e;
  border-radius: 6px;
  font-size: 9px;
}
.bot-settings {
  margin-top: 20px;
}
.bot-settings label {
  font-size: 9px;
  color: #a19c82;
  margin: 13px 0 7px;
}
.bot-settings select {
  width: 100%;
  font:
    10px Arial,
    sans-serif;
  border: 1px solid #d9d9bc;
  background: #f5f4e5;
  color: #748267;
  border-radius: 7px;
  padding: 11px 9px;
}
.bot-settings p {
  font-size: 8px;
  color: #b1aa8f;
  line-height: 1.7;
  margin: 12px 0;
}
.bot-settings select:focus-visible {
  outline: 2px solid #a8bd91;
}
.review-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  border-block: 1px solid #dcdac0;
  margin: 10px 0 0;
  padding: 7px 0;
}
.review-strip > span {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: #9d9f86;
}
.review-strip button {
  border: 0;
  background: #eaeedc;
  color: #859578;
  border-radius: 7px;
  font:
    21px Georgia,
    serif;
  min-width: 32px;
  height: 29px;
}
.review-strip button:hover {
  background: #dee7cc;
}
.review-strip button:disabled {
  opacity: 0.35;
}
.score-card {
  border-color: #dcd8bc;
  background: #f9f6e726;
  border-radius: 4px;
  margin-top: 23px;
}
#moves {
  display: grid;
  grid-template-columns: 26px 1fr 1fr;
  gap: 3px 4px;
  align-items: center;
  max-height: 160px;
  min-height: 40px;
  font:
    11px/1.7 Arial,
    sans-serif;
  color: #a9aa90;
  padding: 5px 2px;
  scrollbar-width: thin;
}
.move-number {
  color: #bcbaa1;
  font-size: 9px;
}
.move-step {
  padding: 5px 8px;
  background: none;
  border: 0;
  color: #7f8e70;
  text-align: left;
  border-radius: 5px;
  font:
    600 11px Arial,
    sans-serif;
}
.move-step:hover {
  background: #e9efd9;
}
.move-step.selected {
  background: #dfe9cf;
  color: #5e8059;
}
.study-actions {
  display: flex;
  gap: 6px;
  border-top: 1px solid #e0ddc6;
  margin-top: 12px;
  padding-top: 12px;
}
.study-actions button {
  border: 1px solid #dbdec3;
  background: #f2f4e4;
  padding: 7px 8px;
  color: #8b9a78;
  border-radius: 7px;
  font-size: 9px;
}
.study-actions button:hover {
  background: #e6edda;
}
.hint-note {
  font-size: 9px;
  line-height: 1.8;
  color: #96a47d;
  margin: 11px 0 0;
}
.hint-note:empty {
  display: none;
}
.sq.hint-from {
  box-shadow: inset 0 0 0 3px #8cad77;
}
.sq.hint-to {
  box-shadow: inset 0 0 0 4px #a8c48b;
}
.library-label {
  font:
    500 17px Georgia,
    serif;
  color: #698363;
  border-bottom: 1px solid #d2d7b9;
  padding-bottom: 10px;
  margin: 25px 0 10px;
}
.library-list > a,
.library-list > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #e0dbc2;
  background: none;
  padding: 13px 0;
  color: #879273;
  font-size: 10px;
}
.library-list small {
  display: block;
  color: #b3ad91;
  font-size: 8px;
  margin-top: 7px;
}
.library-list b {
  font-size: 9px;
  white-space: nowrap;
  color: #b39164;
}
.library-list p {
  font-size: 10px;
  line-height: 1.9;
}
dialog {
  background: #fff9e9;
  border: 4px double #c6cda7;
  border-radius: 14px;
  color: #6f8064;
}
.toast {
  background: #66886e;
  color: #fff6df;
  border-radius: 12px;
}
.profile-banner {
  background: #739379;
  border-color: #65856b;
  box-shadow:
    0 3px #5b7b614d,
    inset 0 0 0 6px #739379,
    inset 0 0 0 7px #e4dfb870;
  border-radius: 12px 14px 8px 11px;
}
.profile-banner-top {
  color: #dbe0bf;
}
.public-avatar {
  background: #6b8d71;
  border-color: #d6dcba;
}
.profile-banner-bottom {
  border-color: #d6dfbb66;
}
.profile-banner-bottom button {
  border-color: #d6dfbb88;
  background: #688b6b;
  border-radius: 8px;
}
.profile-identity h1 {
  color: #fff5de;
}
.profile-banner-bottom > p {
  color: #e7e8cc;
}
.profile-banner-top > span:first-child {
  color: #e7e7c7;
}
.identity-text p {
  color: #d7e0c0;
}
.profile-kicker {
  color: #c8d8b5;
}
.banner-calligraphy {
  color: #e8e8c8;
}
.profile-section-title > span,
.ledger-symbol {
  color: #96ab84;
}
.directory-seal {
  background: #83a083;
  border-color: #d8d9b4;
  color: #f9ebca;
  border-radius: 5px;
}
.directory-avatar {
  color: #7c9a74;
  border-color: #c8d0b0;
}
.log-result.win {
  color: #709466;
}
.log-result.loss {
  color: #cb8d73;
}
.directory-heading h1 {
  color: #5c785d;
}
.directory-heading p {
  color: #a3a88b;
}
#player-search input {
  border-color: #ced4b5;
  border-radius: 8px 0 0 8px;
  background: #f7f7e9;
}
#player-search button {
  background: #8ba77e;
  border-color: #8ba77e;
  border-radius: 0 8px 8px 0;
}
.profile-avatar .emblem-art {
  opacity: 0.9;
}
.hello-spark {
  display: inline-block;
  transform: rotate(12deg);
}
@media (max-width: 1100px) {
  nav {
    gap: 14px;
  }
  nav button {
    font-size: 9px;
  }
  .welcome h1 {
    font-size: 32px;
  }
  .doctor-mark {
    margin-right: 5px;
  }
  .room {
    gap: 20px;
  }
  .play-card {
    padding: 22px 14px;
  }
  .mode-tabs {
    gap: 2px;
  }
  .mode-tabs button {
    font-size: 8px;
    padding: 10px 3px;
  }
  .study-actions {
    gap: 4px;
  }
  .study-actions button {
    font-size: 8px;
    padding: 7px;
  }
  .brand {
    font-size: 22px;
  }
}
@media (max-width: 880px) {
  nav {
    gap: 13px;
  }
  .brand {
    font-size: 20px;
  }
  .brand small {
    font-size: 5px;
    letter-spacing: 1.5px;
  }
  .login-button {
    padding: 10px 12px;
    font-size: 9px;
  }
  header {
    flex-wrap: wrap;
    row-gap: 13px;
  }
  header nav {
    order: 3;
    justify-content: space-between;
    width: 100%;
    padding-top: 9px;
    border-top: 1px solid #e4dfc9;
  }
  .welcome h1 {
    font-size: 31px;
  }
  .doctor-mark {
    height: 110px;
    width: 110px;
    min-width: 110px;
  }
  .doctor-mark svg {
    width: 110px;
    height: 100px;
  }
  .doctor-mark > span {
    font-size: 21px;
    bottom: 0;
  }
  .mode-tabs button {
    font-size: 9px;
  }
}
@media (max-width: 620px) {
  .welcome {
    padding: 22px 0;
  }
  .welcome h1 {
    font-size: 29px;
    margin: 9px 0;
  }
  .hello-spark {
    font-size: 23px;
    margin-left: 3px;
  }
  .welcome p {
    font-size: 10px;
    max-width: 240px;
  }
  .welcome .eyebrow {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .doctor-mark {
    width: 78px;
    min-width: 78px;
    height: 89px;
    margin: 0 0 0 7px;
  }
  .doctor-mark svg {
    display: block;
    width: 78px;
    height: 76px;
  }
  .doctor-mark > span {
    font-size: 19px;
    writing-mode: initial;
    right: -3px;
    bottom: -2px;
    letter-spacing: 0;
  }
  .brand {
    font-size: 22px;
  }
  .brand small {
    font-size: 6px;
  }
  .topline {
    font-size: 7px;
  }
  header nav {
    gap: 0;
  }
  nav button {
    font-size: 9px;
  }
  .room {
    gap: 22px;
  }
  .play-card {
    padding: 24px;
  }
  .play-card h2 {
    font-size: 27px;
  }
  .mode-tabs button {
    font-size: 11px;
    padding: 12px 5px;
  }
  .bot-settings label {
    font-size: 10px;
  }
  .bot-settings select {
    font-size: 12px;
    padding: 12px;
  }
  .bot-settings p {
    font-size: 9px;
  }
  .review-strip button {
    min-width: 35px;
  }
  .study-actions button {
    font-size: 10px;
    padding: 9px 11px;
  }
  .hint-note {
    font-size: 10px;
  }
  #moves {
    max-height: 190px;
  }
  .move-step {
    font-size: 13px;
    padding: 8px;
  }
  .score-card {
    padding-top: 17px;
  }
  .review-strip > span {
    font-size: 8px;
  }
  .profile-banner {
    padding-inline: 20px;
  }
  .library-list > a,
  .library-list > button {
    font-size: 10px;
  }
}
/* Keep small labels readable in the soft palette. */
.player small,
.welcome p,
.membership p {
  color: #7d896f;
}
.bot-settings label,
.control-label,
.queue-note {
  color: #85876f;
}
.bot-settings p,
.review-strip > span,
.hint-note {
  color: #78856a;
}
.card-label,
.membership-top {
  color: #8e9276;
}
.mode-tabs button {
  color: #7d876f;
}
.controls small {
  color: #8c9074;
}
.study-actions button {
  color: #708561;
}
.hint-note {
  font-size: 10px;
}
.profile-banner-bottom > p {
  color: #f2f1d8;
}
.directory-caption,
.rating-footnote,
.small-caption {
  color: #8a9178;
}
.game-log-row time,
.opponent-link small,
.log-control small {
  color: #8c9177;
}
