/* ../prototypes/core-local/src/style.css */
:root {
  font-family:
    Arial,
    "Segoe UI",
    sans-serif;
  color: #11175f;
  background: #f4f7fb;
  font-synthesis: none;
  font-weight: 400;
  line-height: 1.45;
  --blue:#087dff;
  --red:#ff173c;
  --navy:#0c155d;
  --muted:#627ba6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid #dce8f7;
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 14px;
  transition: background .12s;
}
button:hover:not(:disabled) {
  background: #eaf3ff;
}
button:disabled {
  cursor: default;
  opacity: .5;
}
button:focus-visible,
a:focus-visible,
[role=button]:focus-visible {
  outline: 3px solid #167bf5;
  outline-offset: 3px;
}
a {
  color: var(--blue);
  text-decoration: none;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
.primary {
  background:
    linear-gradient(
      130deg,
      #168cff,
      #0072ee);
  color: white;
  border: 0;
  box-shadow: 0 3px 8px #087dff15;
}
.primary:hover:not(:disabled) {
  background: #006cda;
}
.red-button {
  background:
    linear-gradient(
      120deg,
      #ff3552,
      #ff0834);
  color: white;
  border: 0;
}
.red-button:hover:not(:disabled) {
  background: #e81636;
}
.compact {
  padding: 8px 12px;
}
.full {
  width: 100%;
}
.two-buttons {
  display: flex;
  gap: 10px;
}
.two-buttons > * {
  flex: 1;
}
.text-button {
  border: 0;
  padding: 4px;
  background: transparent;
  color: var(--blue);
}
h1,
h2,
p {
  margin-top: 0;
}
h2 {
  font-size: 20px;
}
small,
.muted {
  color: var(--muted);
}
.demo-page {
  max-width: 510px;
  margin: 0 auto;
  padding: 16px 16px 28px;
}
.demo-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #6d7d95;
  margin: 0 8px 10px;
}
.phone {
  background: linear-gradient(#fff, #fffdfa);
  border: 1px solid #e1e8ef;
  border-radius: 26px;
  padding: 18px 14px 20px;
  box-shadow: 0 12px 50px #20345312;
  overflow: hidden;
}
.match-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.icon-button {
  padding: 0;
  border: 0;
  background: transparent;
}
.game-medallion {
  font-family:
    KaiTi,
    STKaiti,
    serif;
  background:
    radial-gradient(
      circle at 40% 25%,
      #fffbea,
      #ffde9f);
  color: #df201e;
  border: 2px solid #d4993b;
  box-shadow: 0 2px 3px #8b4d2655, inset 0 0 0 3px #fff1c9;
  border-radius: 50%;
  font-size: 30px;
  font-weight: bold;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.match-title {
  flex-shrink: 0;
}
.match-title h1 {
  font-size: 21px;
  line-height: 1.2;
  margin: 0;
  font-weight: 750;
  letter-spacing: -.5px;
}
.match-title small {
  font-size: 11px;
}
.mode {
  color: var(--blue);
  background: #eef7ff;
  border-color: #ddebff;
  padding: 7px 9px;
  font-size: 11px;
  white-space: nowrap;
}
.header-action {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-direction: column;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 10px;
  white-space: nowrap;
  margin-left: auto;
}
.header-action svg {
  box-sizing: content-box;
  background: #f1f5fa;
  padding: 8px;
  border-radius: 50%;
  color: #213960;
  width: 18px;
  height: 18px;
}
.header-action + .header-action {
  margin-left: 0;
}
.status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  border-radius: 15px;
  box-shadow: 0 3px 14px #30406112;
  border: 1px solid #f0f3f6;
  padding: 13px 10px;
  margin-bottom: 12px;
  background: white;
  font-size: 12px;
  font-weight: 650;
}
.status-strip > span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.status-strip > span + span {
  border-left: 1px solid #e0e7f2;
  padding-left: 9px;
}
.status-label {
  color: #0cbe69;
}
.status-label i {
  width: 11px;
  height: 11px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #0ac67612;
  margin: 0 4px;
}
.status-label.amber {
  color: #c3830a;
}
.blue {
  color: var(--blue);
}
.player-card {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  background:
    linear-gradient(
      110deg,
      #edf6ff,
      #f3f8ff);
  border: 1px solid #dfedfc;
  border-radius: 14px;
  padding: 10px;
  margin: 11px 0;
}
.player-card strong {
  font-size: 17px;
  white-space: nowrap;
  letter-spacing: -.5px;
}
.avatar {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    linear-gradient(
      130deg,
      #aaccf5,
      #e8f1fd);
  border: 2px solid white;
  box-shadow: 0 0 0 1px #abcdf3;
  position: relative;
  color: #294a7c;
  font-size: 19px;
  font-weight: 700;
}
.avatar.mint {
  background:
    linear-gradient(
      130deg,
      #c6e2d7,
      #eef8f4);
  color: #2d6657;
}
.avatar.small {
  width: 34px;
  height: 34px;
  font-size: 14px;
}
.avatar i {
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 10px;
  height: 10px;
  background: #06c775;
  border: 2px solid white;
  border-radius: 50%;
}
.side {
  padding: 4px 7px;
  border-radius: 9px;
  font-size: 11px;
  white-space: nowrap;
}
.side.red {
  background: #ffe6e9;
  color: #f02035;
}
.side.black {
  background: #dfe8f3;
  color: #162457;
}
.player-times {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.player-times b {
  font-size: 22px;
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}
.think {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 17px;
  padding: 5px 7px;
  border-radius: 10px;
  background: #ffe8ec;
  color: #ec152e;
  font-variant-numeric: tabular-nums;
}
.board-shell {
  background:
    linear-gradient(
      140deg,
      #90562d,
      #6c3d1c 45%,
      #b27642);
  padding: 7px;
  border-radius: 5px;
  box-shadow:
    0 3px 8px #4a2d1838,
    inset 0 0 0 1px #4b2b10,
    inset 0 0 0 3px #d1a66d;
  margin: 8px 0;
}
.board {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #4e351d;
  border-radius: 4px;
  touch-action: manipulation;
  user-select: none;
}
.piece[aria-disabled=false] {
  cursor: pointer;
}
.social-strip,
.focus-actions {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 1px solid #f1f3f7;
  background: white;
  border-radius: 15px;
  padding: 8px 2px;
  margin: 12px 0 3px;
  box-shadow: 0 3px 14px #2639590b;
}
.social-strip button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  border-radius: 0;
  font-size: 12px;
}
.social-strip button + button {
  border-left: 1px solid #dfe7f1;
}
.social-strip svg {
  color: #526c96;
}
.social-strip button[aria-disabled=true] {
  color: #677c9f;
}
.clap {
  font-size: 22px;
}
.focus-actions {
  box-shadow: none;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}
.focus-actions button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  border: 0;
  padding: 8px 12px;
  background: transparent;
  color: #5d77a1;
  font-size: 12px;
}
.mic-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 9px auto 0;
  border: 0;
  background: #f3f7fd;
  font-size: 10px;
  color: #64738c;
  padding: 4px 8px;
}
.focused .player-card {
  padding: 12px;
}
.focused .player-card strong {
  font-size: 21px;
}
.focused .player-times b {
  font-size: 24px;
}
.pause-state,
.connection-banner,
.history-notice,
.result-card {
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #dae8fa;
  border-radius: 12px;
  background: #eef6ff;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.pause-state {
  align-items: stretch;
  flex-direction: column;
}
.pause-state > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px;
}
.pause-state span {
  color: #61799f;
  font-size: 12px;
}
.pause-state button {
  align-self: flex-start;
}
.connection-banner {
  background: #fff6e7;
  border-color: #f2e0bf;
  color: #74531a;
}
.history-notice {
  background: #fff7dc;
  border-color: #f4e2a2;
  align-items: flex-start;
}
.history-notice button {
  font-size: 11px;
  padding: 5px 8px;
}
.result-card {
  flex-direction: column;
  text-align: center;
  background: #ecf9f4;
}
.lobby-card {
  border: 1px solid #e2eafa;
  border-radius: 13px;
  padding: 12px;
  margin: 10px 0;
  background: #f8fbff;
  font-size: 13px;
}
.lobby-card p {
  margin: 0 0 10px;
}
.lobby-card label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.lobby-card select {
  padding: 6px;
  border-radius: 8px;
  color: var(--navy);
  border: 1px solid #ccddf4;
  background: white;
}
.error-note {
  font-size: 12px;
  color: #a03124;
  background: #fff0ea;
  border: 1px solid #f4d2c7;
  padding: 10px;
  border-radius: 10px;
}
.error-note button {
  display: block;
  margin-top: 7px;
}
.pending {
  font-size: 12px;
  color: var(--blue);
  margin: 8px 0;
}
.fixture-guide {
  padding: 12px 10px;
  color: #607089;
  font-size: 12px;
  line-height: 1.55;
}
.fixture-guide summary {
  cursor: pointer;
  font-weight: bold;
}
.fixture-guide p {
  margin: 8px 0;
}
.fixture-guide [data-testid=next-fixture] {
  font-weight: 700;
  color: #354e72;
}
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: #0a18354a;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10;
}
.sheet {
  background: white;
  width: min(100%, 480px);
  max-height: 55dvh;
  overflow: auto;
  border-radius: 22px 22px 0 0;
  padding: 20px 20px max(22px, env(safe-area-inset-bottom));
  box-shadow: 0 -5px 40px #07183430;
}
.sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sheet h2 {
  margin: 0;
}
.sheet header button {
  border: 0;
  padding: 6px;
  background: #f1f5fb;
}
.sheet p {
  font-size: 14px;
  color: var(--muted);
}
.history-row {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 7px;
  background: #f5f9ff;
}
.menu-actions {
  display: grid;
  gap: 8px;
}
.menu-actions button {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
}
.confirm-box {
  align-self: center;
  margin: 20px;
  background: white;
  border-radius: 20px;
  padding: 24px;
  width: 400px;
  box-shadow: 0 14px 80px #0a183540;
}
.confirm-box p {
  color: #63708d;
}
.confirm-box h2 {
  margin-bottom: 10px;
}
.spectator .match-title {
  flex: 1;
}
.spectator .match-title h1 {
  font-size: 19px;
}
.spectator .header-action {
  font-size: 9px;
}
.spectator-board {
  display: grid;
  grid-template-columns: 53px minmax(0, 1fr) 53px;
  align-items: center;
  gap: 5px;
  margin: 14px 0;
}
.spectator-board aside {
  background: #edf6ff;
  border-radius: 12px;
  min-height: 220px;
  padding: 10px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-align: center;
}
.spectator-board aside:first-child {
  background: #fff0ed;
}
.spectator-board .avatar {
  width: 38px;
  height: 38px;
}
.spectator-board .board-shell {
  padding: 5px;
}
.viewer-card {
  border: 1px solid #e4ecf7;
  border-radius: 16px;
  padding: 14px;
}
.viewer-card strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.viewer-card > div {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  font-size: 12px;
}
.bottom-nav {
  display: flex;
  justify-content: space-between;
  padding: 16px 8px 0;
  border-top: 1px solid #e7edf6;
  margin-top: 20px;
}
.bottom-nav span {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  color: #637995;
  font-size: 12px;
}
.bottom-nav .selected {
  color: var(--red);
}
.lab {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}
.lab-header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}
.brand-mark {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  background: #e5f0ff;
  border-radius: 18px;
  color: var(--blue);
  font-size: 43px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  color: #6883a8;
  font-weight: 700;
}
.lab-header h1 {
  font-size: 29px;
  margin: 4px 0 8px;
  letter-spacing: -1px;
}
.lab-header h1 span {
  font-size: 13px;
  color: var(--blue);
  background: #e7f2ff;
  border-radius: 20px;
  padding: 6px 10px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0;
}
.lab-header p {
  font-size: 14px;
  color: #667894;
  margin: 0;
}
.local-badge {
  margin-left: auto;
  color: #16a369;
  background: #eaf7f0;
  border-radius: 30px;
  padding: 8px 12px;
  white-space: nowrap;
  font-size: 12px;
}
.lab-card {
  background: white;
  border: 1px solid #e0e8f3;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 18px;
  box-shadow: 0 4px 18px #25345104;
}
.section-title {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.section-title > span {
  background: #eef5ff;
  color: #4383d2;
  font-weight: 700;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 13px;
  flex-shrink: 0;
}
.section-title h2 {
  margin: 0 0 4px;
  font-size: 19px;
}
.section-title p {
  margin: 0;
  color: #6a7b96;
  font-size: 13px;
}
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.role-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid #dce8f8;
  border-radius: 15px;
  background: #f8fbff;
  gap: 7px;
  color: var(--navy);
}
.role-card .avatar {
  margin-bottom: 6px;
  width: 47px;
  height: 47px;
}
.role-card strong {
  font-size: 17px;
}
.role-card > span:not(.avatar) {
  font-size: 12px;
  color: #627a99;
}
.role-card b {
  color: var(--blue);
  font-size: 13px;
  margin-top: 10px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.role-b {
  background: #f5fbf9;
  border-color: #d8ebe5;
}
.role-viewer {
  background: #fffaf5;
  border-color: #ede0d2;
}
.role-card:hover {
  border-color: #79a9e9;
  box-shadow: 0 3px 15px #087dff12;
}
.lab-hint {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px;
  background: #f0f6ff;
  border-radius: 12px;
  margin: 20px 0 14px;
  font-size: 13px;
}
.lab-hint svg {
  color: #4a86d3;
}
.lab-hint p {
  margin: 0;
  color: #607696;
}
.lab-hint b {
  color: #385784;
}
.lab details {
  font-size: 13px;
  color: #617793;
}
.lab summary {
  cursor: pointer;
}
.fixture-list {
  columns: 2;
  line-height: 1.8;
}
.lab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.lab-actions button {
  font-size: 12px;
}
.danger-outline {
  color: #d34242;
  border-color: #f2d2d2;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 18px;
}
.metrics > div {
  padding: 12px;
  background: #f3f7fc;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.metrics span {
  color: #6a7f9b;
  font-size: 12px;
}
.metrics b {
  font-size: 23px;
  color: #2e5187;
}
.metrics > div:last-child b {
  font-size: 18px;
  padding-top: 5px;
}
.lab .muted {
  font-size: 12px;
  margin: 14px 0 0;
}
.lab progress {
  width: 100%;
  height: 9px;
  margin-top: 20px;
  accent-color: var(--blue);
}
.asset-status {
  font-size: 13px;
  color: #3f618c;
  background: #f1f6fc;
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
}
.lab-card small {
  font-size: 11px;
}
.lab-footer {
  font-size: 11px;
  color: #7a8a9f;
  text-align: center;
  margin-top: 24px;
}
.loading {
  padding: 60px;
  text-align: center;
}
@media (max-width: 520px) {
  :root {
    background: #fff;
  }
  .demo-page {
    padding: 10px 0 20px;
  }
  .demo-caption {
    padding: 0 6px;
  }
  .phone {
    border: 0;
    border-radius: 0;
    padding: 10px 12px 16px;
    box-shadow: none;
  }
  .match-header {
    gap: 7px;
  }
  .match-title h1 {
    font-size: 19px;
  }
  .game-medallion {
    width: 36px;
    height: 36px;
    font-size: 27px;
  }
  .mode {
    font-size: 10px;
    padding: 6px;
  }
  .header-action svg {
    padding: 6px;
    width: 17px;
    height: 17px;
  }
  .header-action {
    font-size: 9px;
  }
  .status-strip {
    font-size: 11px;
    padding: 12px 8px;
  }
  .status-strip > span {
    gap: 4px;
  }
  .status-strip > span + span {
    padding-left: 6px;
  }
  .status-strip svg {
    width: 17px;
  }
  .player-card {
    gap: 6px;
    padding: 8px;
    min-height: 61px;
  }
  .player-card strong {
    font-size: 15px;
  }
  .avatar {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .side {
    font-size: 10px;
    padding: 4px 6px;
  }
  .player-times {
    gap: 6px;
  }
  .player-times b {
    font-size: 20px;
  }
  .think {
    font-size: 14px;
    padding: 5px;
  }
  .think svg {
    width: 14px;
  }
  .social-strip button {
    font-size: 11px;
    padding: 6px;
  }
  .social-strip svg {
    width: 20px;
  }
  .focused .player-card strong {
    font-size: 19px;
  }
  .focused .player-times b {
    font-size: 22px;
  }
  .lab {
    padding: 24px 16px;
  }
  .lab-header {
    gap: 11px;
    align-items: flex-start;
  }
  .brand-mark {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 31px;
  }
  .lab-header h1 {
    font-size: 22px;
  }
  .lab-header h1 span {
    font-size: 10px;
  }
  .lab-header p {
    font-size: 12px;
  }
  .local-badge {
    display: none;
  }
  .eyebrow {
    font-size: 9px;
  }
  .lab-card {
    padding: 18px;
  }
  .roles {
    gap: 8px;
  }
  .role-card {
    padding: 13px 10px;
  }
  .role-card strong {
    font-size: 13px;
  }
  .role-card > span:not(.avatar) {
    font-size: 10px;
  }
  .role-card b {
    font-size: 11px;
    gap: 3px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .spectator .match-title h1 {
    font-size: 16px;
  }
  .spectator-board {
    grid-template-columns: 47px minmax(0, 1fr) 47px;
    gap: 4px;
  }
}
@media (max-width: 375px) {
  .match-header {
    gap: 5px;
  }
  .match-title h1 {
    font-size: 17px;
  }
  .mode {
    font-size: 9px;
  }
  .player-card {
    gap: 5px;
  }
  .player-card strong {
    font-size: 13px;
  }
  .player-times {
    gap: 4px;
  }
  .player-times b {
    font-size: 17px;
  }
  .think {
    font-size: 12px;
    padding: 4px;
  }
  .side {
    padding: 3px 4px;
  }
  .avatar {
    width: 30px;
    height: 30px;
  }
  .status-strip {
    font-size: 10px;
  }
  .social-strip button {
    font-size: 10px;
  }
  .social-strip button svg {
    width: 18px;
  }
}
.live-chat [aria-label="Tin nhắn hiện tại"] {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.live-chat form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.live-chat label {
  flex: 1;
  min-width: 0;
}
.live-chat input {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 9px;
  border: 1px solid #dae8fa;
  border-radius: 8px;
  font: inherit;
  color: var(--navy);
}

/* ../prototypes/core-local/src/effects/check-layer.css */
.match-board-stage {
  position: relative;
  width: 100%;
  isolation: isolate;
}
.match-effect-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: 3px;
}
.match-effect {
  position: absolute;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  container-type: inline-size;
}
.match-effect .effect-core {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
}
.match-effect .effect-art {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.match-effect .effect-aura {
  position: absolute;
  inset: 0;
  border: 2px solid var(--tone);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--tone), inset 0 0 10px var(--light);
  opacity: .48;
}
.match-effect .effect-energy {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  fill: none;
  stroke: var(--light);
  stroke-width: 1.7;
  stroke-linecap: round;
  opacity: .65;
}
.match-effect[data-style=blue-dragon] .effect-aura {
  border-style: dashed;
}
.match-effect[data-style=golden] .effect-aura {
  border-style: double;
  border-width: 4px;
}
.match-effect[data-style=silver-moon] .effect-aura {
  border-width: 1px;
}
.match-effect .particle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px;
  border-radius: 50%;
  background: var(--light);
  opacity: 0;
  box-shadow: 0 0 5px var(--tone);
  font-size: 16.666cqw;
}
.match-effect[data-style=electric-blue] .particle {
  width: 2px;
  height: 13px;
  border-radius: 0;
}
.match-effect[data-style=fire-war] .particle {
  width: 4px;
  height: 8px;
  background: #ffbc60;
}
.match-effect[data-style=golden] .particle {
  border-radius: 0;
  transform: rotate(45deg);
}
.match-effect[data-style=silver-moon] .particle {
  width: 3px;
  height: 3px;
}
.match-effect[data-style=blue-dragon] .particle {
  width: 9px;
  height: 4px;
}
.match-effect[data-motion=reduced] .effect-aura,
.match-effect[data-motion=reduced] .effect-energy,
.match-effect[data-motion=reduced] .particle {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .match-effect .effect-core {
    transform: none !important;
  }
  .match-effect .effect-aura,
  .match-effect .effect-energy,
  .match-effect .particle {
    display: none;
  }
}

/* ../prototypes/core-local/src/match/board-presentation.css */
.board-shell.match-board-shell.ivory-board-shell {
  padding: 2px;
  background:
    linear-gradient(
      145deg,
      #f1d8ae,
      #d5b181);
  border: 1px solid #bd996b;
  border-radius: 7px;
  box-shadow: inset 0 1px 0 #fff5de, 0 2px 5px #69472b26;
}
.board-shell.match-board-shell.sapphire-board-shell {
  padding: 0;
  background: #f7f3e8;
  border-color: #ba9a5d;
  border-radius: 4px;
  box-shadow: 0 2px 7px #14395726;
}
.board-shell.match-board-shell.raster-board-shell {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.family-board-set-picker {
  display: grid;
  gap: 8px;
  padding-block: 8px;
  font-weight: 600;
}
.family-board-set-picker select {
  min-height: 44px;
  width: 100%;
  font: inherit;
}
.family-board-set-picker small {
  font-size: 12px;
  font-weight: 400;
  color: #596e88;
}
.board-art-error {
  padding: 8px;
  margin: 0;
  color: #8e281f;
  background: #fff4e7;
  font-size: 13px;
}
.board-art-error button {
  min-height: 44px;
}
.ivory-board-shell .ivory-king-halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: ivory-check-flare .6s ease-out both, ivory-check-pulse 2.2s ease-in-out .6s infinite;
}
.ivory-board-shell [data-last=to] > circle {
  vector-effect: non-scaling-stroke;
}
@keyframes ivory-check-flare {
  0% {
    opacity: .35;
    transform: scale(.84);
  }
  35% {
    opacity: 1;
    transform: scale(1.12);
  }
  100% {
    opacity: .8;
    transform: scale(1);
  }
}
@keyframes ivory-check-pulse {
  0%, 100% {
    opacity: .8;
    transform: scale(1);
  }
  50% {
    opacity: .58;
    transform: scale(1.035);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ivory-board-shell .ivory-king-halo {
    animation: none;
    opacity: .8;
  }
}

/* ../prototypes/core-local/src/effects/reference-check.css */
.reference-check-burst,
.reference-mate-intro {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  --reference-elapsed:0ms;
}
.reference-check-burst {
  z-index: 2;
  animation: reference-burst-life var(--reference-duration,1500ms) linear both;
}
.reference-board-matte {
  fill: #061421;
  opacity: .35;
}
.reference-check-burst[data-pair=golden] .reference-board-matte,
.reference-mate-intro[data-pair=golden] .reference-board-matte {
  fill: #201203;
}
.reference-check-banner {
  filter: drop-shadow(0 0 4px var(--reference-tone));
}
.reference-banner-arrival {
  animation: reference-banner-arrival var(--reference-duration) cubic-bezier(.16, .75, .26, 1) both;
}
.reference-check-fallback {
  font: italic 700 52px Georgia, serif;
  fill: var(--reference-light);
  stroke: var(--reference-tone);
  stroke-width: .6;
  paint-order: stroke fill;
}
.reference-banner-haze {
  fill: none;
  stroke: var(--reference-tone);
  stroke-width: 38;
  opacity: .23;
  filter: blur(17px);
}
.reference-banner-swirl,
.reference-banner-fracture {
  fill: none;
  stroke: var(--reference-light);
  stroke-width: 1.8;
  filter: drop-shadow(0 0 5px var(--reference-tone));
  transform-origin: 0 0;
  animation: reference-banner-swirl var(--reference-duration) ease-out both;
}
.reference-banner-swirl path + path {
  stroke: var(--reference-tone);
  stroke-width: 3;
  opacity: .6;
}
.reference-banner-fracture {
  stroke-width: 1.6;
  animation-name: reference-banner-fracture;
}
.reference-banner-atmosphere {
  animation: reference-banner-atmosphere var(--reference-duration) ease-out both;
}
.reference-energy-rays {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reference-ray-aura,
.reference-check-ray,
.reference-ray-core {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: reference-ray-strike var(--reference-duration) ease-out both;
  animation-delay: var(--reference-elapsed);
}
.reference-ray-aura {
  stroke: var(--reference-tone);
  stroke-width: 17;
  opacity: .65;
  filter: blur(6px);
}
.reference-check-ray {
  stroke: var(--reference-tone);
  stroke-width: 5;
  filter: drop-shadow(0 0 5px var(--reference-tone));
}
.reference-ray-core {
  stroke: var(--reference-light);
  stroke-width: 1.9;
}
.reference-ray-branches,
.reference-ray-echo {
  stroke: var(--reference-light);
  stroke-width: 1.35;
  filter: drop-shadow(0 0 4px var(--reference-tone));
  animation: reference-ray-branches var(--reference-duration) ease-out both;
  animation-delay: var(--reference-elapsed);
}
.reference-ray-echo {
  stroke: var(--reference-tone);
  stroke-width: 2.2;
  animation-name: reference-ray-echo;
}
.reference-ray-traveller {
  stroke: #fff;
  stroke-width: 4;
  stroke-dasharray: .065 .935;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 7px var(--reference-tone));
  animation: reference-ray-traveller var(--reference-duration) linear both;
  animation-delay: var(--reference-elapsed);
}
.reference-corona {
  fill: none;
  stroke: var(--reference-light);
  --corona-tone:var(--reference-tone);
  --corona-light:var(--reference-light);
}
.reference-corona-king {
  --corona-tone:#ff383f;
  --corona-light:#ffd9ca;
  stroke: var(--corona-light);
}
.reference-corona-haze {
  stroke: var(--corona-tone);
  stroke-width: 21;
  opacity: .65;
  filter: blur(12px);
  animation: reference-corona-haze var(--reference-duration) ease-out both;
}
.reference-corona-charge {
  stroke-width: 1.7;
  filter: drop-shadow(0 0 4px var(--corona-tone));
  transform-origin: 0 0;
  animation: reference-corona-charge var(--reference-duration) ease-out both;
}
.reference-corona-charge > circle:first-child {
  stroke: var(--corona-light);
  stroke-width: 2.3;
}
.reference-corona-orbit {
  stroke: var(--corona-tone);
  stroke-width: 2;
  stroke-dasharray: 32 8 4 8;
}
.reference-corona-tick {
  stroke: var(--corona-light);
  stroke-width: 1.3;
}
.reference-corona-crackle {
  stroke: var(--corona-tone);
  stroke-width: 1.7;
}
.reference-impact-wave {
  stroke: var(--corona-tone);
  stroke-width: 2.5;
  opacity: 0;
  transform-origin: 0 0;
  filter: drop-shadow(0 0 5px var(--corona-tone));
  animation: reference-impact-wave var(--reference-duration) ease-out both;
}
.reference-impact-wave-late {
  stroke: var(--corona-light);
  stroke-width: 1;
  animation-name: reference-impact-wave-late;
}
.reference-corona-king .reference-corona-charge {
  animation-name: reference-king-charge;
}
.reference-corona-king .reference-corona-haze {
  animation-name: reference-king-haze;
}
.reference-energy-spark,
.reference-energy-mote {
  stroke: var(--corona-light);
  stroke-width: 1.5;
  fill: var(--corona-light);
  filter: drop-shadow(0 0 4px var(--corona-tone));
  animation: reference-energy-spark var(--reference-duration) ease-out both;
}
.reference-energy-mote {
  stroke: none;
  animation-name: reference-energy-mote;
}
.reference-corona-haze,
.reference-corona-charge,
.reference-impact-wave {
  animation-delay: var(--reference-elapsed);
}
.reference-energy-spark,
.reference-energy-mote {
  animation-delay: calc(var(--reference-elapsed) + var(--spark-lag,0ms));
}
.reference-checker-glow {
  stroke: var(--reference-tone,#59c9ff);
  stroke-width: 3;
  filter: drop-shadow(0 0 3px var(--reference-tone,#239dff)) drop-shadow(0 0 8px var(--reference-tone,#239dff));
}
.reference-king-glow {
  stroke: #ff4d45;
  stroke-width: 3.5;
  filter: drop-shadow(0 0 6px #f62631);
}
.reference-live-highlights {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 3;
}
.reference-compact-halo {
  animation: none;
  fill: none;
  stroke: none;
}
.reference-compact-face {
  fill: var(--halo-tone);
  opacity: .055;
}
.reference-compact-rim {
  stroke: var(--halo-tone);
  stroke-width: 3.8;
  filter: drop-shadow(0 0 3px var(--halo-tone)) drop-shadow(0 0 7px var(--halo-tone));
}
.reference-compact-light {
  stroke: var(--halo-light);
  stroke-width: 1.8;
  opacity: 1;
}
.reference-compact-king .reference-compact-rim {
  stroke-width: 4.2;
}
.reference-mate-intro {
  z-index: 1;
  animation: result-board-emphasis var(--endgame-cinematic-ms,6000ms) ease-in-out 1 both;
  transform-origin: 50% 50%;
}
.reference-hand-arrival {
  animation: reference-hand-arrival var(--reference-duration) cubic-bezier(.18, .7, .28, 1) both;
  animation-delay: var(--reference-elapsed);
}
.reference-hand-art {
  filter: drop-shadow(0 0 4px var(--reference-tone));
}
.reference-grip-vortex {
  fill: none;
  stroke: var(--reference-light);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 5px var(--reference-tone));
  transform-origin: 0 0;
  animation: reference-grip-vortex var(--reference-duration) ease-out both;
  animation-delay: var(--reference-elapsed);
}
.reference-grip-vortex ellipse:first-child {
  stroke: var(--reference-tone);
  stroke-width: 2.8;
  stroke-dasharray: 88 9 3 9;
}
.reference-grip-vortex ellipse + ellipse {
  stroke-dasharray: 3 8;
  stroke-width: 2.2;
}
.reference-mate-intro .reference-impact-wave {
  stroke-width: 3.2;
}
.reference-mate-intro[data-pair=electric] .reference-grip-vortex {
  stroke-dasharray: 15 4 2 3;
}
.reference-check-burst[data-pair=golden] .reference-corona-crackle,
.reference-mate-intro[data-pair=golden] .reference-corona-crackle {
  opacity: .45;
}
.match-result-layer:has(.reference-mate-intro) .result-cinematic-highlights {
  visibility: hidden;
}
@keyframes reference-burst-life {
  0% {
    opacity: 0;
  }
  7%, 79% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes reference-banner-arrival {
  0%, 12% {
    opacity: 0;
    transform: scale(.76) rotate(-4deg);
  }
  30% {
    opacity: 1;
    transform: scale(1.045) rotate(.5deg);
  }
  43%, 77% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}
@keyframes reference-banner-atmosphere {
  0%, 14% {
    opacity: 0;
  }
  35%, 68% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes reference-banner-swirl {
  0%, 13% {
    opacity: 0;
    transform: rotate(-15deg) scale(.7);
  }
  32% {
    opacity: .95;
  }
  76% {
    opacity: .6;
    transform: rotate(7deg) scale(1.07);
  }
  100% {
    opacity: 0;
    transform: rotate(12deg) scale(1.1);
  }
}
@keyframes reference-banner-fracture {
  0%, 20% {
    opacity: 0;
    stroke-dasharray: 10 200;
  }
  37%, 48% {
    opacity: .9;
    stroke-dasharray: 200 0;
  }
  80%, 100% {
    opacity: 0;
    stroke-dasharray: 20 180;
  }
}
@keyframes reference-ray-strike {
  0%, 17% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  21% {
    opacity: .85;
  }
  38% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  59% {
    opacity: .75;
    stroke-dashoffset: 0;
  }
  88%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}
@keyframes reference-ray-branches {
  0%, 29% {
    opacity: 0;
  }
  39% {
    opacity: .9;
  }
  48% {
    opacity: .35;
  }
  62% {
    opacity: .6;
  }
  83%, 100% {
    opacity: 0;
  }
}
@keyframes reference-ray-echo {
  0%, 22% {
    opacity: 0;
  }
  31% {
    opacity: .6;
  }
  42% {
    opacity: .15;
  }
  58% {
    opacity: .5;
  }
  80%, 100% {
    opacity: 0;
  }
}
@keyframes reference-ray-traveller {
  0%, 18% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  21% {
    opacity: 1;
  }
  43% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  46%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}
@keyframes reference-corona-haze {
  0% {
    opacity: 0;
    stroke-width: 5;
  }
  18% {
    opacity: .6;
    stroke-width: 20;
  }
  39% {
    opacity: .8;
    stroke-width: 25;
  }
  78% {
    opacity: .25;
    stroke-width: 15;
  }
  100% {
    opacity: 0;
    stroke-width: 8;
  }
}
@keyframes reference-corona-charge {
  0% {
    opacity: 0;
    transform: scale(1.6) rotate(-35deg);
  }
  17% {
    opacity: .8;
    transform: scale(1) rotate(-8deg);
  }
  32% {
    opacity: 1;
    transform: scale(1.04) rotate(6deg);
  }
  75% {
    opacity: .65;
    transform: scale(1) rotate(27deg);
  }
  100% {
    opacity: .2;
    transform: scale(1) rotate(35deg);
  }
}
@keyframes reference-king-charge {
  0%, 22% {
    opacity: .2;
    transform: scale(1) rotate(-8deg);
  }
  43% {
    opacity: 1;
    transform: scale(1.12) rotate(4deg);
  }
  65% {
    opacity: .8;
    transform: scale(1) rotate(15deg);
  }
  100% {
    opacity: .25;
    transform: scale(1) rotate(25deg);
  }
}
@keyframes reference-king-haze {
  0%, 23% {
    opacity: .1;
    stroke-width: 8;
  }
  43% {
    opacity: .85;
    stroke-width: 23;
  }
  66% {
    opacity: .55;
    stroke-width: 16;
  }
  100% {
    opacity: .1;
    stroke-width: 8;
  }
}
@keyframes reference-impact-wave {
  0%, 31% {
    opacity: 0;
    transform: scale(.95);
  }
  39% {
    opacity: .85;
  }
  76% {
    opacity: 0;
    transform: scale(2.6);
  }
  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}
@keyframes reference-impact-wave-late {
  0%, 41% {
    opacity: 0;
    transform: scale(1);
  }
  48% {
    opacity: .65;
  }
  91%, 100% {
    opacity: 0;
    transform: scale(2.8);
  }
}
@keyframes reference-energy-spark {
  0%, 29% {
    opacity: 0;
    transform: translateY(8px) scaleY(.5);
  }
  39% {
    opacity: 1;
    transform: translateY(-4px) scaleY(1.25);
  }
  77%, 100% {
    opacity: 0;
    transform: translateY(var(--spark-distance)) scaleY(.25);
  }
}
@keyframes reference-energy-mote {
  0%, 34% {
    opacity: 0;
    transform: translateY(0);
  }
  43% {
    opacity: .95;
  }
  91%, 100% {
    opacity: 0;
    transform: translateY(var(--spark-distance));
  }
}
@keyframes reference-hand-arrival {
  0% {
    opacity: 0;
    transform: translate(34px, -86px) scale(1.13);
  }
  12% {
    opacity: .7;
  }
  25% {
    opacity: 1;
    transform: translate(0, 0) scale(1.01);
  }
  36%, 76% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(9px, -19px) scale(1.025);
  }
}
@keyframes reference-grip-vortex {
  0%, 17% {
    opacity: 0;
    transform: scale(.5) rotate(-17deg);
  }
  33% {
    opacity: 1;
    transform: scale(1.08) rotate(0);
  }
  72% {
    opacity: .7;
    transform: scale(1.14) rotate(15deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.3) rotate(24deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reference-check-burst,
  .reference-mate-intro,
  .reference-check-burst *,
  .reference-mate-intro * {
    animation: none !important;
  }
  .reference-check-burst,
  .reference-mate-intro,
  .reference-banner-arrival {
    transform: none !important;
  }
  .reference-board-matte {
    opacity: .16;
  }
  .reference-energy-rays,
  .reference-banner-atmosphere,
  .reference-corona,
  .reference-hand-arrival,
  .reference-grip-vortex {
    display: none;
  }
}
.reference-check-burst .reference-corona-haze,
.reference-final-check .reference-corona-haze {
  stroke-width: 12;
  filter: blur(4px);
}
.reference-check-burst .reference-board-matte {
  opacity: .2;
}
.reference-check-burst,
.reference-check-burst .reference-banner-arrival,
.reference-check-burst .reference-banner-atmosphere,
.reference-check-burst .reference-banner-swirl,
.reference-check-burst .reference-banner-fracture {
  animation-delay: var(--reference-elapsed);
}
.reference-check-burst .reference-corona-charge,
.reference-final-check .reference-corona-charge {
  stroke-width: 2;
  filter: drop-shadow(0 0 2px var(--corona-tone));
}
.reference-check-burst .reference-corona-charge > circle:first-child,
.reference-final-check .reference-corona-charge > circle:first-child {
  stroke-width: 2.8;
}
.reference-check-burst .reference-ray-aura,
.reference-final-check .reference-ray-aura {
  stroke-width: 9;
  opacity: .38;
  filter: blur(3px);
}
.reference-check-burst .reference-check-ray,
.reference-final-check .reference-check-ray {
  stroke-width: 3.7;
  filter: drop-shadow(0 0 3px var(--reference-tone));
}
.reference-leg-marker,
.reference-screen-marker {
  fill: none;
  stroke: var(--reference-light);
  stroke-width: 1.8;
  filter: drop-shadow(0 0 3px var(--reference-tone));
  animation: reference-ray-branches var(--reference-duration) ease-out both;
  animation-delay: var(--reference-elapsed);
}
.reference-screen-marker {
  stroke-dasharray: 12 4;
  stroke: var(--reference-tone);
  stroke-width: 2.3;
}
.reference-final-check {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.reference-final-check[data-pair=golden] .reference-board-matte {
  fill: #201203;
}
.reference-final-check .reference-board-matte {
  opacity: .24;
}
.reference-final-last-move {
  fill: none;
  stroke: var(--reference-light);
  stroke-width: 3;
  filter: drop-shadow(0 0 3px var(--reference-tone));
  animation: reference-final-last var(--reference-duration) ease-out both;
  animation-delay: var(--reference-elapsed);
}
.reference-final-last-move path {
  stroke: var(--reference-tone);
  stroke-dasharray: 7 6;
  stroke-width: 2;
}
.reference-final-energy {
  animation: reference-final-energy var(--reference-duration) linear both;
  animation-delay: var(--reference-elapsed);
}
.reference-final-check .reference-corona-charge {
  animation-name: reference-final-corona;
}
.reference-final-check .reference-corona-haze {
  animation-name: reference-final-haze;
}
.reference-final-check .reference-corona-king .reference-corona-charge {
  animation-name: reference-final-corona;
}
.reference-final-check .reference-corona-king .reference-corona-haze {
  animation-name: reference-final-haze;
}
.reference-final-check .reference-impact-wave,
.reference-final-check .reference-impact-wave-late {
  animation-name: reference-final-wave;
}
.reference-final-check .reference-ray-aura,
.reference-final-check .reference-check-ray,
.reference-final-check .reference-ray-core {
  animation-name: reference-final-ray;
}
.reference-final-check .reference-ray-branches,
.reference-final-check .reference-ray-echo,
.reference-final-check .reference-leg-marker,
.reference-final-check .reference-screen-marker {
  animation-name: reference-final-ray-detail;
}
.reference-final-check .reference-ray-traveller {
  animation-name: reference-final-traveller;
}
.reference-final-check .reference-energy-spark,
.reference-final-check .reference-energy-mote {
  animation-name: reference-final-spark;
  animation-delay: var(--reference-elapsed);
}
.reference-final-spread,
.reference-normal-spread {
  fill: none;
  stroke: var(--reference-tone);
  stroke-width: 3;
  filter: drop-shadow(0 0 4px var(--reference-tone));
  transform-origin: 0 0;
  animation: reference-final-spread var(--reference-duration) linear both;
  animation-delay: var(--reference-elapsed);
}
.reference-spread-ring {
  stroke-width: 2.5;
  stroke-dasharray: 75 8 2 8;
  opacity: .85;
}
.reference-spread-aura {
  stroke: var(--reference-tone);
  stroke-width: 10;
  opacity: .65;
  filter: blur(3px);
}
.reference-spread-core {
  stroke: var(--reference-light);
  stroke-width: 2.8;
}
.reference-normal-spread {
  animation-name: reference-normal-spread;
}
.reference-normal-spread .reference-spread-aura {
  stroke-width: 7;
  opacity: .4;
}
.reference-normal-spread .reference-spread-ring {
  stroke-width: 1.8;
}
.reference-final-check .reference-board-focus {
  animation: reference-focus-life var(--reference-duration) linear both;
  animation-delay: var(--reference-elapsed);
}
.match-board-stage.reference-final-sequence-active svg.board :is([data-result-piece=direct-checker], [data-last], [data-selected], [data-hint]),
.match-board-stage.reference-final-sequence-active .reference-live-highlights [data-check-highlight=checker] {
  visibility: hidden !important;
}
.reference-final-face-light {
  opacity: 0;
}
.reference-final-glow-piece .reference-final-face-light {
  opacity: var(--final-glow-strength,0);
}
.reference-final-face-light [data-final-face] {
  fill: #dbfaff;
  fill-opacity: .12;
}
.reference-final-face-light [data-final-rim] {
  fill: none;
  stroke: #48bcff;
  stroke-width: 2;
}
.match-board-stage svg.board .piece.reference-final-glow-piece {
  filter: brightness(calc(1 + var(--final-glow-strength)*.32)) drop-shadow(0 0 5px rgb(var(--final-glow-light) / calc(var(--final-glow-strength)*.8))) drop-shadow(0 0 13px rgb(var(--final-glow-tone) / calc(var(--final-glow-strength)*.9))) drop-shadow(0 0 22px rgb(var(--final-glow-tone) / calc(var(--final-glow-strength)*.45)));
}
.match-board-stage.reference-final-camera-active {
  overflow: clip;
}
.match-board-stage.reference-final-camera-active > .board,
.match-board-stage.reference-final-camera-active .reference-final-check,
.match-board-stage.reference-final-camera-active > .reference-live-highlights {
  transform-box: border-box;
  transform-origin: 50% 50%;
  transform: translate(var(--final-camera-x,0%), var(--final-camera-y,0%)) scale(var(--final-camera-scale,1));
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .match-board-stage.reference-final-camera-active > .board,
  .match-board-stage.reference-final-camera-active .reference-final-check,
  .match-board-stage.reference-final-camera-active > .reference-live-highlights {
    transform: none !important;
    will-change: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .match-board-stage svg.board .piece.reference-final-glow-piece {
    filter: none;
  }
}
@keyframes reference-focus-life {
  0%, 100% {
    opacity: 1;
  }
}
@keyframes reference-normal-spread {
  0%, 18% {
    opacity: 0;
    transform: scale(.25) rotate(-8deg);
  }
  30% {
    opacity: .8;
    transform: scale(.45) rotate(-2deg);
  }
  60% {
    opacity: .75;
    transform: scale(.85) rotate(6deg);
  }
  95%, 100% {
    opacity: 0;
    transform: scale(1.15) rotate(12deg);
  }
}
.reference-final-banner {
  animation: reference-final-banner var(--reference-duration) ease-out both;
  animation-delay: var(--reference-elapsed);
}
.reference-final-banner image {
  filter: drop-shadow(0 0 3px var(--reference-tone));
}
.reference-final-banner .reference-banner-atmosphere,
.reference-final-banner .reference-banner-swirl,
.reference-final-banner .reference-banner-fracture {
  animation: none;
}
.reference-final-banner .reference-banner-haze {
  stroke-width: 22;
  opacity: .16;
  filter: blur(7px);
}
.reference-final-quiet-marks {
  fill: none;
  stroke: var(--reference-tone);
  stroke-width: 1.8;
  opacity: .55;
  animation: reference-final-quiet var(--reference-duration) linear both;
  animation-delay: var(--reference-elapsed);
}
.reference-final-quiet-king {
  stroke: #ff383f;
  stroke-width: 2.2;
}
@keyframes reference-final-last {
  0% {
    opacity: .45;
  }
  6%, 18.75% {
    opacity: 1;
  }
  24% {
    opacity: .2;
  }
  62.5%, 100% {
    opacity: .12;
  }
}
@keyframes reference-final-energy {
  0% {
    opacity: 0;
  }
  12% {
    opacity: .65;
  }
  37.5%, 100% {
    opacity: 1;
  }
}
@keyframes reference-final-corona {
  0% {
    opacity: 0;
    transform: scale(.8) rotate(-8deg);
  }
  37.5% {
    opacity: 1;
    transform: scale(1.08) rotate(15deg);
  }
  100% {
    opacity: 1;
    transform: scale(1.08) rotate(65deg);
  }
}
@keyframes reference-final-haze {
  0% {
    opacity: 0;
  }
  37.5%, 100% {
    opacity: .7;
  }
}
@keyframes reference-final-wave {
  0%, 10% {
    opacity: 0;
    transform: scale(1);
  }
  37.5% {
    opacity: .8;
    transform: scale(2.8);
  }
  100% {
    opacity: .65;
    transform: scale(3.2);
  }
}
@keyframes reference-final-ray {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  37.5%, 100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes reference-final-ray-detail {
  0%, 12% {
    opacity: 0;
  }
  37.5%, 100% {
    opacity: .85;
  }
}
@keyframes reference-final-traveller {
  0%, 20% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  23% {
    opacity: 1;
  }
  50% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  53%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}
@keyframes reference-final-spark {
  0%, 12% {
    opacity: 0;
    transform: translateY(0);
  }
  37.5% {
    opacity: 1;
    transform: translateY(var(--spark-distance));
  }
  100% {
    opacity: .8;
    transform: translateY(calc(var(--spark-distance) * 1.2));
  }
}
@keyframes reference-final-spread {
  0% {
    opacity: 0;
    transform: scale(.18) rotate(-12deg);
  }
  37.5% {
    opacity: 1;
    transform: scale(1.25) rotate(0);
  }
  100% {
    opacity: 1;
    transform: scale(1.4) rotate(12deg);
  }
}
@keyframes reference-final-banner {
  0%, 10% {
    opacity: 0;
    transform: scale(.8);
  }
  37.5%, 100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes reference-final-quiet {
  0%, 62.5% {
    opacity: .2;
  }
  85%, 100% {
    opacity: .55;
  }
}
.reference-final-check[data-motion=reduced] * {
  animation: none !important;
  filter: none !important;
}
.reference-final-check[data-motion=reduced] .reference-final-energy,
.reference-final-check[data-motion=reduced] .reference-final-last-move path,
.reference-final-check[data-motion=reduced] .reference-board-focus {
  display: none;
}
.reference-final-check[data-motion=reduced] .reference-final-quiet-marks {
  opacity: .55;
}
@media (prefers-reduced-motion: reduce) {
  .reference-final-check * {
    animation: none !important;
    filter: none !important;
  }
  .reference-final-check .reference-final-energy,
  .reference-final-check .reference-final-last-move path,
  .reference-final-check .reference-board-focus {
    display: none;
  }
  .reference-final-check .reference-final-quiet-marks {
    opacity: .55;
  }
}

/* ../prototypes/core-local/src/match/family-avatar.css */
.family-avatar-composition {
  position: relative;
  width: var(--avatar-safe);
  height: var(--avatar-height);
  flex: none;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.family-avatar-body {
  position: relative;
  width: var(--avatar-body);
  height: var(--avatar-body);
  --avatar-metal:#ab86d4;
  --avatar-dark:#543374;
  --avatar-light:#ecdafa;
}
.family-avatar-composition[data-palette=jade] .family-avatar-body {
  --avatar-metal:#78bba3;
  --avatar-dark:#21544a;
  --avatar-light:#d5f9e6;
}
.family-avatar-composition[data-palette=gold] .family-avatar-body {
  --avatar-metal:#d4ac56;
  --avatar-dark:#74501c;
  --avatar-light:#fff0bb;
}
.family-avatar-body > div,
.family-avatar-body > svg,
.family-avatar-rank,
.family-avatar-crown {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.family-avatar-portrait {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      #eee9f4,
      #c9beda);
}
.family-avatar-portrait svg {
  width: 75%;
  height: 75%;
  fill: #81718e;
}
.family-avatar-portrait img,
.family-avatar-decoration img,
.family-avatar-decoration > .family-frame-art,
.family-avatar-rank img,
.family-avatar-crown img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.family-avatar-portrait img {
  object-fit: cover;
}
.family-turn-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--avatar-turn-color);
  pointer-events: none;
  color: #fff;
}
.family-turn-overlay[data-phase=sector] {
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg var(--avatar-turn-consumed),
      rgb(0 119 205 / .58) var(--avatar-turn-consumed) 360deg);
  box-shadow: inset 0 0 0 2px #34ddff;
}
.family-turn-intro {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(
      transparent 0deg 100deg,
      rgb(0 143 230 / .5) 180deg,
      #8ff4ff 280deg,
      transparent 350deg);
  mask-image:
    radial-gradient(
      circle,
      transparent 53%,
      #000 62% 72%,
      transparent 74%);
  transform: rotate(var(--avatar-intro-angle));
  transition: transform .1s linear;
}
.family-turn-countdown {
  font-size: var(--avatar-count-size);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #fff2dc;
  text-shadow:
    0 2px 2px #72140b,
    -1px -1px 0 #72140b,
    1px -1px 0 #72140b,
    -1px 1px 0 #72140b,
    1px 1px 0 #72140b;
}
.family-turn-overlay[data-phase=countdown] {
  background: rgb(116 13 8 / .27);
  box-shadow: inset 0 0 0 2px #ed634a;
}
.family-turn-overlay[data-phase=waiting] {
  box-shadow: inset 0 0 0 2px #a96b44;
}
@media (prefers-reduced-motion: reduce) {
  .family-turn-intro {
    transform: none;
    transition: none;
    background: rgb(255 229 155 / .7);
  }
}
@media (forced-colors: active) {
  .family-turn-overlay {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
  .family-turn-countdown {
    color: CanvasText;
    background: Canvas;
    text-shadow: none;
  }
  .family-avatar-crown svg,
  .family-avatar-rank svg {
    stroke: Highlight;
  }
}
.family-avatar-decoration {
  pointer-events: none;
}
.family-avatar-decoration > .family-code-frame-art {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.family-code-frame-halo {
  opacity: .38;
  filter: blur(.85px);
}
.family-code-frame-arc-halo {
  opacity: .45;
  filter: blur(.65px);
}
.family-avatar-decoration:not([data-art=true]) {
  border: calc(7px * var(--avatar-factor)) double var(--avatar-metal);
  border-radius: 50%;
  box-shadow: inset 0 0 0 calc(2px * var(--avatar-factor)) var(--avatar-light);
}
.family-avatar-body > .family-avatar-rank {
  left: calc(100% - 9px * var(--avatar-factor));
  top: calc(50% + 20px * var(--avatar-factor));
  z-index: 3;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: max(10px, calc(10px * var(--avatar-factor)));
  pointer-events: none;
}
.family-avatar-rank svg {
  width: 100%;
  height: 100%;
  fill: var(--avatar-dark);
  stroke: var(--avatar-metal);
  stroke-width: 2;
}
.family-avatar-rank > span {
  color: var(--avatar-dark);
  position: absolute;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: inherit;
  text-align: center;
  line-height: 1;
}
.family-avatar-body > .family-avatar-crown {
  top: calc(0px - 2px * var(--avatar-factor));
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: #422653;
  font-size: max(10px, calc(11px * var(--avatar-factor)));
  font-weight: 800;
}
.family-avatar-crown svg {
  width: 100%;
  height: 100%;
  fill: #e3c568;
  stroke: #916824;
  stroke-width: 1;
}
.family-avatar-crown[data-top="2"] svg {
  fill: #d7dfeb;
  stroke: #728296;
}
.family-avatar-crown[data-top="3"] svg {
  fill: #d6a083;
  stroke: #976647;
}
.family-avatar-crown > span {
  position: absolute;
  top: 50%;
  line-height: 1;
}
.family-avatar-verified-title {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.family-avatar-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.family-player-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
.family-app .family-player-band .family-player-name > strong {
  font-size: var(--family-avatar-name,19px);
}
.owner-avatar-preview {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 210px;
  background: #f7f5fb;
  padding: 16px;
  border: 1px solid #d6cbe2;
  border-radius: 12px;
}
.owner-avatar-preview > div {
  display: grid;
  justify-items: center;
  gap: 8px;
}
.owner-avatar-preview small {
  color: #5b496a;
}
.owner-avatar-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}
.owner-avatar-controls label {
  min-width: 0;
}
.fc-profile-avatar[data-native-frame=true] > .fc-profile-avatar-scale {
  width: var(--fc-profile-composition-width);
  height: var(--fc-profile-composition-height);
  transform: translate(-50%, -50%) scale(calc(var(--fc-profile-avatar-size)/var(--fc-profile-composition-extent)));
}
.fc-profile-avatar[data-portrait-only=true] {
  overflow: clip;
  border-radius: 50%;
}
.fc-profile-avatar[data-portrait-only=true] > .fc-profile-avatar-scale {
  width: var(--fc-profile-composition-width);
  height: var(--fc-profile-composition-height);
  transform: translate(-50%, -50%) scale(calc(var(--fc-profile-avatar-size)/var(--fc-profile-portrait-diameter)));
}
.fc-profile-avatar[data-portrait-only=true] .family-avatar-composition {
  transform: translate(calc(-1 * var(--fc-profile-portrait-x)), calc(-1 * var(--fc-profile-portrait-y)));
}
.family-avatar-composition[data-native-frame=true][data-context=match] {
  height: max(var(--avatar-height), calc(2 * (var(--avatar-seconds-top) + max(var(--avatar-seconds-height), calc(24px / var(--family-match-avatar-scale,1))) + 2px)));
}
.owner-avatar-preview {
  container-type: inline-size;
}
.owner-avatar-preview > div {
  max-width: 100%;
}
.owner-avatar-preview .family-avatar-composition[data-native-frame=true] {
  zoom: min(1, calc(100cqw / var(--avatar-safe)));
}
.family-avatar-rank > .family-rank-art {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
}

/* ../prototypes/core-local/src/match/result-scene/result-scene.css */
.fc-result-preview {
  font-family:
    "Segoe UI",
    Arial,
    sans-serif;
  color: #092d61;
  font-style: normal;
  line-height: 1.3;
  text-align: center;
}
.fc-result-scene {
  --result-duel-height: 190px;
  position: absolute;
  inset: 0;
  z-index: 30;
  overflow: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(
      ellipse 180px 130px at calc(50% - 105px) 90px,
      #abc0cb18,
      transparent),
    radial-gradient(
      ellipse 180px 130px at calc(50% + 105px) 90px,
      #8eafce16,
      transparent),
    linear-gradient(
      180deg,
      #526f86eb,
      #34556fe8 60px,
      #35556fe8 135px,
      #45657ee8 205px,
      #e9edf0 300px,
      #edf3f6 100%);
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  pointer-events: auto;
}
.fc-result-scene .fc-result-scene__main {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding-top: calc(8px + env(safe-area-inset-top));
}
.fc-result-scene[data-mode=ranked] {
  --result-duel-height: 208px;
}
.fc-result-scene.family-result-only {
  --result-duel-height: 0px;
}
.fc-result-scene .fc-result-scene__duel {
  box-sizing: border-box;
  min-height: var(--result-duel-height);
  padding: 28px 22px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  gap: 3px;
  align-items: start;
  font-family: var(--ui-font-family, "Segoe UI", Arial, sans-serif);
}
.fc-result-scene .fc-result-scene__player {
  min-width: 0;
  display: grid;
  justify-items: center;
}
.fc-result-scene .fc-result-scene__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  max-width: 100%;
}
.fc-result-scene .fc-result-scene__avatar-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fc-result-scene .fc-result-scene__player[data-outcome=win] .fc-result-scene__avatar::before {
  content: "";
  position: absolute;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: #ffd16125;
  box-shadow: 0 0 12px 3px #e7b14040;
}
.fc-result-scene .fc-result-scene__player[data-outcome=win] .fc-result-scene__avatar-art {
  filter: brightness(1.06) saturate(1.12) drop-shadow(0 1px 3px #b88a3480);
}
.fc-result-scene .fc-result-scene__player[data-outcome=loss] .family-avatar-portrait {
  filter: brightness(.54) saturate(.5);
}
.fc-result-scene .fc-result-scene__player[data-outcome=loss] .family-avatar-decoration {
  filter: brightness(.88) saturate(.9);
}
.fc-result-scene .family-avatar-portrait:has(> svg) {
  background:
    radial-gradient(
      circle at 45% 30%,
      #fff4ce,
      #cdb46c);
}
.fc-result-scene .family-avatar-portrait > svg {
  fill: #29303a;
  width: 88%;
  height: 94%;
  align-self: end;
}
.fc-result-scene .fc-result-scene__player[data-outcome=loss] .family-avatar-portrait:has(> svg) {
  background:
    linear-gradient(
      145deg,
      #c7d8e8,
      #94a6bd);
}
.fc-result-scene .fc-result-scene__crown {
  position: absolute;
  z-index: 2;
  top: -20px;
  left: calc(50% - 22px);
  width: 44px;
  height: 33px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px #17384db3) drop-shadow(0 0 5px #ffd36b30);
}
.fc-result-scene .fc-result-scene__name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  line-height: 23px;
  text-shadow: 0 1px 2px #17384d80;
}
.fc-result-scene .fc-result-scene__player-elo {
  color: #e4edf4;
  font-size: 13px;
  line-height: 19px;
  text-shadow: 0 1px 2px #17384d60;
}
.fc-result-scene .fc-result-scene__versus {
  width: 56px;
  height: 90px;
  object-fit: contain;
  align-self: start;
  margin-top: 15px;
  filter: drop-shadow(0 2px 2px #17384db3) drop-shadow(0 0 6px #ffd36b30);
}
.fc-result-scene .fc-result-scene__card {
  position: relative;
  container-type: inline-size;
  width: calc(100% - 16px);
  aspect-ratio: 374 / 580;
  margin: 8px auto 0;
  border: 0;
  border-radius: 25px;
  overflow: hidden;
  isolation: isolate;
  background: #fff8ed;
  box-shadow: 0 4px 14px #1f324a25;
}
.fc-result-scene .fc-result-scene__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: -1;
}
.fc-result-preview .fc-result-scene__art-fallback {
  position: absolute;
  top: 8%;
  left: 4%;
  right: 4%;
  font-size: clamp(30px, 14cqw, 58px);
  font-weight: 700;
  color: #173e65;
  z-index: -2;
}
.fc-result-scene .fc-result-scene__reason {
  position: absolute;
  top: 40%;
  left: 7%;
  right: 7%;
  margin: 0;
  transform: translateY(-50%);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: clamp(16px, 4.82cqw, 20px);
  line-height: 1.25;
  font-weight: 600;
  color: #064b82;
}
.fc-result-scene .fc-result-scene__divider {
  position: absolute;
  top: 45.86%;
  left: 14%;
  right: 14%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 8px;
  transform: translateY(-50%);
}
.fc-result-scene .fc-result-scene__divider span {
  height: 1px;
  flex: 1;
  background:
    linear-gradient(
      90deg,
      transparent,
      #b89c78);
}
.fc-result-scene .fc-result-scene__divider span:last-child {
  transform: rotate(180deg);
}
.fc-result-scene .fc-result-scene__divider i {
  width: 7px;
  height: 7px;
  border: 2px solid #b89c78;
  transform: rotate(45deg);
}
.fc-result-scene .fc-result-scene__rating {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fc-result-scene .fc-result-scene__rating-label {
  position: absolute;
  top: 50.17%;
  width: 100%;
  margin: 0;
  transform: translateY(-50%);
  color: #064b82;
  font-size: clamp(15px, 4.55cqw, 19px);
  font-weight: 600;
}
.fc-result-scene .fc-result-scene__rating-row {
  position: absolute;
  top: 57.24%;
  left: 5%;
  right: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  transform: translateY(-50%);
  font-variant-numeric: tabular-nums;
}
.fc-result-scene .fc-result-scene__rating-before {
  font-size: clamp(20px, 5.88cqw, 24px);
  color: #657386;
  font-weight: 600;
}
.fc-result-scene .fc-result-scene__rating-arrow {
  font-size: 25px;
  color: #20598a;
}
.fc-result-scene .fc-result-scene__rating-after {
  position: relative;
  padding-right: 44px;
  font-size: clamp(30px, 9.09cqw, 37px);
  line-height: 1.2;
  color: #071959;
  font-weight: 700;
}
.fc-result-scene .fc-result-scene__delta {
  position: absolute;
  left: calc(100% - 40px);
  top: -5px;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: clamp(16px, 4.81cqw, 20px);
  font-weight: 600;
  white-space: nowrap;
}
.fc-result-scene .fc-result-scene__delta svg {
  width: 16px;
  height: 20px;
}
.fc-result-scene .fc-result-scene__delta[data-direction=up] {
  color: #008a28;
}
.fc-result-scene .fc-result-scene__delta[data-direction=down] {
  color: #b83432;
}
.fc-result-scene .fc-result-scene__delta[data-direction=neutral] {
  color: #657386;
}
.fc-result-scene .fc-result-scene__pending {
  position: absolute;
  top: 57.24%;
  left: 7%;
  right: 7%;
  margin: 0;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 600;
  color: #34516f;
}
.fc-result-scene .fc-result-scene__status {
  position: absolute;
  top: 51%;
  left: 9%;
  right: 9%;
  max-height: 25%;
  overflow: auto;
  font-size: clamp(15px, 4.3cqw, 18px);
  line-height: 1.45;
  color: #254c72;
}
.fc-result-scene .fc-result-scene__status[data-ranked=true] {
  top: 65%;
  max-height: 18%;
  font-size: 14px;
}
.fc-result-scene .fc-result-scene__status p {
  margin: 0 0 6px;
}
.fc-result-scene .fc-result-scene__messages {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  display: grid;
  gap: 10px;
  text-align: center;
  overflow-wrap: anywhere;
}
.fc-result-scene .fc-result-scene__messages[data-ranked=true] {
  top: 65%;
  isolation: isolate;
  gap: 8px;
  color: #183452;
}
.fc-result-scene .fc-result-scene__messages[data-ranked=true]::before {
  content: "";
  position: absolute;
  top: -12px;
  bottom: -12px;
  width: 100cqw;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      transparent,
      #fff8edee 12px,
      #fff8edee calc(100% - 12px),
      transparent);
}
.fc-result-scene .fc-result-scene__messages[data-ranked=true] .fc-result-scene__quote {
  color: inherit;
  font-weight: 400;
}
.fc-result-scene .fc-result-scene__messages[data-ranked=true] .fc-result-scene__status {
  color: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
.fc-result-scene .fc-result-scene__quote {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: #254c72;
}
.fc-result-scene .fc-result-scene__messages .fc-result-scene__status {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  max-height: none;
  overflow: visible;
}
.fc-result-scene .fc-result-scene__actions {
  position: absolute;
  bottom: 43px;
  left: 4.3%;
  right: 4.3%;
  height: clamp(44px, 8.97%, 56px);
  display: flex;
  gap: 9px;
}
.fc-result-scene .fc-result-scene__actions > button,
.fc-result-scene .fc-result-scene__view {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  font:
    600 clamp(16px, 4.8cqw, 20px)/1.2 "Segoe UI",
    Arial,
    sans-serif;
  cursor: pointer;
  text-shadow: none;
}
.fc-result-scene .fc-result-scene__actions > button {
  flex: 1;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 3px 7px #172d4933;
}
.fc-result-scene .fc-result-scene__replay {
  background: linear-gradient(#1687ff, #0647d8);
}
.fc-result-scene .fc-result-scene__leave {
  background: linear-gradient(#b65345, #923c33);
}
.fc-result-scene .fc-result-scene__actions svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.fc-result-scene .fc-result-scene__view {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 8px;
  background: transparent;
  color: #073e75;
  font-size: 14px;
  height: 36px;
  min-height: 36px;
}
.fc-result-scene .fc-result-scene__view svg {
  width: 24px;
  height: 24px;
}
.fc-result-scene .fc-result-scene__actions > button:focus-visible,
.fc-result-scene .fc-result-scene__view:focus-visible {
  outline: 3px solid #082958;
  outline-offset: -3px;
}
.fc-result-scene .fc-result-scene__actions > button:disabled,
.fc-result-scene .fc-result-scene__view:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.fc-result-scene .fc-result-scene__actions > button:hover:enabled {
  filter: brightness(1.06);
}
.fc-result-preview .fc-result-scene__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.fc-result-preview.fc-result-scene__title {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 800 / 450;
  container-type: inline-size;
}
.fc-result-scene__title .fc-result-scene__title-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fc-result-scene__title .fc-result-scene__title-fallback {
  max-width: 92%;
  font-size: clamp(28px, 12cqw, 58px);
  line-height: 1.25;
  font-weight: 700;
  color: #fff0c0;
  text-shadow: 0 2px 5px #102338;
  overflow-wrap: anywhere;
}
@media (max-width: 359px) {
  .fc-result-scene .fc-result-scene__duel {
    padding-inline: 14px;
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
  }
  .fc-result-scene .fc-result-scene__name {
    font-size: 14px;
  }
  .fc-result-scene .fc-result-scene__rating-row {
    gap: 8px;
  }
}
@media (min-height: 700px) {
  .fc-result-scene .fc-result-scene__main {
    width: min(100%, 420px, calc((100dvh - var(--result-duel-height) - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * .644827586 + 16px));
  }
}
@media (min-height: 700px) and (max-height: 800px) {
  .fc-result-scene {
    --result-duel-height: 174px;
  }
  .fc-result-scene[data-mode=ranked] {
    --result-duel-height: 192px;
  }
  .fc-result-scene.family-result-only {
    --result-duel-height: 0px;
  }
  .fc-result-scene .fc-result-scene__versus {
    margin-top: 7px;
  }
  .fc-result-scene .fc-result-scene__avatar {
    width: 104px;
    height: 104px;
  }
  .fc-result-scene .fc-result-scene__avatar-art {
    transform: scale(.86);
  }
  .fc-result-scene .fc-result-scene__crown {
    top: -18px;
    width: 40px;
    height: 30px;
    left: calc(50% - 20px);
  }
  .fc-result-scene .fc-result-scene__player[data-outcome=win] .fc-result-scene__avatar::before {
    transform: scale(.86);
  }
  .fc-result-scene .fc-result-scene__name {
    font-size: 15px;
  }
}
@media (forced-colors: active) {
  .fc-result-scene .fc-result-scene__actions > button,
  .fc-result-scene .fc-result-scene__view {
    border: 1px solid ButtonText;
  }
  .fc-result-scene .fc-result-scene__art {
    visibility: hidden;
  }
}

/* ../prototypes/core-local/src/match/result-scene/rank-transition.css */
.fc-result-scene .fc-result-rank-transition {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: inherit;
}
.fc-result-scene .fc-result-rank-heading {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.fc-result-scene .fc-result-rank-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.fc-result-scene .fc-result-rank-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  max-width: calc((100% - 30px)/2);
}
.fc-result-scene .fc-result-rank-badge {
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
}
.fc-result-scene .fc-result-rank-badge > img,
.fc-result-scene .fc-result-rank-badge > svg {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.fc-result-scene .fc-result-rank-name {
  min-width: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
.fc-result-scene .fc-result-rank-arrow {
  flex: none;
  font-size: 18px;
  line-height: 24px;
}

/* ../prototypes/core-local/src/match/result-panel.css */
.match-result-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  container-type: inline-size;
}
.match-result-shade {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / .18);
  pointer-events: none;
}
.match-result-panel {
  box-sizing: border-box;
  --action-edge:#bf9d55;
  --action-text:#17493d;
  --action-replay:linear-gradient(
      135deg,#118b7c,#07534e);
  --action-leave:linear-gradient(
      135deg,#c84133,#881c20);
  position: relative;
  width: 91%;
  max-width: 490px;
  padding: 20px 18px 16px;
  border: 1px solid var(--action-edge);
  border-radius: 28px 10px;
  background:
    linear-gradient(
      140deg,
      #ebf9eaf7,
      #c7e1d5f7);
  color: var(--action-text);
  text-align: center;
  box-shadow: 0 5px 20px #1b241c35, inset 0 0 0 3px #ffffff60;
  pointer-events: auto;
  isolation: isolate;
}
.result-panel-ornament {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: var(--action-edge);
  stroke-width: 1.2;
  opacity: .8;
  pointer-events: none;
  z-index: -1;
}
.match-result-summary {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 8px 14px;
  gap: 5px;
}
.match-result-summary h2 {
  margin: 0;
  font:
    700 clamp(22px, 6.5cqw, 32px)/1.2 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: .025em;
  color: inherit;
  overflow-wrap: anywhere;
}
.match-result-summary p {
  margin: 0;
  font: 500 clamp(12px, 3.1cqw, 15px)/1.4 system-ui, sans-serif;
  color: inherit;
  opacity: .85;
  max-width: 36ch;
}
.match-result-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.catalog-page .match-result-actions > button,
.match-result-actions > button {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 56px;
  padding: 10px 8px;
  border: 1.5px solid var(--action-edge);
  border-radius: 23px;
  background: var(--action-leave);
  color: #fff8e7;
  font:
    italic 700 clamp(17px, 4.8cqw, 27px)/1.25 "Segoe Script",
    Georgia,
    "Times New Roman",
    serif;
  box-shadow:
    inset 0 0 0 2px #fff6c647,
    inset 0 4px 5px #ffffff45,
    0 3px 4px #1119;
  text-shadow: 0 1px 2px #0008;
  white-space: nowrap;
}
.catalog-page .match-result-actions > .match-result-replay,
.match-result-actions > .match-result-replay {
  background: var(--action-replay);
}
.result-action-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}
.catalog-page .match-result-panel > .match-result-board,
.match-result-panel > .match-result-board {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 13px;
  padding: 8px 23px;
  border: 1.5px solid var(--action-edge);
  border-radius: 18px;
  background: linear-gradient(#fff4ce, #e8c575);
  color: #312411;
  font:
    italic 700 clamp(15px, 4cqw, 22px)/1.2 "Segoe Script",
    Georgia,
    "Times New Roman",
    serif;
  box-shadow: inset 0 0 0 2px #fff5d778, 0 2px 3px #19160a4d;
  text-shadow: none;
}
.match-result-panel button:focus-visible {
  outline: 3px solid #36aafa;
  outline-offset: 3px;
}
.match-result-panel button:hover:not(:disabled) {
  filter: brightness(1.09);
}
.match-result-panel button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.match-result-panel[data-action-style=jade] {
  background:
    radial-gradient(
      ellipse at 14% 0,
      #fff9 0 8%,
      transparent 48%),
    repeating-linear-gradient(
      130deg,
      #d4e9d800 0 23px,
      #eef8e737 25px 26px,
      #739e8815 29px 31px),
    linear-gradient(
      140deg,
      #e7f5eafa,
      #b9d7c8fa);
  border-color: #739778;
}
.match-result-panel[data-action-style=parchment] {
  --action-text:#51391e;
  --action-edge:#ad772c;
  --action-replay:linear-gradient(
      145deg,#1c6680,#0b3b58);
  --action-leave:linear-gradient(
      145deg,#a93020,#660f15);
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      3deg,
      transparent 0 4px,
      #9f712109 5px 6px),
    radial-gradient(
      ellipse at 50% 48%,
      #fff6db,
      #e5c79b);
  box-shadow:
    inset 9px 0 8px -6px #825221,
    inset -9px 0 8px -6px #825221,
    0 6px 12px #22140850;
}
.match-result-panel[data-action-style=parchment]::before,
.match-result-panel[data-action-style=parchment]::after {
  content: "";
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 8px;
  border: 1px solid #67431e;
  border-radius: 4px;
  background:
    linear-gradient(
      90deg,
      #624322,
      #e3b665,
      #845021);
  pointer-events: none;
}
.match-result-panel[data-action-style=parchment]::before {
  left: -5px;
}
.match-result-panel[data-action-style=parchment]::after {
  right: -5px;
}
.catalog-page .match-result-panel[data-action-style=parchment] .match-result-actions > button,
.match-result-panel[data-action-style=parchment] .match-result-actions > button {
  border-radius: 8px 17px;
  box-shadow: inset 0 0 0 2px #f2c56866, 0 3px 3px #5c330966;
}
.match-result-panel[data-action-style=lacquer] {
  --action-text:#f5d99b;
  --action-edge:#c18f3d;
  --action-replay:linear-gradient(
      135deg,#167ead,#02345d 60%,#021d3b);
  --action-leave:linear-gradient(
      135deg,#e32920,#8f090e 65%,#490d10);
  background:
    radial-gradient(
      ellipse at 50% 0,
      #60391960,
      transparent 70%),
    linear-gradient(
      145deg,
      #171a18,
      #070d10);
  border-radius: 42px 8px;
  box-shadow:
    inset 0 0 0 3px #111,
    inset 0 0 0 4px #b18c454d,
    0 8px 20px #0006;
}
.catalog-page .match-result-panel[data-action-style=lacquer] .match-result-actions > button,
.match-result-panel[data-action-style=lacquer] .match-result-actions > button {
  border-radius: 17px 7px;
  box-shadow:
    inset 0 0 0 2px #ffcb6977,
    inset 0 6px 4px #ffffff24,
    0 0 10px #f4953925;
}
.match-result-panel[data-action-style=wood] {
  --action-text:#fff1c9;
  --action-edge:#d2aa64;
  --action-replay:linear-gradient(
      170deg,#43878b,#24585e 45%,#173f46);
  --action-leave:linear-gradient(
      170deg,#c65d3e,#8d3526 45%,#54251f);
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      2deg,
      #30160c00 0 4px,
      #e1b07212 5px,
      #30160c33 7px 8px,
      #643a1c00 12px 16px),
    linear-gradient(
      105deg,
      #724826,
      #472c19 52%,
      #805132);
  border: 3px double #b38c53;
  box-shadow:
    inset 0 0 0 5px #342013,
    inset 0 0 0 6px #c897526b,
    0 5px 12px #23130970;
}
.catalog-page .match-result-panel[data-action-style=wood] .match-result-actions > button,
.match-result-panel[data-action-style=wood] .match-result-actions > button {
  border-radius: 6px;
  box-shadow:
    inset 0 2px 1px #eec99755,
    inset 0 -4px 3px #1118,
    0 0 0 2px #3f2418,
    0 0 0 3px #b88b4d;
  letter-spacing: .01em;
}
.match-result-panel[data-action-style=ink] {
  --action-text:#242d2e;
  --action-edge:#8f774c;
  --action-replay:radial-gradient(
      ellipse at 30% 20%,#236680,#0a3349 75%);
  --action-leave:radial-gradient(
      ellipse at 30% 20%,#b03223,#761314 75%);
  border: 0;
  border-radius: 5px 25px 9px 17px;
  background:
    radial-gradient(
      ellipse at 2% 95%,
      #29394429,
      transparent 35%),
    radial-gradient(
      ellipse at 100% 0,
      #69736e30,
      transparent 30%),
    #f6f1e6;
  box-shadow: 0 5px 15px #21282c38;
}
.catalog-page .match-result-panel[data-action-style=ink] .match-result-actions > button,
.match-result-panel[data-action-style=ink] .match-result-actions > button {
  border: 0;
  border-radius: 42% 34% 37% 31% / 34% 45% 30% 42%;
  box-shadow: 0 0 0 1px #344c5050, inset 0 0 0 2px #fff1c022;
  text-shadow: 0 1px 1px #000;
}
.match-result-panel[data-action-style=ink] .result-panel-ornament {
  stroke: #334843;
  stroke-width: 2;
  opacity: .6;
}
.match-result-panel[data-action-style=modern] {
  --action-text:#2e4d59;
  --action-edge:#d8b35b;
  --action-replay:linear-gradient(
      135deg,#21ced0,#087cc0 60%,#155299);
  --action-leave:linear-gradient(
      135deg,#ff7470,#e3323b 55%,#b92531);
  border: 1px solid #fff8;
  border-radius: 24px;
  background:
    linear-gradient(
      140deg,
      #fffdf5f5,
      #e9efedf5);
  box-shadow: 0 5px 20px #263c3830, inset 0 1px 0 #fff;
}
.catalog-page .match-result-panel[data-action-style=modern] .match-result-actions > button,
.match-result-panel[data-action-style=modern] .match-result-actions > button {
  border: 1px solid #fff9;
  border-radius: 25px;
  box-shadow: inset 0 1px 1px #fffd, 0 3px 5px #223b4b44;
}
@container (max-width:350px) {
  .match-result-panel {
    padding: 17px 11px 13px;
    width: 94%;
  }
  .match-result-summary {
    margin-bottom: 11px;
  }
  .match-result-actions {
    gap: 8px;
  }
  .catalog-page .match-result-actions > button,
  .match-result-actions > button {
    gap: 5px;
    padding-inline: 5px;
    min-height: 50px;
  }
  .catalog-page .match-result-panel > .match-result-board,
  .match-result-panel > .match-result-board {
    margin-top: 11px;
  }
}
.match-result-layer[data-bitmap=true] > .match-result-shade {
  background: rgb(8 12 16 / .58);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.catalog-page .match-result-panel[data-bitmap=true][data-action-style] {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 24px 23px 21px;
}
.match-result-panel[data-bitmap=true]::before,
.match-result-panel[data-bitmap=true]::after {
  display: none;
}
.result-panel-bitmap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: drop-shadow(0 5px 8px #0006);
}
.catalog-page .match-result-panel[data-bitmap=true] .match-result-actions > button,
.catalog-page .match-result-panel[data-bitmap=true] > .match-result-board {
  position: relative;
  isolation: isolate;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.result-button-bitmap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: drop-shadow(0 2px 3px #0006);
}
.catalog-page .match-result-panel[data-bitmap=true] .match-result-actions > button,
.catalog-page .match-result-panel[data-bitmap=true] > .match-result-board {
  font-family:
    "Family Charm",
    Georgia,
    "Times New Roman",
    serif;
  font-weight: 700;
  font-style: normal;
}
.match-result-panel[data-bitmap=true] .match-result-summary {
  margin-bottom: 11px;
  gap: 4px;
}
.match-result-panel[data-bitmap=true] .match-result-summary h2 {
  font-size: clamp(20px, 5.5cqw, 28px);
}
.result-action-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
}
.match-result-panel[data-bitmap=true] .match-result-actions {
  align-items: center;
}
.match-result-panel[data-bitmap=true] .result-action-label {
  position: absolute;
  left: var(--action-text-x,50%);
  top: var(--action-text-y,50%);
  translate: -50% -50%;
  white-space: nowrap;
  gap: 6px;
}
.catalog-page .match-result-panel[data-bitmap=true] .match-result-actions > button {
  padding: 0;
  min-height: 44px;
}
.catalog-page .match-result-panel[data-bitmap=true] > .match-result-board {
  padding: 0;
  width: calc((100% - 10px) / 4);
  min-height: 44px;
  font-size: clamp(11px, 2.8cqw, 15px);
}
.family-app > .match-backdrop > .match-sheet .match-result-panel[data-bitmap=true] .match-result-actions > button,
.family-app > .match-backdrop > .match-sheet .match-result-panel[data-bitmap=true] > .match-result-board {
  background: transparent;
  border: 0;
  box-shadow: none;
  font-family:
    "Family Charm",
    Georgia,
    serif;
  font-style: normal;
  font-weight: 700;
  color: #fff8e7;
}
.family-app > .match-backdrop > .match-sheet .match-result-panel[data-bitmap=true] > .match-result-board {
  color: #312411;
}
.family-app > .match-backdrop > .match-sheet .match-result-panel[data-bitmap=true] .match-result-summary {
  color: var(--action-text);
}
.family-app > .match-backdrop > .match-sheet .match-result-panel[data-bitmap=true] .match-result-summary h2 {
  color: inherit;
  font:
    normal 700 clamp(20px, 5.5cqw, 28px)/1.2 "Family Charm",
    Georgia,
    serif;
  letter-spacing: normal;
}
.family-app > .match-backdrop > .match-sheet .match-result-panel[data-bitmap=true] .match-result-summary p {
  color: inherit;
  font: 500 clamp(12px, 3.1cqw, 15px)/1.4 system-ui, sans-serif;
  opacity: .85;
}
.match-result-layer[data-unified=true] > .match-result-panel {
  z-index: 1;
}
.match-result-layer[data-unified=true] .match-result-summary {
  width: 100%;
  margin: 0 0 8px;
}
.match-result-status {
  position: relative;
  margin: 0 0 10px;
  font: 500 clamp(12px, 3cqw, 14px)/1.4 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.match-result-status:empty {
  display: none;
}
.catalog-page .match-result-layer > .result-cinematic-skip {
  position: absolute;
  left: 50%;
  bottom: 8%;
  translate: -50% 0;
  z-index: 2;
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid #edd399;
  border-radius: 18px;
  background: #fff4d9f5;
  color: #263b46;
  font: 600 14px/1.3 system-ui, sans-serif;
  box-shadow: 0 2px 8px #0004;
  cursor: pointer;
  pointer-events: auto;
}
.match-result-layer[data-unified=true] .match-result-panel button:disabled {
  cursor: default;
  opacity: .65;
}
.match-result-layer[data-unified=true][data-animating=true] > .match-result-shade {
  background: rgb(8 12 16 / .15);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.match-result-layer[data-unified=true][data-animating=true] > .match-result-panel {
  visibility: hidden;
  pointer-events: none;
}
@container (max-width:350px) {
  .catalog-page .match-result-panel[data-bitmap=true][data-action-style] {
    padding: 22px 16px 18px;
  }
  .catalog-page .match-result-panel[data-bitmap=true] .match-result-actions > button {
    font-size: clamp(16px, 4.8cqw, 27px);
  }
}
.match-result-panel[data-bitmap=true] > .match-result-board .result-action-label {
  gap: 3px;
}
.match-result-panel[data-bitmap=true] > .match-result-board > .result-button-bitmap {
  height: 70%;
  top: 15%;
}
.match-result-layer[data-static-badge=true] > .match-result-shade {
  background: rgb(0 0 0 / .82);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.catalog-page .match-result-layer[data-static-badge=true] > .match-result-panel,
.match-result-layer[data-static-badge=true] > .match-result-panel {
  width: 91%;
  max-width: 440px;
  padding: 0 8px 6px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
}
.match-result-layer[data-static-badge=true] > .match-result-panel::before,
.match-result-layer[data-static-badge=true] > .match-result-panel::after {
  display: none;
}
.match-result-layer[data-static-badge=true] .match-result-summary {
  margin: 0 0 10px;
  gap: 5px;
  width: 100%;
  color: #fff8e7;
}
.static-result-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: min(68cqw, 340px);
  flex-shrink: 0;
  pointer-events: none;
  overflow: hidden;
}
.static-result-badge img {
  position: absolute;
  top: var(--badge-image-top,0);
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  animation: none;
  transition: none;
}
.static-result-title.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.static-result-badge[data-kind=aborted] {
  aspect-ratio: auto;
  padding: 16px 0;
}
.match-result-layer[data-static-badge=true] .match-result-panel .match-result-summary .match-result-reason {
  color: #fff9e9;
  font: 400 clamp(16px, 4cqw, 20px)/1.55 var(--ui-font-family,"Family Inter","Segoe UI",sans-serif);
  opacity: 1;
  max-width: 30ch;
  padding-top: 9px;
  border-top: 1px solid #e8cf9559;
  text-shadow: none;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.match-result-layer[data-static-badge=true] .match-result-status {
  color: #fff9e9;
  text-shadow: 0 1px 3px #000;
  margin: 0 0 6px;
}
.match-result-layer[data-static-badge=true] .match-result-actions {
  gap: 8px;
  width: 100%;
  max-width: 332px;
  margin: auto;
}
.catalog-page .match-result-layer[data-static-badge=true] .match-result-actions > button,
.match-result-layer[data-static-badge=true] .match-result-actions > button {
  min-height: 44px;
  padding: 7px 8px;
  font-size: clamp(16px, 4.5cqw, 22px);
  pointer-events: auto;
}
.catalog-page .match-result-layer[data-static-badge=true] .match-result-panel > .match-result-board,
.match-result-layer[data-static-badge=true] .match-result-panel > .match-result-board {
  width: clamp(110px, 32cqw, 140px);
  min-width: 110px;
  min-height: 44px;
  margin-top: 5px;
  padding: 6px 12px;
  font-size: clamp(13px, 3.5cqw, 16px);
  pointer-events: auto;
}
.match-result-layer[data-static-badge=true] .match-result-board > .result-button-bitmap {
  height: 66%;
  top: 17%;
}
.match-result-layer[data-static-badge=true] .match-result-panel button {
  touch-action: manipulation;
}
.match-result-layer[data-static-badge=true][data-animating=true] > .match-result-shade {
  background: transparent;
}
.match-result-layer > .result-cinematic-skip {
  position: absolute;
  z-index: 4;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid #edd399;
  border-radius: 18px;
  background: #fff4d9f5;
  color: #263b46;
  font: 600 14px/1.3 system-ui, sans-serif;
  box-shadow: 0 2px 8px #0004;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}
@container (max-width:350px) {
  .match-result-layer[data-static-badge=true] .match-result-summary {
    margin-bottom: 8px;
    gap: 4px;
  }
  .match-result-layer[data-static-badge=true] .match-result-status {
    font-size: 12px;
  }
}
.catalog-page.family-app .match-result-layer[data-static-badge=true] .match-result-panel .match-result-summary .match-result-reason {
  color: #fff9e9;
  font: 400 clamp(16px, 4cqw, 20px)/1.55 var(--ui-font-family,"Family Inter","Segoe UI",sans-serif);
  opacity: 1;
}
.match-result-layer[data-static-badge=true] .match-result-summary .static-result-title:not(.visually-hidden) {
  color: #fff9e9;
  font:
    700 clamp(22px, 6cqw, 32px)/1.3 "Segoe UI",
    system-ui,
    sans-serif;
  text-shadow: 0 1px 3px #000, 0 0 7px #0009;
}

/* ../prototypes/core-local/src/match/result-scene/result-flow.css */
.family-result-root {
  position: fixed !important;
  inset: 0 !important;
  z-index: 60 !important;
  min-height: 0 !important;
  background: transparent !important;
  pointer-events: none;
}
.family-result-root .fc-result-scene {
  position: absolute;
  pointer-events: auto;
}
.family-result-background {
  background: #dce9f2 var(--gp-sky) center top/cover no-repeat !important;
  pointer-events: none !important;
}
.family-result-background .family-player-band,
.family-result-background .match-top-tools,
.family-result-background .match-notification-area,
.family-result-background .ai-match-sidebar {
  visibility: hidden !important;
}
.family-result-background .match-board-stage {
  position: fixed !important;
  top: -12px !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: min(calc(100vw + 24px), 704px) !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  filter: blur(12px) brightness(1.12) saturate(.12);
  opacity: .32;
  mask-image:
    linear-gradient(
      transparent,
      #000 60px,
      #000 170px,
      transparent 290px);
}
.family-result-root .fc-ai-avatar {
  background-size: 500% 200%;
  display: block;
  border-radius: 50%;
}
.family-result-title {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 66%;
  width: min(82%, 420px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: family-result-title-fade 3000ms linear var(--family-title-elapsed,0ms) both;
}
.family-result-title .fc-result-scene__title {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 3px 5px #170b0080) drop-shadow(0 0 20px #ffbd4150);
  animation: family-result-title-stamp 550ms cubic-bezier(.18, .8, .25, 1) var(--family-title-elapsed,0ms) both;
}
@keyframes family-result-title-stamp {
  0% {
    transform: scale(1.45);
  }
  65% {
    transform: scale(.96);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes family-result-title-fade {
  0% {
    opacity: 0;
  }
  8.333% {
    opacity: 1;
  }
  86.667% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
body:has(> .family-result-root) > .sheet-backdrop.match-backdrop {
  z-index: 90 !important;
}
.family-result-root > .sheet-backdrop.match-backdrop {
  z-index: 90 !important;
  pointer-events: auto;
}
.family-result-only .fc-result-scene__main {
  padding-top: max(12px, env(safe-area-inset-top));
}
@media (prefers-reduced-motion: reduce) {
  .family-result-title,
  .family-result-title .fc-result-scene__title {
    animation: none !important;
  }
}
@media (forced-colors: active) {
  .family-result-background .match-board-stage {
    visibility: hidden;
  }
}

/* ../prototypes/core-local/src/account/account.css */
.account-panel {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  background: #fffdfa;
  color: #203453;
  padding: 14px;
  border: 1px solid #e1e8ef;
  border-radius: 18px;
}
.account-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.account-panel h2 {
  margin: 0;
  font-size: 22px;
}
.account-panel h3 {
  font-size: 16px;
  margin: 12px 0 9px;
}
.account-panel > header p {
  font-size: 12px;
  margin: 4px 0 14px;
  color: #657b8d;
}
.account-panel > header button {
  font-size: 23px;
  min-width: 38px;
  min-height: 38px;
}
.account-panel button {
  min-height: 38px;
}
.account-panel label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.account-panel input,
.account-panel select {
  font: inherit;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #d7e5f2;
  border-radius: 8px;
  padding: 8px;
  color: inherit;
  background: #fff;
}
.account-month {
  margin: 12px 0;
}
.account-month button {
  font-size: 11px;
}
.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.account-counts {
  background: #f3f8fc;
  border: 1px solid #dfebf5;
  border-radius: 12px;
  padding: 10px;
}
.account-counts h3 {
  margin: 0 0 12px;
  font-size: 14px;
}
.account-counts dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 7px;
  margin: 0;
}
.account-counts dt {
  font-size: 11px;
  color: #61758e;
}
.account-counts dd {
  font-weight: 750;
  font-size: 22px;
  margin: 2px 0 0;
  font-variant-numeric: tabular-nums;
}
.account-counts p {
  font-size: 12px;
  margin: 12px 0 0;
}
.account-counts small {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.45;
}
.account-note {
  font-size: 12px;
  line-height: 1.5;
  color: #657b8d;
  margin: 10px 0;
}
.account-error {
  background: #fff3ed;
  color: #94523d;
  border: 1px solid #efd6c9;
  border-radius: 10px;
  padding: 12px;
  margin: 10px 0;
}
.account-error p {
  margin: 0 0 8px;
  font-size: 13px;
}
.account-empty {
  background: #f4f8fc;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  color: #657b8d;
}
.account-history {
  border-top: 1px solid #e3ebf2;
  margin-top: 18px;
  padding-top: 5px;
}
.account-history > label {
  margin-bottom: 12px;
}
.account-history select {
  flex: 1;
}
.account-replay-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.account-replay-list li {
  margin: 0 0 8px;
}
.account-replay-list button {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-align: left;
  background: #f5f9fd;
  border: 1px solid #dfebf5;
  overflow-wrap: anywhere;
}
.account-replay-list strong {
  font-size: 13px;
}
.account-replay-list span,
.account-replay-list small {
  font-size: 11px;
  color: #657b8d;
}
.account-page-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.account-page-controls button {
  font-size: 12px;
  flex: 1;
}
.account-replay-position {
  background: #f1f7fb;
  border: 1px solid #e0ebf4;
  padding: 9px;
  border-radius: 9px;
  font-size: 12px;
  margin: 9px 0;
}
.account-replay .board-shell {
  padding: 5px;
  background:
    linear-gradient(
      145deg,
      #e6d4b5,
      #bc9971);
  border: 1px solid #b79a75;
  border-radius: 7px;
  box-shadow:
    inset 0 1px 0 #fff5df,
    inset 0 -2px 0 #9c7951,
    0 3px 7px #69472b26;
  margin: 8px 0;
}
.account-replay .board {
  width: 100%;
  height: auto;
  display: block;
}
.account-replay-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.account-replay-controls button {
  font-size: 20px;
  min-width: 40px;
  padding: 7px;
}
.account-replay-controls span {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  white-space: nowrap;
}
.account-flip {
  display: block;
  margin: 9px auto;
  font-size: 12px;
}
.account-replay-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.account-replay-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.account-replay-table-actions button,
.account-replay-header > button {
  min-height: 44px;
}
.account-replay-table-actions .account-replay-return {
  background: #19645c;
  color: #fff;
  border-color: #19645c;
}
.account-replay-table-actions button:focus-visible {
  outline: 3px solid #36aafa;
  outline-offset: 2px;
}
@media (max-width: 620px) {
  .account-replay-table-actions {
    width: 100%;
  }
  .account-replay-table-actions button {
    flex: 1;
    min-width: 0;
  }
  .account-replay-header > button {
    width: 100%;
    text-align: left;
  }
}
@media (max-width: 420px) {
  .account-panel {
    padding: 10px;
    border-radius: 12px;
  }
  .account-stat-grid {
    gap: 7px;
  }
  .account-counts {
    padding: 8px;
  }
  .account-counts h3 {
    font-size: 13px;
  }
  .account-counts dt {
    font-size: 10px;
  }
  .account-counts dd {
    font-size: 20px;
  }
  .account-month input {
    flex: 1;
  }
  .account-replay-controls button {
    min-width: 36px;
    padding: 5px;
  }
  .account-replay-list strong {
    font-size: 12px;
  }
}

/* ../prototypes/core-local/src/account/replay-navigation.css */
.family-app .ui-preview-replay .ui-replay-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  min-width: 0;
}
.family-app .ui-preview-replay .ui-replay-picker > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
}
.family-app .ui-preview-replay .ui-replay-picker > select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
}
.family-app .ui-preview-replay .account-page-controls button {
  min-width: 44px;
  min-height: 44px;
}
.family-app .match-sheet .ui-preview-replay[data-preview-section=replays] > header {
  display: none;
}

/* ../prototypes/core-local/src/family/family-help.css */
.fc-help {
  display: inline-flex;
  position: relative;
  flex: none;
  vertical-align: middle;
}
.family-app .fc-help-trigger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--fc-secondary);
  border-radius: 12px;
  box-shadow: none;
}
.family-app .fc-help-trigger:hover {
  background: var(--fc-blue-soft);
}
.fc-help-bubble {
  position: absolute;
  z-index: 60;
  top: calc(100% + 4px);
  right: 0;
  max-width: min(270px, calc(100vw - 36px));
  width: max-content;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--fc-ink);
  color: white;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  box-shadow: 0 6px 24px #111a5624;
  white-space: normal;
  text-align: left;
}
.fc-help-bubble:before {
  content: "";
  position: absolute;
  top: -5px;
  right: 16px;
  width: 10px;
  height: 10px;
  background: inherit;
  transform: rotate(45deg);
}

/* ../prototypes/core-local/src/family/family-approved-base.css */
.family-app.family-approved[data-ui-module=lobby] .family-shell-content {
  padding: 8px 8px 16px !important;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby {
  min-width: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-hero {
  padding: 0 2px 7px;
  background: transparent;
  border-radius: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-greeting strong {
  font-size: var(--fc-ui-title-size,22px);
  line-height: var(--fc-ui-title-line,27px);
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-greeting > span {
  font-size: 13px;
  line-height: 18px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-sections {
  padding: 0;
  gap: 8px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .family-lobby-banner {
  border-radius: 18px;
  object-fit: contain;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section {
  padding: 10px 11px !important;
  border-radius: var(--fc-ui-panel-radius,18px);
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  min-height: 32px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section-title {
  font-size: var(--fc-ui-title-size,18px);
  line-height: var(--fc-ui-title-line,24px);
  gap: 5px;
  white-space: nowrap;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section-head > .fc-link {
  margin-left: auto;
  padding: 4px 0 4px 4px;
  min-height: 36px;
  font-size: 13px;
  gap: 3px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-online {
  font-size: 12px;
  color: #2b9854;
  white-space: nowrap;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-online::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42a464;
  margin-right: 4px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-strip {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 4px 0 2px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 0 0 calc((100% - 28px)/5);
  min-width: 0;
  scroll-snap-align: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fc-ink);
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-person > strong {
  width: 100%;
  font-size: 11px;
  line-height: 15px;
  min-height: 30px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-align: center;
  overflow-wrap: anywhere;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-avatar {
  position: relative;
  display: block;
  flex: none;
  width: 44px;
  height: 44px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-avatar > .fc-profile-avatar {
  --fc-profile-avatar-size:44;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile .ui-lobby-avatar {
  width: 54px;
  height: 54px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile .fc-profile-avatar {
  --fc-profile-avatar-size:54;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-avatar > i {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #a7b4c9;
  box-sizing: content-box;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-avatar[data-online=true] > i {
  background: #3ba55a;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-avatar[data-online=true][data-playing=true] > i {
  background: #2784e8;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-action-reason {
  font-size: 12px;
  line-height: 17px;
  color: #68748b;
  margin: 5px 0 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-empty {
  margin: 4px 0;
  color: #6b7892;
  font-size: 13px;
  line-height: 18px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-table {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border-top: 1px solid #e4edf6;
  min-width: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-table:first-of-type {
  border-top: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-art {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background:
    linear-gradient(
      135deg,
      #fff1cf,
      #f5e1b4);
  border: 1px solid #efd9a3;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  column-gap: 0;
  min-width: 0;
  flex: 1;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > strong {
  font-size: 13px;
  line-height: 18px;
  grid-column: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > small {
  grid-column: 1/-1;
  font-size: 12px;
  line-height: 17px;
  color: #a86d15;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > small[data-playing=true] {
  color: #2679d2;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-table > .fc-action {
  flex: none;
  min-width: 73px;
  min-height: 44px;
  font-size: 13px;
  padding: 7px 10px;
  border-radius: var(--fc-ui-control-radius,12px);
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 4px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut {
  flex: 0 0 var(--fc-home-shortcut-width,128px);
  min-width: 0;
  min-height: 82px;
  scroll-snap-align: start;
  padding: 8px 4px;
  gap: 6px;
  border-radius: var(--fc-ui-control-radius,14px);
  background: #edf5ff;
  border: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut[data-tone=green] {
  background: #eaf8ed;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut strong {
  font-size: 12px;
  line-height: 17px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut > .fc-icon {
  width: 30px;
  height: 30px;
}
.family-app.family-approved[data-ui-module=lobby] .match-sheet:has(.ui-lobby-sheet) {
  width: min(540px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 14px;
  border-radius: var(--fc-ui-modal-radius,22px);
  background:
    linear-gradient(
      135deg,
      #fffefd,
      #f4f9ff);
  overflow: auto;
}
.family-app.family-approved[data-ui-module=lobby] .match-sheet:has(.ui-lobby-sheet) > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.family-app.family-approved[data-ui-module=lobby] .match-sheet:has(.ui-lobby-sheet) > header > h2 {
  font-size: var(--fc-ui-title-size,23px);
  line-height: var(--fc-ui-title-line,30px);
  min-width: 0;
  margin: 0;
}
.family-app.family-approved[data-ui-module=lobby] .match-sheet:has(.ui-lobby-sheet) > header > button {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  font-size: 30px;
  background: transparent;
  border: 0;
  color: #617599;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 13px;
  color: #71809d;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-summary > strong {
  color: #289c59;
  font-weight: 500;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-summary > span {
  border-left: 1px solid #d7e5f5;
  padding-left: 12px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-sheet .fc-directory-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #eaf4ff;
  border-radius: var(--fc-ui-control-radius,14px);
  margin: 0 0 10px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-sheet .fc-directory-search input {
  min-width: 0;
  width: 100%;
  min-height: 36px;
  border: 0;
  background: transparent;
  outline-offset: 1px;
  font-size: 14px;
  color: #42588b;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-list {
  display: grid;
  gap: 7px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid #e0eaf6;
  border-radius: var(--fc-ui-panel-radius,16px);
  background: #ffffffd9;
  min-width: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-person {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--fc-ink);
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-person > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-person strong {
  font-size: 14px;
  line-height: 19px;
  overflow-wrap: anywhere;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-person small {
  font-size: 12px;
  line-height: 17px;
  color: #8b96ad;
  overflow-wrap: anywhere;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-person small[data-online=true] {
  color: #22975b;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-person small[data-online=true][data-playing=true] {
  color: #247adb;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-cta {
  display: grid;
  gap: 4px;
  flex: none;
  max-width: 110px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-cta > .fc-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  padding: 7px 9px;
  font-size: 12px;
  border-radius: var(--fc-ui-control-radius,12px);
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-cta > small {
  font-size: 11px;
  line-height: 15px;
  color: #68748b;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-identity > .ui-lobby-avatar {
  width: 82px;
  height: 82px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-identity .fc-profile-avatar {
  --fc-profile-avatar-size:82;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-identity > div {
  min-width: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-identity h3 {
  font-size: var(--fc-ui-subtitle-size,24px);
  line-height: var(--fc-ui-subtitle-line,30px);
  margin: 0;
  overflow-wrap: anywhere;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-identity p {
  font-size: 13px;
  line-height: 18px;
  color: #408761;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-identity small {
  font-size: 12px;
  line-height: 17px;
  color: #71809d;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-rank {
  padding: 12px;
  border-radius: 18px;
  background:
    linear-gradient(
      125deg,
      #eef8ff,
      #e7f1ff);
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-rank > header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-rank > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  min-width: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-rank .rank-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 18px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-rank .rank-badge-art {
  width: 72px;
  height: 72px;
  flex: none;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-elo {
  display: grid;
  gap: 2px;
  text-align: center;
  border-left: 1px solid #c8dcf4;
  padding-left: 12px;
  flex: none;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-elo > strong {
  font-size: 25px;
  line-height: 30px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-elo > small {
  font-size: 12px;
  line-height: 17px;
  color: #71809d;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-table {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border-radius: 16px;
  background: #fff9ef;
  border: 1px solid #eee5d8;
  min-width: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-table > div {
  display: grid;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-table strong {
  font-size: 14px;
  line-height: 19px;
  overflow-wrap: anywhere;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile-table small {
  font-size: 12px;
  line-height: 17px;
  color: #ab7b26;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile > .ui-lobby-member-cta {
  max-width: none;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-profile > .ui-lobby-member-cta > .fc-action {
  font-size: 16px;
  gap: 8px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-relations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-relations > .fc-action {
  min-height: 44px;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-relation {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 13px;
  color: #289c59;
}
.family-app.family-approved[data-ui-module=lobby] .ui-lobby :is(button, [tabindex]):focus-visible,
.family-app.family-approved[data-ui-module=lobby] .ui-lobby-sheet :is(button, input):focus-visible {
  outline: 3px solid #2784e8;
  outline-offset: 2px;
}
@media (max-width: 599px) {
  .family-app.family-approved[data-ui-module=lobby] .match-backdrop:has(.ui-lobby-sheet) {
    padding: 0;
    align-items: flex-end;
  }
  .family-app.family-approved[data-ui-module=lobby] .match-sheet:has(.ui-lobby-sheet) {
    width: 100%;
    max-height: 88dvh;
    box-sizing: border-box;
    border-radius: 24px 24px 0 0;
    padding: 10px 12px max(18px, env(safe-area-inset-bottom));
  }
  .family-app.family-approved[data-ui-module=lobby] .match-sheet:has(.ui-lobby-sheet)::before {
    content: "";
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 4px;
    background: #c8dbee;
    margin: 0 auto 6px;
  }
}
@media (min-width: 700px) {
  .family-app.family-approved[data-ui-module=lobby] .family-shell-content {
    padding: 14px 16px 20px !important;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-sections {
    gap: 12px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section {
    padding: 12px !important;
    border-radius: var(--fc-ui-panel-radius,20px);
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-main,
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-side {
    gap: 12px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile {
    flex-basis: 74px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-person > strong {
    font-size: 12px;
    line-height: 17px;
    min-height: 34px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut {
    min-height: 94px;
  }
}
@media (max-width: 599px) {
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-hero {
    padding-bottom: 4px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .family-lobby-banner {
    max-height: 108px;
    object-fit: cover;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section {
    margin: 0;
    padding: 10px !important;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section-head {
    min-height: 32px;
    margin-bottom: 3px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section-head > .fc-link {
    min-height: 32px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-strip {
    padding: 2px 0;
    gap: 7px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile {
    gap: 3px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile .ui-lobby-avatar {
    width: 44px;
    height: 44px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile .fc-profile-avatar {
    --fc-profile-avatar-size:44;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-person > strong {
    display: block;
    min-height: 15px;
    height: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 15px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table {
    padding: 6px 0;
    gap: 6px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-art {
    width: 40px;
    height: 40px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy {
    grid-template-rows: 22px 22px;
    grid-template-columns: minmax(0, 1fr);
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > strong {
    grid-row: 1;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > small {
    grid-column: 1;
    grid-row: 2;
    font-size: 11px;
    line-height: 15px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > small:not([data-playing]) {
    grid-column: 1/-1;
    grid-row: 3;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table > .fc-action {
    min-width: 68px;
    padding: 5px 8px;
    font-size: 12px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts {
    scrollbar-width: none;
    padding-bottom: 0;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut {
    min-height: 72px;
    padding: 8px 4px;
    gap: 4px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut > .fc-icon {
    width: 26px;
    height: 26px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-size: 12px;
    line-height: 17px;
  }
}
@media (max-width: 599px) {
  .family-app.family-approved[data-ui-module=lobby] {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
  .family-app.family-approved[data-ui-module=lobby] .family-shell.phone {
    border-inline: 0 !important;
  }
  .family-app.family-approved[data-ui-module=lobby] .family-shell-content {
    padding: 6px 8px 8px !important;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-hero {
    padding-bottom: 2px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-greeting {
    gap: 0;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-greeting strong {
    line-height: var(--fc-ui-title-line,25px);
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-greeting > span {
    line-height: 17px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .family-lobby-banner {
    max-height: 96px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-sections {
    gap: 5px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members.fc-section {
    padding: 6px 10px !important;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-members .fc-section-head {
    margin-bottom: 1px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-strip {
    padding: 1px 0;
    gap: 5px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile {
    min-width: 44px;
    min-height: 44px;
    gap: 2px;
    flex-basis: calc((100% - 20px)/5);
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile .ui-lobby-avatar {
    width: 34px;
    height: 34px;
  }
  .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile .fc-profile-avatar {
    --fc-profile-avatar-size:34;
  }
}
.family-app.family-approved[data-ui-module=games] .family-shell-content .fc-rooms .fc-room-game.fc-section {
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.family-app.family-approved[data-ui-module=games] .fc-table-list-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: end;
  gap: 8px;
  margin: 10px 0 12px;
}
.family-app.family-approved[data-ui-module=games] .family-shell .fc-table-search,
.family-app.family-approved[data-ui-module=games] .family-shell .fc-table-status-select {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  min-width: 0;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px;
  line-height: 17px;
  color: var(--fc-secondary);
}
.family-app.family-approved[data-ui-module=games] .fc-table-search > span,
.family-app.family-approved[data-ui-module=games] .fc-table-status-select > span {
  font-size: 12px;
  line-height: 17px;
  font-weight: 500;
}
.family-app.family-approved[data-ui-module=games] .family-shell .fc-table-status-select > select {
  width: 112px;
  min-width: 0;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 8px !important;
  border: 1px solid #d7e4f2;
  border-radius: var(--fc-ui-control-radius,12px);
  background: #f7fbff;
  font-size: 13px !important;
  line-height: 20px;
  box-sizing: border-box;
}
.family-app.family-approved[data-ui-module=games] .fc-room-list {
  display: grid;
  gap: 10px;
}
.family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid #e0e9f5;
  border-radius: var(--fc-ui-panel-radius,16px) !important;
  background:
    linear-gradient(
      135deg,
      #fff,
      #f6faff) !important;
  box-shadow: none;
}
.family-app.family-approved[data-ui-module=games] .fc-rooms .fc-table-row > .fc-row-main {
  display: contents;
}
.family-app.family-approved[data-ui-module=games] .fc-rooms .fc-table-name {
  grid-column: 1/-1;
  grid-row: 1;
  gap: 6px;
  min-width: 0;
}
.family-app.family-approved[data-ui-module=games] .fc-rooms .fc-table-name > h3 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  font-size: var(--fc-ui-subtitle-size,15px);
  line-height: var(--fc-ui-subtitle-line,20px);
}
.family-app.family-approved[data-ui-module=games] .fc-rooms .fc-table-name .fc-help-trigger {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}
.family-app.family-approved[data-ui-module=games] .fc-rooms .fc-table-players {
  grid-column: 1/-1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  font-size: 13px;
  line-height: 20px;
}
.family-app.family-approved[data-ui-module=games] .fc-rooms .fc-table-players > span:not([aria-hidden]) {
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc((100% - 18px)/2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.family-app.family-approved[data-ui-module=games] .fc-rooms .fc-table-state {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 20px;
}
.family-app.family-approved[data-ui-module=games] .fc-rooms .fc-table-row > .fc-action {
  grid-column: 2;
  grid-row: 3;
  min-height: 44px !important;
  margin: 0;
  padding: 6px 10px;
  border-radius: var(--fc-ui-control-radius,12px);
  font-size: 13px;
  line-height: 20px;
  box-shadow: none !important;
}
.family-app.family-approved[data-ui-module=games] .fc-rooms .fc-table-row .fc-action-face {
  min-height: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  line-height: 20px;
}
.family-app.family-approved[data-ui-module=games] .fc-rooms .fc-table-clock,
.family-app.family-approved[data-ui-module=games] .fc-rooms .fc-table-owner {
  display: none;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) {
  position: relative;
  padding: 16px !important;
  width: min(520px, calc(100vw - 16px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  box-sizing: border-box;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 12px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) > header > h2 {
  min-width: 0;
  font-size: var(--fc-ui-title-size,21px);
  line-height: var(--fc-ui-title-line,27px);
  margin: 0;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) > header > button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  flex: none;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) .fc-member-create-heading {
  display: contents !important;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) .fc-member-create-heading > h3 {
  display: none;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) .fc-member-tables {
  gap: 14px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) .fc-member-tables form,
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) .fc-member-tables fieldset {
  gap: 14px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet .fc-private-table-name {
  gap: 6px;
  font-size: 13px;
  line-height: 20px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet .fc-private-table-name > input {
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 10px !important;
  font-size: 14px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet .fc-private-table-time {
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: 20px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet .fc-private-table-time > p {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.family-app.family-approved[data-ui-module=games] .match-sheet .fc-member-recipient-picker {
  margin-top: 0 !important;
  gap: 8px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet .fc-member-recipient-title {
  font-size: 13px;
  line-height: 20px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet .fc-member-recipient-search {
  min-height: 44px;
  height: 44px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet .fc-member-recipient-search > input {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  font-size: 14px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet .fc-member-recipient-search > .fc-member-recipient-toggle {
  min-height: 42px;
  min-width: 44px;
  flex-basis: 44px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) .fc-member-tables button[type=submit] {
  min-height: 44px;
  height: 44px;
  padding: 6px 12px;
  font-size: 15px;
  line-height: 20px;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) > header > h2 {
  order: 0;
  flex: 1;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) > header > .ui-private-header-help {
  order: 1;
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.family-app.family-approved[data-ui-module=games] .match-sheet:has(.fc-private-table-name) > header > button {
  order: 2;
}
.family-app.family-approved[data-ui-module=games] .ui-private-help-anchor:empty {
  display: none;
}
.family-app .sound-settings.ui-audio-preview .sound-switch.ui-audio-switch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 0;
}
.family-app .ui-audio-preview .ui-audio-switch-row > span:first-child {
  min-width: 0;
  line-height: 20px;
}
.family-app .ui-audio-preview .ui-audio-switch-target {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
}
.family-app .sound-settings.ui-audio-preview .ui-audio-switch-input {
  position: absolute;
  inset: 0;
  z-index: 1;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.family-app .ui-audio-preview .ui-audio-switch-track {
  position: relative;
  display: block;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #475569;
  pointer-events: none;
}
.family-app .ui-audio-preview .ui-audio-switch-input:checked + .ui-audio-switch-track {
  background: #1677e8;
}
.family-app .ui-audio-preview .ui-audio-switch-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #0003;
}
.family-app .ui-audio-preview .ui-audio-switch-input:checked + .ui-audio-switch-track .ui-audio-switch-thumb {
  transform: translateX(18px);
}
.family-app .ui-audio-preview .ui-audio-switch-target:focus-within {
  outline: 2px solid #1677e8;
  outline-offset: 3px;
}
.family-app .ui-audio-preview .ui-audio-switch-input:disabled {
  cursor: default;
}
.family-app .fc-personal-card.ui-appearance-preview {
  --ui-appearance-control-width:168px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}
.family-app .ui-appearance-preview .ui-appearance-fields {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  background: #fffefd;
}
.family-app .ui-appearance-preview .ui-appearance-fields > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.family-app .ui-appearance-preview .ui-appearance-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ui-appearance-control-width);
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 0;
  min-width: 0;
}
.family-app .ui-appearance-preview .ui-appearance-row > span {
  min-width: 0;
  line-height: 20px;
}
.family-app .ui-appearance-preview .ui-appearance-row > select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 8px;
  border-radius: var(--fc-ui-control-radius,10px);
  font-size: 16px;
}
.family-app .ui-appearance-preview .ui-appearance-fields > p {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
}
.family-app .ui-appearance-preview .ui-appearance-fields > .fc-action {
  min-height: 44px;
  max-width: 100%;
}
@media (max-width: 374px) {
  .family-app .fc-personal-card.ui-appearance-preview {
    --ui-appearance-control-width:152px;
  }
}
.family-app.family-approved .match-sheet .ui-preview-replay[data-preview-section=replays] > header h2,
.family-app.family-approved .match-sheet .ui-preview-replay[data-preview-section=replays] > .account-history > h3 {
  display: none;
}
.family-app.family-approved .ui-preview-replay .ui-replay-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  min-width: 0;
}
.family-app.family-approved .ui-preview-replay .ui-replay-picker > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
}
.family-app.family-approved .ui-preview-replay .ui-replay-picker > select {
  width: 100%;
  min-width: 0;
}
.family-app .ui-replay-swap-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 8px;
}
.family-app .ui-replay-swap-control > button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  white-space: nowrap;
}
.family-app .ui-replay-swap-control > .fc-help {
  justify-self: end;
}
.family-app .ui-replay-swap-control .fc-help-trigger {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}
.family-app .ui-replay-swap-consent {
  grid-column: 1/-1;
  font-size: 12px;
  line-height: 18px;
  color: #526793;
}
.family-app.family-approved[data-ui-module=games] .fc-table-list-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 101px) minmax(0, 103px);
  align-items: center;
  gap: 6px;
  margin: 14px 0;
}
.family-app.family-approved[data-ui-module=games] .family-shell .fc-table-search.ui-table-search {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 9px !important;
  box-sizing: border-box;
  border: 1px solid var(--va-border,#cfdbe9) !important;
  border-radius: var(--fc-ui-control-radius,12px) !important;
  background: var(--va-field,#f8fbfce6) !important;
  box-shadow: none !important;
  color: var(--va-secondary,#5a6b82);
}
.ui-table-mark,
.ui-table-mode {
  display: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-game-intro > .ui-game-piece-header {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 44px;
  background: transparent !important;
  box-shadow: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .ui-game-piece-header > img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-game-intro {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0 0 16px;
  padding: 0;
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-game-breadcrumb {
  flex: none;
  margin: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-game-breadcrumb > button {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: var(--fc-ui-control-radius,12px) !important;
  background: var(--va-action-soft) !important;
  color: var(--va-action) !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-game-intro > h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font: var(--fc-ui-title-weight,600) var(--fc-ui-title-size,18px)/var(--fc-ui-title-line,24px) var(--ui-font-family,system-ui) !important;
  color: var(--va-ink) !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-game-intro > .fc-action {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px !important;
  max-width: 48%;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: var(--fc-ui-control-radius,12px) !important;
  background: var(--va-action) !important;
  color: #fff !important;
  box-shadow: none !important;
  font: 500 13px/20px var(--ui-font-family,system-ui) !important;
  white-space: normal;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-game-intro > .fc-action .fc-icon {
  flex: none;
  width: 18px;
  height: 18px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-game-intro > .fc-action:is(:disabled, [aria-disabled=true]) {
  background: color-mix(in srgb, var(--va-secondary) 15%, var(--va-bg)) !important;
  color: var(--va-secondary) !important;
  opacity: 1 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-game-intro button:focus-visible {
  outline: 2px solid var(--va-action);
  outline-offset: 2px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-rooms[data-game-page=game] {
  max-width: var(--fc-content-max,1180px);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-room-page-tabs {
  padding: 4px;
  background: var(--va-surface) !important;
  border: 0;
  border-radius: var(--fc-ui-tabs-radius,16px);
  min-height: 48px;
  box-sizing: border-box;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-room-page-tabs > button {
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  border-radius: var(--fc-ui-tab-radius,12px);
  color: var(--va-secondary) !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 500 14px/20px var(--ui-font-family,system-ui);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-room-page-tabs > button[aria-pressed=true] {
  background: var(--fc-selection-bg,#dfeafa) !important;
  color: var(--fc-selection-ink,#214f88) !important;
  border-color: var(--fc-selection-border,#a7bfdc) !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  max-width: none;
  gap: 12px !important;
  margin: 16px 0 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-primary {
  border-radius: var(--fc-ui-panel-radius,var(--va-radius,20px));
  overflow: visible;
  background: var(--va-red);
  --va-mode:var(--va-red);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-primary:has([data-tone=blue]) {
  background: var(--va-action);
  --va-mode:var(--va-action);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-primary:has(.fc-entry-card:disabled) {
  background: color-mix(in srgb, var(--va-secondary) 15%, var(--va-bg));
  --va-mode:color-mix(in srgb,var(--va-secondary) 15%,var(--va-bg));
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes .fc-entry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  min-height: 168px !important;
  box-sizing: border-box;
  padding: 23px 18px !important;
  gap: 10px !important;
  border: 0 !important;
  border-radius: var(--fc-ui-panel-radius,var(--va-radius,20px)) !important;
  background: var(--va-mode) !important;
  color: #fff !important;
  box-shadow: none !important;
  text-align: left;
  clip-path: polygon(0 0, calc(100% - 52px) 0, calc(100% - 52px) 52px, 100% 52px, 100% 100%, 0 100%);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes .fc-entry-card:disabled {
  color: var(--va-secondary) !important;
  opacity: 1 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes .fc-entry-card > .fc-icon:first-child {
  width: 30px !important;
  height: 30px !important;
  color: inherit !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes .fc-entry-card > span {
  display: grid;
  gap: 5px;
  padding: 0;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes .fc-entry-card strong {
  font: 500 var(--fc-ui-title-size,18px)/var(--fc-ui-title-line,24px) var(--ui-font-family,system-ui) !important;
  color: inherit !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes .fc-entry-card small {
  font: 400 13px/20px var(--ui-font-family,system-ui) !important;
  color: inherit !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-card-help {
  right: 4px;
  top: 4px;
  width: 44px;
  height: 44px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-card-help .fc-help-trigger {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-primary:has(.fc-entry-card:disabled) .fc-help-trigger {
  color: var(--va-secondary) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-primary:focus-within {
  outline: 2px solid var(--va-action);
  outline-offset: 2px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-card:not(:disabled):is(:hover, :active) {
  filter: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-primary:has(.fc-entry-card:not(:disabled):hover) {
  filter: brightness(1.04);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-primary:has(.fc-entry-card:not(:disabled):active) {
  filter: brightness(.95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes > .fc-entry-secondary {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  height: auto;
  padding: 12px 16px;
  box-sizing: border-box;
  border: 0;
  border-radius: var(--fc-ui-panel-radius,var(--va-radius,20px));
  background: var(--va-surface) !important;
  color: var(--va-secondary) !important;
  box-shadow: none;
  opacity: 1 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-secondary > span {
  gap: 2px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-secondary strong {
  font: 500 var(--fc-ui-title-size,16px)/var(--fc-ui-title-line,22px) var(--ui-font-family,system-ui);
  color: inherit;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-secondary small {
  font: 400 12px/18px var(--ui-font-family,system-ui);
  color: inherit;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-room-game {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-room-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 44px 92px;
  grid-template-rows: minmax(22px, auto) minmax(18px, auto) minmax(18px, auto);
  align-content: center;
  align-items: center;
  gap: 2px 8px;
  min-height: 104px;
  box-sizing: border-box;
  padding: 14px;
  margin: 0;
  border: 1px solid var(--va-border) !important;
  border-radius: var(--fc-ui-panel-radius,var(--va-radius,20px)) !important;
  background: var(--va-surface) !important;
  color: var(--va-ink) !important;
  box-shadow: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .ui-table-mark {
  display: grid;
  place-items: center;
  grid-column: 1;
  grid-row: 1/3;
  color: var(--va-action);
  width: 32px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-name {
  display: contents;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-name > h3 {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  font: var(--fc-ui-title-weight,600) var(--fc-ui-subtitle-size,14px)/var(--fc-ui-subtitle-line,22px) var(--ui-font-family,system-ui);
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-name > .fc-help {
  grid-column: 3;
  grid-row: 1/3;
  place-self: center;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-name .fc-help-trigger {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--va-secondary);
  background: transparent;
  border: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-state {
  grid-column: 2;
  grid-row: 2;
  gap: 5px;
  font: 400 12px/18px var(--ui-font-family,system-ui);
  white-space: nowrap;
  color: var(--va-amber);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-status {
  color: inherit;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-state:has([data-active=true]) {
  color: var(--va-green);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .ui-table-mode {
  display: block;
  grid-column: 2/4;
  grid-row: 3;
  font: 400 12px/18px var(--ui-font-family,system-ui);
  color: var(--va-secondary);
  min-width: 0;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms :is(.fc-table-owner, .fc-table-clock) {
  display: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row > .fc-row-main {
  display: block;
  grid-column: 2/4;
  grid-row: 1/4;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row .fc-table-players {
  white-space: normal;
  overflow: visible;
  align-items: baseline;
  gap: 4px 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row .fc-table-players > span:not([aria-hidden]) {
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row .fc-table-host {
  display: inline-block;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row > .fc-action {
  grid-column: 4;
  grid-row: 1/4;
  box-sizing: border-box;
  width: 92px;
  min-width: 92px;
  min-height: 44px !important;
  padding: 8px 5px;
  border: 0;
  border-radius: var(--fc-ui-control-radius,12px);
  box-shadow: none;
  font: 500 13px/20px var(--ui-font-family,system-ui);
  white-space: normal;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row > .fc-action:not(:disabled) {
  background: var(--va-action) !important;
  color: #fff !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row > .fc-action[data-variant=soft]:not(:disabled) {
  background: var(--va-action-soft) !important;
  color: var(--va-action) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row > .fc-action:is(:disabled, [aria-disabled=true]) {
  background: color-mix(in srgb, var(--va-secondary) 15%, var(--va-bg)) !important;
  color: var(--va-secondary) !important;
  opacity: 1 !important;
}
body[data-family-approved] .ui-preview-help-bubble {
  background: var(--va-overlay) !important;
  color: var(--va-ink) !important;
  border-color: var(--va-border) !important;
  font: 400 14px/22px var(--ui-font-family,system-ui) !important;
}
body[data-family-approved] .ui-game-filter-menu {
  background: var(--va-overlay);
  color: var(--va-ink);
  border-color: var(--va-border);
}
@media (min-width: 700px) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes {
    gap: 20px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes .fc-entry-card {
    min-height: 240px !important;
    padding: 23px 18px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes .fc-entry-card > .fc-icon:first-child {
    width: 44px !important;
    height: 44px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-quick-modes .fc-entry-card strong {
    font-size: var(--fc-ui-title-size,25px) !important;
    line-height: var(--fc-ui-title-line,32px) !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-room-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row {
    min-height: 116px;
    padding: 16px;
  }
}
.family-app.family-approved[data-ui-module=games] .family-shell .fc-table-search.ui-table-search > input {
  width: 100%;
  min-width: 0;
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: 20px;
  outline: 0;
  color: var(--va-ink,#17244d) !important;
}
.family-app.family-approved[data-ui-module=games] .fc-table-search.ui-table-search > .fc-icon {
  flex: none;
  width: 18px;
  height: 18px;
}
.family-app.family-approved[data-ui-module=games] .ui-table-filter {
  min-width: 0;
}
.family-app.family-approved[data-ui-module=games] .family-shell .ui-table-filter-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  padding: 0 9px;
  border: 1px solid var(--va-border,#cfdbe9);
  border-radius: 12px;
  background: var(--va-action-soft,#e3ecfc);
  box-shadow: none;
  font: 500 13px/20px var(--ui-font-family,system-ui);
  color: var(--va-ink,#17244d);
}
.family-app.family-approved[data-ui-module=games] .ui-table-filter-trigger > span {
  min-width: 0;
  white-space: nowrap;
}
.family-app.family-approved[data-ui-module=games] .ui-table-filter-trigger > svg {
  flex: none;
}
.family-app.family-approved[data-ui-module=games] .fc-table-search.ui-table-search:focus-within,
.family-app.family-approved[data-ui-module=games] .ui-table-filter-trigger:focus-visible {
  outline: 2px solid var(--va-action,#3568d4);
  outline-offset: 2px;
  border-color: var(--va-action,#3568d4) !important;
}
.family-app.family-approved[data-ui-module=games] .ui-table-filter[data-filter-label="Trạng thái"] .ui-table-filter-trigger {
  background: color-mix(in srgb, var(--va-green,#328056) 6%, var(--va-field,#f8fbfc));
}
.ui-game-filter-menu {
  display: grid;
  gap: 2px;
  width: max-content;
  min-width: 145px;
  max-width: calc(100vw - 16px);
  overflow: auto;
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid var(--va-border,#cfdbe9);
  border-radius: 13px;
  background: var(--va-overlay);
  color: var(--va-ink,#17244d);
  box-shadow: 0 7px 22px #203b4725;
}
.ui-game-filter-menu > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  padding: 8px 11px;
  border: 0;
  border-radius: var(--fc-ui-control-radius,9px);
  background: transparent;
  color: inherit;
  text-align: left;
  font: 500 14px/20px var(--ui-font-family,system-ui);
  cursor: pointer;
}
.ui-game-filter-menu > button[aria-selected=true] {
  background: var(--va-action-soft,#e3ecfc);
}
.ui-game-filter-menu > button:focus-visible {
  outline: 2px solid var(--va-action,#3568d4);
  outline-offset: -2px;
}
.ui-game-filter-menu > button:hover {
  background: var(--va-action-soft,#e3ecfc);
}
.family-app.family-approved[data-ui-module=games] .match-sheet .fc-private-table-time > p {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  height: auto;
  max-height: none;
}
.family-app.family-approved[data-ui-module=games] .fc-quick-modes {
  margin-top: 12px;
}
@media (min-width: 600px) {
  .family-app.family-approved[data-ui-module=games] .fc-table-list-tools {
    grid-template-columns: minmax(0, 1fr) 151px 153px;
    gap: 6px;
  }
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell :is(.fc-room-page-tabs, .fc-table-row, .fc-entry-secondary) {
  box-shadow: var(--fc-ui-panel-shadow,var(--va-shadow,0 4px 16px rgba(65,124,197,.10)));
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-rooms .fc-table-row {
  box-shadow: var(--fc-ui-panel-shadow,var(--va-shadow,0 4px 16px rgba(65,124,197,.10)));
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-room-page-tabs {
  border-radius: var(--fc-ui-tabs-radius,var(--va-radius,22px));
  box-shadow: var(--va-shadow,0 4px 16px rgba(65,124,197,.10)), inset 0 0 0 1px var(--va-border);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-entry-primary:not(:has(.fc-entry-card:disabled)) {
  --va-mode:linear-gradient(
      180deg,var(--va-action-end,#239BFF),var(--va-action,#1765FF) 22%);
  background: var(--va-mode);
  box-shadow: var(--fc-ui-panel-shadow,var(--va-shadow,0 4px 16px rgba(65,124,197,.10)),inset 0 1px 0 #ffffff80);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell :is(.fc-game-breadcrumb > button, .fc-game-intro > .fc-action, .fc-room-page-tabs > button, .fc-table-row > .fc-action, .ui-table-filter-trigger) {
  border-radius: var(--fc-ui-tab-radius,14px) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-table-search.ui-table-search {
  border-radius: var(--fc-ui-control-radius,14px) !important;
  box-shadow: var(--fc-ui-field-shadow,var(--va-shadow,0 4px 16px rgba(65,124,197,.10))) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .ui-table-filter-trigger {
  background: var(--va-field);
  box-shadow: var(--va-shadow,0 4px 16px rgba(65,124,197,.10));
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell :is(.fc-game-intro > .fc-action:not(:disabled):not([aria-disabled=true]), .fc-table-row > .fc-action:not(:disabled):not([aria-disabled=true]):not([data-variant=soft])) {
  background:
    linear-gradient(
      180deg,
      var(--va-action-end,#239BFF),
      var(--va-action,#1765FF) 22%) !important;
  box-shadow: var(--va-shadow,0 4px 16px rgba(65,124,197,.10)), inset 0 1px 0 #ffffff80 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-table-row > .fc-action[data-variant=soft]:not(:disabled) {
  background: var(--va-field) !important;
  box-shadow: inset 0 0 0 1px var(--va-border);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-table-row > .fc-action:focus-visible {
  outline: 2px solid var(--va-action);
  outline-offset: 2px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell :is(.ui-table-mark[data-table-mode=casual], [data-table-mode=casual] .ui-table-mark) {
  color: var(--va-red);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell :is(.ui-table-mark[data-table-mode=ranked], [data-table-mode=ranked] .ui-table-mark) {
  color: var(--va-action);
}
body[data-family-approved] .ui-game-filter-menu {
  border-radius: 14px;
  box-shadow: var(--va-shadow,0 4px 16px rgba(65,124,197,.10));
}
body[data-family-approved] .ui-game-filter-menu > button {
  border-radius: var(--fc-ui-control-radius,14px);
}
body[data-family-approved] .family-app.family-approved[data-ui-module][data-ui-module=games]:not(:has(.ui-games)) .family-shell.phone .fc-entry-primary {
  --gp-entry:linear-gradient(
      145deg,#f6fbff,#dceaff);
  --va-mode:var(--gp-entry);
  background: var(--gp-entry) !important;
  box-shadow: var(--fc-ui-panel-shadow,0 4px 14px #789fce20,inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module][data-ui-module=games]:not(:has(.ui-games)) .family-shell.phone .fc-entry-primary:has(> .fc-entry-card[data-tone=red]):not(:has(.fc-entry-card:disabled)) {
  --gp-entry:linear-gradient(
      145deg,#fff8f7,#ffe2e1);
  background: var(--gp-entry) !important;
  box-shadow: var(--fc-ui-panel-shadow,0 4px 14px #cd8d9320,inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module][data-ui-module=games]:not(:has(.ui-games)) .family-shell.phone .fc-quick-modes .fc-entry-card:not(:disabled) {
  color: var(--gp-ink,#121b50) !important;
  background: var(--gp-entry) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module][data-ui-module=games]:not(:has(.ui-games)) .family-shell.phone .fc-quick-modes .fc-entry-card:not(:disabled) small {
  color: var(--gp-muted,#5a6d95) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module][data-ui-module=games]:not(:has(.ui-games)) .family-shell.phone .fc-quick-modes .fc-entry-card[data-tone=red] > .fc-icon:first-child {
  color: #16845c !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module][data-ui-module=games]:not(:has(.ui-games)) .family-shell.phone .fc-quick-modes .fc-entry-card[data-tone=blue] > .fc-icon:first-child {
  color: #1555f4 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module][data-ui-module=games]:not(:has(.ui-games)) .family-shell.phone .fc-entry-primary:not(:has(.fc-entry-card:disabled)) .fc-entry-card-help .fc-help-trigger {
  background: transparent !important;
  color: var(--gp-muted,#5a6d95) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby,
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games {
  color: var(--va-ink);
  font-family: var(--ui-font-family,system-ui);
  font-size: 14px;
  line-height: 22px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .family-shell-content {
  padding: 12px 12px 24px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-hero {
  padding: 0 0 12px;
  background: transparent;
  border-radius: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-brand > .fc-icon {
  display: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-greeting {
  flex: 1;
  min-width: 0;
  gap: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-greeting strong {
  color: var(--va-ink);
  font-size: var(--fc-ui-title-size,24px);
  line-height: var(--fc-ui-title-line,26px);
  font-weight: var(--fc-ui-title-weight,600);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-greeting > span {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--va-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-tools {
  flex: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-round-button {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  border-radius: var(--fc-ui-control-radius,14px);
  background: var(--va-action-soft);
  color: var(--va-action);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-notice-counter {
  top: 0;
  right: 0;
  box-sizing: border-box;
  min-width: 18px;
  padding: 1px 4px;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-sections {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby :is(.fc-home-main, .fc-home-side) {
  display: contents;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .family-lobby-banner {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 3/1;
  object-fit: cover;
  border-radius: var(--va-radius);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section {
  margin: 0;
  padding: 11px 13px !important;
  border: 1px solid var(--va-border);
  border-radius: var(--fc-ui-panel-radius,var(--va-radius));
  background: var(--va-surface);
  box-shadow: var(--fc-ui-panel-shadow,var(--va-shadow));
  box-sizing: border-box;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section-head {
  min-height: 32px;
  gap: 8px;
  margin: 0 0 4px;
  flex-wrap: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section-title {
  font-size: var(--fc-ui-title-size,17px);
  line-height: var(--fc-ui-title-line,24px);
  color: var(--va-ink);
  font-weight: var(--fc-ui-title-weight,600);
  gap: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section-head > .fc-link {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--va-action);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-online {
  color: var(--va-green);
  font-size: 12px;
  line-height: 18px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-online::before {
  width: 6px;
  height: 6px;
  background: var(--va-green);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-strip {
  gap: 8px;
  padding: 0 0 2px;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile {
  flex: 0 0 calc((100% - 32px)/5);
  min-width: 44px;
  min-height: 62px;
  gap: 4px;
  box-shadow: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile .ui-lobby-avatar {
  width: 42px;
  height: 42px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile .fc-profile-avatar {
  --fc-profile-avatar-size:42;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-person > strong {
  display: block;
  min-height: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members.fc-section {
  padding: 3px 13px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-members > .fc-section-head {
  min-height: 44px;
  margin: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-members .ui-lobby-member-strip {
  padding: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-members .ui-lobby-member-tile {
  gap: 2px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table {
  padding: 12px 0;
  gap: 8px;
  border: 0;
  align-items: center;
  min-height: 68px;
  box-sizing: border-box;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-art {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  background:
    linear-gradient(
      145deg,
      #FF998A,
      #FF655D);
  border: 0;
  border-radius: 9px;
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff8c, 0 3px 7px #f36d6330;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table[data-table-mode=ranked] .ui-lobby-table-art {
  background:
    linear-gradient(
      145deg,
      var(--va-action-end),
      var(--va-action));
  box-shadow: var(--fc-ui-panel-shadow,inset 0 1px 0 #ffffff8c,0 3px 7px #1765ff30);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-art > .fc-icon {
  width: 24px;
  height: 24px;
  color: inherit;
  filter: drop-shadow(0 1px 1px #1f376b26);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 22px 22px;
  gap: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > strong {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  grid-column: 1;
  grid-row: 1;
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > small[data-playing] {
  font-size: 12px;
  line-height: 18px;
  color: var(--va-amber);
  grid-column: 1;
  grid-row: 2;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > small[data-playing=true] {
  color: var(--va-action);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > small:not([data-playing]) {
  grid-column: 1/-1;
  grid-row: auto;
  font-size: 12px;
  line-height: 18px;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--va-secondary);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy:has(> small:not([data-playing])) {
  grid-template-rows: 22px 22px auto;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table > .fc-action {
  box-sizing: border-box;
  flex: 0 0 92px;
  width: 92px;
  min-width: 92px;
  min-height: 44px;
  padding: 6px;
  font-size: 13px;
  line-height: 20px;
  border: 0;
  border-radius: var(--fc-ui-control-radius,12px);
  background: var(--va-action) !important;
  color: #fff !important;
  box-shadow: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table > .fc-action[data-variant=soft] {
  background: var(--va-action-soft) !important;
  color: var(--va-action) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-shortcuts > .fc-section-head {
  position: relative;
  min-height: 32px;
  height: 32px;
  margin: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-shortcuts > .fc-section-head > .fc-link {
  position: absolute;
  right: 0;
  top: -12px;
  min-height: 44px;
  height: 44px;
  padding: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts {
  gap: 8px;
  padding: 0;
  scrollbar-width: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut {
  flex-basis: var(--fc-home-shortcut-width,128px);
  min-height: 70px;
  padding: 7px 3px;
  gap: 6px;
  background: color-mix(in srgb, var(--va-violet) 8%, var(--va-surface));
  border: 1px solid var(--va-border);
  border-radius: var(--fc-ui-control-radius,14px);
  box-shadow: var(--fc-ui-control-shadow,var(--va-shadow));
  color: var(--va-ink);
  box-sizing: border-box;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut[data-tone=green] {
  background: color-mix(in srgb, var(--va-green) 8%, var(--va-surface));
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut > .fc-icon {
  width: 22px;
  height: 22px;
  color: var(--va-violet);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut strong {
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-sheet {
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-sheet :is(.ui-lobby-directory-row, .ui-lobby-profile-rank, .fc-directory-search) {
  background: var(--va-surface);
  border-color: var(--va-border);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] :is(.ui-lobby-empty, .ui-lobby-action-reason, .ui-lobby-member-cta > small, .ui-lobby-directory-person small, .ui-lobby-profile-identity p) {
  color: var(--va-secondary);
  font-size: 12px;
  line-height: 18px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] :is(.ui-lobby, .ui-lobby-sheet) :is(button, [tabindex], input):focus-visible {
  outline: 3px solid var(--va-action);
  outline-offset: 2px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery {
  max-width: none;
  width: 100%;
  margin: 0;
  gap: 12px;
  padding: 0;
  align-content: start;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell-content:has(.ui-games) {
  padding: 12px 12px 24px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-search-row {
  gap: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-search {
  height: 46px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--va-border);
  border-radius: var(--fc-ui-control-radius,14px);
  background: var(--va-field) !important;
  color: var(--va-secondary);
  box-shadow: var(--fc-ui-field-shadow,var(--va-shadow));
  box-sizing: border-box;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-search input {
  height: 44px;
  min-height: 44px;
  font-size: 14px;
  line-height: 22px;
  background: transparent !important;
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-total {
  display: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-list {
  gap: 12px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-card {
  padding: 13px 15px;
  border: 1px solid var(--va-border);
  border-radius: var(--fc-ui-panel-radius,var(--va-radius));
  background: var(--va-surface) !important;
  box-shadow: var(--fc-ui-panel-shadow,var(--va-shadow));
  color: var(--va-ink);
  box-sizing: border-box;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-featured {
  height: 232px;
  min-height: 232px;
  padding: 16px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-featured:after {
  display: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-background {
  object-fit: cover;
  object-position: right center;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-content {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: start;
  align-items: center;
  gap: 10px;
  min-height: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-art {
  width: 42px;
  height: 42px;
  background: transparent;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-featured h2 {
  font-size: var(--fc-ui-title-size,24px);
  line-height: var(--fc-ui-title-line,32px);
  font-weight: var(--fc-ui-title-weight,600);
  margin: 0;
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-actions {
  position: absolute;
  left: 16px;
  bottom: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  width: min(190px, 60%);
  min-width: 0;
  max-width: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-actions .fc-action {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #ffffff52;
  border-radius: var(--fc-ui-control-radius,14px);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  background:
    linear-gradient(
      180deg,
      var(--va-action-end),
      var(--va-action) 22%) !important;
  color: #fff !important;
  box-shadow: var(--fc-ui-control-shadow,0 3px 9px #1765ff26,inset 0 1px 0 #ffffff40);
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-actions .fc-action[data-variant=soft] {
  background: var(--va-surface) !important;
  color: var(--va-action) !important;
  border-color: var(--va-border);
  justify-content: center;
  padding-left: 8px;
  box-shadow: var(--fc-ui-soft-shadow,var(--va-shadow));
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-coming {
  min-height: 64px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-coming .fc-game-content {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 36px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-coming .fc-game-art {
  width: 28px;
  height: 28px;
  background: transparent;
  border-radius: 0;
  color: var(--va-violet);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-coming[data-game-id=caro] .fc-game-art {
  color: var(--va-green);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-coming .fc-game-art > .fc-icon {
  width: 28px;
  height: 28px;
  color: inherit;
  opacity: 1;
  filter: drop-shadow(0 1px 0 color-mix(in srgb, currentColor 30%, transparent));
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-coming {
  background:
    linear-gradient(
      110deg,
      var(--va-surface),
      color-mix(in srgb, var(--va-violet) 10%, var(--va-surface))) !important;
  isolation: isolate;
  overflow: hidden;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-coming[data-game-id=caro] {
  background:
    linear-gradient(
      110deg,
      var(--va-surface),
      color-mix(in srgb, var(--va-green) 10%, var(--va-surface))) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-coming .fc-game-art {
  position: relative;
  filter: drop-shadow(0 2px 2px #53678b26);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-coming .fc-game-art:before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: var(--fc-ui-panel-radius,12px);
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, currentColor 12%, white),
      color-mix(in srgb, currentColor 24%, white));
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  box-shadow: var(--fc-ui-panel-shadow,inset 0 1px 0 #ffffffcc,0 3px 7px color-mix(in srgb,currentColor 15%,transparent));
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-coming h2 {
  font-size: var(--fc-ui-title-size,17px);
  line-height: var(--fc-ui-title-line,24px);
  font-weight: var(--fc-ui-title-weight,600);
  margin: 0;
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-unavailable {
  font-size: 12px;
  line-height: 18px;
  color: var(--va-secondary);
  padding: 3px 7px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--va-surface) 90%, transparent);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-recent {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  background: transparent !important;
  border: 0;
  box-shadow: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-recent > .fc-section-head {
  display: flex;
  min-height: 44px;
  margin: 0;
  gap: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-recent .fc-section-title {
  font-size: var(--fc-ui-title-size,17px);
  line-height: var(--fc-ui-title-line,24px);
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-recent .fc-link {
  min-height: 44px;
  font-size: 12px;
  line-height: 18px;
  color: var(--va-action);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-recent-empty {
  padding: 12px 14px;
  background: var(--va-surface);
  border: 1px solid var(--va-border);
  border-radius: var(--va-radius);
  box-shadow: var(--va-shadow);
  color: var(--va-secondary);
  font-size: 12px;
  line-height: 18px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-recent-card {
  background: var(--va-surface);
  border-color: var(--va-border);
  border-radius: var(--va-radius);
  box-shadow: var(--va-shadow);
  color: var(--va-ink);
}
@media (max-width: 375px) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-hero {
    padding-bottom: 8px;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-sections {
    gap: 8px;
  }
}
@media (min-width: 1000px) and (orientation: landscape), (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .family-shell-content {
    padding: 20px 32px 24px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby {
    max-width: 1180px;
    margin-inline: auto;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-hero {
    padding-bottom: 20px;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-sections {
    gap: 20px;
    align-items: start;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile {
    flex-basis: calc((100% - 48px)/7);
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery {
    max-width: 1120px;
    margin-inline: auto;
    gap: 16px;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell-content:has(.ui-games) {
    padding: 20px 32px 24px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-list:has(.fc-game-featured) {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    grid-template-rows: 88px 88px;
    min-height: 335px;
    gap: 16px 20px;
    align-items: start;
    align-content: start;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-featured {
    grid-column: 1;
    grid-row: 1/3;
    height: 335px;
    min-height: 335px;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-games.fc-games-gallery .fc-game-list:has(.fc-game-featured) .fc-game-coming {
    grid-column: 2;
    min-height: 88px;
    padding: 22px 16px;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-games .fc-game-recent {
    margin-top: 8px;
  }
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(.ui-private-table-form) {
  width: min(480px, calc(100vw - 24px)) !important;
  max-height: calc(100dvh - 24px) !important;
  box-sizing: border-box;
  padding: 16px !important;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--va-border) !important;
  border-radius: var(--fc-ui-modal-radius,var(--va-radius)) !important;
  background: var(--va-overlay) !important;
  color: var(--va-ink) !important;
  font: 400 14px/22px var(--ui-font-family,system-ui);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(.ui-private-table-form) > header {
  gap: 8px;
  min-height: 44px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(.ui-private-table-form) > header > h2 {
  font: var(--fc-ui-title-weight,600) var(--fc-ui-title-size,17px)/var(--fc-ui-title-line,24px) var(--ui-font-family,system-ui) !important;
  color: var(--va-ink) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(.ui-private-table-form) > header > button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: var(--fc-ui-control-radius,12px) !important;
  background: var(--va-action-soft) !important;
  color: var(--va-action) !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(.ui-private-table-form) .fc-member-tables {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form,
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form > fieldset {
  display: grid;
  gap: 20px !important;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form :is(.fc-private-table-mode, .fc-private-table-name) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  font: 500 14px/22px var(--ui-font-family,system-ui);
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form :is(.fc-private-table-mode > select, .fc-private-table-name > input) {
  width: 100%;
  min-width: 0;
  min-height: 44px !important;
  height: auto !important;
  padding: 10px 12px !important;
  box-sizing: border-box;
  border: 1px solid var(--va-border) !important;
  border-radius: var(--fc-ui-control-radius,12px) !important;
  background: var(--va-field) !important;
  color: var(--va-ink) !important;
  box-shadow: none !important;
  font: 400 14px/22px var(--ui-font-family,system-ui) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form .fc-private-table-time {
  display: grid;
  gap: 8px;
  font: 400 14px/22px var(--ui-font-family,system-ui);
  color: var(--va-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form .fc-private-table-time > strong {
  font-weight: 500;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form .fc-private-table-time > p {
  display: block;
  box-sizing: border-box;
  min-height: 80px !important;
  max-height: none !important;
  height: auto !important;
  margin: 0;
  padding: 12px 14px;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
  border-radius: 12px;
  background: var(--va-action-soft) !important;
  color: var(--va-secondary) !important;
  font: 400 13px/22px var(--ui-font-family,system-ui) !important;
}
body[data-family-approved] .ui-clock-extra {
  display: block;
  margin-top: 4px;
}
body[data-family-approved] .family-app .ui-private-table-form .fc-member-recipient-title {
  font: 500 14px/22px var(--ui-font-family,system-ui);
  color: var(--va-ink);
}
body[data-family-approved] .family-app .ui-private-table-form .fc-member-recipient-search {
  min-height: 44px;
  border: 1px solid var(--va-border) !important;
  border-radius: var(--fc-ui-control-radius,12px) !important;
  background: var(--va-field) !important;
  color: var(--va-secondary) !important;
}
body[data-family-approved] .family-app .ui-private-table-form .fc-member-recipient-search > input {
  height: auto !important;
  min-height: 42px !important;
  background: transparent !important;
  color: var(--va-ink) !important;
  font: 400 14px/22px var(--ui-font-family,system-ui) !important;
}
body[data-family-approved] .family-app .ui-private-table-form .fc-member-recipient-search > .fc-member-recipient-toggle {
  min-height: 44px;
  background: transparent !important;
  color: var(--va-secondary) !important;
  border-color: var(--va-border) !important;
}
body[data-family-approved] .family-app .ui-private-table-form > .fc-action {
  min-height: 44px !important;
  height: auto !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: var(--fc-ui-control-radius,12px) !important;
  background: var(--va-action) !important;
  color: #fff !important;
  box-shadow: none !important;
  font: 500 14px/20px var(--ui-font-family,system-ui) !important;
}
body[data-family-approved] .family-app .ui-private-table-form :is(input, select, button):disabled,
body[data-family-approved] .family-app .ui-private-table-form > fieldset:disabled :is(input, select, button) {
  background: color-mix(in srgb, var(--va-secondary) 15%, var(--va-bg)) !important;
  color: var(--va-secondary) !important;
  opacity: 1 !important;
}
body[data-family-approved] .family-app .ui-private-table-form :is(input, select, button):focus-visible {
  outline: 2px solid var(--va-action);
  outline-offset: 2px;
}
body[data-family-approved] .family-app .ui-private-table-form > .fc-catalog-muted[role=status] {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--va-red) 6%, var(--va-field));
  color: var(--va-secondary);
  font: 400 13px/22px var(--ui-font-family,system-ui);
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-family-approved] .ui-game-filter-menu {
  border-color: var(--va-border);
  background: var(--va-overlay);
  color: var(--va-ink);
  overscroll-behavior: contain;
}
body[data-family-approved] .ui-game-filter-menu > button[aria-selected=true] {
  background: var(--va-action-soft);
  color: var(--va-action);
  font-weight: 500;
}
body[data-family-approved] .ui-preview-help-bubble {
  background: var(--va-overlay) !important;
  color: var(--va-ink) !important;
  border: 1px solid var(--va-border) !important;
  border-radius: 16px !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  overflow-wrap: anywhere;
}
body[data-family-approved] .ui-preview-help-bubble:focus-visible {
  outline: 2px solid var(--va-action);
  outline-offset: 2px;
}
body[data-family-approved] .family-app .fc-help-trigger {
  min-width: 44px;
  min-height: 44px;
}
body[data-family-approved] .family-app :is(.fc-empty, .fc-member-directory-empty, .fc-recent-empty) {
  padding: 16px !important;
  border: 1px solid var(--va-border);
  border-radius: var(--va-radius);
  background: var(--va-surface) !important;
  color: var(--va-secondary) !important;
  font: 400 14px/22px var(--ui-font-family,system-ui) !important;
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app :is(.fc-empty, .fc-member-directory-empty)::before {
  content: "";
  display: inline-block;
  vertical-align: -4px;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background: currentColor;
  opacity: .75;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='m15 15 5 5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
body[data-family-approved] .family-app :is(.error-note, .fc-personal-feedback[role=alert], .fc-member-feedback[role=alert], .board-art-error) {
  box-sizing: border-box;
  margin-block: 12px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--va-red) 25%, var(--va-border));
  border-radius: var(--va-radius);
  background: var(--va-field);
  color: var(--va-red);
  font: 400 14px/22px var(--ui-font-family,system-ui);
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app :is(.error-note, .board-art-error) button {
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--fc-ui-control-radius,12px);
  background: var(--va-action-soft);
  color: var(--va-action);
  font: 500 13px/20px var(--ui-font-family,system-ui);
}
body[data-family-approved] .family-app [aria-busy=true] > button[type=submit] {
  min-height: 44px;
}
body[data-family-approved] .family-app [aria-busy=true] > button[type=submit]::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: va-state-spin 1s linear infinite;
}
@keyframes va-state-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-family-approved] .family-app [aria-busy=true] > button[type=submit]::before {
    animation: none;
  }
}
body[data-family-approved] .family-app > .match-backdrop > .match-sheet {
  border-color: var(--va-border) !important;
  border-radius: var(--fc-ui-modal-radius,var(--va-radius,22px)) !important;
  background: var(--va-overlay) !important;
  color: var(--va-ink) !important;
  box-shadow: var(--fc-ui-modal-shadow,var(--va-shadow,0 4px 16px rgba(65,124,197,.10))) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(.ui-private-table-form) {
  box-shadow: var(--fc-ui-modal-shadow,var(--va-shadow,0 4px 16px rgba(65,124,197,.10))) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(.ui-private-table-form) > header > button,
body[data-family-approved] .family-app .ui-private-table-form :is(.fc-private-table-mode > select, .fc-private-table-name > input, .fc-member-recipient-search, .fc-private-table-time > p),
body[data-family-approved] .family-app .ui-private-table-form > .fc-action,
body[data-family-approved] .family-app .ui-private-table-form > .fc-catalog-muted[role=status],
body[data-family-approved] .family-app :is(.error-note, .board-art-error) button {
  border-radius: var(--fc-ui-control-radius,14px) !important;
}
body[data-family-approved] .family-app .ui-private-table-form :is(.fc-private-table-mode > select, .fc-private-table-name > input, .fc-member-recipient-search) {
  box-shadow: var(--fc-ui-field-shadow,var(--va-shadow,0 4px 16px rgba(65,124,197,.10))) !important;
}
body[data-family-approved] .family-app .ui-private-table-form > .fc-action:not(:disabled):not([aria-disabled=true]) {
  background:
    linear-gradient(
      180deg,
      var(--va-action-end,#239BFF),
      var(--va-action,#1765FF) 22%) !important;
  box-shadow: var(--fc-ui-control-shadow,var(--va-shadow,0 4px 16px rgba(65,124,197,.10)),inset 0 1px 0 #ffffff80) !important;
}
body[data-family-approved] .ui-preview-help-bubble,
body[data-family-approved] .family-app :is(.fc-empty, .fc-member-directory-empty, .fc-recent-empty) {
  box-shadow: var(--va-shadow,0 4px 16px rgba(65,124,197,.10));
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-strip {
  flex-wrap: nowrap;
  max-width: 100%;
}

/* ../prototypes/core-local/src/family/family-approved.css */
body[data-family-approved] {
  --gp-sky:url("./assets/SDXIC5NZ.webp");
  --gp-icon-nav-home:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjE0IDE0IDEwMCAxMDAiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iaG9tZS1mYWNlIiB4MT0iMCIgeTE9IjAiIHgyPSIuNzUiIHkyPSIxIj48c3RvcCBzdG9wLWNvbG9yPSIjZmY5NzdmIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZWY0OTNlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImhvbWUtcm9vZiIgeDE9IjAiIHkxPSIwIiB4Mj0iLjc1IiB5Mj0iMSI+PHN0b3Agc3RvcC1jb2xvcj0iI2ZmODA2ZCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI2VlNDkzZiIvPjwvbGluZWFyR3JhZGllbnQ+PGZpbHRlciBpZD0iaG9tZS1zaGFkb3ciIHg9Ii0zMCUiIHk9Ii0zMCUiIHdpZHRoPSIxNjAlIiBoZWlnaHQ9IjE3MCUiPjxmZURyb3BTaGFkb3cgZHg9IjAiIGR5PSI0IiBzdGREZXZpYXRpb249IjMiIGZsb29kLWNvbG9yPSIjNTE2NmEwIiBmbG9vZC1vcGFjaXR5PSIuMTYiLz48L2ZpbHRlcj48L2RlZnM+PGcgZmlsdGVyPSJ1cmwoI2hvbWUtc2hhZG93KSI+PHBhdGggZD0iTTIzIDYxIDY0IDI0bDQxIDM3djEwSDkxdjM2SDczVjg0SDU1djIzSDM3VjcxSDIzWiIgZmlsbD0iI2Q5NDAzOSIvPjxwYXRoIGQ9Ik0yOSA1OSA2NCAyOWwzNSAzMHY0Mkg3NVY3OEg1M3YyM0gyOVoiIGZpbGw9InVybCgjaG9tZS1mYWNlKSIvPjxwYXRoIGQ9Im0xOSA2MCAzOS0zNXE2LTYgMTIgMGwzOSAzNXE1IDUtMSAxMC0zIDMtNyAwTDY0IDM4IDI3IDcwcS01IDQtOS0xLTQtNCAxLTlaIiBmaWxsPSJ1cmwoI2hvbWUtcm9vZikiLz48cGF0aCBkPSJtMjggNTggMzYtMzEgMzUgMzEiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmYzRiMiIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48cGF0aCBkPSJNMzUgNzJ2MjMiIHN0cm9rZT0iI2ZmYjZhMyIgc3Ryb2tlLXdpZHRoPSI1IiBzdHJva2UtbGluZWNhcD0icm91bmQiIG9wYWNpdHk9Ii42Ii8+PC9nPjwvc3ZnPg==);
  --gp-icon-nav-games:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjYgMTQgMTE2IDExNiI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJnYW1lLWZhY2UiIHgxPSIwIiB5MT0iMCIgeDI9Ii43NSIgeTI9IjEiPjxzdG9wIHN0b3AtY29sb3I9IiM0NjhlZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMxNjRiZjEiLz48L2xpbmVhckdyYWRpZW50PjxmaWx0ZXIgaWQ9ImdhbWUtc2hhZG93IiB4PSItMzAlIiB5PSItMzAlIiB3aWR0aD0iMTYwJSIgaGVpZ2h0PSIxNzAlIj48ZmVEcm9wU2hhZG93IGR4PSIwIiBkeT0iNCIgc3RkRGV2aWF0aW9uPSIzIiBmbG9vZC1jb2xvcj0iIzUxNjZhMCIgZmxvb2Qtb3BhY2l0eT0iLjE2Ii8+PC9maWx0ZXI+PC9kZWZzPjxnIGZpbHRlcj0idXJsKCNnYW1lLXNoYWRvdykiPjxwYXRoIGQ9Ik0zOSAzNmg1MHExMSAwIDE2IDE1bDEyIDQzcTQgMTUtOCAxOC0xMCAyLTE4LTEzTDgyIDg1SDQ2bC05IDE0cS04IDE1LTE4IDEzLTEyLTMtOC0xOGwxMi00M3E1LTE1IDE2LTE1WiIgZmlsbD0iIzE3NDdjYyIvPjxwYXRoIGQ9Ik00MCAzMWg0OHExMiAwIDE3IDE2bDExIDQzcTMgMTMtNyAxNS04IDItMTctMTJMODEgNzhINDdMMzYgOTNxLTkgMTQtMTcgMTItMTAtMi03LTE1bDExLTQzcTUtMTYgMTctMTZaIiBmaWxsPSJ1cmwoI2dhbWUtZmFjZSkiLz48cGF0aCBkPSJNMzMgNDFxNC00IDEyLTRoMzgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2I1ZDdmZiIgc3Ryb2tlLXdpZHRoPSI1IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48cGF0aCBkPSJNNDIgNDZ2MjZNMjkgNTloMjYiIHN0cm9rZT0iIzExNDZjMyIgc3Ryb2tlLXdpZHRoPSIxMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PHBhdGggZD0iTTQyIDQ0djI0TTMwIDU2aDI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iNyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PGcgZmlsbD0iI2U5ZjZmZiI+PGNpcmNsZSBjeD0iODUiIGN5PSI0NiIgcj0iNSIvPjxjaXJjbGUgY3g9Ijg1IiBjeT0iNjciIHI9IjUiLz48Y2lyY2xlIGN4PSI3NCIgY3k9IjU2IiByPSI1Ii8+PGNpcmNsZSBjeD0iOTYiIGN5PSI1NiIgcj0iNSIvPjwvZz48cGF0aCBkPSJNNTggNjloMTIiIHN0cm9rZT0iIzEwNDRiZSIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L2c+PC9zdmc+);
  --gp-icon-nav-rank:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjEwIDEyIDEwOCAxMDgiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0icmFuay1jdXAiIHgxPSIwIiB5MT0iMCIgeDI9Ii43NSIgeTI9IjEiPjxzdG9wIHN0b3AtY29sb3I9IiNmZmQ2NWQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNmZjk5MDAiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0icmFuay1iYXNlIiB4MT0iMCIgeTE9IjAiIHgyPSIuNzUiIHkyPSIxIj48c3RvcCBzdG9wLWNvbG9yPSIjZmZjYjNlIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZWZhMjBhIi8+PC9saW5lYXJHcmFkaWVudD48ZmlsdGVyIGlkPSJyYW5rLXNoYWRvdyIgeD0iLTMwJSIgeT0iLTMwJSIgd2lkdGg9IjE2MCUiIGhlaWdodD0iMTcwJSI+PGZlRHJvcFNoYWRvdyBkeD0iMCIgZHk9IjQiIHN0ZERldmlhdGlvbj0iMyIgZmxvb2QtY29sb3I9IiM1MTY2YTAiIGZsb29kLW9wYWNpdHk9Ii4xNiIvPjwvZmlsdGVyPjwvZGVmcz48ZyBmaWx0ZXI9InVybCgjcmFuay1zaGFkb3cpIj48cGF0aCBkPSJNMzcgMzBIMjB2MTRxMCAyOCAyNiAzME05MSAzMGgxN3YxNHEwIDI4LTI2IDMwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlZDllMDUiIHN0cm9rZS13aWR0aD0iMTAiLz48cGF0aCBkPSJNMzYgMjZIMjB2MTRxMCAyNiAyNSAyOU05MiAyNmgxNnYxNHEwIDI2LTI1IDI5IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmJjMjgiIHN0cm9rZS13aWR0aD0iOCIvPjxwYXRoIGQ9Ik0zNiAxOWg1NnYyOHEwIDMxLTI0IDM3djE3aDE5djExSDQxdi0xMWgxOVY4NFEzNiA3OCAzNiA0N1oiIGZpbGw9InVybCgjcmFuay1jdXApIi8+PHBhdGggZD0iTTQzIDI3djIzcTAgMTMgOCAyMSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZlYzliIiBzdHJva2Utd2lkdGg9IjYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxwYXRoIGQ9Im02NCAzNCA2IDEyIDE0IDItMTAgMTAgMiAxNC0xMi03LTEyIDcgMi0xNC0xMC0xMCAxNC0yWiIgZmlsbD0iI2ZmZjhkNyIvPjxyZWN0IHg9IjM2IiB5PSIxMDQiIHdpZHRoPSI1NiIgaGVpZ2h0PSIxMCIgcng9IjUiIGZpbGw9InVybCgjcmFuay1iYXNlKSIvPjwvZz48L3N2Zz4=);
  --gp-icon-nav-me:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjEwIDkgMTA4IDEwOCI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJtZS1mYWNlIiB4MT0iMCIgeTE9IjAiIHgyPSIuNzUiIHkyPSIxIj48c3RvcCBzdG9wLWNvbG9yPSIjMzlkZjliIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMDA5NTU5Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9Im1lLWJvZHkiIHgxPSIwIiB5MT0iMCIgeDI9Ii43NSIgeTI9IjEiPjxzdG9wIHN0b3AtY29sb3I9IiMyYmQ2OTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMwMDljNjgiLz48L2xpbmVhckdyYWRpZW50PjxmaWx0ZXIgaWQ9Im1lLXNoYWRvdyIgeD0iLTMwJSIgeT0iLTMwJSIgd2lkdGg9IjE2MCUiIGhlaWdodD0iMTcwJSI+PGZlRHJvcFNoYWRvdyBkeD0iMCIgZHk9IjQiIHN0ZERldmlhdGlvbj0iMyIgZmxvb2QtY29sb3I9IiM1MTY2YTAiIGZsb29kLW9wYWNpdHk9Ii4xNiIvPjwvZmlsdGVyPjwvZGVmcz48ZyBmaWx0ZXI9InVybCgjbWUtc2hhZG93KSI+PHBhdGggZD0iTTI4IDExM3YtMTdxMC0yOCAzNi0yOHQzNiAyOHYxN1oiIGZpbGw9IiMwMDhjNTkiLz48cGF0aCBkPSJNMjggMTA3di0xNnEwLTI3IDM2LTI3dDM2IDI3djE2WiIgZmlsbD0idXJsKCNtZS1ib2R5KSIvPjxlbGxpcHNlIGN4PSI2NCIgY3k9IjM4IiByeD0iMjEiIHJ5PSIyMyIgZmlsbD0iIzAwOGM1OSIvPjxjaXJjbGUgY3g9IjY0IiBjeT0iMzQiIHI9IjIxIiBmaWxsPSJ1cmwoI21lLWZhY2UpIi8+PHBhdGggZD0iTTUxIDI0cTctOCAxNy02TTM4IDkxcTEtMTIgMTItMTciIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2E0ZjVjYyIgc3Ryb2tlLXdpZHRoPSI1IiBzdHJva2UtbGluZWNhcD0icm91bmQiIG9wYWNpdHk9Ii44Ii8+PC9nPjwvc3ZnPg==);
  --gp-icon-chess:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImNoZXNzLXRpbGUiIHgxPSIwIiB5MT0iMCIgeDI9Ii43NSIgeTI9IjEiPjxzdG9wIHN0b3AtY29sb3I9IiNmMGU1ZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNkZWQwZmYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iY2hlc3MtcGllY2UiIHgxPSIwIiB5MT0iMCIgeDI9Ii43NSIgeTI9IjEiPjxzdG9wIHN0b3AtY29sb3I9IiNiNDc2ZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM3MDMwZGEiLz48L2xpbmVhckdyYWRpZW50PjxmaWx0ZXIgaWQ9ImNoZXNzLXNoYWRvdyIgeD0iLTMwJSIgeT0iLTMwJSIgd2lkdGg9IjE2MCUiIGhlaWdodD0iMTcwJSI+PGZlRHJvcFNoYWRvdyBkeD0iMCIgZHk9IjQiIHN0ZERldmlhdGlvbj0iMyIgZmxvb2QtY29sb3I9IiM1MTY2YTAiIGZsb29kLW9wYWNpdHk9Ii4xNiIvPjwvZmlsdGVyPjwvZGVmcz48cmVjdCB4PSIzIiB5PSIzIiB3aWR0aD0iMTIyIiBoZWlnaHQ9IjEyMiIgcng9IjI5IiBmaWxsPSJ1cmwoI2NoZXNzLXRpbGUpIi8+PHJlY3QgeD0iNSIgeT0iNSIgd2lkdGg9IjExOCIgaGVpZ2h0PSIxMTgiIHJ4PSIyNyIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utb3BhY2l0eT0iLjgiIHN0cm9rZS13aWR0aD0iMiIvPjxlbGxpcHNlIGN4PSI2NSIgY3k9IjExMCIgcng9IjM0IiByeT0iNyIgZmlsbD0iI2E1ODFkMSIgb3BhY2l0eT0iLjIzIi8+PGcgZmlsdGVyPSJ1cmwoI2NoZXNzLXNoYWRvdykiPjxwYXRoIGQ9Ik00MyAxMDRoNDJsLTQtMTItOC0zOCAxMy0yMkg0MmwxMyAyMi04IDM4WiIgZmlsbD0iIzYzMjJjMSIvPjxwYXRoIGQ9Ik00MyAxMDBoNDJsLTQtMTItOC0zOCAxMy0yMkg0MmwxMyAyMi04IDM4WiIgZmlsbD0idXJsKCNjaGVzcy1waWVjZSkiLz48cmVjdCB4PSIzNSIgeT0iMTAxIiB3aWR0aD0iNTgiIGhlaWdodD0iMTIiIHJ4PSI1IiBmaWxsPSIjNzMzMWRiIi8+PHJlY3QgeD0iMzkiIHk9IjkyIiB3aWR0aD0iNTAiIGhlaWdodD0iMTAiIHJ4PSI0IiBmaWxsPSIjOWE1N2YzIi8+PHBhdGggZD0iTTY0IDEzdjI1TTU1IDIzaDE4IiBzdHJva2U9IiM3NzMzZTMiIHN0cm9rZS13aWR0aD0iMTAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxwYXRoIGQ9Ik02MiAxM3YyMU01NSAyMWgxNU00NyAzMmgyOU01NyA1N2wtNSAyN000MyA5NmgyNyIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZDRhY2ZmIiBzdHJva2Utd2lkdGg9IjQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxwYXRoIGQ9Ik01MyA1MmgyM000OSA4N2gzMCIgc3Ryb2tlPSIjNjMyMmMxIiBzdHJva2Utd2lkdGg9IjQiIG9wYWNpdHk9Ii41Ii8+PC9nPjwvc3ZnPg==);
  --gp-icon-caro:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImNhcm8tdGlsZSIgeDE9IjAiIHkxPSIwIiB4Mj0iLjc1IiB5Mj0iMSI+PHN0b3Agc3RvcC1jb2xvcj0iI2Q5ZmZmMCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI2I5ZjRkYyIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJjYXJvLWxpbmVzIiB4MT0iMCIgeTE9IjAiIHgyPSIuNzUiIHkyPSIxIj48c3RvcCBzdG9wLWNvbG9yPSIjMjVjYTg3Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMDA4ZDUyIi8+PC9saW5lYXJHcmFkaWVudD48ZmlsdGVyIGlkPSJjYXJvLXNoYWRvdyIgeD0iLTMwJSIgeT0iLTMwJSIgd2lkdGg9IjE2MCUiIGhlaWdodD0iMTcwJSI+PGZlRHJvcFNoYWRvdyBkeD0iMCIgZHk9IjQiIHN0ZERldmlhdGlvbj0iMyIgZmxvb2QtY29sb3I9IiM1MTY2YTAiIGZsb29kLW9wYWNpdHk9Ii4xNiIvPjwvZmlsdGVyPjwvZGVmcz48cmVjdCB4PSIzIiB5PSIzIiB3aWR0aD0iMTIyIiBoZWlnaHQ9IjEyMiIgcng9IjI5IiBmaWxsPSJ1cmwoI2Nhcm8tdGlsZSkiLz48cmVjdCB4PSI1IiB5PSI1IiB3aWR0aD0iMTE4IiBoZWlnaHQ9IjExOCIgcng9IjI3IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1vcGFjaXR5PSIuOCIgc3Ryb2tlLXdpZHRoPSIyIi8+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNNTIgMjl2NzFNODAgMjl2NzFNMjkgNTNoNzFNMjkgODFoNzFNMjkgMzBsMTMgMTNNNDIgMzAgMjkgNDNNODcgMzFsMTMgMTNNMTAwIDMxIDg3IDQ0TTI5IDg3bDEzIDEzTTQyIDg3IDI5IDEwMCIgc3Ryb2tlPSIjMDA3NzQ0IiBzdHJva2Utd2lkdGg9IjciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMykiIG9wYWNpdHk9Ii4yMyIvPjxwYXRoIGQ9Ik01MiAyNnY3MU04MCAyNnY3MU0yNiA1Mmg3NE0yNiA4MGg3NE0yOSAyOWwxMyAxM000MiAyOSAyOSA0Mk04NyAyOWwxMyAxM00xMDAgMjkgODcgNDJNMjkgODdsMTMgMTNNNDIgODcgMjkgMTAwIiBzdHJva2U9InVybCgjY2Fyby1saW5lcykiIHN0cm9rZS13aWR0aD0iNyIvPjxjaXJjbGUgY3g9IjkzIiBjeT0iOTMiIHI9IjEwIiBzdHJva2U9IiMwMDliNWQiIHN0cm9rZS13aWR0aD0iNyIvPjxwYXRoIGQ9Ik01MyAyOHYxN00yOSA1MWgxM00yOSAyOWw4IDgiIHN0cm9rZT0iIzhjZjBjMyIgc3Ryb2tlLXdpZHRoPSIyLjUiLz48L2c+PC9zdmc+);
  --gp-icon-empty-tray:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9InRyYXktZmFjZSIgeDE9IjAiIHkxPSIwIiB4Mj0iLjc1IiB5Mj0iMSI+PHN0b3Agc3RvcC1jb2xvcj0iI2I1ZDVmZiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzg3YjRmMSIvPjwvbGluZWFyR3JhZGllbnQ+PGZpbHRlciBpZD0idHJheS1zaGFkb3ciIHg9Ii0zMCUiIHk9Ii0zMCUiIHdpZHRoPSIxNjAlIiBoZWlnaHQ9IjE3MCUiPjxmZURyb3BTaGFkb3cgZHg9IjAiIGR5PSI0IiBzdGREZXZpYXRpb249IjMiIGZsb29kLWNvbG9yPSIjNTE2NmEwIiBmbG9vZC1vcGFjaXR5PSIuMTYiLz48L2ZpbHRlcj48L2RlZnM+PHBhdGggZD0iTTI4IDU1aDcybDE3IDI3djI4SDExVjgyWiIgZmlsbD0iIzdjYTdlMSIgb3BhY2l0eT0iLjE4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDMpIi8+PHBhdGggZD0iTTI5IDQ5aDcwbDE3IDI4djI3SDEyVjc3WiIgZmlsbD0idXJsKCN0cmF5LWZhY2UpIi8+PHBhdGggZD0iTTI5IDQ5aDcwbDE3IDI4SDg0bC04IDE0SDUyTDQ0IDc3SDEyWiIgZmlsbD0iI2VkZjZmZiIvPjxwYXRoIGQ9Ik0zMiA1Nmg2NGw5IDE2SDgwbC04IDE0SDU2bC04LTE0SDIzWiIgZmlsbD0iI2M4ZTFmZiIvPjxwYXRoIGQ9Ik02NCAxMnYxNE0yNCAyNGwxMCAxME0xMDQgMjQgOTQgMzQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzg3YjRmMSIgc3Ryb2tlLXdpZHRoPSI2IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=);
  --gp-icon-calendar:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImNhbGVuZGFyLWZhY2UiIHgxPSIwIiB5MT0iMCIgeDI9Ii43NSIgeTI9IjEiPjxzdG9wIHN0b3AtY29sb3I9IiNhZDdjZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM2MzMyZTgiLz48L2xpbmVhckdyYWRpZW50PjxmaWx0ZXIgaWQ9ImNhbGVuZGFyLXNoYWRvdyIgeD0iLTMwJSIgeT0iLTMwJSIgd2lkdGg9IjE2MCUiIGhlaWdodD0iMTcwJSI+PGZlRHJvcFNoYWRvdyBkeD0iMCIgZHk9IjQiIHN0ZERldmlhdGlvbj0iMyIgZmxvb2QtY29sb3I9IiM1MTY2YTAiIGZsb29kLW9wYWNpdHk9Ii4xNiIvPjwvZmlsdGVyPjwvZGVmcz48ZyBmaWx0ZXI9InVybCgjY2FsZW5kYXItc2hhZG93KSI+PHJlY3QgeD0iMTkiIHk9IjI1IiB3aWR0aD0iOTAiIGhlaWdodD0iODYiIHJ4PSIxNCIgZmlsbD0iIzYwMjljZCIvPjxyZWN0IHg9IjE5IiB5PSIyMSIgd2lkdGg9IjkwIiBoZWlnaHQ9Ijg1IiByeD0iMTQiIGZpbGw9InVybCgjY2FsZW5kYXItZmFjZSkiLz48cmVjdCB4PSIyOSIgeT0iNDkiIHdpZHRoPSI3MCIgaGVpZ2h0PSI0NiIgcng9IjUiIGZpbGw9IiNmNGVkZmYiLz48cGF0aCBkPSJNMzkgMTZ2MjBNODkgMTZ2MjAiIHN0cm9rZT0iIzgwNTJlZCIgc3Ryb2tlLXdpZHRoPSI5IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48cGF0aCBkPSJNMjYgMjl2MTMiIHN0cm9rZT0iI2Q2YjlmZiIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48ZyBmaWxsPSIjODk1M2VkIj48cmVjdCB4PSI0MCIgeT0iNTgiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgcng9IjMiLz48cmVjdCB4PSI1OSIgeT0iNTgiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgcng9IjMiLz48cmVjdCB4PSI0MCIgeT0iNzciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgcng9IjMiLz48L2c+PC9nPjwvc3ZnPg==);
}
body[data-family-approved] .family-app .fc-icon:has(image[data-ui-xiangqi=provided-table-v1]) {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}
body[data-family-approved] {
  --gp-ink:#121b50;
  --gp-blue:#1555f4;
  --gp-muted:#5a6d95;
  --gp-surface:linear-gradient(
      135deg,#ffffffef,#fbfdffef);
  --gp-border:#dceaff;
  --gp-shadow:0 6px 18px #6a9dce20,inset 0 1px 0 #fff;
  --gp-field:linear-gradient(
      150deg,#ffffffed,#f5faffd9);
  --gp-primary:linear-gradient(
      180deg,#438cff 0%,#1764ff 20%,#1555f4 72%,#0e4ae5 100%);
  --gp-secondary:linear-gradient(
      150deg,#fff,#f3f0ff);
  --va-ink:var(--gp-ink);
  --va-border:var(--gp-border);
  --va-shadow:var(--gp-shadow);
}
body[data-family-approved] .family-app.family-approved:is([data-ui-module=lobby], [data-ui-module=games], [data-ui-module=achievements], [data-ui-module=me], [data-ui-module=login], [data-ui-module=owner]) {
  --fc-ui-title-weight:600;
  --fc-ui-title-tracking:0;
  --fc-ui-control-weight:600;
  --fc-ui-title-size:18px;
  --fc-ui-title-line:24px;
  --fc-ui-subtitle-size:16px;
  --fc-ui-subtitle-line:22px;
  --fc-ui-panel-radius:14px;
  --fc-ui-control-radius:10px;
  --fc-ui-modal-radius:16px;
  --fc-ui-tabs-radius:12px;
  --fc-ui-tab-radius:8px;
  --fc-ui-panel-shadow:var(--gp-shadow);
  --fc-ui-control-shadow:0 5px 12px #3965dc27,inset 0 2px 5px #ffffff26;
  --fc-ui-soft-shadow:0 4px 12px #9c8ee52b,inset 0 1px 0 #fff;
  --fc-ui-field-shadow:inset 0 1px 0 #fff,0 5px 15px #779ece0c;
  --fc-ui-modal-shadow:0 16px 44px #3c68a336,inset 0 1px 0 #fff;
  --fc-ui-modal-surface:linear-gradient(
      135deg,#fff,#f5faff);
}
@media (min-width: 700px) {
  body[data-family-approved] .family-app.family-approved:is([data-ui-module=lobby], [data-ui-module=games], [data-ui-module=achievements], [data-ui-module=me], [data-ui-module=login], [data-ui-module=owner]) {
    --fc-ui-title-size:20px;
    --fc-ui-title-line:28px;
    --fc-ui-subtitle-size:18px;
    --fc-ui-subtitle-line:24px;
  }
}
body[data-family-approved] .family-app.family-approved {
  --fc-ink:var(--gp-ink);
  --fc-border:var(--gp-border);
  --fc-blue:var(--gp-blue);
  --fc-muted:var(--gp-muted);
  color: var(--gp-ink);
  font-family:
    "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved .family-shell {
  background: var(--fc-app-background,#eef8ff var(--gp-sky) center top/cover no-repeat) !important;
}
body[data-family-approved] .family-app.family-approved :is(.family-shell-content, .fc-module-background) {
  background: transparent !important;
}
body[data-family-approved] .family-app.family-approved :is(.fc-section, .fc-personal-card, .fc-lobby-members, .fc-lobby-tables) {
  background: var(--gp-surface) !important;
  border: 1px solid #ffffffed;
  border-radius: var(--fc-ui-panel-radius,24px);
  box-shadow: var(--fc-ui-panel-shadow,var(--gp-shadow));
  opacity: 1;
}
body[data-family-approved] .family-app.family-approved :is(.fc-section-title, h2) {
  color: var(--gp-ink);
}
body[data-family-approved] .family-app.family-approved .fc-section-title {
  font-size: var(--fc-ui-title-size,20px);
  line-height: var(--fc-ui-title-line,28px);
  font-weight: var(--fc-ui-title-weight,750);
  letter-spacing: var(--fc-ui-title-tracking,-.25px);
}
body[data-family-approved] .family-app.family-approved :is(.fc-catalog-muted, .fc-muted, .fc-help-hint) {
  color: var(--gp-muted);
  line-height: 20px;
}
body[data-family-approved] .family-app.family-approved :is(.fc-directory-search, .fc-game-search, .fc-table-search) {
  min-height: 48px;
  border: 1px solid #c9e0fa;
  border-radius: var(--fc-ui-control-radius,24px);
  background: var(--gp-field) !important;
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 5px 15px #779ece0c);
}
@layer family-controls {
  body[data-family-approved] .family-app.family-approved:not([data-ui-module=owner]) :is(button, a, input, select, textarea, summary, [tabindex]):not(svg *):is(:focus, :focus-visible) {
    outline: 0 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
  }
  body[data-family-approved] .family-app.family-approved:not([data-ui-module=owner]) :is(input, select, textarea):focus {
    border-width: 1px !important;
  }
  body[data-family-approved] .family-app.family-approved:not([data-ui-module=owner]) :is(button, a, summary, [tabindex]):not(svg *):focus-visible {
    border-color: #a6b8d0 !important;
    background-color: color-mix(in srgb, var(--fc-blue-soft,#edf3fb), white 30%);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }
  body[data-family-approved] .family-app.family-approved:not([data-ui-module=owner]) :is(.fc-directory-search, .fc-game-search, .fc-table-search, .fc-games-query, .fc-member-recipient-search, .fc-messages-search, .family-login-input, .ui-profile-upload, .fc-shortcut-icon-choice, .fc-app-background-option):focus-within {
    outline: 0 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    border-color: #a6b8d0 !important;
  }
  body[data-family-approved] .family-app.family-approved:not([data-ui-module=owner]) :is(button, [role=tab], [role=radio], [role=checkbox]):is([aria-selected=true], [aria-pressed=true]) {
    border-width: 1px !important;
    box-shadow: none !important;
  }
  body[data-family-approved] .family-app.family-approved:not([data-ui-module=owner]) .ui-profile-frame-options > button[aria-pressed=true] {
    border-color: var(--fc-border,#d9e3f1) !important;
    background: #edf3fb !important;
  }
  .family-app :is(.fc-directory-search, .fc-game-search, .fc-table-search, .fc-games-query, .fc-member-recipient-search) > input[type=search] {
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .family-app :is(.fc-directory-search, .fc-game-search, .fc-table-search, .fc-games-query, .fc-member-recipient-search):has(> input[type=search]:focus) {
    border-color: var(--gp-blue,var(--fc-blue,#1555f4)) !important;
    box-shadow: none !important;
  }
}
body[data-family-approved] .family-app.family-approved :is(.fc-action, .family-login-submit):not(:where(.fc-directory-dialog-actions > .fc-action[data-tone=red])) {
  min-height: 46px;
  border: 1px solid #448aff;
  border-radius: var(--fc-ui-control-radius,15px);
  background: var(--gp-primary) !important;
  color: #fff !important;
  box-shadow: var(--fc-ui-control-shadow,0 5px 12px #3965dc27,inset 0 2px 5px #ffffff26);
  font-weight: var(--fc-ui-control-weight,700);
}
body[data-family-approved] .family-app.family-approved .fc-action:before {
  content: none;
}
body[data-family-approved] .family-app.family-approved .fc-action[data-variant=soft] {
  background: var(--gp-secondary) !important;
  color: var(--gp-blue) !important;
  border-color: #d5d5ff;
  box-shadow: var(--fc-ui-soft-shadow,0 4px 12px #9c8ee52b,inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved :is(.fc-tabs, .fc-account-tabs, .fc-room-page-tabs, .social-tabs) {
  background: #eef5ffb8;
  border-radius: var(--fc-ui-tabs-radius,17px);
  padding: 4px;
  border: 1px solid #ffffffd9;
  box-shadow: inset 0 1px 0 #fff;
}
body[data-family-approved] .family-app.family-approved :is(.fc-tabs, .fc-account-tabs, .fc-room-page-tabs, .social-tabs) > button:is([aria-selected=true], [aria-pressed=true]) {
  background: var(--fc-selection-bg,#dfeafa) !important;
  color: var(--fc-selection-ink,#214f88) !important;
  border-color: var(--fc-selection-border,#a7bfdc) !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved :is(.fc-link, .fc-section-link) {
  color: var(--gp-blue);
}
body[data-family-approved] .family-app.family-approved .family-shell-nav {
  height: calc(76px + env(safe-area-inset-bottom, 0px));
  min-height: 76px;
  box-sizing: border-box;
  padding: 5px 8px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
  gap: 4px;
  background:
    linear-gradient(
      180deg,
      #fffffff7,
      #fffffff2) !important;
  border-top: 1px solid #dceaff;
  border-radius: 26px 26px 0 0 !important;
  box-shadow: 0 -4px 18px #6a9dce12;
  align-items: stretch;
}
body[data-family-approved] .family-app.family-approved .family-shell-nav button[data-module] {
  flex-direction: column;
  min-height: 62px;
  padding: 5px 1px 7px;
  gap: 3px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--gp-muted) !important;
  border-radius: var(--fc-ui-control-radius,20px);
  background: transparent !important;
}
body[data-family-approved] .family-app.family-approved .family-shell-nav button[data-module][aria-current=page] {
  background:
    linear-gradient(
      180deg,
      #eff8ff,
      #e4f1ff) !important;
  color: #114bdd !important;
  font-weight: var(--fc-ui-control-weight,750);
}
body[data-family-approved] .family-app.family-approved .family-shell-nav button[data-module][aria-current=page]:after {
  height: 3px;
  bottom: 1px;
  left: 21%;
  right: 21%;
  background: #1555f4;
  border-radius: 4px;
}
body[data-family-approved] .family-app.family-approved .family-shell-nav button[data-module] > .fc-icon {
  width: 30px;
  height: 30px;
  flex: none;
  filter: none;
  background: center/contain no-repeat var(--gp-icon-nav-home);
}
body[data-family-approved] .family-app.family-approved .family-shell-nav button[data-module=games] > .fc-icon {
  background-image: var(--gp-icon-nav-games);
}
body[data-family-approved] .family-app.family-approved .family-shell-nav button[data-module=achievements] > .fc-icon {
  background-image: var(--gp-icon-nav-rank);
}
body[data-family-approved] .family-app.family-approved .family-shell-nav button[data-module=me] > .fc-icon {
  background-image: var(--gp-icon-nav-me);
}
body[data-family-approved] .family-app.family-approved .family-shell-nav button[data-module] > .fc-icon > * {
  visibility: hidden;
}
body[data-family-approved] .family-app.family-approved :is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid var(--gp-blue);
  outline-offset: 2px;
}
body[data-family-approved] .family-app.family-approved button:disabled {
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved :is(.fc-action, .family-login-submit):is(:disabled, [aria-disabled=true]) {
  background: #eef1f6 !important;
  color: #59667b !important;
  border-color: #dce2eb !important;
  opacity: 1 !important;
  filter: none;
  box-shadow: none !important;
  cursor: default;
}
body[data-family-approved] .family-app.family-approved .match-sheet,
body[data-family-approved]:has(.family-app.family-approved) > .match-backdrop > .match-sheet {
  background:
    linear-gradient(
      135deg,
      #fff,
      #f5faff) !important;
  color: var(--gp-ink);
  border: 1px solid var(--gp-border) !important;
  border-radius: var(--fc-ui-modal-radius,24px);
  box-shadow: var(--fc-ui-modal-shadow,0 16px 44px #3c68a336,inset 0 1px 0 #fff);
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved .match-sheet > header > h2 {
  font-size: var(--fc-ui-title-size,20px);
  line-height: var(--fc-ui-title-line,28px);
  font-weight: var(--fc-ui-title-weight,750);
}
body[data-family-approved] .family-app.family-approved .match-sheet > header > button {
  background: var(--gp-secondary);
  color: var(--gp-blue);
  border-radius: var(--fc-ui-control-radius,14px);
  box-shadow: var(--fc-ui-control-shadow,0 3px 10px #9c8ee518);
}
@media (min-width: 700px) {
  body[data-family-approved] .family-app.family-approved .family-shell-nav {
    width: min(560px, 100%);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin-inline: 0;
  }
}
body[data-family-approved] .family-app.family-approved:is([data-ui-module=login], [data-ui-module=owner]) {
  background: #eef8ff var(--gp-sky) center top/cover no-repeat;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=login] .family-login {
  background: var(--gp-surface) !important;
  border: 1px solid #ffffffed;
  box-shadow: var(--fc-ui-panel-shadow,var(--gp-shadow));
  border-radius: var(--fc-ui-panel-radius,26px);
  overflow: hidden;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=login] .family-login-content {
  background: var(--gp-surface) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=login] .family-login-heading h1 {
  font-size: var(--fc-ui-title-size,26px);
  line-height: var(--fc-ui-title-line,34px);
  letter-spacing: var(--fc-ui-title-tracking,-.4px);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=login] .family-login-input {
  background: var(--gp-field) !important;
  border: 1px solid #c9e0fa;
  border-radius: var(--fc-ui-control-radius,16px);
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 5px 15px #779ece10);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=login] .family-login-submit:not(:disabled) {
  background: var(--gp-primary) !important;
  box-shadow: var(--fc-ui-control-shadow,0 5px 12px #3965dc27,inset 0 2px 5px #ffffff26);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=owner] .ui-owner-preview :is(fieldset, section) {
  background: var(--gp-surface) !important;
  border-color: var(--gp-border) !important;
  border-radius: 22px;
  box-shadow: var(--gp-shadow);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=owner] .ui-owner-preview :is(input, select, textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]) {
  background: var(--gp-field) !important;
  border-radius: var(--fc-ui-control-radius,14px);
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 4px 12px #779ece14);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=owner] .ui-owner-preview button:not(:disabled) {
  background: var(--gp-secondary);
  border-radius: var(--fc-ui-control-radius,14px);
  box-shadow: var(--fc-ui-control-shadow,0 4px 12px #9c8ee518);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=owner] .ui-owner-preview button:is([type=submit], .primary, .fc-action):not(:disabled) {
  background: var(--gp-primary) !important;
  color: #fff !important;
}
body[data-family-approved] .family-app.family-approved .family-shell-content .fc-section > header {
  border-bottom: 1px solid var(--gp-border);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=owner] .ui-owner-preview {
  display: grid;
  gap: 12px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.5;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=owner] .ui-owner-preview :is(section, fieldset) {
  min-width: 0;
  padding: 14px;
  margin: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=owner] .ui-owner-preview :is(h2, h3, legend) {
  font-size: var(--fc-ui-subtitle-size,18px);
  line-height: 1.35;
  font-weight: var(--fc-ui-title-weight,650);
  color: var(--gp-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=owner] .ui-owner-preview :is(h2, h3) {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gp-border);
  margin: 0 0 12px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=owner] .ui-owner-preview label {
  font-size: 14px;
  line-height: 1.45;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=owner] .ui-owner-preview :is(input, select, textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]) {
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.4;
  padding: 8px 12px;
  color: var(--gp-ink);
  border: 1px solid var(--gp-border);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=owner] .ui-owner-preview button {
  min-height: 44px;
  line-height: 1.4;
  font-size: 14px;
  padding: 8px 12px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=login] .family-login-input {
  min-height: 48px;
  font-size: 16px;
  color: var(--gp-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby {
  color: var(--gp-ink,#121b50);
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-hero {
  background: transparent;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-greeting {
  flex: 1;
  min-width: 0;
  gap: 0;
  min-height: 44px;
  text-align: left;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-greeting strong {
  font-size: var(--fc-ui-title-size,24px);
  line-height: var(--fc-ui-title-line,26px);
  font-weight: var(--fc-ui-title-weight,750);
  color: var(--gp-ink,#121b50);
  letter-spacing: var(--fc-ui-title-tracking,-.35px);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-greeting > span {
  display: block;
  min-width: 0;
  width: 100%;
  font-size: 13px;
  line-height: 18px;
  color: var(--gp-muted,#5a6d95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-tools {
  flex: none;
  align-items: center;
  gap: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-round-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border: 0;
  border-radius: var(--fc-ui-control-radius,16px);
  color: var(--gp-blue,#1555f4);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-notice-counter {
  top: 0;
  right: 0;
  box-sizing: border-box;
  min-width: 18px;
  padding: 1px 4px;
  font:
    700 12px/16px "Segoe UI",
    Arial,
    sans-serif;
  white-space: nowrap;
  background:
    linear-gradient(
      160deg,
      #ff746d,
      #db484a);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px #cf55552b;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-hero {
  position: relative;
  z-index: 2;
  overflow: visible;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-account {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-account-trigger {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  padding: 2px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-account-trigger > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-account-trigger .fc-profile-avatar {
  --fc-profile-avatar-size:52;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 90;
  box-sizing: border-box;
  width: 220px;
  max-width: calc(100vw - 24px);
  padding: 10px;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: 18px;
  background: var(--gp-surface,#fff);
  box-shadow: var(--gp-shadow,0 6px 18px #6a9dce20), 0 12px 32px #526e9930;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-account-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-bottom: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-account-avatar {
  display: grid;
  place-items: center;
  flex: none;
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  padding: 2px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-account-avatar .fc-profile-avatar {
  --fc-profile-avatar-size:52;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-account-identity > p {
  min-width: 0;
  margin: 0;
  font:
    650 14px/20px "Segoe UI",
    Arial,
    sans-serif;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-account-menu > button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d7e6ff;
  border-radius: var(--fc-ui-control-radius,13px);
  background:
    linear-gradient(
      145deg,
      #f8fcff,
      #e4f0ff);
  color: var(--gp-blue,#1555f4);
  font:
    var(--fc-ui-control-weight,650) 14px/22px "Segoe UI",
    Arial,
    sans-serif;
  text-align: left;
  cursor: pointer;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-account-menu > button:disabled {
  color: var(--gp-muted,#5a6d95);
  cursor: default;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .family-lobby-banner {
  border-radius: 26px;
  box-shadow: 0 6px 18px #6a9dce20, inset 0 1px 0 #fff;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section {
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: var(--fc-ui-panel-radius,26px);
  background: var(--gp-surface,linear-gradient(135deg,#ffffffef,#fbfdffef));
  box-shadow: var(--fc-ui-panel-shadow,var(--gp-shadow,0 6px 18px #6a9dce20),inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section-title {
  font-size: var(--fc-ui-title-size,20px);
  line-height: var(--fc-ui-title-line,26px);
  font-weight: var(--fc-ui-title-weight,750);
  letter-spacing: var(--fc-ui-title-tracking,-.3px);
  color: var(--gp-ink,#121b50);
  gap: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section-title > .fc-icon {
  flex: none;
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 2px #629ea31a);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-tables .fc-section-title > .fc-icon {
  width: 32px;
  height: 32px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-section-head > .fc-link {
  font-size: 13px;
  line-height: 20px;
  color: var(--gp-blue,#1555f4);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-online {
  font-size: 13px;
  line-height: 20px;
  color: #16845c;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-strip {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  gap: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile {
  flex: 0 0 calc((100% - 32px)/5);
  min-width: 80px;
  min-height: 62px;
  border-radius: 14px;
  background: transparent;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile .ui-lobby-avatar {
  width: 42px;
  height: 42px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile .fc-profile-avatar {
  --fc-profile-avatar-size:42;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-person > strong {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--gp-ink,#121b50);
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-invite-copy > strong,
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > strong {
  color: var(--gp-ink,#121b50);
  font-size: 14px;
  line-height: 22px;
  font-weight: 650;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-invite-copy > small,
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > small:not([data-playing]) {
  color: var(--gp-muted,#5a6d95);
  font-size: 12px;
  line-height: 18px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-invite-actions > .fc-action {
  border-radius: var(--fc-ui-control-radius,14px);
  box-shadow: var(--fc-ui-control-shadow,inset 0 1px 0 #fff,0 3px 9px #82b7a51f);
  background:
    linear-gradient(
      145deg,
      #f3fff9,
      #d6f7e8) !important;
  color: #16845c !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-invite-actions > .fc-action[data-variant=soft] {
  background:
    linear-gradient(
      150deg,
      #fff,
      #f3f0ff) !important;
  border: 1px solid #d5d5ff;
  color: var(--gp-blue,#1555f4) !important;
  box-shadow: var(--fc-ui-soft-shadow,0 4px 12px #9c8ee52b,inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-invite + .ui-lobby-invite {
  border-color: var(--gp-border,#dceaff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > small[data-playing] {
  color: #a86b00;
  font-size: 12px;
  line-height: 18px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table-copy > small[data-playing=true] {
  color: #16845c;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table > .fc-action {
  min-height: 44px;
  border-radius: var(--fc-ui-control-radius,15px);
  font:
    var(--fc-ui-control-weight,700) 14px/22px "Segoe UI",
    Arial,
    sans-serif;
  border: 1px solid #448aff;
  background:
    linear-gradient(
      180deg,
      #438cff 0%,
      #1764ff 20%,
      #1555f4 72%,
      #0e4ae5 100%) !important;
  box-shadow: var(--fc-ui-control-shadow,0 5px 12px #3965dc27,inset 0 2px 5px #ffffff26);
  color: #fff !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-table > .fc-action[data-variant=soft] {
  border-color: #d5d5ff;
  background:
    linear-gradient(
      150deg,
      #fff,
      #f3f0ff) !important;
  box-shadow: var(--fc-ui-soft-shadow,0 4px 12px #9c8ee52b,inset 0 1px 0 #fff);
  color: var(--gp-blue,#1555f4) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby :is(.ui-lobby-invite-actions > .fc-action, .ui-lobby-table > .fc-action):disabled {
  background:
    linear-gradient(
      145deg,
      #f0f4fb,
      #e4ebf5) !important;
  border-color: #d5dfed !important;
  color: var(--gp-muted,#5a6d95) !important;
  box-shadow: var(--fc-ui-control-shadow,inset 0 1px 0 #fff);
  opacity: 1 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-help-trigger {
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-table-art:has(image[data-ui-table-icon]) {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut {
  flex-basis: var(--fc-home-shortcut-width,128px);
  min-width: 0;
  min-height: 70px;
  border: 1px solid #e3ddff;
  border-radius: var(--fc-ui-control-radius,18px);
  background:
    linear-gradient(
      145deg,
      #fffeff,
      #efe9ff);
  box-shadow: var(--fc-ui-control-shadow,0 4px 12px #9c8ee51f,inset 0 1px 0 #fff);
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut[data-tone=green] {
  border-color: #cdeee2;
  background:
    linear-gradient(
      145deg,
      #fcfffd,
      #dcf7ec);
  box-shadow: var(--fc-ui-control-shadow,0 4px 12px #77bda21f,inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut > .fc-icon {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 2px #8065ba20);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut strong {
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--fc-ui-control-weight,650);
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] > .match-backdrop > .match-sheet {
  border: 1px solid var(--gp-border,#dceaff) !important;
  border-radius: var(--fc-ui-modal-radius,26px) !important;
  background: var(--fc-ui-modal-surface,var(--gp-surface,linear-gradient(135deg,#fffffffa,#fbfdfffa))) !important;
  box-shadow: var(--fc-ui-modal-shadow,var(--gp-shadow,0 6px 18px #6a9dce20),inset 0 1px 0 #fff) !important;
  color: var(--gp-ink,#121b50) !important;
  max-height: calc(100dvh - 24px);
  overflow: auto;
  overscroll-behavior: contain;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] > .match-backdrop > .match-sheet > header > h2 {
  color: var(--gp-ink,#121b50) !important;
  font:
    var(--fc-ui-title-weight,750) var(--fc-ui-title-size,22px)/var(--fc-ui-title-line,28px) "Segoe UI",
    Arial,
    sans-serif !important;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] > .match-backdrop > .match-sheet > header > button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #d7e6ff;
  border-radius: var(--fc-ui-control-radius,15px);
  background:
    linear-gradient(
      145deg,
      #f8fcff,
      #e4f0ff);
  box-shadow: var(--fc-ui-control-shadow,inset 0 1px 0 #fff,0 3px 9px #779ece1c);
  color: var(--gp-blue,#1555f4);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] :is(.ui-lobby-sheet, .fc-activity-panel) {
  color: var(--gp-ink,#121b50);
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-sheet :is(.ui-lobby-directory-row, .ui-lobby-profile-rank, .fc-directory-search) {
  border-color: var(--gp-border,#dceaff);
  border-radius: var(--fc-ui-control-radius,20px);
  background: var(--gp-surface,linear-gradient(135deg,#ffffffef,#fbfdffef));
  box-shadow: var(--fc-ui-field-shadow,0 4px 12px #6a9dce12,inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-sheet :is(.ui-lobby-action-reason, .ui-lobby-member-cta > small, .ui-lobby-directory-person small, .ui-lobby-profile-identity p, .ui-lobby-profile-identity small) {
  color: var(--gp-muted,#5a6d95);
  font-size: 13px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-sheet .ui-lobby-profile-identity h3 {
  font-size: var(--fc-ui-subtitle-size,22px);
  line-height: var(--fc-ui-subtitle-line,28px);
  color: var(--gp-ink,#121b50);
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-sheet .ui-lobby-elo > strong {
  color: var(--gp-blue,#1555f4);
  font-size: 24px;
  line-height: 30px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-sheet .fc-directory-search {
  min-height: 44px;
  background:
    linear-gradient(
      150deg,
      #ffffffed,
      #f5faffd9);
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-sheet .fc-directory-search input {
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .fc-notice-list {
  display: grid;
  gap: 12px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .fc-notice-list > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: 20px;
  background: var(--gp-surface,linear-gradient(135deg,#ffffffef,#fbfdffef));
  box-shadow: 0 4px 12px #6a9dce12, inset 0 1px 0 #fff;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .fc-notice-list > li[data-unread=true] {
  background:
    linear-gradient(
      140deg,
      #fff,
      #eff7ff);
  border-color: #cce2ff;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .fc-notice-copy strong {
  font:
    650 14px/22px "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-ink,#121b50);
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .fc-notice-copy small {
  font:
    400 13px/20px "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-muted,#5a6d95);
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .fc-notice-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .fc-notice-actions > :last-child:nth-child(odd) {
  grid-column: 1/-1;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .fc-activity-panel :is(button, .fc-action, .fc-link) {
  min-height: 44px;
  min-width: 44px;
  font-size: 14px;
  line-height: 22px;
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] :is(.ui-lobby-empty, .fc-activity-panel > p) {
  padding: 12px;
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      #ffffffd9,
      #eff7ffe0);
  color: var(--gp-muted,#5a6d95);
  font-size: 14px;
  line-height: 22px;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] :is(.ui-lobby, .ui-lobby-sheet, .fc-activity-panel) :is(button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--gp-blue,#1555f4);
  outline-offset: 2px;
}
@media (max-width: 379px) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .family-lobby-banner {
    max-height: 108px;
  }
}
@media (min-width: 1000px) and (orientation: landscape), (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-tile {
    flex-basis: calc((100% - 48px)/7);
  }
}
@media (min-width: 1100px) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .family-lobby-banner {
    height: clamp(220px, 18vw, 260px);
    max-height: 260px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 45%;
  }
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 72px;
  padding: 10px 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--gp-ink,#121b50);
  text-align: left;
  white-space: normal;
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-link:hover {
  background: #edf5ff;
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-visual {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  color: var(--gp-blue,#1555f4);
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      #f6fbff,
      #e4efff);
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-visual > .fc-profile-avatar {
  --fc-profile-avatar-size:42;
  flex: none;
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-copy > strong {
  color: var(--gp-ink,#121b50);
  font:
    400 14px/20px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-copy > span {
  color: var(--gp-muted,#5a6d95);
  font:
    400 13px/18px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved :is(.ui-preview-notice-copy, .ui-preview-notice-detail) > time {
  color: var(--gp-muted,#5a6d95);
  font:
    400 12px/18px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved .match-sheet:has(.ui-preview-activity) {
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: var(--fc-ui-modal-radius,26px);
  background: var(--fc-ui-modal-surface,var(--gp-surface,linear-gradient(135deg,#ffffffef,#fbfdffef)));
  box-shadow: var(--fc-ui-modal-shadow,0 10px 32px #6a9dce30,inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved .match-sheet:has(.ui-preview-activity) > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body[data-family-approved] .family-app.family-approved .match-sheet:has(.ui-preview-activity) > header h2 {
  min-width: 0;
  margin: 0;
  font:
    var(--fc-ui-title-weight,700) var(--fc-ui-title-size,18px)/var(--fc-ui-title-line,24px) "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved .match-sheet:has(.ui-preview-activity) > header button {
  flex: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--fc-ui-control-radius,15px);
  color: var(--gp-blue,#1555f4);
  background:
    linear-gradient(
      145deg,
      #fff,
      #e8f3ff);
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity {
  min-width: 0;
  color: var(--gp-ink,#121b50);
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-list {
  list-style: none;
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 12px 0 0;
  padding: 0;
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-list > li {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      #ffffffef,
      #f4f9ffef);
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-list .ui-preview-notice-link {
  min-height: 68px;
  padding: 2px 0;
}
body[data-family-approved] .family-app.family-approved .ui-preview-pending-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 4px 0 8px;
}
body[data-family-approved] .family-app.family-approved .ui-preview-pending-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved .ui-preview-pending-actions > button {
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border-radius: var(--fc-ui-control-radius,14px);
  font:
    var(--fc-ui-control-weight,650) 14px/20px "Segoe UI",
    Arial,
    sans-serif;
  white-space: normal;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-notice-list > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 110px;
  padding: 8px;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-pending-copy {
  gap: 8px;
  padding: 0;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-pending-actions {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  align-self: center;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-pending-actions > button:disabled {
  background: #eaf2fc !important;
  color: #5a6d95 !important;
  border-color: #dce6f2 !important;
  opacity: 1 !important;
  box-shadow: var(--fc-ui-control-shadow,inset 0 1px 0 #fff) !important;
  cursor: default;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity :is(button, .fc-link):focus-visible {
  outline: 3px solid var(--gp-blue,#1555f4);
  outline-offset: 2px;
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-detail {
  display: grid;
  justify-items: start;
  gap: 12px;
  min-width: 0;
  padding: 12px 0;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-detail > .fc-link {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 0;
  color: var(--gp-blue,#1555f4);
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-detail h3 {
  margin: 0;
  font:
    400 var(--fc-ui-subtitle-size,16px)/var(--fc-ui-subtitle-line,24px) "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved .ui-preview-notice-detail p {
  margin: 0;
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity-empty {
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 18px;
  background: #f1f7ff;
  color: var(--gp-muted,#5a6d95);
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  min-width: 0;
  padding: 4px 0 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gp-muted,#5a6d95) var(--fc-blue-soft);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--fc-home-shortcut-width,128px);
  box-sizing: border-box;
  height: auto;
  min-height: 76px;
  padding: 8px 4px;
  gap: 6px;
  overflow: visible;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut > .fc-icon {
  display: block;
  flex: 0 0 26px;
  min-width: 26px;
  min-height: 26px;
  width: 26px;
  height: 26px;
  overflow: visible;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-shortcuts > .fc-shortcut > strong {
  display: block;
  flex: none;
  min-width: 0;
  max-width: 100%;
  min-height: 18px;
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-person {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 0;
  text-align: left;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-person > .ui-lobby-avatar {
  flex: none;
  width: 42px;
  height: 42px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-person > span:not(.ui-lobby-avatar) {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 2px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-person strong {
  display: block;
  min-width: 0;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-person small {
  display: block;
  min-width: 0;
  font-size: 12px;
  line-height: 18px;
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-row > .fc-action,
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-row .ui-lobby-member-cta > .fc-action {
  min-width: 44px;
  max-width: 112px;
  min-height: 44px;
  padding: 6px 8px;
  font-size: 14px;
  line-height: 20px;
  white-space: normal;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-directory-row .ui-lobby-member-cta {
  display: grid;
  max-width: 112px;
  min-width: 0;
  gap: 4px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-shortcuts > .fc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  height: auto;
  margin: 0 0 4px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-shortcuts > .fc-section-head > .fc-section-title {
  margin: 0;
  align-self: center;
  min-width: 0;
  transform: none;
  translate: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-shortcuts > .fc-section-head > .fc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: static;
  inset: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  align-self: center;
  transform: none;
  translate: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-brand,
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-home-tools {
  overflow: visible;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members > .fc-section-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members > .fc-section-head > .fc-section-title {
  margin: 0;
  flex: 1 1 auto;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members > .fc-section-head > .fc-link {
  margin-left: auto;
  min-height: 44px;
  display: flex;
  align-items: center;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-online::before {
  display: none;
  content: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members > .fc-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0 8px;
  min-height: 44px;
  height: auto;
  margin: 0;
  padding: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members > .fc-section-head > .fc-section-title {
  min-width: 0;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members > .fc-section-head > .fc-link {
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  justify-self: end;
  white-space: nowrap;
}
@media (max-width: 379px) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members > .fc-section-head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title action" "online action";
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members > .fc-section-head > .fc-section-title {
    grid-area: title;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members > .fc-section-head > .ui-lobby-online {
    grid-area: online;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .ui-lobby-members > .fc-section-head > .fc-link {
    grid-area: action;
    align-self: center;
  }
}
body[data-family-approved] .family-app.family-approved:is([data-ui-module=me], [data-ui-module=achievements]) {
  --mr-ink:var(--gp-ink,#121b50);
  --mr-blue:var(--gp-blue,#1555f4);
  --mr-muted:var(--gp-muted,#5a6d95);
  --mr-panel:var(--gp-surface,linear-gradient(145deg,#ffffffef,#fbfdfff2));
  --mr-border:var(--gp-border,#ffffffed);
  --mr-shadow:var(--gp-shadow,0 6px 18px #6a9dce20,inset 0 1px 0 #fff);
  --mr-field:linear-gradient(
      150deg,#ffffffed,#f5faffd9);
  --mr-overlay:linear-gradient(
      145deg,#fffffffa,#fbfdfffa);
  --mr-lavender:linear-gradient(
      120deg,#fffeff,#f8f5ff 55%,#ece6ff);
  --mr-mint:linear-gradient(
      120deg,#fcfffd,#effdf7 55%,#d8f8eb);
  --mr-coral:linear-gradient(
      120deg,#fffefe,#fff5f7 55%,#ffe8ef);
  color: var(--mr-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated {
  background: transparent !important;
  color: var(--mr-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .ui-me-landscape {
  display: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-content > .fc-section {
  background: var(--mr-panel) !important;
  border: 1px solid var(--mr-border) !important;
  border-radius: var(--fc-ui-panel-radius,26px) !important;
  box-shadow: var(--fc-ui-panel-shadow,var(--mr-shadow)) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-profile-info > h2 {
  font-size: var(--fc-ui-title-size,22px);
  line-height: var(--fc-ui-title-line,28px);
  font-weight: var(--fc-ui-title-weight,750);
  color: var(--mr-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-profile > .ui-me-edit {
  font-size: 14px;
  line-height: 20px;
  border: 1px solid #d5d5ff;
  border-radius: var(--fc-ui-control-radius,15px);
  background:
    linear-gradient(
      150deg,
      #fff,
      #f3f0ff) !important;
  box-shadow: var(--fc-ui-control-shadow,0 4px 12px #9c8ee52b,inset 0 1px 0 #fff) !important;
  color: var(--mr-blue) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-presence:before {
  background:
    linear-gradient(
      150deg,
      #edfff8,
      #c9f7e8);
  box-shadow: inset 0 1px 0 #fff, 0 3px 8px #42b78e12;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-presence[data-online=false]:before {
  background: var(--mr-field);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-family-card {
  background:
    linear-gradient(
      120deg,
      #fff,
      #f5faff 70%,
      #e6f4ff) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-family-copy strong {
  font-size: 18px;
  line-height: 24px;
  color: var(--mr-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-family-copy small {
  font-size: 13px;
  line-height: 20px;
  color: var(--mr-muted);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-content > :is(.fc-personal-activity, .fc-personal-settings) {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated :is(.fc-personal-activity, .fc-personal-settings) .fc-section-head {
  min-height: 32px;
  margin-bottom: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-section-title {
  font-size: var(--fc-ui-title-size,20px);
  line-height: var(--fc-ui-title-line,28px);
  font-weight: var(--fc-ui-title-weight,750);
  color: var(--mr-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-section-title > .fc-icon {
  width: 26px;
  height: 26px;
  color: var(--mr-blue);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut {
  min-height: 110px;
  padding: 12px 5px 7px;
  gap: 3px;
  border: 1px solid var(--mr-border) !important;
  border-radius: var(--fc-ui-control-radius,20px) !important;
  background:
    linear-gradient(
      140deg,
      #fff,
      #eaf6ff) !important;
  box-shadow: var(--fc-ui-control-shadow,var(--mr-shadow)) !important;
  color: var(--mr-ink);
  opacity: 1;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut[data-tone=gold] {
  background:
    linear-gradient(
      140deg,
      #fffdfb,
      #fff1df) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut[data-tone=purple] {
  background: var(--mr-lavender) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-settings .fc-shortcut[data-tone=green] {
  background: var(--mr-mint) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut > .fc-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 2px #6a9dce18);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut > strong {
  font-size: 14px;
  line-height: 20px;
  color: var(--mr-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut > span {
  font-size: 26px;
  line-height: 30px;
  color: var(--mr-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-settings .fc-personal-tiles > .fc-shortcut {
  min-height: 96px;
  justify-content: center;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-content > .ui-me-logout {
  background:
    linear-gradient(
      120deg,
      #fff1f5,
      #ffe9f0 60%,
      #ffdfe9) !important;
  border-color: #ffcedd !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-logout > .fc-link > .fc-icon:first-child {
  width: 30px;
  height: 30px;
  color: #df3c54 !important;
  opacity: 1;
  filter: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-logout > .fc-link > .fc-icon:first-child > g[fill=none] {
  stroke-width: 2.2;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-logout strong {
  font-size: 18px;
  line-height: 24px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-logout small {
  font-size: 13px;
  line-height: 20px;
  color: var(--mr-muted);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-directory :is(.fc-directory-heading, .fc-personal-contact) {
  background: var(--mr-panel) !important;
  border: 1px solid var(--mr-border) !important;
  border-radius: var(--fc-ui-panel-radius,24px) !important;
  box-shadow: var(--fc-ui-panel-shadow,var(--mr-shadow)) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-directory .fc-directory-search {
  min-height: 48px;
  border-radius: var(--fc-ui-control-radius,24px);
  border: 1px solid #c9e0fa;
  background: var(--mr-field) !important;
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 5px 15px #779ece0c);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-directory .fc-directory-search input {
  font-size: 14px;
  color: var(--mr-ink);
  background: transparent !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-contact-identity strong {
  font-size: 16px;
  line-height: 22px;
  color: var(--mr-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-contact-identity {
  grid-template-columns: 44px minmax(0, 1fr);
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-contact-identity > .fc-profile-avatar {
  --fc-profile-avatar-size:44;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-contact-identity small {
  font-size: 13px;
  line-height: 20px;
  color: var(--mr-muted);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-contact-identity small[data-online=true] {
  color: #008957;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:is([data-ui-module=me], [data-ui-module=achievements]) > .match-backdrop > .match-sheet:not(:has(> .ui-dialog-body)) {
  background: var(--fc-ui-modal-surface,var(--mr-overlay)) !important;
  border: 1px solid var(--mr-border) !important;
  border-radius: var(--fc-ui-modal-radius,26px) !important;
  box-shadow: var(--fc-ui-modal-shadow,0 14px 40px #3d78bb26,inset 0 1px 0 #fff) !important;
  color: var(--mr-ink) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:is([data-ui-module=me], [data-ui-module=achievements]) > .match-backdrop > .match-sheet:not(:has(> .ui-dialog-body)) > header {
  background: transparent !important;
  border-color: #dceaff !important;
  color: var(--mr-ink) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:is([data-ui-module=me], [data-ui-module=achievements]) > .match-backdrop > .match-sheet:not(:has(> .ui-dialog-body)) > header > h2 {
  font-size: var(--fc-ui-title-size,22px);
  line-height: var(--fc-ui-title-line,28px);
  color: var(--mr-ink) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-profile-editor :is(.ui-profile-preview, .fc-personal-frames > label) {
  background: var(--mr-field) !important;
  border-color: #dceaff !important;
  border-radius: var(--fc-ui-panel-radius,18px) !important;
  box-shadow: var(--fc-ui-panel-shadow,inset 0 1px 0 #fff,0 3px 9px #6a9dce0c) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-profile-editor .fc-personal-frames > label:has(input:checked) {
  background:
    linear-gradient(
      145deg,
      #eff9ff,
      #dceeff) !important;
  border-color: #5b9dff !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-profile-editor :is(.ui-profile-field > input, .ui-profile-upload) {
  border: 1px solid #c9e0fa !important;
  border-radius: var(--fc-ui-control-radius,15px) !important;
  background: var(--mr-field) !important;
  color: var(--mr-ink) !important;
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 4px 12px #6a9dce0c) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-profile-editor .ui-profile-actions {
  background: var(--mr-overlay) !important;
  border-color: #dceaff !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-profile-editor .ui-profile-actions > .fc-action:not(:disabled) {
  background:
    linear-gradient(
      180deg,
      #438cff,
      #1764ff 20%,
      #1555f4 72%,
      #0e4ae5) !important;
  box-shadow: var(--fc-ui-control-shadow,0 5px 12px #3965dc27,inset 0 2px 5px #ffffff26) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-profile-editor :is(.ui-profile-label-row, .ui-profile-frames-field > legend, .ui-profile-preview-name) {
  color: var(--mr-ink) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-profile-editor :is(.ui-profile-name-count, .ui-profile-summary, .ui-profile-summary .fc-catalog-muted) {
  color: var(--mr-muted) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:is([data-ui-module=me], [data-ui-module=achievements]) > .match-backdrop .fc-help-bubble {
  background: var(--mr-overlay) !important;
  border-color: #dceaff !important;
  color: var(--mr-ink) !important;
}
body[data-family-approved] .family-app.family-approved:is([data-ui-module=me], [data-ui-module=achievements]) :is(.fc-empty, .ui-simulation-note, .ui-sample-label) {
  color: var(--mr-muted);
  font-size: 13px;
  line-height: 20px;
}
body[data-family-approved] .family-app.family-approved:is([data-ui-module=me], [data-ui-module=achievements]) .fc-personal-feedback[role=alert] {
  color: #c93449 !important;
  opacity: 1;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-shortcut:is(:disabled, [aria-disabled=true]) {
  background: var(--mr-field) !important;
  color: var(--mr-muted) !important;
  opacity: 1 !important;
  filter: none;
  box-shadow: var(--fc-ui-control-shadow,inset 0 1px 0 #fff) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-profile-editor :is(.ui-profile-field > input:disabled, .ui-profile-photo:disabled .ui-profile-upload, .ui-profile-actions > .fc-action:disabled) {
  background: var(--mr-field) !important;
  color: var(--mr-muted) !important;
  opacity: 1 !important;
  box-shadow: none !important;
}
@media (min-width: 700px) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-profile-info > h2 {
    font-size: var(--fc-ui-title-size,24px);
    line-height: var(--fc-ui-title-line,32px);
  }
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref {
  display: block !important;
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
  color: var(--mr-ink);
  font: 400 14px/20px var(--ui-font-family,system-ui);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref * {
  box-sizing: border-box;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref > [role=tabpanel] {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 0;
  margin: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-section {
  margin: 0 !important;
  min-width: 0;
  min-height: 0 !important;
  padding: 10px !important;
  background: var(--mr-panel) !important;
  border: 1px solid #dceaff !important;
  border-radius: var(--fc-ui-panel-radius,14px) !important;
  box-shadow: var(--fc-ui-panel-shadow,0 3px 10px #6a9dce12) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 30px !important;
  margin: 0 0 6px !important;
  padding: 0 0 6px;
  border-bottom: 1px solid #e0eaf8;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
  font-size: var(--fc-ui-title-size,18px) !important;
  line-height: var(--fc-ui-title-line,24px) !important;
  font-weight: var(--fc-ui-title-weight,600) !important;
  color: var(--mr-ink);
  white-space: normal;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-section-title > .fc-icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--mr-blue);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref :is(button, select) {
  font-family: var(--ui-font-family,system-ui);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref button:focus-visible {
  outline: 2px solid var(--mr-blue);
  outline-offset: 2px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 6px;
  margin: 0 0 8px !important;
  overflow: visible;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-game-picker {
  position: relative;
  display: block !important;
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-game-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 5px 6px;
  border: 1px solid #d9e9fa;
  border-radius: 12px;
  background:
    linear-gradient(
      150deg,
      #fff,
      #eaf5ff) !important;
  box-shadow: inset 0 1px 0 #fff !important;
  color: var(--mr-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-game-trigger > .fc-icon:first-child {
  width: 26px;
  height: 26px;
  flex: none;
  color: #ba7216;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-game-trigger > .fc-icon:last-child {
  width: 14px;
  height: 14px;
  flex: none;
  margin-left: auto;
  transform: rotate(90deg);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-game-options {
  position: absolute;
  inset: calc(100% + 5px) auto auto 0;
  z-index: 30;
  width: max-content;
  min-width: 100%;
  max-width: calc(100vw - 24px);
  padding: 4px;
  border: 1px solid #c9e0fa;
  border-radius: 12px;
  background: #fcfdff;
  box-shadow: 0 8px 24px #477cab30;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-game-options > button {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  padding: 7px 8px;
  border: 0;
  border-radius: var(--fc-ui-control-radius,8px);
  background: #e9f3ff;
  color: var(--mr-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-game-options .fc-icon {
  width: 24px;
  height: 24px;
  color: #ba7216;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-game-options > button > span:last-child {
  margin-left: auto;
  color: var(--mr-blue);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref :is(.fc-account-tabs, .ui-stat-mode-tabs) {
  display: flex !important;
  align-items: center;
  gap: 2px;
  min-width: 0;
  width: 100%;
  margin: 0 !important;
  padding: 2px;
  border: 1px solid #deebfb !important;
  border-radius: var(--fc-ui-tabs-radius,12px) !important;
  background: #eaf5ff !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref :is(.fc-account-tabs, .ui-stat-mode-tabs) > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px !important;
  height: auto !important;
  padding: 5px 3px !important;
  border: 0 !important;
  border-radius: var(--fc-ui-tab-radius,9px) !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mr-ink);
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref :is(.fc-account-tabs, .ui-stat-mode-tabs) > button[aria-selected=true] {
  background: var(--fc-selection-bg,#dfeafa) !important;
  color: var(--fc-selection-ink,#214f88) !important;
  border-color: var(--fc-selection-border,#a7bfdc) !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-account-tabs .fc-icon {
  width: 18px;
  height: 18px;
  flex: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-identity {
  display: block !important;
  padding: 12px !important;
  overflow: visible !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-person {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: center;
  gap: 10px !important;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-person > .fc-profile-avatar {
  --fc-profile-avatar-size:92;
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .rank-badge-copy > span {
  font: inherit !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-strip .rank-badge-copy > small {
  display: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-profile-copy {
  display: block;
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-person h2 {
  margin: 0 0 3px !important;
  font-size: var(--fc-ui-title-size,18px) !important;
  line-height: var(--fc-ui-title-line,24px) !important;
  font-weight: 500 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-person .fc-rank-title-pill {
  display: flex;
  align-items: center;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-person .rank-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-person .rank-badge-art {
  width: 24px !important;
  height: 24px !important;
  flex: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-person .rank-badge-copy {
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-metrics {
  display: grid !important;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) !important;
  gap: 8px;
  margin: 8px 0 0 !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-metrics > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 0 !important;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-metrics > div + div {
  border-top: 0 !important;
  border-left: 1px solid #d7e5f5 !important;
  padding-left: 10px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-metrics dd {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 25px !important;
  font-weight: 500 !important;
  color: var(--mr-ink);
  white-space: nowrap;
  letter-spacing: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-metrics dt {
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  color: var(--mr-muted);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-position-note {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--mr-muted);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-progress {
  display: flex;
  flex-direction: column;
  gap: 3px;
  grid-column: 1/-1 !important;
  width: 100%;
  margin-top: 8px !important;
  padding: 0;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-progress > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 4px;
  min-height: 0 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-progress :is(strong, span) {
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  color: var(--mr-ink);
  white-space: normal;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-progress progress {
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  accent-color: #2c7efa;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-scroll {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: visible !important;
  margin: 0;
  padding: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table {
  display: table !important;
  table-layout: fixed;
  width: 100% !important;
  min-width: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  font-size: 14px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-col-position {
  width: 24px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-col-player {
  width: calc(100% - 136px);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-col-results {
  width: 112px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table :is(thead, tbody) {
  display: table-row-group !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table thead {
  display: table-header-group !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table tr {
  display: table-row !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table :is(th, td) {
  display: table-cell !important;
  padding: 7px 3px !important;
  vertical-align: middle;
  text-align: left;
  width: auto !important;
  max-width: none !important;
  border: 0 !important;
  border-bottom: 1px solid #e4ecf7 !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none !important;
  overflow: visible !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table th {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  background: #f2f7fe !important;
  color: var(--mr-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table th:first-child {
  text-align: center;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table th:last-child {
  text-align: right !important;
  padding-left: 1px !important;
  padding-right: 0 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-record-legend {
  display: block;
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  white-space: nowrap;
  color: var(--mr-muted);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table tbody tr:last-child td {
  border-bottom: 0 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table tr[data-self=true] {
  background: #e8f4ff !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table tr[data-self=true] > td:first-child {
  box-shadow: inset 3px 0 #2d7bff !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-table td.ui-leaderboard-position {
  text-align: center !important;
  padding: 7px 0 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-position .fc-rank-position {
  width: 24px;
  height: 32px;
  font-size: 15px;
  font-weight: 500;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-player {
  display: flex !important;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-player > .fc-profile-avatar {
  --fc-profile-avatar-size:36;
  flex: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-player > div {
  display: block;
  min-width: 0;
  flex: 1;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-player strong {
  display: block !important;
  min-width: 0;
  margin: 0;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  max-height: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-name-text {
  display: block;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-name-text > small {
  font-size: 12px;
  font-weight: 400;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-name-toggle {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left;
  color: inherit;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  cursor: pointer;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-name-toggle::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 44px;
  background: transparent;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-expanded-name {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--mr-muted);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-player strong > small {
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-player .fc-rank-title-pill {
  display: flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  margin-top: 2px;
  background: transparent;
  border: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-player .rank-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-player .rank-badge-art {
  width: 18px !important;
  height: 18px !important;
  flex: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-player .rank-badge-copy {
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-player .rank-badge-copy > span {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-results {
  text-align: right !important;
  padding-left: 1px !important;
  padding-right: 0 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-results > .fc-rank-elo {
  display: block;
  font-size: 16px !important;
  line-height: 22px !important;
  font-weight: 500 !important;
  white-space: nowrap;
  color: var(--mr-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-leaderboard-results > .fc-rank-wdl {
  display: block !important;
  margin-top: 1px;
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  white-space: nowrap;
  letter-spacing: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-wins {
  color: #008741;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-draws {
  color: #8140cc;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-losses {
  color: #e24959;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-mode-statistics .ui-sample-label {
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-stat-mode-tabs {
  margin-bottom: 7px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-stat-mode-tabs > button {
  min-height: 36px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-ranked-counts {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0 !important;
  width: 100%;
  margin: 0 !important;
  padding: 6px 0 !important;
  border: 1px solid #e0eafa;
  border-radius: 10px;
  background: #fff;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-ranked-counts > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 2px 1px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-ranked-counts > div + div {
  border-left: 1px solid #e4ecf7 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-ranked-counts dt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px !important;
  width: 100%;
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  color: var(--mr-muted);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-ranked-counts dt > .fc-icon {
  width: 22px !important;
  height: 22px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-ranked-counts dt > span {
  min-height: 0 !important;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-ranked-counts dd {
  margin: 1px 0 0 !important;
  font-size: 20px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  color: var(--mr-ink);
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref [data-stat-tone=blue] .fc-icon {
  color: #6080ad;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref [data-stat-tone=green] .fc-icon {
  color: #329c48;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref [data-stat-tone=purple] .fc-icon {
  color: #9250d3;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref [data-stat-tone=red] .fc-icon {
  color: #e85962;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-explorer > .fc-section-head {
  flex-wrap: nowrap;
  min-height: 36px !important;
  margin-bottom: 3px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-explorer .fc-section-title {
  flex: 1 1 auto;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-controls {
  display: flex;
  align-items: center;
  gap: 0 !important;
  flex: none;
  margin-left: auto;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-controls > button {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0 !important;
  border-radius: var(--fc-ui-control-radius,10px);
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mr-blue);
  font: 400 24px/1 var(--ui-font-family,system-ui) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-controls > button:disabled {
  color: var(--mr-muted);
  opacity: .6;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-strip {
  display: flex;
  align-items: stretch;
  gap: 6px !important;
  min-width: 0;
  padding: 2px 0 !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-strip > button {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex: 0 0 calc((100% - 12px)/3) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 5px 2px !important;
  gap: 2px !important;
  border: 0 !important;
  border-radius: var(--fc-ui-control-radius,10px);
  background: transparent !important;
  box-shadow: none !important;
  scroll-snap-align: start;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-strip > button[data-current=true] {
  background: #e4f2ff !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-strip .rank-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px !important;
  min-width: 0;
  min-height: 0;
  height: auto;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-strip .rank-badge-art {
  width: 72px !important;
  height: 72px !important;
  max-width: 100% !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-strip .rank-badge-copy {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-height: 38px !important;
  font-size: 14px !important;
  line-height: 19px !important;
  font-weight: 500 !important;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-strip > button > small {
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  color: var(--mr-muted);
  white-space: normal;
  text-align: center;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-lock {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 16px;
  height: 16px;
  color: #8d9fbd;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-lock svg {
  width: 100%;
  height: 100%;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-achievement-art {
  min-width: 0;
  margin: 0;
  padding: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-compact-history {
  display: block !important;
  padding: 0 10px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-history-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-history-row + .ui-rank-history-row {
  border-top: 1px solid #e0eafa;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-history-copy {
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-history-copy h2 {
  margin: 0 0 2px;
  font-size: 15px;
  line-height: 21px;
  font-weight: 500;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-history-copy .fc-empty::before {
  content: none !important;
  display: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-history-copy .fc-empty {
  display: block;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 400 13px/18px var(--ui-font-family,system-ui) !important;
  text-align: left;
  color: var(--mr-muted);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-marks li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .fc-rank-marks strong {
  font-size: 13px;
  font-weight: 500;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref .ui-rank-peak-value {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  color: var(--mr-muted);
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref :is(.fc-rank-marks, .ui-rank-peak-value) .rank-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref :is(.fc-rank-marks, .ui-rank-peak-value) .rank-badge-art {
  width: 20px !important;
  height: 20px !important;
  flex: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module]:not([data-ui-module=match])[data-ui-module=achievements] .family-shell.phone .family-shell-content .ui-proposed-achievements.ui-achievements-ref :is(.fc-rank-marks, .ui-rank-peak-value) .rank-badge-copy {
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  white-space: normal;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=achievements] .ui-rank-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=achievements] .ui-rank-large .rank-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=achievements] .ui-rank-large .rank-badge-art {
  width: 200px !important;
  height: 200px !important;
  max-width: 70vw;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=achievements] .ui-rank-large .rank-badge-copy {
  font: 500 18px/24px var(--ui-font-family,system-ui);
  white-space: normal;
  text-align: center;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=achievements] .ui-rank-large nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=achievements] .ui-rank-large nav > button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mr-blue);
  font: 400 24px/1 var(--ui-font-family,system-ui);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell-content {
  color: var(--gp-ink,#121b50);
  font-size: 14px;
  line-height: 22px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-rooms {
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-game-intro {
  gap: 8px;
  margin-bottom: 16px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-game-intro > h2 {
  font:
    var(--fc-ui-title-weight,750) var(--fc-ui-title-size,20px)/var(--fc-ui-title-line,28px) "Segoe UI",
    Arial,
    sans-serif !important;
  color: var(--gp-ink,#121b50) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-game-breadcrumb > button {
  border: 1px solid var(--gp-border,#dceaff) !important;
  border-radius: var(--fc-ui-control-radius,15px) !important;
  background:
    linear-gradient(
      150deg,
      #fff,
      #f2f0ff) !important;
  color: var(--gp-blue,#1555f4) !important;
  box-shadow: var(--fc-ui-control-shadow,0 3px 10px #8b9dda20,inset 0 1px 0 #fff) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .ui-game-piece-header > img {
  filter: drop-shadow(0 2px 2px #9e66311c);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-game-intro > .fc-action {
  font:
    var(--fc-ui-control-weight,700) 14px/20px "Segoe UI",
    Arial,
    sans-serif !important;
  border-radius: var(--fc-ui-control-radius,15px) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-room-page-tabs {
  padding: 4px;
  border: 1px solid var(--gp-border,#dceaff) !important;
  border-radius: var(--fc-ui-tabs-radius,21px);
  background: var(--gp-surface,#fffffff2) !important;
  box-shadow: var(--gp-shadow,0 6px 18px #6a9dce20), inset 0 1px 0 #fff;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-room-page-tabs > button {
  font:
    var(--fc-ui-control-weight,600) 14px/22px "Segoe UI",
    Arial,
    sans-serif !important;
  border-radius: var(--fc-ui-tab-radius,16px) !important;
  color: var(--gp-muted,#5a6d95) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-room-page-tabs > button[aria-pressed=true] {
  background: var(--fc-selection-bg,#dfeafa) !important;
  color: var(--fc-selection-ink,#214f88) !important;
  border-color: var(--fc-selection-border,#a7bfdc) !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-entry-primary {
  --gp-entry:linear-gradient(
      160deg,#408cff,#1764ff 22%,#1555f4 72%,#0e4ae5);
  border-radius: var(--fc-ui-panel-radius,24px);
  background: var(--gp-entry) !important;
  --va-mode:transparent;
  box-shadow: var(--fc-ui-panel-shadow,0 6px 18px #3965dc30,inset 0 1px 0 #ffffff70);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-entry-primary:has(> .fc-entry-card[data-tone=red]):not(:has(.fc-entry-card:disabled)) {
  --gp-entry:linear-gradient(
      160deg,#f58291,#d83d5a 40%,#ca3553);
  background: var(--gp-entry) !important;
  box-shadow: var(--fc-ui-panel-shadow,0 6px 18px #d75c8032,inset 0 1px 0 #ffffff70);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-quick-modes .fc-entry-card {
  padding: 22px 16px !important;
  border-radius: var(--fc-ui-panel-radius,24px) !important;
  background: transparent !important;
  color: #fff !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-quick-modes .fc-entry-card:not(:disabled) {
  background: var(--gp-entry) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-quick-modes .fc-entry-card > .fc-icon:first-child {
  width: 44px !important;
  height: 44px !important;
  box-sizing: border-box;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-quick-modes .fc-entry-card strong {
  font:
    var(--fc-ui-title-weight,750) var(--fc-ui-title-size,20px)/var(--fc-ui-title-line,28px) "Segoe UI",
    Arial,
    sans-serif !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-quick-modes .fc-entry-card small {
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-entry-card-help .fc-help-trigger {
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #ffffff14;
  color: #fff !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-entry-primary:has(.fc-entry-card:disabled) {
  background:
    linear-gradient(
      150deg,
      #f1f6fc,
      #e2ebf6) !important;
  box-shadow: var(--fc-ui-panel-shadow,0 4px 12px #779ece14,inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-entry-primary:has(.fc-entry-card:disabled) :is(.fc-entry-card, .fc-help-trigger) {
  color: var(--gp-muted,#5a6d95) !important;
  opacity: 1 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-quick-modes > .fc-entry-secondary {
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: var(--fc-ui-panel-radius,22px);
  background:
    linear-gradient(
      110deg,
      #fffffff2,
      #eef8fff2) !important;
  color: var(--gp-muted,#5a6d95) !important;
  box-shadow: var(--fc-ui-panel-shadow,var(--gp-shadow,0 6px 18px #6a9dce20),inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-entry-secondary strong {
  font:
    var(--fc-ui-title-weight,700) var(--fc-ui-title-size,18px)/var(--fc-ui-title-line,24px) "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-entry-secondary small {
  font:
    400 13px/20px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-entry-secondary > .fc-icon:first-child {
  color: var(--gp-blue,#1555f4);
  filter: drop-shadow(0 2px 1px #5a83ca20);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .fc-table-list-tools {
  grid-template-columns: minmax(0, 1fr) minmax(0, 110px) minmax(0, 110px);
  gap: 6px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-table-search.ui-table-search {
  border: 1px solid #c9e0fa !important;
  border-radius: var(--fc-ui-control-radius,16px) !important;
  background:
    linear-gradient(
      150deg,
      #ffffffed,
      #f5faffed) !important;
  color: var(--gp-muted,#5a6d95);
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 3px 10px #779ece14) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-table-search.ui-table-search > input {
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif !important;
  color: var(--gp-ink,#121b50) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .ui-table-filter-trigger {
  font:
    600 14px/22px "Segoe UI",
    Arial,
    sans-serif;
  border: 1px solid #c9e0fa;
  border-radius: 16px !important;
  padding-inline: 8px;
  background:
    linear-gradient(
      150deg,
      #fff,
      #f3f1ff) !important;
  color: var(--gp-ink,#121b50);
  box-shadow: inset 0 1px 0 #fff, 0 3px 10px #779ece14;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .ui-table-filter[data-filter-label="Trạng thái"] .ui-table-filter-trigger {
  background:
    linear-gradient(
      150deg,
      #fff,
      #edfaf5) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-rooms .fc-table-row {
  border: 1px solid var(--gp-border,#dceaff) !important;
  border-radius: var(--fc-ui-panel-radius,24px) !important;
  background: var(--gp-surface,#fffffff2) !important;
  color: var(--gp-ink,#121b50) !important;
  box-shadow: var(--fc-ui-panel-shadow,var(--gp-shadow,0 6px 18px #6a9dce20),inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-rooms .fc-table-name > h3 {
  font:
    var(--fc-ui-title-weight,650) var(--fc-ui-subtitle-size,16px)/var(--fc-ui-subtitle-line,22px) "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-rooms :is(.ui-table-mode, .fc-table-state) {
  font-size: 12px;
  line-height: 18px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-rooms .ui-table-mode {
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .ui-table-mark[data-table-mode=casual] {
  color: #ee5b55;
  filter: drop-shadow(0 2px 1px #d7645420);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .ui-table-mark[data-table-mode=ranked] {
  color: var(--gp-blue,#1555f4);
  filter: drop-shadow(0 2px 1px #5a83ca20);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-table-name .fc-help-trigger {
  display: grid;
  place-items: center;
  color: var(--gp-muted,#5a6d95);
  border-radius: 14px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-rooms .fc-table-row > .fc-action {
  font:
    var(--fc-ui-control-weight,700) 14px/22px "Segoe UI",
    Arial,
    sans-serif;
  border-radius: var(--fc-ui-control-radius,15px) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .fc-room-preview {
  display: grid;
  gap: 14px;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .fc-room-preview > h2 {
  font:
    var(--fc-ui-title-weight,750) var(--fc-ui-title-size,22px)/var(--fc-ui-title-line,30px) "Segoe UI",
    Arial,
    sans-serif;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .fc-room-preview > .fc-section {
  padding: 16px;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: var(--fc-ui-panel-radius,24px);
  background: var(--gp-surface,#fffffff2) !important;
  box-shadow: var(--fc-ui-panel-shadow,var(--gp-shadow,0 6px 18px #6a9dce20));
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .fc-room-preview h3 {
  font:
    var(--fc-ui-title-weight,700) var(--fc-ui-subtitle-size,18px)/var(--fc-ui-subtitle-line,26px) "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-ink,#121b50);
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .fc-preview-settings {
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .fc-preview-settings dt {
  font-weight: 600;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .fc-preview-settings dd {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell :is(.fc-game-intro > .fc-action, .fc-table-row > .fc-action, .fc-room-preview > .fc-action):not(:disabled):not([aria-disabled=true]):not([data-variant=soft]),
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form > .fc-action:not(:disabled):not([aria-disabled=true]) {
  min-height: 44px;
  border-radius: var(--fc-ui-control-radius,15px) !important;
  background:
    linear-gradient(
      180deg,
      #438cff,
      #1764ff 20%,
      #1555f4 72%,
      #0e4ae5) !important;
  color: #fff !important;
  box-shadow: var(--fc-ui-soft-shadow,0 4px 12px #3965dc22,inset 0 2px 5px #ffffff26) !important;
  font-weight: var(--fc-ui-control-weight,700) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-table-row > .fc-action[data-variant=soft]:not(:disabled),
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .fc-preview-back {
  min-height: 44px;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: var(--fc-ui-control-radius,15px) !important;
  background:
    linear-gradient(
      150deg,
      #fff,
      #f3f0ff) !important;
  color: var(--gp-blue,#1555f4) !important;
  box-shadow: var(--fc-ui-soft-shadow,0 3px 10px #8b9dda20,inset 0 1px 0 #fff) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell :is(.fc-game-intro > .fc-action, .fc-table-row > .fc-action, .fc-room-preview > .fc-action):is(:disabled, [aria-disabled=true]) {
  background:
    linear-gradient(
      150deg,
      #f1f6fc,
      #e2ebf6) !important;
  color: var(--gp-muted,#5a6d95) !important;
  opacity: 1 !important;
  box-shadow: var(--fc-ui-control-shadow,inset 0 1px 0 #fff) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(:is(.ui-private-table-form, .fc-guide-menu, .fc-game-guide, .fc-guide-tutorial, .account-replay)) {
  border: 1px solid var(--gp-border,#dceaff) !important;
  border-radius: var(--fc-ui-modal-radius,26px) !important;
  background: var(--fc-ui-modal-surface,#fffffffa) !important;
  color: var(--gp-ink,#121b50) !important;
  box-shadow: var(--fc-ui-modal-shadow,0 12px 36px #416eb92b,inset 0 1px 0 #fff) !important;
  opacity: 1;
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(:is(.ui-private-table-form, .fc-guide-menu, .fc-game-guide, .fc-guide-tutorial, .account-replay)) > header {
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(:is(.ui-private-table-form, .fc-guide-menu, .fc-game-guide, .fc-guide-tutorial, .account-replay)) > header > h2 {
  font:
    var(--fc-ui-title-weight,750) var(--fc-ui-title-size,22px)/var(--fc-ui-title-line,30px) "Segoe UI",
    Arial,
    sans-serif !important;
  color: var(--gp-ink,#121b50) !important;
  min-width: 0;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(:is(.ui-private-table-form, .fc-guide-menu, .fc-game-guide, .fc-guide-tutorial, .account-replay)) > header > button {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  border: 1px solid var(--gp-border,#dceaff) !important;
  border-radius: var(--fc-ui-control-radius,14px) !important;
  background:
    linear-gradient(
      150deg,
      #fff,
      #f3f0ff) !important;
  color: var(--gp-blue,#1555f4) !important;
  box-shadow: var(--fc-ui-control-shadow,0 3px 10px #8b9dda20,inset 0 1px 0 #fff) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form {
  color: var(--gp-ink,#121b50);
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form :is(.fc-private-table-mode, .fc-private-table-name, .fc-member-recipient-title) {
  font:
    600 14px/22px "Segoe UI",
    Arial,
    sans-serif !important;
  color: var(--gp-ink,#121b50) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form :is(.fc-private-table-mode > select, .fc-private-table-name > input, .fc-member-recipient-search) {
  min-height: 44px !important;
  border: 1px solid #c9e0fa !important;
  border-radius: var(--fc-ui-control-radius,16px) !important;
  background:
    linear-gradient(
      150deg,
      #fff,
      #f5faff) !important;
  color: var(--gp-ink,#121b50) !important;
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 3px 10px #779ece14) !important;
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form .fc-member-recipient-search > input {
  color: var(--gp-ink,#121b50) !important;
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif !important;
  background: transparent !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form .fc-private-table-time > strong {
  font:
    600 14px/22px "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form .fc-private-table-time > p {
  height: auto !important;
  max-height: none !important;
  min-height: 80px !important;
  padding: 12px 14px;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: 16px !important;
  background:
    linear-gradient(
      140deg,
      #f5f8ff,
      #edf5ff) !important;
  color: var(--gp-muted,#5a6d95) !important;
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form .fc-member-visibility {
  color: var(--gp-ink,#121b50);
  font-size: 14px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form :is(input[type=checkbox], input[type=radio]) {
  accent-color: var(--gp-blue,#1555f4);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form :is(.fc-catalog-muted, .fc-member-recipient-empty) {
  font:
    400 13px/22px "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-muted,#5a6d95);
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form :is(input, select, button):disabled,
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .ui-private-table-form > fieldset:disabled :is(input, select, button) {
  background: #e5edf7 !important;
  color: var(--gp-muted,#5a6d95) !important;
  opacity: 1 !important;
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #ffffffb3) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet .fc-member-tables .ui-private-table-form > .fc-action[type=submit]:is(:disabled, [aria-disabled=true]) {
  background: #e5edf7 !important;
  border: 1px solid #dce5f1 !important;
  color: var(--gp-muted,#5a6d95) !important;
  opacity: 1 !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-guide-menu {
  gap: 12px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-guide-menu .fc-guide-option {
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: 22px;
  background:
    linear-gradient(
      140deg,
      #fff,
      #f5f3ff) !important;
  color: var(--gp-ink,#121b50);
  box-shadow: 0 4px 14px #779ece1b, inset 0 1px 0 #fff;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-guide-option strong {
  font:
    700 18px/26px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-guide-option small {
  font:
    400 13px/20px "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-guide-option > .fc-icon:first-child {
  color: #8052ed;
  filter: drop-shadow(0 2px 1px #8d6ac32b);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-game-guide {
  font:
    400 14px/23px "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-ink,#121b50);
  gap: 18px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-game-guide h3 {
  font:
    var(--fc-ui-title-weight,700) var(--fc-ui-subtitle-size,20px)/var(--fc-ui-subtitle-line,28px) "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-game-guide :is(p, dd, li) {
  font-size: 14px;
  line-height: 23px;
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-game-guide :is(strong, dt) {
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-game-guide-note {
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: 16px;
  background:
    linear-gradient(
      140deg,
      #f4f1ff,
      #edf6ff);
  padding: 12px 14px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] :is(.fc-game-guide, .fc-guide-tutorial-tools) > .fc-link {
  min-height: 44px;
  color: var(--gp-blue,#1555f4);
  font-size: 14px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-guide-tutorial iframe {
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: 18px;
  background: #eef8ff;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .account-replay {
  color: var(--gp-ink,#121b50);
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .account-replay :is(h3, h4) {
  font:
    var(--fc-ui-title-weight,700) var(--fc-ui-subtitle-size,18px)/var(--fc-ui-subtitle-line,26px) "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .account-replay > .account-note {
  font:
    400 13px/20px "Segoe UI",
    Arial,
    sans-serif;
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .account-replay :is(select, .account-replay-position) {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: var(--fc-ui-control-radius,14px);
  background:
    linear-gradient(
      145deg,
      #fff,
      #f5faff);
  color: var(--gp-ink,#121b50);
  font-size: 14px;
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .account-replay :is(.account-replay-header, .account-replay-controls) button {
  min-height: 44px;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: var(--fc-ui-control-radius,14px);
  background:
    linear-gradient(
      150deg,
      #fff,
      #f3f0ff);
  color: var(--gp-blue,#1555f4);
  font:
    var(--fc-ui-control-weight,600) 14px/20px "Segoe UI",
    Arial,
    sans-serif;
  box-shadow: var(--fc-ui-control-shadow,0 3px 10px #8b9dda14,inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .account-replay :is(.account-replay-header, .account-replay-controls) button:disabled {
  background: #e5edf7;
  color: var(--gp-muted,#5a6d95);
  opacity: 1;
  box-shadow: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) :is(.fc-empty, .error-note) {
  padding: 16px !important;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: 22px;
  background: var(--gp-surface,#fffffff2) !important;
  box-shadow: var(--gp-shadow,0 6px 18px #6a9dce20);
  color: var(--gp-muted,#5a6d95) !important;
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif !important;
  overflow-wrap: anywhere;
}
body[data-family-approved]:has(.family-app.family-approved[data-ui-module=games]):not(:has(.family-app.family-approved[data-ui-module=games] .ui-games)) .ui-game-filter-menu {
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: 18px;
  background: #fffffffa;
  color: var(--gp-ink,#121b50);
  padding: 6px;
  box-shadow: 0 9px 28px #416eb92b, inset 0 1px 0 #fff;
}
body[data-family-approved]:has(.family-app.family-approved[data-ui-module=games]):not(:has(.family-app.family-approved[data-ui-module=games] .ui-games)) .ui-game-filter-menu > button {
  min-height: 44px;
  border-radius: var(--fc-ui-control-radius,13px);
  padding: 9px 11px;
  color: var(--gp-ink,#121b50);
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif;
}
body[data-family-approved]:has(.family-app.family-approved[data-ui-module=games]):not(:has(.family-app.family-approved[data-ui-module=games] .ui-games)) .ui-game-filter-menu > button[aria-selected=true] {
  background:
    linear-gradient(
      140deg,
      #edf5ff,
      #e5f0ff);
  color: var(--gp-blue,#1555f4);
  font-weight: var(--fc-ui-control-weight,700);
}
body[data-family-approved]:has(.family-app.family-approved[data-ui-module=games]) .ui-preview-help-bubble {
  border: 1px solid var(--gp-border,#dceaff) !important;
  border-radius: 18px !important;
  background: #fffffffa !important;
  color: var(--gp-ink,#121b50) !important;
  box-shadow: 0 9px 28px #416eb92b, inset 0 1px 0 #fff !important;
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell-content :is(button, input, select, [role=button]):focus-visible,
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .match-sheet:has(:is(.ui-private-table-form, .fc-guide-menu, .fc-game-guide, .fc-guide-tutorial, .account-replay)) :is(button, input, select, a, [tabindex]):focus-visible,
body[data-family-approved]:has(.family-app.family-approved[data-ui-module=games]) :is(.ui-game-filter-menu > button, .ui-preview-help-bubble):focus-visible {
  outline: 3px solid var(--gp-blue,#1555f4);
  outline-offset: 2px;
}
@media (min-width: 700px) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-game-intro > h2 {
    font-size: var(--fc-ui-title-size,24px) !important;
    line-height: var(--fc-ui-title-line,32px) !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-quick-modes .fc-entry-card strong {
    font-size: var(--fc-ui-title-size,24px) !important;
    line-height: var(--fc-ui-title-line,32px) !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games]:not(:has(.ui-games)) .family-shell .fc-quick-modes .fc-entry-card > .fc-icon:first-child {
    width: 48px !important;
    height: 48px !important;
    padding: 6px;
  }
}
body[data-family-approved].editor-reviewed .family-app > .match-backdrop > .match-sheet {
  background:
    linear-gradient(
      135deg,
      #fff,
      #f5faff) !important;
  border: 1px solid var(--gp-border) !important;
  box-shadow: var(--fc-ui-modal-shadow,0 16px 44px #3c68a336,inset 0 1px 0 #fff);
  border-radius: var(--fc-ui-modal-radius,24px) !important;
}
body[data-family-approved].editor-reviewed .match-sheet > header > h2 {
  font-size: var(--fc-ui-title-size,20px);
  line-height: var(--fc-ui-title-line,28px);
}
body[data-family-approved].editor-reviewed .match-sheet :is(input, select, textarea):not([type=checkbox]):not([type=range]):not([type=color]) {
  background: var(--gp-field) !important;
  border: 1px solid #c9e0fa;
  border-radius: var(--fc-ui-control-radius,14px);
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 4px 12px #779ece14);
}
body[data-family-approved].editor-reviewed :is(.match-sheet > header button, .review-game-menu button) {
  background: var(--gp-secondary);
  border-color: #d5d5ff;
  border-radius: var(--fc-ui-control-radius,14px);
  box-shadow: var(--fc-ui-control-shadow,0 4px 12px #9c8ee51b,inset 0 1px 0 #fff);
}
body[data-family-approved].editor-reviewed .family-chat-panel form button,
body[data-family-approved].editor-reviewed .family-chat-panel .social-tabs button[aria-pressed=true] {
  background: var(--fc-selection-bg,#dfeafa) !important;
  color: var(--fc-selection-ink,#214f88) !important;
  border-color: var(--fc-selection-border,#a7bfdc) !important;
  box-shadow: none !important;
}
body[data-family-approved].editor-reviewed .family-chat-panel .social-phrases button {
  background: var(--gp-surface) !important;
  border-color: var(--gp-border) !important;
  border-radius: var(--fc-ui-control-radius,14px);
  box-shadow: var(--fc-ui-control-shadow,0 4px 12px #6a9dce16);
}
body[data-family-approved].editor-reviewed .va-options .review-options-row > select {
  background: var(--gp-field) !important;
  border-color: #c9e0fa !important;
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 4px 12px #779ece14) !important;
}
body[data-family-approved].editor-reviewed .va-options .review-options-switch[aria-checked=true] .review-options-switch-track {
  background: var(--gp-primary) !important;
}
body[data-family-approved].editor-reviewed .va-options .review-options-switch[aria-checked=false] .review-options-switch-track {
  background: #67758d !important;
}
body[data-family-approved].editor-reviewed .review-options.review-options-aligned.va-options .review-options-info {
  background: var(--gp-secondary) !important;
  border: 1px solid #d5d5ff;
  box-shadow: 0 4px 12px #9c8ee518;
}
body[data-family-approved].editor-reviewed .match-sheet button:disabled {
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) {
  --gp-ink:#121b50;
  --gp-blue:#1555f4;
  --gp-muted:#5a6d95;
  color: var(--gp-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell {
  background: var(--fc-app-background,#eef8ff var(--gp-sky) center top/cover no-repeat) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-content {
  padding: 12px 12px 20px !important;
  background: transparent !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
  gap: 14px;
  align-content: start;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-search {
  height: 48px;
  min-height: 48px;
  border-radius: var(--fc-ui-control-radius,24px);
  padding: 0 16px;
  background:
    linear-gradient(
      150deg,
      #ffffffed,
      #f5faffd9) !important;
  border: 1px solid #c9e0fa;
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 5px 15px #779ece0c);
  color: var(--gp-muted);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-search input {
  height: 46px;
  min-height: 46px;
  font-size: 15px;
  color: var(--gp-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-search > .fc-icon {
  width: 23px;
  height: 23px;
  flex: none;
  color: #536b9d;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-list {
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  min-height: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-card {
  border: 1px solid #ffffffed;
  border-radius: var(--fc-ui-panel-radius,26px);
  color: var(--gp-ink);
  box-shadow: var(--fc-ui-panel-shadow,0 6px 18px #6a9dce20,inset 0 1px 0 #fff);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-featured {
  height: 264px;
  min-height: 264px;
  padding: 16px;
  grid-column: auto;
  grid-row: auto;
  background: #fff8fa !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-featured .fc-game-background {
  object-fit: cover;
  object-position: right center;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-content {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-art {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 3px 2px #9e66311c);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-featured h2 {
  font-size: var(--fc-ui-title-size,28px);
  line-height: var(--fc-ui-title-line,36px);
  font-weight: var(--fc-ui-title-weight,750);
  color: var(--gp-ink);
  letter-spacing: var(--fc-ui-title-tracking,-.5px);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-actions {
  left: 12px;
  bottom: 14px;
  width: min(190px, 60%);
  gap: 8px;
  grid-template-columns: minmax(0, 1fr);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-actions .fc-action {
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  border-radius: var(--fc-ui-control-radius,15px);
  padding: 7px 10px;
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--fc-ui-control-weight,700);
  gap: 8px;
  border: 1px solid #448aff;
  background:
    linear-gradient(
      180deg,
      #438cff 0%,
      #1764ff 20%,
      #1555f4 72%,
      #0e4ae5 100%) !important;
  box-shadow: var(--fc-ui-control-shadow,0 5px 12px #3965dc27,inset 0 2px 5px #ffffff26);
  color: #fff !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-actions .fc-action:before {
  content: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-actions .fc-action[data-variant=soft] {
  border-color: #d5d5ff;
  background:
    linear-gradient(
      150deg,
      #fff,
      #f3f0ff) !important;
  box-shadow: var(--fc-ui-soft-shadow,0 4px 12px #9c8ee52b,inset 0 1px 0 #fff);
  color: #1555f4 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-coming {
  height: 88px;
  min-height: 88px;
  padding: 14px 12px;
  background:
    linear-gradient(
      110deg,
      #fffeff 0%,
      #f8f5ff 48%,
      #ece6ff 100%) !important;
  grid-column: auto;
  grid-row: auto;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-coming[data-game-id=caro] {
  background:
    linear-gradient(
      110deg,
      #fcfffd 0%,
      #effdf7 48%,
      #d8f8eb 100%) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-coming .fc-game-content {
  position: relative;
  z-index: 1;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 58px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-coming .fc-game-art {
  width: 58px;
  height: 58px;
  border-radius: var(--fc-ui-panel-radius,14px);
  background: transparent;
  filter: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-coming .fc-game-art:before {
  content: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-coming .fc-game-art > .fc-icon {
  width: 58px;
  height: 58px;
  filter: none;
  background: center/contain no-repeat var(--gp-icon-chess);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-coming[data-game-id=caro] .fc-game-art > .fc-icon {
  background-image: var(--gp-icon-caro);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-coming .fc-game-art > .fc-icon > * {
  visibility: hidden;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-coming h2 {
  font-size: var(--fc-ui-title-size,22px);
  line-height: var(--fc-ui-title-line,28px);
  font-weight: var(--fc-ui-title-weight,750);
  letter-spacing: var(--fc-ui-title-tracking,-.4px);
  color: var(--gp-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-unavailable {
  font-size: 11px;
  line-height: 18px;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 15px;
  background: #ffffffb8;
  color: #536b91;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-unavailable > .fc-icon {
  width: 15px;
  height: 15px;
  flex: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-coming:after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -12px;
  width: 118px;
  height: 100px;
  background: center/contain no-repeat var(--gp-icon-chess);
  opacity: .08;
  pointer-events: none;
  transform: rotate(-8deg);
  z-index: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-coming[data-game-id=caro]:after {
  background-image: var(--gp-icon-caro);
  transform: rotate(-20deg);
  opacity: .09;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-recent {
  margin-top: 6px;
  gap: 8px;
  padding: 0;
  background: transparent !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-recent > .fc-section-head {
  min-height: 44px;
  gap: 8px;
  margin: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-recent .fc-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fc-ui-title-size,22px);
  line-height: var(--fc-ui-title-line,30px);
  font-weight: var(--fc-ui-title-weight,750);
  color: var(--gp-ink);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-recent .fc-section-title > .fc-icon {
  width: 28px;
  height: 28px;
  background: center/contain no-repeat var(--gp-icon-calendar);
  filter: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-recent .fc-section-title > .fc-icon > * {
  visibility: hidden;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-recent .fc-link {
  min-height: 44px;
  font-size: 13px;
  line-height: 20px;
  color: #1555f4;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-recent-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  box-sizing: border-box;
  margin: 0;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid #dceaff;
  background:
    linear-gradient(
      135deg,
      #ffffffef,
      #fbfdffef);
  box-shadow: 0 5px 16px #6a9dce16;
  color: var(--gp-muted);
  font-size: 14px;
  line-height: 22px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-recent-empty:before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  background: center/contain no-repeat var(--gp-icon-empty-tray);
  pointer-events: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-nav {
  height: 76px;
  min-height: 76px;
  box-sizing: border-box;
  padding: 5px 8px 6px !important;
  gap: 4px;
  background:
    linear-gradient(
      180deg,
      #fffffff7,
      #fffffff2) !important;
  border-top: 1px solid #dceaff;
  border-radius: 26px 26px 0 0 !important;
  box-shadow: 0 -4px 18px #6a9dce12;
  align-items: stretch;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-nav button[data-module] {
  flex-direction: column;
  min-height: 62px;
  padding: 5px 1px 7px;
  gap: 3px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--gp-muted) !important;
  border-radius: var(--fc-ui-control-radius,20px);
  background: transparent !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-nav button[data-module][aria-current=page] {
  background:
    linear-gradient(
      180deg,
      #eff8ff,
      #e4f1ff) !important;
  color: #114bdd !important;
  font-weight: var(--fc-ui-control-weight,750);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-nav button[data-module][aria-current=page]:after {
  height: 3px;
  bottom: 1px;
  left: 21%;
  right: 21%;
  background: #1555f4;
  border-radius: 4px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-nav button[data-module] > .fc-icon {
  width: 30px;
  height: 30px;
  flex: none;
  filter: none;
  background: center/contain no-repeat var(--gp-icon-nav-home);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-nav button[data-module=games] > .fc-icon {
  background-image: var(--gp-icon-nav-games);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-nav button[data-module=achievements] > .fc-icon {
  background-image: var(--gp-icon-nav-rank);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-nav button[data-module=me] > .fc-icon {
  background-image: var(--gp-icon-nav-me);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-nav button[data-module] > .fc-icon > * {
  visibility: hidden;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games :is(button, input):focus-visible,
body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-nav button:focus-visible {
  outline: 3px solid #1555f4;
  outline-offset: 2px;
}
@media (max-width: 379px) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-featured .fc-game-actions {
    width: 170px;
  }
}
@media (min-width: 700px) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .family-shell-content {
    padding: 20px 24px 24px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery {
    max-width: 960px;
    margin-inline: auto;
    gap: 16px;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-list:has(.fc-game-featured) {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-rows: 104px 104px;
    min-height: 324px;
    gap: 16px;
    align-items: start;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-featured {
    grid-column: 1;
    grid-row: 1/3;
    height: 324px;
    min-height: 324px;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-games.fc-games-gallery .fc-game-list:has(.fc-game-featured) .fc-game-coming {
    grid-column: 2;
    height: 104px;
    min-height: 104px;
    padding-block: 22px;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games]:has(.ui-games) .ui-games .fc-game-recent {
    margin-top: 6px;
  }
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .ui-me-content > .ui-me-security {
  grid-column: 1/-1;
  padding: 10px 14px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .ui-me-security > .fc-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 44px;
  text-decoration: none;
  color: var(--gp-blue,#1555f4);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .ui-me-security > .fc-link > span {
  flex: 1;
  text-align: left;
  min-width: 0;
  font-size: 16px;
  line-height: 22px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .ui-me-security > .fc-link > .fc-icon {
  width: 28px;
  height: 28px;
  flex: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .ui-me-security > .fc-link > .fc-icon:last-child {
  width: 20px;
  height: 20px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .fc-personal-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 12px !important;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .fc-personal-contact-identity {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
  text-align: left;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .fc-personal-contact-identity > span {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .fc-personal-contact-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 44px;
  max-width: 150px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .fc-personal-contact-actions > .fc-action {
  min-height: 44px;
  font-size: 14px;
  padding: 5px 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .fc-me-consolidated .fc-personal-contact-menu > summary {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-refinement {
  color: var(--gp-ink,#121b50);
  font-size: 14px;
  line-height: 1.5;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-refinement :is(fieldset, legend) {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-note {
  font-size: 13px;
  line-height: 20px;
  color: var(--gp-muted,#5a6d95);
  margin: 0 0 12px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-label-row small {
  font-size: 12px;
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-password-input {
  display: flex;
  align-items: center;
  border: 1px solid #c9e0fa;
  border-radius: var(--fc-ui-control-radius,15px);
  background:
    linear-gradient(
      150deg,
      #ffffffed,
      #f5faffd9);
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 4px 12px #6a9dce0c);
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-password-input > input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--gp-ink,#121b50);
  font-size: 16px;
  padding: 9px 12px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-password-toggle {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-password-toggle[aria-pressed=true] {
  color: var(--gp-blue,#1555f4);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-field > textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid #c9e0fa !important;
  border-radius: var(--fc-ui-control-radius,15px) !important;
  padding: 10px 12px;
  background:
    linear-gradient(
      150deg,
      #ffffffed,
      #f5faffd9) !important;
  color: var(--gp-ink,#121b50);
  font-size: 16px;
  line-height: 22px;
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 4px 12px #6a9dce0c) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  justify-content: flex-end;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-actions > .fc-action {
  min-height: 44px;
  font-size: 14px;
  border-radius: var(--fc-ui-control-radius,15px) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-actions > .fc-action:not([data-variant=soft]) {
  background:
    linear-gradient(
      180deg,
      #438cff,
      #1764ff 20%,
      #1555f4 72%,
      #0e4ae5) !important;
  color: #fff !important;
  box-shadow: var(--fc-ui-control-shadow,0 5px 12px #3965dc27,inset 0 2px 5px #ffffff26) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-feedback {
  color: #c93449;
  font-size: 13px;
  line-height: 20px;
  margin: 10px 0;
  opacity: 1;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-saved {
  color: #008957;
  font-size: 13px;
  line-height: 20px;
  margin: 10px 0;
  opacity: 1;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-list-heading > h3 {
  font-size: var(--fc-ui-subtitle-size,18px);
  line-height: var(--fc-ui-subtitle-line,24px);
  margin: 0;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-list-heading > span {
  font-size: 12px;
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-custom-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-custom-list > li {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dceaff;
  border-radius: 18px;
  padding: 8px 10px;
  background:
    linear-gradient(
      145deg,
      #fff,
      #f3f9ff);
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-custom-list > li > label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  flex: 1;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-custom-list input[type=checkbox] {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--gp-blue,#1555f4);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-custom-list label > span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  color: var(--gp-ink,#121b50);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-custom-list small {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: var(--gp-muted,#5a6d95);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-custom-list button {
  min-height: 44px;
  flex: none;
  font-size: 13px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-suggestions {
  margin-top: 14px;
  border-top: 1px solid #dceaff;
  padding-top: 4px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-suggestions > summary {
  min-height: 44px;
  cursor: pointer;
  font-size: 14px;
  color: var(--gp-blue,#1555f4);
  display: flex;
  align-items: center;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-suggestions > div {
  display: grid;
  gap: 7px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-suggestions button {
  min-height: 44px;
  font-size: 14px;
  text-align: left;
  white-space: normal;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-refinement :is(button:disabled, input:disabled, textarea:disabled) {
  opacity: 1 !important;
  color: var(--gp-muted,#5a6d95) !important;
  cursor: default;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-group-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-group-tabs > .fc-action {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  white-space: normal;
  overflow-wrap: anywhere;
  border-radius: var(--fc-ui-tabs-radius,14px);
  background: var(--va-field) !important;
  color: var(--va-secondary) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-group-tabs > .fc-action[aria-pressed=true] {
  background: var(--va-action-soft) !important;
  color: var(--va-action) !important;
  border-color: var(--va-action) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-group-manager {
  margin-bottom: 14px;
  border-block: 1px solid var(--va-border);
  padding: 4px 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-group-manager > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--va-action);
  font-size: 14px;
  cursor: pointer;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-account-field > :is(input, select) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  font-size: 16px;
  padding: 8px 12px;
  border: 1px solid var(--va-border) !important;
  border-radius: var(--fc-ui-control-radius,14px) !important;
  background: var(--va-field) !important;
  color: var(--va-ink) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-group-list {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 12px 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-group-list > li {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--va-border);
  border-radius: 14px;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-group-list > li > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop :is(.ui-quick-group-list button, .ui-quick-phrase-menu button) {
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--fc-ui-control-radius,10px);
  padding: 6px 10px;
  font-size: 14px;
  background: var(--va-action-soft);
  color: var(--va-action);
  border: 1px solid var(--va-border);
  cursor: pointer;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-list-heading {
  align-items: flex-start;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-list-heading > h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-list-heading > span {
  flex: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-custom-list > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: start;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-custom-list > li:has(.ui-quick-phrase-menu[open]) {
  grid-template-columns: minmax(0, 1fr);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-phrase-menu {
  min-width: 0;
  justify-self: end;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-phrase-menu > summary {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--va-border);
  border-radius: 12px;
  color: var(--va-action);
  cursor: pointer;
  list-style: none;
  font-size: 22px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-phrase-menu[open] {
  width: 100%;
  justify-self: stretch;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-phrase-menu[open] > summary {
  margin-left: auto;
  width: 44px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-phrase-menu > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding-top: 8px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-phrase-menu button {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .fc-me-consolidated .fc-personal-contact-identity > .fc-profile-avatar {
  --fc-profile-avatar-size:44;
  width: 44px;
  height: 44px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .fc-me-consolidated .fc-personal-contact-identity strong {
  font-size: 16px;
  line-height: 22px;
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .fc-me-consolidated .fc-personal-contact-identity small {
  font-size: 13px;
  line-height: 19px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .fc-me-consolidated .fc-personal-contact-menu {
  position: relative;
  flex: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .fc-me-consolidated .fc-personal-contact-menu[open] {
  width: 44px;
  flex-basis: auto;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .fc-me-consolidated .fc-personal-contact-menu > div {
  position: absolute;
  z-index: 8;
  right: 0;
  top: 100%;
  width: min(240px, calc(100vw - 48px));
  box-sizing: border-box;
  background: var(--va-overlay);
  box-shadow: var(--va-shadow);
  border-color: var(--va-border);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .fc-me-consolidated .fc-personal-contact-menu button {
  min-height: 44px;
  font-size: 14px;
  color: var(--va-ink);
  background: var(--va-field);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .fc-directory-profile :is(h3, p) {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .fc-directory-profile h3 {
  font-size: var(--fc-ui-subtitle-size,20px);
  line-height: var(--fc-ui-subtitle-line,28px);
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .ui-profile-editor {
  font-family: var(--ui-font-family) !important;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .ui-profile-editor :is(button, input, summary, p, span) {
  font-family: var(--ui-font-family) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .ui-profile-editor > .ui-profile-body {
  height: auto !important;
  min-height: 0 !important;
  flex: none !important;
  align-content: start;
  overflow: visible !important;
  gap: 10px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .ui-profile-editor :is(.ui-profile-preview-name, .ui-profile-label-row > label, .ui-profile-upload, .ui-profile-actions > button) {
  font-weight: 500 !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .ui-profile-editor .ui-profile-username {
  min-width: 0;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .ui-profile-editor .ui-profile-username > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--gp-ink,#121b50);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  cursor: pointer;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .ui-profile-editor .ui-profile-username > summary::-webkit-details-marker {
  display: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .ui-profile-editor .ui-profile-username-view {
  color: var(--gp-blue,#1555f4);
  font-weight: 400;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .ui-profile-editor .ui-profile-username-value {
  margin: 0 0 6px;
  padding: 0;
  min-width: 0;
  color: var(--gp-ink,#121b50) !important;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  overflow-wrap: anywhere;
  user-select: text;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .ui-profile-editor .ui-profile-username > summary:focus-visible {
  outline: 2px solid var(--gp-blue,#1555f4);
  outline-offset: 2px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .match-sheet:has(.ui-profile-editor) > header > h2 {
  font-family: var(--ui-font-family) !important;
  font-weight: var(--fc-ui-title-weight,600) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated :is(.fc-personal-activity, .fc-personal-settings) .fc-section-head {
  min-height: 28px;
  margin-bottom: 6px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut {
  min-height: 86px;
  padding: 6px 5px 4px;
  gap: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut > .fc-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut > span {
  font-size: 24px;
  line-height: 26px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-settings .fc-personal-tiles > .fc-shortcut {
  min-height: 64px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-content > .ui-me-family-card {
  padding: 10px 14px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-content > .ui-me-security {
  padding: 8px 14px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .ui-me-content > .ui-me-logout {
  padding: 8px 14px !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body) {
  display: flex !important;
  flex-direction: column !important;
  width: min(520px, calc(100% - 24px)) !important;
  max-width: calc(100% - 24px) !important;
  height: auto !important;
  max-height: calc(100% - 24px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  box-sizing: border-box;
  border-radius: var(--fc-ui-modal-radius,20px) !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body) > header {
  position: relative !important;
  top: auto !important;
  flex: 0 0 auto;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  min-height: 52px;
  margin: 0 !important;
  padding: 4px 12px 4px 16px !important;
  border-bottom: 1px solid var(--gp-border);
  background:
    linear-gradient(
      135deg,
      #fff,
      #f5faff) !important;
  box-shadow: none !important;
  z-index: 2;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body) > header > h2 {
  flex: 1;
  min-width: 0;
  margin: 0 !important;
  font-size: var(--fc-ui-title-size,18px) !important;
  line-height: var(--fc-ui-title-line,24px) !important;
  font-weight: var(--fc-ui-title-weight,750);
  color: var(--gp-ink);
  overflow-wrap: anywhere;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body) > header > button {
  flex: none;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  font-size: 24px;
  line-height: 1;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet > .ui-dialog-body {
  flex: 0 1 auto;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  box-sizing: border-box;
  margin: 0 6px 8px 0;
  padding: 12px 10px 8px 16px;
  scroll-padding-block: 12px 64px;
  border-radius: 0;
  scrollbar-width: thin;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop > .match-sheet[data-scrollable=true] {
  border-radius: var(--fc-ui-modal-radius,20px) !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body > .ui-profile-editor {
  display: flex;
  flex-direction: column;
  flex: none !important;
  min-height: 0;
  overflow: visible !important;
  gap: 0;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-profile-editor > .ui-profile-body {
  flex: none !important;
  display: grid;
  gap: 10px !important;
  min-height: 0;
  overflow: visible !important;
  padding: 0 0 12px !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-profile-editor .ui-profile-field {
  gap: 8px !important;
  margin: 0 !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-profile-editor .ui-profile-field > input {
  min-height: 44px !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-profile-editor > .ui-profile-actions {
  gap: 8px;
  min-height: 56px;
  padding: 8px 0 0 !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-account-field {
  gap: 8px;
  margin-bottom: 12px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-password-input > input {
  height: 44px;
  min-height: 44px !important;
  padding-block: 8px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-account-field > textarea {
  min-height: 92px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me][data-ui-screen=sent] > .match-backdrop .fc-activity-panel .fc-notice-list {
  gap: 8px;
  margin: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me][data-ui-screen=sent] > .match-backdrop .fc-activity-panel .fc-notice-list > li {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 10px !important;
  min-height: 76px;
  box-sizing: border-box;
  padding: 12px !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me][data-ui-screen=sent] > .match-backdrop .fc-notice-copy {
  min-width: 0 !important;
  text-align: left;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me][data-ui-screen=sent] > .match-backdrop .fc-notice-copy > strong {
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me][data-ui-screen=sent] > .match-backdrop .fc-notice-copy > small {
  font-size: 12px;
  line-height: 18px;
  margin-top: 4px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me][data-ui-screen=sent] > .match-backdrop .fc-notice-list > li > .fc-link {
  min-height: 44px;
  padding: 6px 8px;
  font-size: 14px;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me][data-ui-screen=sent] > .match-backdrop .fc-notice-list > li > .fc-notice-actions {
  width: auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me][data-ui-screen=sent] > .match-backdrop .fc-notice-actions > .fc-link {
  min-height: 44px;
  padding: 6px 8px;
  font-size: 14px;
  white-space: nowrap;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .fc-personal-card.ui-appearance-preview,
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-appearance-preview .ui-appearance-fields {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-width: 0;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-appearance-preview .ui-appearance-fields {
  gap: 10px;
  margin: 12px 0 0;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .fc-personal-card.ui-appearance-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 0;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-appearance-preview > .ui-explanation-label {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  line-height: 20px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-appearance-preview > .ui-explanation-label > span {
  min-width: 0;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-appearance-preview > .fc-link {
  min-height: 44px;
  white-space: nowrap;
  margin: 0;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-appearance-preview > :is(form, p[role=status]) {
  grid-column: 1/-1;
  min-width: 0;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-appearance-preview .ui-appearance-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(152px, 1.6fr) !important;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  margin: 0;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-appearance-row > span {
  font-size: 14px;
  line-height: 20px;
  color: var(--gp-ink);
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-appearance-row > select {
  width: 100% !important;
  max-width: 100%;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0;
  padding: 0 24px 0 12px !important;
  font-size: 16px !important;
  line-height: 22px;
  white-space: normal;
  color: var(--gp-ink) !important;
  background: var(--gp-field) !important;
  border: 1px solid var(--gp-border) !important;
  border-radius: var(--fc-ui-control-radius,14px) !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop :is(.ui-appearance-fields, .ui-appearance-preview .fc-app-background-actions) > .fc-action:not(:disabled) {
  min-height: 44px;
  background: var(--gp-primary) !important;
  color: #fff !important;
  opacity: 1 !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop :is(.ui-appearance-fields, .ui-appearance-preview .fc-app-background-actions) > .fc-action:disabled {
  min-height: 44px;
  background: #eaf2fc !important;
  color: var(--gp-muted) !important;
  border-color: #d7e5f5 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .sound-settings.ui-audio-preview {
  gap: 8px;
  font-size: 14px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .sound-settings.ui-audio-preview .sound-switch.ui-audio-switch-row {
  min-height: 44px;
  height: auto;
  gap: 10px;
  margin: 0;
  padding: 0;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-audio-preview .sound-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(152px, 1.6fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-audio-preview .sound-track > select {
  min-height: 44px;
  height: 44px;
  font-size: 16px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-audio-preview .sound-volume {
  display: grid;
  grid-template-columns: minmax(140px, .95fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 0;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-audio-preview .sound-volume > span {
  min-width: 0;
  gap: 6px;
  line-height: 20px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-audio-preview .sound-volume > input[type=range] {
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body:has(.ui-audio-preview) > .review-panel-note {
  margin: 8px 0 0;
  line-height: 20px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-audio-preview .ui-audio-switch-input:checked + .ui-audio-switch-track {
  background: var(--gp-primary) !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-quick-suggestions > summary {
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-quick-suggestions > summary::after {
  content: "▸";
  flex: none;
  font-size: 18px;
  color: var(--gp-blue);
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-quick-suggestions[open] > summary::after {
  content: "▾";
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .fc-personal-contact-actions > .ui-directory-profile-action {
  min-height: 44px;
  font-size: 13px;
  padding: 5px 8px;
  white-space: nowrap;
}
@media (max-width: 899px), (orientation: portrait) {
  body[data-family-approved].editor-reviewed :is(.family-app, .preview-only) > .match-backdrop[data-dialog-variant=chat] > .match-sheet {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0;
    overflow: hidden !important;
    padding: 0 !important;
  }
  body[data-family-approved].editor-reviewed :is(.family-app, .preview-only) > .match-backdrop[data-dialog-variant=chat] > .match-sheet > header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto !important;
    gap: 8px;
    min-height: 52px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 4px 12px 4px 16px !important;
    box-sizing: border-box;
    border-bottom: 1px solid var(--gp-border);
    background:
      linear-gradient(
        135deg,
        #fff,
        #f5faff);
  }
  body[data-family-approved].editor-reviewed :is(.family-app, .preview-only) > .match-backdrop[data-dialog-variant=chat] > .match-sheet > header > h2 {
    font-size: var(--fc-ui-title-size,18px) !important;
    line-height: var(--fc-ui-title-line,24px) !important;
    margin: 0;
    min-width: 0;
  }
  body[data-family-approved].editor-reviewed :is(.family-app, .preview-only) > .match-backdrop[data-dialog-variant=chat] > .match-sheet > header > button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    flex: none;
  }
  body[data-family-approved].editor-reviewed :is(.family-app, .preview-only) > .match-backdrop[data-dialog-variant=chat] .family-chat-panel {
    flex: 1;
    min-height: 0;
    padding: 12px 12px 16px;
    overflow: hidden;
  }
  body[data-family-approved].editor-reviewed :is(.family-app, .preview-only) > .match-backdrop[data-dialog-variant=chat] .family-chat-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 2px;
  }
  body[data-family-approved].editor-reviewed :is(.family-app, .preview-only) > .match-backdrop[data-dialog-variant=chat] .social-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior: contain;
    margin: 0 0 10px !important;
  }
  body[data-family-approved].editor-reviewed :is(.family-app, .preview-only) > .match-backdrop[data-dialog-variant=chat] .social-tabs > button {
    flex: 1 0 64px;
    min-width: 64px;
    min-height: 44px !important;
    padding: 6px 8px !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    line-height: 20px;
  }
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  box-sizing: border-box;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet {
  align-self: center;
  font:
    400 14px/22px "Segoe UI",
    Arial,
    sans-serif !important;
  box-shadow: var(--fc-ui-modal-shadow,0 8px 30px #31567d24) !important;
  border: 1px solid var(--gp-border) !important;
  background: var(--fc-ui-modal-surface,var(--gp-overlay,#fbfdff)) !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body :is(input, select, textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]) {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--gp-ink);
  background: var(--gp-field);
  border: 1px solid var(--gp-border);
  border-radius: var(--fc-ui-control-radius,12px);
  padding: 9px 12px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body select {
  padding-right: 30px !important;
  text-overflow: ellipsis;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body :is(.fc-activity-panel, .ui-social-activity, .ui-preview-activity, .account-panel, .sound-settings) {
  min-height: 0 !important;
  height: auto !important;
  max-height: none;
  overflow: visible;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body .sound-settings {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-preview-replay[data-preview-section=replays] > header {
  display: none;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body :is(.ui-profile-actions, .ui-password-actions, .ui-quick-save-row) {
  position: sticky;
  bottom: -8px;
  z-index: 2;
  background: var(--gp-overlay,#fbfdff);
  padding: 8px 0;
  margin-top: 8px;
  border-top: 1px solid var(--gp-border);
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-appearance-fields > .fc-action {
  position: sticky;
  bottom: 0;
  z-index: 2;
  width: 100%;
  white-space: normal;
  line-height: 20px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body :is(h3, .fc-section-title) {
  font-size: var(--fc-ui-subtitle-size,18px);
  line-height: 1.35;
  font-weight: var(--fc-ui-title-weight,650);
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body > :is(section, form) > h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gp-border);
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body .fc-game-guide {
  overflow: visible !important;
  max-height: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 15px;
  line-height: 1.55;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body .fc-game-guide > section {
  margin-block: 16px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body .fc-game-guide h3 {
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gp-border);
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body .fc-game-guide :is(p, ul, dl) {
  margin-block: 8px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body):has(.fc-guide-tutorial) {
  width: min(960px, calc(100% - 24px)) !important;
  height: calc(100% - 24px) !important;
  max-height: calc(100% - 24px) !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop > .match-sheet > .ui-dialog-body:has(> .fc-guide-tutorial) {
  display: flex !important;
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 8px 8px !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .fc-guide-tutorial {
  display: flex !important;
  flex-direction: column !important;
  flex: 1;
  min-height: 0 !important;
  height: auto !important;
  gap: 0 !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .fc-guide-tutorial-tools {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 8px;
  gap: 8px;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .fc-guide-tutorial iframe {
  display: block !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
}
@media (max-width: 420px) {
  body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop {
    padding: 6px !important;
  }
  body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body) {
    width: calc(100% - 12px) !important;
    max-width: calc(100% - 12px) !important;
    max-height: calc(100% - 12px) !important;
  }
  body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-appearance-preview .ui-appearance-row {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4px;
    min-height: 0;
  }
  body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-audio-preview .sound-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-audio-preview .sound-volume {
    grid-template-columns: minmax(112px, .9fr) minmax(0, 1fr);
  }
  body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body):has(.fc-guide-tutorial) {
    height: calc(100% - 12px) !important;
  }
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body .ui-preview-notice-detail h3 {
  font-size: var(--fc-ui-subtitle-size,16px);
  font-weight: 400;
  border: 0;
  padding: 0;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body)::before {
  display: none !important;
}
body[data-family-approved] .family-app.family-approved :is(.ui-preview-activity, .ui-social-activity, .ui-shared-directory),
body[data-family-approved] .family-app.family-approved :is(.ui-preview-activity, .ui-social-activity, .ui-shared-directory) :is(button, input, summary, strong, small, span, p, time, h2, h3) {
  font-family: var(--ui-font-family) !important;
  font-weight: 400;
}
body[data-family-approved] .family-app.family-approved :is(.ui-preview-activity, .ui-social-activity) :is(.ui-preview-notice-list, .fc-notice-list) {
  display: grid;
  gap: 0 !important;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
}
body[data-family-approved] .family-app.family-approved :is(.ui-preview-activity, .ui-social-activity) :is(.ui-preview-notice-list, .fc-notice-list) > li {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved :is(.ui-preview-activity, .ui-social-activity) :is(.ui-preview-notice-list, .fc-notice-list) > li + li {
  border-top: 1px solid var(--gp-border,#dceaff) !important;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-notice-list > li {
  min-height: 100px;
  padding: 12px 0;
  gap: 10px;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-notice-list > li:not([data-selectable=true]) {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  min-height: 98px;
  padding: 4px 0;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-notice-list > li:not([data-selectable=true]) > .ui-preview-pending-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-left: 50px;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-pending-actions > button {
  min-height: 44px;
  box-shadow: var(--fc-ui-control-shadow,0 2px 5px #3965dc18) !important;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-pending-actions > button[data-variant=soft] {
  color: var(--gp-blue,#1555f4) !important;
  background: #f5f8ff !important;
  border-color: var(--gp-border,#dceaff) !important;
  box-shadow: none !important;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-notice-list > li[data-selectable=true] {
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 76px;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-notice-list > li[data-selected=true] {
  background: #f0f6ff !important;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=pending] .ui-preview-notice-copy > strong,
body[data-family-approved] .family-app.family-approved .ui-social-activity[data-ui-activity-panel=sent] .fc-notice-copy > strong {
  font-weight: 500 !important;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity[data-panel=notices] :is(strong, h3, span, p, time) {
  font-weight: 400 !important;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity .ui-preview-notice-link {
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 10px 0;
}
body[data-family-approved] .family-app.family-approved .ui-preview-activity .ui-preview-activity-empty {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 12px 0;
}
body[data-family-approved] .family-app.family-approved .ui-connection-selection {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--gp-border,#dceaff);
}
body[data-family-approved] .family-app.family-approved .ui-connection-selection-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}
body[data-family-approved] .family-app.family-approved .ui-connection-selection-tools > span {
  flex: 1 1 100%;
  color: var(--gp-muted,#5a6d95);
  font-size: 13px;
}
body[data-family-approved] .family-app.family-approved .ui-connection-selection .fc-link {
  min-height: 44px;
  padding: 6px 8px;
  justify-self: start;
  font-size: 14px;
}
body[data-family-approved] .family-app.family-approved .ui-connection-selection-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
body[data-family-approved] .family-app.family-approved .ui-connection-selection-actions > button {
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  font-size: 14px;
  white-space: normal;
}
body[data-family-approved] .family-app.family-approved .ui-connection-select {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
body[data-family-approved] .family-app.family-approved .ui-connection-select > input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--gp-blue,#1555f4);
}
body[data-family-approved] .family-app.family-approved .ui-connection-select > input:focus-visible {
  outline: 3px solid var(--gp-blue,#1555f4);
  outline-offset: 4px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-directory.ui-shared-directory {
  gap: 0;
  border: 1px solid var(--gp-border,#dceaff);
  border-radius: var(--fc-ui-panel-radius,20px);
  background: var(--gp-surface);
  box-shadow: var(--fc-ui-panel-shadow,var(--gp-shadow));
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-directory.ui-shared-directory :is(.fc-directory-heading, .fc-personal-contact) {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-directory.ui-shared-directory .fc-directory-heading {
  padding: 14px !important;
  border-bottom: 1px solid var(--gp-border,#dceaff) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-directory.ui-shared-directory .fc-personal-contact-list {
  gap: 0;
  padding: 0 12px;
  max-height: none;
  overflow: visible;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-directory.ui-shared-directory .fc-personal-contact {
  padding: 12px 0 !important;
  min-height: 76px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] .family-shell.phone .family-shell-content .fc-me-consolidated .fc-personal-directory.ui-shared-directory .fc-personal-contact + .fc-personal-contact {
  border-top: 1px solid var(--gp-border,#dceaff) !important;
}
body[data-family-approved] .family-app.family-approved .ui-shared-directory .fc-personal-contact-identity strong {
  font-weight: 500 !important;
}
body[data-family-approved] .family-app.family-approved .ui-shared-directory :is(h2, h3) {
  font-weight: var(--fc-ui-title-weight,600) !important;
}
body[data-family-approved] .family-app.family-approved .ui-shared-directory > .fc-empty {
  margin: 0;
  padding: 14px;
}
body[data-family-approved] .family-app.family-approved .match-sheet:has(.ui-preview-activity, .ui-social-activity) > header > h2 {
  font-family: var(--ui-font-family) !important;
  font-weight: var(--fc-ui-title-weight,600) !important;
}
body[data-family-approved] {
  --ui-font-family:"Family Inter","Segoe UI",Arial,sans-serif;
}
@font-face {
  font-family: "Family Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./assets/JQFDRXX5.ttf") format("truetype");
}
@layer family-typography {
  body[data-family-approved] :is(.family-app.family-approved, .match-sheet),
  body[data-family-approved] :is(.family-app.family-approved, .match-sheet) :where(:not(svg):not(svg *)) {
    font-family: var(--ui-font-family) !important;
    font-synthesis: none !important;
    font-optical-sizing: auto !important;
    font-weight: inherit !important;
    letter-spacing: normal !important;
  }
  body[data-family-approved] :is(.family-app.family-approved, .match-sheet) {
    font-weight: 400 !important;
  }
  body[data-family-approved] :is(.family-app.family-approved, .match-sheet) :is(strong, b, button, summary, th, label, dt) {
    font-weight: 500 !important;
  }
  body[data-family-approved] :is(.family-app.family-approved, .match-sheet) :is(h1, h2, .fc-section-title) {
    font-size: var(--fc-ui-title-size,18px) !important;
    line-height: 1.4 !important;
    font-weight: var(--fc-ui-title-weight,600) !important;
  }
  body[data-family-approved] :is(.family-app.family-approved, .match-sheet) :is(h3, h4, legend) {
    font-size: var(--fc-ui-subtitle-size,18px) !important;
    line-height: 1.4 !important;
    font-weight: var(--fc-ui-title-weight,600) !important;
  }
  body[data-family-approved] :is(.family-app.family-approved, .match-sheet) :is(input, select, textarea, p, small, dd) {
    font-weight: 400 !important;
  }
  body[data-family-approved] .family-app.family-approved :is(.fc-home-greeting > strong, .family-login-heading h1) {
    font-size: var(--fc-ui-title-size,20px) !important;
    line-height: 1.35 !important;
    font-weight: var(--fc-ui-title-weight,600) !important;
  }
  body[data-family-approved] .family-app.family-approved :is(.fc-table-name, .ui-lobby-table-copy > strong, .ui-lobby-member-person > strong) {
    font-weight: 500 !important;
  }
  body[data-family-approved] .family-app.family-approved :is(.ui-rank-profile-copy > h2, .fc-rank-metrics dd, .fc-ranked-counts dd) {
    font-weight: 500 !important;
  }
  body[data-family-approved] .family-app.family-approved .fc-rank-title-pill .rank-badge-copy {
    font-weight: 400 !important;
  }
  body[data-family-approved] .family-app.family-approved :is(.fc-game-unavailable, .ui-lobby-sample-note, .ui-lobby-sample-note > span) {
    font-size: 12px !important;
    line-height: 18px !important;
  }
  body[data-family-approved] .family-app.family-approved .ui-rank-history-copy h2 {
    font-size: 15px !important;
    line-height: 21px !important;
    font-weight: 500 !important;
  }
  body[data-family-approved] .family-app.family-approved .match-sheet:has(.ui-profile-editor) > header > h2 {
    font-size: 20px !important;
    line-height: 28px !important;
    font-weight: 600 !important;
  }
  body[data-family-approved] .family-app.family-approved form.ui-profile-editor :is(label, legend, input, button, .ui-profile-username > span, .ui-profile-frame-label) {
    font-weight: 400 !important;
  }
  body[data-family-approved] .family-app.family-approved form.ui-profile-editor :is(.ui-profile-username > span, .ui-profile-label-row > label, .ui-profile-frames-field > legend, input[autocomplete=nickname]) {
    font-size: 16px !important;
    line-height: 24px !important;
  }
  body[data-family-approved] .family-app.family-approved form.ui-profile-editor :is(button, .ui-profile-frame-label) {
    font-size: 14px !important;
    line-height: 20px !important;
  }
  body[data-family-approved] :is(.family-app.family-approved, .match-sheet) .ui-preview-activity[data-panel=notices],
  body[data-family-approved] :is(.family-app.family-approved, .match-sheet) .ui-preview-activity[data-panel=notices] * {
    font-weight: 400 !important;
  }
}

/* ../prototypes/core-local/src/family/family-content-layout.css */
body[data-family-approved] .family-app.family-approved:has(> .family-shell) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
}
body[data-family-approved] .family-app.family-approved > .family-shell {
  container: family-content / inline-size;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  --fc-content-max:1180px;
  --fc-content-gutter:12px;
  --fc-content-top:12px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module] > .family-shell.phone > .family-shell-content {
  padding: var(--fc-content-top) var(--fc-content-gutter) 24px !important;
  scrollbar-gutter: stable;
}
body[data-family-approved] .family-app.family-approved .family-shell-content > :is(.fc-home, .fc-games-navigation, .fc-rank-achievements, .fc-me-consolidated) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: var(--fc-content-max);
  margin-inline: auto;
}
body[data-family-approved] .family-app.family-approved .family-shell-content > .fc-me-consolidated {
  padding-top: 0;
}
body[data-family-approved] .family-app.family-approved .fc-me-consolidated > .ui-me-content {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
body[data-family-approved] .family-app.family-approved .fc-games-navigation {
  container: family-modes / inline-size;
}
@container family-content (min-width:700px) {
  .family-shell > .family-shell-content {
    --fc-content-gutter:24px;
    --fc-content-top:20px;
  }
}
@container family-content (min-width:1100px) {
  .family-shell > .family-shell-content {
    --fc-content-gutter:32px;
  }
}
@container family-modes (min-width:900px) {
  body[data-family-approved] .family-app.family-approved .fc-games-navigation .fc-mode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ../prototypes/core-local/src/catalog/style.css */
.catalog-login {
  display: grid;
  gap: 14px;
}
.catalog-login label {
  display: grid;
  gap: 5px;
  font-size: 14px;
}
.catalog-login input {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid #dae8fa;
  border-radius: 8px;
  font: inherit;
  color: var(--navy);
}
.catalog-breadcrumb,
.catalog-table-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.catalog-breadcrumb {
  margin-bottom: 12px;
  font-size: 12px;
}
.catalog-breadcrumb span {
  overflow-wrap: anywhere;
}
.catalog-table-title h2 {
  font-size: 18px;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.catalog-table-title > span {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
}
.catalog-result {
  font-size: 13px;
  margin: 12px 0;
}
.catalog-time-config,
.catalog-scope {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 4px;
}
.catalog-page .connection-banner {
  flex-wrap: wrap;
}
.catalog-page .status-strip {
  flex-wrap: wrap;
}
.catalog-page .lobby-card small {
  display: block;
  margin-top: 8px;
}
.catalog-page .social-strip {
  font-size: 12px;
}
.catalog-page .sheet p {
  margin: 6px 0;
}
.catalog-page:has(.match-surface) {
  max-width: 650px;
}
.catalog-page .match-surface {
  padding: 14px;
  overflow: visible;
  background: #fffdfa;
}
.match-main-header {
  gap: 6px;
  min-height: 44px;
  margin: 0 0 9px;
}
.match-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 34px;
  min-height: 38px;
  padding: 4px;
  border: 0;
  border-radius: 10px;
  background: #f1f6fa;
  font-size: 22px;
  flex-shrink: 0;
}
.match-back {
  font-size: 31px;
  background: transparent;
  min-width: 24px;
}
.match-emblem {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff0d4;
  color: #a83b28;
  border: 1px solid #ddbc83;
  border-radius: 50%;
  font-family:
    KaiTi,
    STKaiti,
    serif;
  font-size: 23px;
  font-weight: 800;
}
.match-brand {
  min-width: 0;
  flex: 1;
}
.match-brand h1 {
  font-size: 17px;
  letter-spacing: -.4px;
  margin: 0;
  white-space: nowrap;
}
.match-brand small {
  display: block;
  font-size: 10px;
  white-space: nowrap;
  margin-top: 2px;
}
.match-mode-pill {
  background: #ebf3fb;
  color: #235e92;
  border-radius: 8px;
  padding: 6px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
}
.match-viewers {
  font-size: 14px;
}
.match-status {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 37px;
  padding: 7px 10px;
  margin: 9px 0;
  border: 1px solid #e3ebf3;
  background: #f8fbfd;
  border-radius: 11px;
  font-size: 12px;
}
.match-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b5914a;
  flex-shrink: 0;
}
.match-status i.live {
  background: #27ae76;
}
.match-status span {
  margin-left: auto;
  text-align: right;
  color: #516f8b;
}
.match-player-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px 132px;
  grid-template-rows: 25px 32px;
  gap: 0 7px;
  align-items: center;
  min-height: 77px;
  padding: 9px;
  border: 1px solid #e0e9f0;
  background: #f4f8fc;
  border-radius: 13px;
}
.match-player-band.bottom {
  grid-template-columns: 132px 116px minmax(0, 1fr);
  background: #fff7f0;
  border-color: #f0e2d5;
}
.match-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  grid-row: 1/3;
  grid-column: 1;
}
.bottom .match-identity {
  grid-column: 3;
  flex-direction: row-reverse;
  text-align: right;
}
.match-identity > div {
  min-width: 0;
}
.match-identity strong {
  font-size: 15px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-identity strong.red {
  color: #a9322b;
}
.match-identity strong.black {
  color: #26354a;
}
.match-identity small {
  display: block;
  font-size: 11px;
  margin-top: 3px;
}
.match-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #e6edf5;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #cad6e2;
  border-radius: 50%;
  font-family:
    KaiTi,
    STKaiti,
    serif;
  font-size: 22px;
  color: #42617e;
}
.bottom .match-avatar {
  background: #fff0e3;
  color: #a55a35;
}
.match-total-clock {
  grid-column: 3;
  grid-row: 2;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.bottom .match-total-clock {
  grid-column: 1;
  text-align: left;
}
.match-total-clock b {
  font-size: 22px;
  line-height: 1;
}
.match-total-clock > span {
  font-size: 13px;
  color: #657b8d;
}
.match-total-clock small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
}
.match-player-band[data-side=red] .match-total-clock b {
  color: #a9322b;
}
.match-move-clock {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: #fff;
  border: 1px solid #d8e7f0;
  border-radius: 8px;
  padding: 4px 5px;
}
.bottom .match-move-clock {
  justify-self: start;
}
.match-move-clock.invisible {
  visibility: hidden;
}
.catalog-page .match-board-shell {
  padding: 5px;
  margin: 8px 0;
  background:
    linear-gradient(
      145deg,
      #e6d4b5,
      #bc9971);
  border: 1px solid #b79a75;
  border-radius: 7px;
  box-shadow:
    inset 0 1px 0 #fff5df,
    inset 0 -2px 0 #9c7951,
    0 3px 7px #69472b26;
}
.match-board-shell .board {
  border: 0;
  border-radius: 3px;
}
.match-board-shell .piece:focus {
  outline: 0;
}
.match-board-shell:not(.edge-selection) .piece:focus-visible > circle {
  stroke: #008ee8;
  stroke-width: 4;
}
.match-state-panel {
  border: 1px solid #dce9f3;
  background: #f2f8fc;
  border-radius: 11px;
  padding: 10px 11px;
  margin-top: 9px;
  min-height: 53px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  align-items: center;
  font-size: 12px;
  line-height: 1.45;
}
.match-state-panel.checked {
  background: #fff0ef;
  border-color: #edc6c2;
}
.match-state-panel > strong {
  flex-basis: 100%;
  font-size: 13px;
}
.match-state-panel > span {
  color: #526980;
}
.match-state-panel button {
  margin-left: auto;
  font-size: 12px;
  padding: 7px 9px;
}
.match-state-panel.checked > strong {
  color: #a9322b;
}
.match-action-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  margin-top: 10px;
  padding: 5px;
  background: #f7f9fb;
  border: 1px solid #e7edf2;
  border-radius: 12px;
}
.match-action-bar.spectator {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.match-action-bar button {
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: #3d6084;
  min-height: 49px;
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 650;
}
.match-action-bar button > span,
.match-action-bar button > svg {
  font-size: 20px;
  height: 22px;
}
.match-action-bar button.match-resign {
  color: #a3483d;
}
.match-sheet {
  width: min(100%, 590px);
  max-height: min(75dvh, 720px);
}
.match-sheet .menu-actions button {
  min-height: 44px;
}
.match-sheet .menu-actions button.match-danger {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 12px;
}
.match-sheet .menu-actions button.match-danger > small {
  flex-basis: 100%;
}
.match-danger {
  color: #a43f3a;
  background: #fff7f5;
  border-color: #efd9d5;
}
.match-danger small {
  color: #a43f3a;
}
.match-sheet h3 {
  overflow-wrap: anywhere;
}
.match-check-fx {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.match-check-0 {
  animation: match-check-border .5s ease-out 1;
}
.match-check-1 {
  animation: match-check-ripple .62s ease-out 1;
}
.match-check-label {
  animation: match-check-label .4s ease-out 1;
}
@keyframes match-check-border {
  0% {
    opacity: 0;
    transform: scale(.94);
  }
  28% {
    opacity: .95;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}
@keyframes match-check-ripple {
  0% {
    opacity: .82;
    transform: scale(.9);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}
@keyframes match-check-label {
  0% {
    opacity: .3;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 520px) {
  .catalog-page .match-surface {
    padding: 9px 8px 16px;
  }
  .match-brand h1 {
    font-size: 14px;
  }
  .match-brand small {
    font-size: 9px;
  }
  .match-mode-pill {
    font-size: 10px;
    padding: 5px;
  }
  .match-player-band {
    grid-template-columns: minmax(0, 1fr) 102px 109px;
    gap: 0 4px;
    padding: 8px;
  }
  .match-player-band.bottom {
    grid-template-columns: 109px 102px minmax(0, 1fr);
  }
  .match-total-clock b {
    font-size: 19px;
  }
  .match-total-clock > span {
    font-size: 11px;
  }
  .match-identity {
    gap: 5px;
  }
  .match-identity strong {
    font-size: 13px;
  }
  .match-identity small {
    font-size: 10px;
  }
  .match-avatar {
    width: 31px;
    height: 31px;
    font-size: 20px;
  }
  .match-move-clock {
    font-size: 10px;
  }
  .match-header-icon {
    min-width: 30px;
    min-height: 36px;
  }
  .match-main-header {
    gap: 4px;
  }
  .match-viewers {
    font-size: 12px;
  }
  .match-emblem {
    width: 29px;
    height: 29px;
    font-size: 21px;
  }
}
@media (max-width: 420px) {
  .match-player-band,
  .match-player-band.bottom {
    min-height: 93px;
    grid-template-columns: 110px minmax(0, 1fr) 110px;
    grid-template-rows: 33px 34px;
  }
  .match-player-band .match-identity {
    grid-column: 1/4;
    grid-row: 1;
  }
  .match-player-band.bottom .match-identity {
    justify-self: end;
  }
  .match-total-clock,
  .bottom .match-total-clock {
    grid-row: 2;
  }
  .match-move-clock,
  .bottom .match-move-clock {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
    justify-self: center;
    transform: translateY(5px);
  }
  .match-brand small {
    font-size: 8px;
  }
  .match-brand h1 {
    font-size: 13px;
  }
  .match-mode-pill {
    font-size: 9px;
    padding: 4px;
  }
  .match-status {
    font-size: 11px;
  }
}
@media (max-width: 350px) {
  .match-mode-pill {
    display: none;
  }
  .match-emblem {
    display: none;
  }
  .match-player-band,
  .match-player-band.bottom {
    grid-template-columns: 104px minmax(0, 1fr) 104px;
  }
  .match-total-clock b {
    font-size: 18px;
  }
  .match-main-header {
    gap: 3px;
  }
  .match-move-clock {
    padding: 4px 2px;
    font-size: 9px;
  }
  .match-status {
    flex-wrap: wrap;
  }
  .match-status span {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .match-check-0,
  .match-check-1,
  .match-check-label {
    animation: none;
  }
}
.family-lobby-tools {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.catalog-page .match-sheet .rank-gallery > header {
  display: block;
}
.match-chat-overlay {
  position: fixed;
  z-index: 85;
  right: max(12px, calc((100vw - 1050px)/2));
  bottom: 12px;
  width: min(360px, calc(100vw - 24px));
  max-height: 75dvh;
  overflow: auto;
  box-shadow: 0 5px 28px #0003;
  border-radius: 14px;
}
.match-chat-hidden {
  display: none;
}
.match-spectator-say {
  min-height: 26px;
  font-size: .85rem;
  text-align: center;
  padding: 3px 8px;
}
.match-player-band {
  position: relative;
}
.match-player-band .social-bubble {
  left: 54px;
  top: 45px;
  max-width: min(215px, 46%);
  font-size: .78rem;
  line-height: 1.15;
}
.match-brand small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .match-emblem {
    display: none;
  }
  .match-main-header {
    gap: 4px;
  }
  .match-brand h1 {
    font-size: 1rem;
  }
  .match-mode-pill {
    font-size: .64rem;
    padding: 4px;
  }
  .match-chat-overlay {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
  }
}
.match-player-band.bottom .social-bubble {
  left: auto;
  right: 54px;
}
.catalog-page:has(.match-surface-wide) {
  max-width: 1060px;
}
.catalog-page .match-surface-wide {
  display: grid;
  grid-template-columns: minmax(330px, 1fr) 320px;
  gap: 0 20px;
}
.match-surface-wide > .match-main-header {
  grid-column: 1/-1;
}
.match-surface-wide > .match-play-area {
  grid-column: 1;
  width: min(100%, max(330px, calc((100dvh - 390px)*.902)));
  justify-self: center;
  min-width: 0;
}
.match-wide-chat {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  position: sticky;
  top: 16px;
  margin-top: 9px;
}
.match-wide-chat .social-messages {
  height: min(40dvh, 420px);
  max-height: none;
}
.match-wide-chat .social-chat header {
  margin-bottom: 12px;
}
.match-header-icon svg {
  flex-shrink: 0;
}
.match-header-icon[aria-label="Mở Thêm"] svg {
  stroke-width: 4;
}
.match-identity strong {
  border-radius: 5px;
  padding: 0 3px;
  background: #ffffff75;
}
.match-play-area {
  container-type: inline-size;
  container-name: matchplay;
}
@container matchplay (max-width:420px) {
  .match-player-band,
  .match-player-band.bottom {
    min-height: 93px;
    grid-template-columns: 105px minmax(0, 1fr) 105px;
    grid-template-rows: 33px 34px;
  }
  .match-player-band .match-identity {
    grid-column: 1/4;
    grid-row: 1;
  }
  .match-player-band.bottom .match-identity {
    justify-self: end;
  }
  .match-total-clock,
  .bottom .match-total-clock {
    grid-row: 2;
  }
  .match-total-clock b {
    font-size: 19px;
  }
  .match-total-clock > span {
    font-size: 11px;
  }
  .match-move-clock,
  .bottom .match-move-clock {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
    justify-self: center;
    transform: translateY(5px);
    font-size: 10px;
  }
}

/* ../prototypes/core-local/src/match/match-dialog.css */
.match-backdrop[data-dialog-variant=chat] {
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100dvh;
  padding: 12px;
  align-items: center;
  z-index: 90;
}
.match-backdrop[data-dialog-variant=chat] > .match-sheet {
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: min(100%, 480px);
  max-height: 100%;
  overflow: hidden;
  border-radius: 20px;
  padding: 16px 16px max(12px, env(safe-area-inset-bottom));
}
.match-backdrop[data-dialog-variant=chat] > .match-sheet > header {
  flex: none;
  margin-bottom: 10px;
}
.match-backdrop[data-dialog-variant=chat] > .match-sheet > header button {
  min-width: 44px;
  min-height: 44px;
}
.match-sheet > header:has(.match-header-actions) {
  display: flex;
  align-items: center;
  gap: 8px;
}
.match-sheet > header:has(.match-header-actions) > h2 {
  flex: 1;
  min-width: 0;
}
.match-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.match-header-actions > button {
  min-height: 44px;
  padding: 6px 10px;
  font-size: 14px;
  line-height: 20px;
  white-space: normal;
}
.match-backdrop[data-dialog-variant=auth] {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100dvh;
  box-sizing: border-box;
  z-index: 90;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: #0a18354a;
}
.match-backdrop[data-dialog-variant=auth] > .match-sheet {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(100%, 540px);
  max-height: 100%;
  min-height: 0;
  margin: 0;
  padding: clamp(14px, 2vw, 20px);
  overflow: hidden;
  border: 1px solid #dceaff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 44px #3c68a336;
}
.match-backdrop[data-dialog-variant=auth] > .match-sheet > header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}
.match-backdrop[data-dialog-variant=auth] > .match-sheet > header h2 {
  margin: 0;
}
.match-backdrop[data-dialog-variant=auth] > .match-sheet > header button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 14px;
}
.match-backdrop[data-dialog-variant=auth] .ui-dialog-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
body:has(> .match-backdrop[data-dialog-variant=auth]) {
  overflow: hidden;
}

/* ../prototypes/core-local/src/voice/local-match-mic.css */
.family-local-voice-panel {
  display: grid;
  gap: 6px;
  color: #111;
  font-size: 14px;
  line-height: 1.45;
}
.family-local-voice-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}
.family-local-voice-row + .family-local-voice-row {
  border-top: 1px solid var(--va-border,#dce6f0);
  padding-top: 6px;
}
.family-local-voice-row > svg {
  color: var(--va-action,#1555f4);
}
.family-local-voice-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.family-local-voice-copy > span {
  color: #111;
  font-weight: 500;
}
.family-local-voice-copy > small {
  font-size: 12px;
  line-height: 18px;
  color: #596e88;
  overflow-wrap: anywhere;
}
.family-app .family-local-voice-panel .family-local-voice-switch {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 8px;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer;
}
.family-local-voice-switch .family-local-voice-track {
  display: block;
  position: relative;
  box-sizing: border-box;
  width: 44px;
  height: 26px;
  border: 1px solid #252e3d;
  border-radius: 13px;
  background: #252e3d;
}
.family-local-voice-switch .family-local-voice-track > span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #0002;
}
.family-local-voice-switch[aria-checked=true] .family-local-voice-track {
  background: #1555f4;
  border-color: #1555f4;
}
.family-local-voice-switch[aria-checked=true] .family-local-voice-track > span {
  transform: translateX(18px);
}
.family-app .family-local-voice-panel .family-local-voice-switch:disabled {
  opacity: 1 !important;
  cursor: not-allowed;
}
.family-local-voice-switch:disabled .family-local-voice-track {
  border-style: dashed;
  border-color: #93a0b3;
}
.family-local-voice-switch:disabled .family-local-voice-track > span {
  background: #c4cbd5;
}
.family-app .family-local-voice-panel .family-local-voice-switch:focus-visible {
  outline: 2px solid #1555f4;
  outline-offset: 2px;
  text-decoration: none;
}

/* ../prototypes/core-local/src/match/family-match-content.css */
.family-app .match-surface:has(> .match-play-area[data-family-integrated]) {
  overflow-y: auto;
}
.family-app .match-play-area[data-family-integrated] {
  position: relative;
  isolation: isolate;
  flex: 1 0 auto !important;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  min-height: var(--family-integrated-height,600px) !important;
  height: var(--family-integrated-height,600px) !important;
}
.family-app [data-family-integrated] > .match-board-shell {
  position: absolute !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
  inset: auto;
  border: 0;
  padding: 0;
}
.family-app [data-family-integrated] .family-player-band {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  pointer-events: none;
  padding: 0 !important;
}
.family-app [data-family-integrated] .family-player-band .family-phone-card {
  display: block !important;
  position: absolute;
  z-index: 0;
  box-sizing: border-box;
  border: 1px solid rgb(218 228 238 / var(--family-player-panel-opacity,.7));
  border-radius: 12px;
  background: rgb(251 253 255 / var(--family-player-panel-opacity,.7));
  box-shadow: none;
  pointer-events: none;
}
.family-app [data-family-integrated] .match-identity {
  position: absolute !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.family-app [data-family-integrated] .family-player-controls {
  display: contents !important;
}
.family-app [data-family-integrated] .family-player-name {
  position: absolute !important;
  transform: none !important;
  margin: 0;
  text-align: left;
  min-width: 0;
}
.family-app [data-family-integrated] .family-player-name strong {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 17px;
  line-height: 22px;
}
.family-app [data-family-integrated] .family-player-status {
  position: static !important;
  display: block;
  font-size: 11px;
  line-height: 14px;
  text-align: left;
  white-space: normal;
}
.family-app [data-family-integrated] .family-player-status .match-preparation-state {
  font-size: 11px;
  line-height: 14px;
  justify-content: flex-start;
}
.family-app [data-family-integrated] .family-bank-slot,
.family-app [data-family-integrated] .family-player-rank {
  position: absolute !important;
  transform: none !important;
}
.family-app [data-family-integrated] .family-bank-value {
  font-size: 22px !important;
  line-height: 25px;
  min-width: 0 !important;
  background: none !important;
  box-shadow: none !important;
  text-align: right;
  white-space: nowrap;
}
.family-app [data-family-integrated] .family-bank-value[data-unlimited=true] {
  font-size: 15px !important;
}
.family-app [data-family-integrated] .family-player-actions {
  position: absolute !important;
  transform: none !important;
  box-sizing: border-box;
  padding: 3px !important;
  border: 1px solid rgb(218 228 238 / var(--family-match-toolbar-opacity,.7)) !important;
  border-radius: 11px !important;
  background: rgb(251 253 255 / var(--family-match-toolbar-opacity,.7)) !important;
  pointer-events: auto;
}
.family-app [data-family-integrated] .family-player-actions:after {
  content: none !important;
}
.family-app [data-family-integrated] .family-match-tools {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 2px !important;
  width: 100% !important;
  height: 100% !important;
}
.family-app [data-family-integrated] .ai-main-tools {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.family-app [data-family-integrated] .family-spectator-tools {
  grid-area: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.family-app [data-family-integrated] .family-match-tools .family-tool,
.family-app [data-family-integrated] .family-spectator-tools button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  width: auto !important;
  max-width: none !important;
  min-width: 44px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 3px 1px !important;
  border: 0;
  background: transparent;
  border-radius: 7px;
  font: 400 11px/15px var(--ui-font-family,Arial,sans-serif);
  white-space: nowrap;
}
.family-app [data-family-integrated] .family-tool-art {
  width: 22px;
  height: 22px;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.family-app [data-family-integrated] .family-tool-art > svg {
  width: 22px;
  height: 22px;
}
.family-app:is(.cloud-match, .player-owner) [data-family-integrated] .family-human-tools :is(.family-tool-art, .family-tool-art > svg) {
  width: var(--family-icon-main,22px);
  height: var(--family-icon-main,22px);
}
.family-app [data-family-integrated] .family-player-band .social-bubble {
  position: absolute;
  z-index: 80;
  box-sizing: border-box;
  padding: 2px 8px;
  border: 1px solid #d7e2ef;
  border-radius: 9px;
  background: #fff;
  font-size: 12px;
  line-height: 18px;
  overflow: hidden;
  pointer-events: auto;
}
.family-app [data-family-integrated] .family-player-band .social-bubble-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.family-app [data-family-integrated=compact] > .family-match-content {
  display: none;
}
.family-app.family-result-background .family-match-content {
  visibility: hidden !important;
}
.family-match-content {
  position: absolute;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #dae4ee;
  border-radius: 12px;
  background: #fbfdfff7;
  color: #365578;
  pointer-events: auto;
}
.family-content-tabs {
  display: flex;
  flex: none;
  gap: 3px;
  padding: 5px 8px 0;
  border-bottom: 1px solid #dfe7f1;
}
.family-content-tabs > button {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 44px;
  padding: 9px 5px;
  border: 0;
  border-radius: 7px 7px 0 0;
  background: transparent;
  color: inherit;
  font: 400 13px/18px var(--ui-font-family,Arial,sans-serif);
  white-space: nowrap;
}
.family-content-tabs > button[aria-selected=true] {
  background: #edf2fc;
  color: #395dd7;
  box-shadow: inset 0 -2px #7187d6;
}
.family-content-tabs > button:disabled {
  opacity: .45;
}
.family-content-tabs > button:focus-visible {
  outline: 2px solid #657da1;
  outline-offset: -2px;
}
.family-content-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 10px 12px;
}
.family-content-chat {
  padding: 0;
  overflow: hidden;
}
.family-content-empty {
  margin: auto;
  padding: 22px 12px;
  text-align: center;
  color: #73859b;
  font-size: 14px;
}
.family-content-history > .family-spectator-history {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
.family-content-history .family-move-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.family-content-history .family-spectator-moves-head,
.family-content-history .family-spectator-history-actions {
  flex: none;
}
.family-content-history .family-spectator-history-actions {
  margin-top: 6px;
  padding-top: 6px;
}
.family-content-history .family-spectator-history-actions > button {
  min-height: 40px;
}
.match-dialog:has(.family-content-tabs) .family-content-body {
  max-height: min(65dvh, 620px);
}
.family-content-body[hidden] {
  display: none !important;
}
.family-app:is(.cloud-match, .player-owner) :is(.family-match-content, .family-compact-content) :is(.family-content-tabs > button:not(:disabled) > span, .family-match-viewer-list button, .fc-table-conversation-log p > span) {
  color: var(--family-match-text-body,#26354a);
}
.family-app:is(.cloud-match, .player-owner) .fc-table-conversation-compose input:not(:disabled) {
  color: var(--family-match-text-body,#26354a) !important;
}
.family-app:is(.cloud-match, .player-owner) :is(.family-match-content, .family-compact-content) :is(.family-content-empty, .fc-table-conversation .social-chat-empty, .fc-table-conversation-log strong, .fc-chat-status) {
  color: var(--family-match-text-muted,#596e88);
}
.family-app [data-family-integrated] .family-player-band[data-chat-layout=integrated] .family-player-rank,
.family-app [data-family-integrated] .family-player-band[data-chat-layout=integrated] .family-player-status {
  visibility: hidden;
}
.family-app [data-family-integrated] .family-player-band .social-bubble {
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 16px;
}
.family-app [data-family-integrated] .family-player-band .social-bubble-text {
  -webkit-line-clamp: 2;
}
.family-app [data-family-integrated=wide] > .family-match-content .family-spectator-moves-head > span:nth-child(n+2) {
  text-align: center;
}

/* ../prototypes/core-local/src/social/social.css */
.social-chat {
  background: var(--panel,#fffaf1);
  border: 1px solid #cbbd9f;
  border-radius: 14px;
  padding: 12px;
  color: #342b22;
  min-width: 0;
}
.social-chat header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.social-note {
  font-size: .85em;
  opacity: .75;
}
.social-messages {
  max-height: 190px;
  overflow: auto;
  overflow-wrap: anywhere;
}
.social-chat textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  resize: vertical;
}
.social-chat button,
.social-preferences button,
.social-preferences select {
  min-height: 40px;
  font: inherit;
  cursor: pointer;
}
.social-tabs {
  display: flex;
  gap: 4px;
  margin: 8px 0;
  flex-wrap: wrap;
}
.social-tabs button {
  flex: 1;
  padding: 6px;
  white-space: nowrap;
}
.social-tabs button[aria-pressed=true] {
  background: #6f4c2a;
  color: #fff;
}
.social-phrases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.social-phrases button {
  border: 1px solid #d5c7aa;
  border-radius: 9px;
  padding: 8px 5px;
  min-height: 42px;
  background: #f6efdF;
  overflow-wrap: anywhere;
}
.social-preferences {
  max-width: 700px;
}
.social-preferences li {
  margin-block: 6px;
}
.social-preferences button {
  margin: 2px;
}
.social-bubble {
  position: absolute;
  z-index: 8;
  max-width: min(200px, 44vw);
  padding: 5px 9px;
  border-radius: 12px;
  background: #fff9e9;
  border: 1px solid #cbbd9f;
  color: #342b22;
  font-size: .85rem;
  pointer-events: none;
  overflow-wrap: anywhere;
}
.social-chat button:disabled {
  cursor: default;
  opacity: .55;
}
.social-preference-fields {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.social-preference-save {
  margin-top: 1rem;
}
.social-preference-save button {
  margin: .25rem .4rem .25rem 0;
  min-height: 44px;
}
.family-app .family-chat-panel {
  border: 0;
  padding: 0;
  background: transparent;
  color: #183452;
}
.family-chat-panel .social-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 12px;
}
.family-chat-panel .social-tabs button {
  min-width: 0;
  min-height: 44px;
  white-space: normal;
  border-radius: 10px;
  background: #edf4fc;
  color: #234a79;
}
.family-chat-panel .social-tabs button[aria-pressed=true] {
  background: #156cd9;
  color: white;
}
.family-chat-panel .social-phrases {
  gap: 8px;
}
.family-chat-panel .social-phrases button {
  min-width: 0;
  min-height: 44px;
  padding: 10px;
  background: #f5f8fc;
  border-color: #ccd9e7;
  color: #234a79;
  white-space: normal;
}
.family-chat-panel form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}
.family-chat-panel form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.family-chat-panel form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px;
  border: 1px solid #cbd9eb;
  border-radius: 10px;
  background: white;
  color: #183452;
  font: inherit;
}
.family-chat-panel form button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  background: #156cd9;
  color: white;
  padding: 8px 12px;
}
@media (min-width: 600px) {
  .family-chat-panel .social-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.family-chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.family-chat-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px;
}
.family-chat-panel > form {
  flex: none;
  border-top: 1px solid #dce6f0;
  padding-top: 10px;
  margin-top: 10px;
}
.family-chat-panel > p[role=status] {
  flex: none;
  margin: 8px 0 0;
}
.family-app .family-chat-panel .family-chat-quick {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.family-app .family-chat-panel .family-chat-quick > .social-tabs {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.family-app .family-chat-panel .social-tabs > button,
.family-app .family-chat-panel .social-phrases > button {
  font-size: 14px;
  line-height: 20px;
  min-height: 44px;
  overflow-wrap: anywhere;
}
.family-app .family-chat-panel .social-phrases {
  padding-top: 12px;
  border-top: 1px solid #c6d6e7;
}
.family-app .family-chat-panel .social-phrases > button {
  border-radius: 10px;
  text-align: left;
}
.family-app .family-chat-panel .family-chat-compose {
  gap: 10px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #c6d6e7;
}
.family-app .family-chat-panel .family-chat-compose > input {
  box-sizing: border-box;
  min-height: 46px;
  border-radius: 10px;
  line-height: 20px;
}
.family-app .family-chat-panel .family-chat-compose > button {
  min-width: 60px;
  min-height: 46px;
  font-size: 14px;
  line-height: 20px;
  border-radius: 10px;
}
.family-app .family-chat-panel :is(button, input):focus-visible {
  outline: 2px solid #276bd3;
  outline-offset: 2px;
}
@media (min-width: 600px) {
  .family-app > .match-backdrop[data-dialog-variant=chat] > .match-sheet:has(.family-chat-panel) {
    width: min(560px, 100%);
  }
}
.fc-table-conversation {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  gap: 10px;
  color: #193359;
}
.fc-table-conversation-log {
  flex: 1;
  min-height: 130px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 4px 8px;
  scrollbar-width: thin;
}
.fc-table-conversation-log p {
  display: grid;
  gap: 3px;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.fc-table-conversation-log strong {
  font-size: .85em;
  color: #58739b;
}
.fc-chat-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: .85rem;
}
.fc-table-conversation .fc-chat-quick-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
  flex: none;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #dce6f8;
  border-radius: 10px;
  background: #f2f6ff;
  color: inherit;
  font: inherit;
  font-size: 22px;
  line-height: 1;
}
.fc-chat-quick-body {
  max-height: 200px;
  overflow: auto;
  flex-shrink: 0;
}
.fc-chat-quick-body[hidden] {
  display: none;
}
.fc-chat-quick-body .social-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.fc-chat-quick-body .social-phrases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.fc-chat-quick-body button {
  font: inherit;
  color: inherit;
  border: 1px solid #dce6f8;
  border-radius: 9px;
  padding: 7px 9px;
  background: #f8faff;
}
.fc-chat-quick-body button[aria-pressed=true] {
  background: #e9efff;
  border-color: #8aa0ff;
}
.fc-table-conversation-compose {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.fc-table-conversation-compose input {
  box-sizing: border-box;
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 1px solid #d4e1f7;
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  color: inherit;
  background: #fff;
}
.fc-table-conversation-compose button {
  min-height: 44px;
  flex: none;
  white-space: nowrap;
}

/* ../prototypes/core-local/src/social/quick-say-approved.css */
.family-app .ui-account-refinement {
  color: var(--va-ink,#121b50);
  font-size: 14px;
  line-height: 1.5;
  min-width: 0;
}
.family-app .ui-account-refinement :is(fieldset, legend) {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
.family-app .ui-account-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.family-app .ui-account-note {
  font-size: 13px;
  line-height: 20px;
  color: var(--va-secondary,#5a6d95);
  margin: 0 0 12px;
}
.family-app .ui-account-field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  min-width: 0;
}
.family-app .ui-account-field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--va-ink,#121b50);
}
.family-app .ui-account-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.family-app .ui-account-label-row small {
  font-size: 12px;
  color: var(--va-secondary,#5a6d95);
}
.family-app .ui-password-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--va-border);
  border-radius: var(--fc-ui-control-radius,15px);
  background: var(--va-field);
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 4px 12px #6a9dce0c);
  min-width: 0;
}
.family-app .ui-password-input > input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--va-ink,#121b50);
  font-size: 16px;
  padding: 9px 12px;
}
.family-app .ui-password-toggle {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--va-secondary,#5a6d95);
}
.family-app .ui-password-toggle[aria-pressed=true] {
  color: var(--va-action,#1555f4);
}
.family-app .ui-account-field > textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid var(--va-border) !important;
  border-radius: var(--fc-ui-control-radius,15px) !important;
  padding: 10px 12px;
  background: var(--va-field) !important;
  color: var(--va-ink,#121b50);
  font-size: 16px;
  line-height: 22px;
  box-shadow: var(--fc-ui-field-shadow,inset 0 1px 0 #fff,0 4px 12px #6a9dce0c) !important;
}
.family-app .ui-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  justify-content: flex-end;
}
.family-app .ui-account-actions > .fc-action {
  min-height: 44px;
  font-size: 14px;
  border-radius: var(--fc-ui-control-radius,15px) !important;
}
.family-app .ui-account-actions > .fc-action:not([data-variant=soft]) {
  background:
    linear-gradient(
      180deg,
      #438cff,
      #1764ff 20%,
      #1555f4 72%,
      #0e4ae5) !important;
  color: #fff !important;
  box-shadow: var(--fc-ui-control-shadow,0 5px 12px #3965dc38,inset 0 2px 5px #ffffff36) !important;
}
.family-app .ui-account-feedback {
  color: var(--va-red);
  font-size: 13px;
  line-height: 20px;
  margin: 10px 0;
  opacity: 1;
}
.family-app .ui-account-saved {
  color: var(--va-green);
  font-size: 13px;
  line-height: 20px;
  margin: 10px 0;
  opacity: 1;
}
.family-app .ui-quick-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
}
.family-app .ui-quick-list-heading > h3 {
  font-size: var(--fc-ui-subtitle-size,18px);
  line-height: var(--fc-ui-subtitle-line,24px);
  margin: 0;
  color: var(--va-ink,#121b50);
}
.family-app .ui-quick-list-heading > span {
  font-size: 12px;
  color: var(--va-secondary,#5a6d95);
}
.family-app .ui-quick-custom-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 8px;
}
.family-app .ui-quick-custom-list > li {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--va-border);
  border-radius: 18px;
  padding: 8px 10px;
  background: var(--va-field);
  min-width: 0;
}
.family-app .ui-quick-custom-list > li > label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  flex: 1;
}
.family-app .ui-quick-custom-list input[type=checkbox] {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--va-action,#1555f4);
}
.family-app .ui-quick-custom-list label > span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  color: var(--va-ink,#121b50);
}
.family-app .ui-quick-custom-list small {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: var(--va-secondary,#5a6d95);
}
.family-app .ui-quick-custom-list button {
  min-height: 44px;
  flex: none;
  font-size: 13px;
}
.family-app .ui-quick-suggestions {
  margin-top: 14px;
  border-top: 1px solid #dceaff;
  padding-top: 4px;
}
.family-app .ui-quick-suggestions > summary {
  min-height: 44px;
  cursor: pointer;
  font-size: 14px;
  color: var(--va-action,#1555f4);
  display: flex;
  align-items: center;
}
.family-app .ui-quick-suggestions > div {
  display: grid;
  gap: 7px;
}
.family-app .ui-quick-suggestions button {
  min-height: 44px;
  font-size: 14px;
  text-align: left;
  white-space: normal;
}
.family-app .ui-account-refinement :is(button:disabled, input:disabled, textarea:disabled) {
  opacity: 1 !important;
  color: var(--va-secondary,#5a6d95) !important;
  cursor: default;
}
.family-app .ui-quick-group-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.family-app .ui-quick-group-tabs > .fc-action {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  white-space: normal;
  overflow-wrap: anywhere;
  border-radius: var(--fc-ui-tabs-radius,14px);
  background: var(--va-field) !important;
  color: var(--va-secondary) !important;
}
.family-app .ui-quick-group-tabs > .fc-action[aria-pressed=true] {
  background: var(--va-action-soft) !important;
  color: var(--va-action) !important;
  border-color: var(--va-action) !important;
}
.family-app :is(.ui-quick-group-tabs, :is(.family-chat-panel, .fc-table-conversation) .social-tabs) > button:nth-child(4n+1) {
  --ui-quick-group-tone:var(--va-amber,var(--fc-gold));
}
.family-app :is(.ui-quick-group-tabs, :is(.family-chat-panel, .fc-table-conversation) .social-tabs) > button:nth-child(4n+2) {
  --ui-quick-group-tone:var(--va-violet,var(--fc-purple));
}
.family-app :is(.ui-quick-group-tabs, :is(.family-chat-panel, .fc-table-conversation) .social-tabs) > button:nth-child(4n+3) {
  --ui-quick-group-tone:var(--va-green,var(--fc-green));
}
.family-app :is(.ui-quick-group-tabs, :is(.family-chat-panel, .fc-table-conversation) .social-tabs) > button:nth-child(4n+4) {
  --ui-quick-group-tone:var(--va-action,var(--fc-blue));
}
.family-app .ui-quick-group-tabs > .fc-action,
.family-app :is(.family-chat-panel, .fc-table-conversation) .social-tabs > button,
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-group-tabs > .fc-action:nth-child(n),
body[data-family-approved] .family-app.family-approved :is(.family-chat-panel, .fc-table-conversation) .social-tabs > button:nth-child(n) {
  background: color-mix(in srgb, var(--ui-quick-group-tone) 10%, var(--va-surface,#fff)) !important;
  color: var(--va-ink,var(--fc-ink)) !important;
  border: 1px solid color-mix(in srgb, var(--ui-quick-group-tone) 34%, var(--va-border,var(--fc-border))) !important;
}
.family-app .ui-quick-group-tabs > .fc-action[aria-pressed=true],
.family-app :is(.family-chat-panel, .fc-table-conversation) .social-tabs > button[aria-pressed=true],
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-quick-group-tabs > .fc-action:nth-child(n)[aria-pressed=true],
body[data-family-approved] .family-app.family-approved :is(.family-chat-panel, .fc-table-conversation) .social-tabs > button:nth-child(n)[aria-pressed=true] {
  background: color-mix(in srgb, var(--ui-quick-group-tone) 23%, var(--va-surface,#fff)) !important;
  color: var(--va-ink,var(--fc-ink)) !important;
  border-color: var(--ui-quick-group-tone) !important;
  box-shadow: inset 0 0 0 1px var(--ui-quick-group-tone) !important;
}
.family-app .ui-quick-group-manager {
  margin-bottom: 14px;
  border-block: 1px solid var(--va-border);
  padding: 4px 0;
}
.family-app .ui-quick-group-manager > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--va-action);
  font-size: 14px;
  cursor: pointer;
}
.family-app .ui-account-field > :is(input, select) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  font-size: 16px;
  padding: 8px 12px;
  border: 1px solid var(--va-border) !important;
  border-radius: var(--fc-ui-control-radius,14px) !important;
  background: var(--va-field) !important;
  color: var(--va-ink) !important;
}
.family-app .ui-quick-group-list {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 12px 0;
}
.family-app .ui-quick-group-list > li {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--va-border);
  border-radius: 14px;
  overflow-wrap: anywhere;
}
.family-app .ui-quick-group-list > li > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.family-app :is(.ui-quick-group-list button, .ui-quick-phrase-menu button) {
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--fc-ui-control-radius,10px);
  padding: 6px 10px;
  font-size: 14px;
  background: var(--va-action-soft);
  color: var(--va-action);
  border: 1px solid var(--va-border);
  cursor: pointer;
}
.family-app .ui-quick-list-heading {
  align-items: center;
}
.family-app .ui-quick-list-heading > h3 {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.family-app .ui-quick-list-heading > span {
  flex: none;
}
.family-app .ui-quick-list-heading > .ui-quick-add-phrase {
  flex: none;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
}
.family-app .ui-quick-composer[hidden] {
  display: none;
}
.family-app .ui-quick-composer:not([hidden]) {
  margin: 14px 0;
  padding: 12px 0;
  border-block: 1px solid var(--va-border,var(--fc-border));
}
.family-app .ui-quick-custom-list > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: start;
}
.family-app .ui-quick-custom-list > li:has(.ui-quick-phrase-menu[open]) {
  grid-template-columns: minmax(0, 1fr);
}
.family-app .ui-quick-phrase-menu {
  min-width: 0;
  justify-self: end;
}
.family-app .ui-quick-phrase-menu > summary {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--va-border);
  border-radius: 12px;
  color: var(--va-action);
  cursor: pointer;
  list-style: none;
  font-size: 22px;
}
.family-app .ui-quick-phrase-menu[open] {
  width: 100%;
  justify-self: stretch;
}
.family-app .ui-quick-phrase-menu[open] > summary {
  margin-left: auto;
  width: 44px;
}
.family-app .ui-quick-phrase-menu > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding-top: 8px;
}
.family-app .ui-quick-phrase-menu button {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
.ui-quick-editor {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: #19264f;
  font-size: 14px;
  line-height: 22px;
}
.qs-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.qs-tabs > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--qs-line);
  background: var(--qs-soft);
  color: var(--qs-accent);
  cursor: pointer;
  font: inherit;
}
.qs-tab-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.qs-rename {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #19264f;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.qs-rename > svg {
  flex: none;
  color: #4865c6;
}
.qs-tab-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid var(--qs-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--qs-soft), var(--qs-accent) 8%);
  color: var(--qs-accent);
  box-sizing: border-box;
}
.qs-tab-edit > span {
  flex: none;
}
.qs-inline-name {
  min-width: 0;
  width: 100%;
  height: 40px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  box-sizing: border-box;
}
.qs-slots {
  display: grid;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.qs-slots > li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 12px;
  box-sizing: border-box;
}
.qs-position {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #67738b;
  font: inherit;
  font-size: 16px;
  touch-action: none;
  user-select: none;
  cursor: grab;
}
.qs-position:active {
  cursor: grabbing;
}
.qs-slot-input {
  display: block;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border: 1px solid #d9e3f1;
  border-radius: 12px;
  background: #fff;
  color: #19264f;
  font: inherit;
  line-height: 22px;
}
.qs-slot-input::placeholder {
  color: #9ba6b7;
}
.qs-slot-input:focus {
  outline: 0;
  box-shadow: none;
}
.qs-slots > li[data-delete-mode=true] {
  background: #f3f6fa;
  cursor: pointer;
}
.qs-slots > li[data-selected=true] {
  background: var(--qs-soft);
  border-color: var(--qs-line);
}
.qs-slots > li[data-selected=true] > .qs-position {
  background: var(--qs-accent);
  color: #fff;
}
.qs-slot-copy {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 14px 5px 0;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.qs-slot-copy[data-empty=true] {
  color: #a0a9b7;
}
.qs-slots > li[data-drop-target=true] {
  border-color: var(--qs-accent);
  background: var(--qs-soft);
}
.qs-list-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
}
.qs-drag-hint {
  font-size: 12px;
  color: #7e899b;
}
.qs-text-action,
.qs-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #64738e;
  font: inherit;
  cursor: pointer;
}
.qs-text-action > svg,
.qs-reset > svg {
  flex: none;
  display: block;
}
.qs-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #d8a0a7;
  border-radius: 10px;
  background: #c94d5b;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.qs-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #dfe6f0;
  background: #fbfdff;
  position: sticky;
  bottom: 0;
  z-index: 1;
}
.qs-reset {
  justify-content: flex-start;
  font-size: 13px;
  text-align: left;
  line-height: 18px;
}
.qs-save {
  min-height: 44px;
  padding: 8px 16px;
  white-space: nowrap;
  font-size: 14px;
}
.qs-error {
  margin: 0;
  color: #b84757;
  font-size: 13px;
  line-height: 20px;
}
.ui-quick-editor button:disabled {
  opacity: .42;
  cursor: default;
}
@layer family-controls {
  body[data-family-approved] .family-app.family-approved > .match-backdrop > .match-sheet:has(.ui-quick-editor) {
    width: min(760px, calc(100% - 24px)) !important;
    max-height: calc(100dvh - 68px) !important;
  }
  body[data-family-approved] .family-app.family-approved .ui-quick-editor .qs-tabs > button {
    background: var(--qs-soft) !important;
    color: var(--qs-accent) !important;
    border: 1px solid var(--qs-line) !important;
    box-shadow: none !important;
  }
  body[data-family-approved] .family-app.family-approved .ui-quick-editor .qs-tabs > button[aria-selected=true] {
    background: color-mix(in srgb, var(--qs-soft), var(--qs-accent) 8%) !important;
    box-shadow: none !important;
  }
  body[data-family-approved] .family-app.family-approved .ui-quick-editor :is(.qs-position, .qs-rename, .qs-text-action, .qs-reset) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: inherit;
  }
  body[data-family-approved] .family-app.family-approved .ui-quick-editor .qs-position {
    display: grid !important;
    place-items: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    line-height: 1 !important;
  }
  body[data-family-approved] .family-app.family-approved .ui-quick-editor [data-selected=true] > .qs-position {
    background: var(--qs-accent) !important;
    color: #fff !important;
  }
  body[data-family-approved] .family-app.family-approved .ui-quick-editor .qs-delete {
    color: #fff !important;
    background: #c94d5b !important;
    border: 1px solid #c94d5b !important;
    box-shadow: none !important;
  }
  body[data-family-approved] .family-app.family-approved .ui-quick-editor .qs-slot-input {
    background: #fff !important;
    border: 1px solid #d9e3f1 !important;
    box-shadow: none !important;
  }
  body[data-family-approved] .family-app.family-approved .ui-quick-editor button:disabled {
    opacity: .42 !important;
    cursor: default !important;
  }
  body[data-family-approved] .family-app.family-approved .ui-quick-editor .qs-tab-edit > .qs-inline-name {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--qs-accent) !important;
    padding: 4px 0 !important;
  }
}
@layer family-typography {
  body[data-family-approved] .family-app.family-approved .ui-quick-editor :is(button, input, .qs-slot-copy) {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
  }
  body[data-family-approved] .family-app.family-approved .ui-quick-editor .qs-position {
    font-size: 16px !important;
    line-height: 1 !important;
  }
}
.qs-header-actions {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 160px;
  flex: 0 1 auto;
}
body[data-family-approved] .family-app.family-approved > .match-backdrop > .match-sheet:has(.ui-quick-editor) > header {
  gap: 8px;
}
body[data-family-approved] .family-app.family-approved > .match-backdrop > .match-sheet:has(.ui-quick-editor) > header h2 {
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
@layer family-controls {
  body[data-family-approved] .family-app.family-approved .match-sheet:has(.ui-quick-editor) .qs-header-actions .qs-rename {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 40px !important;
    height: 40px !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #4563c4 !important;
    white-space: nowrap !important;
  }
  body[data-family-approved] .family-app.family-approved .qs-header-actions button:disabled {
    opacity: .42 !important;
  }
}
@layer family-typography {
  body[data-family-approved] .family-app.family-approved .qs-header-actions :is(button, input) {
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 400 !important;
  }
}
@media (max-width: 650px) {
  .qs-tabs {
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 5px;
  }
  .qs-tabs > button {
    padding: 7px 4px;
    font-size: 12px;
    gap: 0;
  }
  .qs-tab-edit {
    padding-inline: 4px;
    gap: 3px;
  }
  .qs-drag-hint {
    font-size: 11px;
  }
  .qs-footer {
    gap: 8px;
  }
  .qs-save {
    padding-inline: 12px;
  }
  .qs-header-actions {
    max-width: 124px;
  }
}
@layer family-typography {
  @media (max-width: 650px) {
    body[data-family-approved] .family-app.family-approved .ui-quick-editor :is(.qs-tabs > button, .qs-inline-name) {
      font-size: 12px !important;
      line-height: 20px !important;
    }
    body[data-family-approved] .family-app.family-approved .qs-header-actions :is(button, input) {
      font-size: 12px !important;
    }
  }
}
.family-app .qs-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.family-app .qs-pages > button {
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--qs-line);
  border-radius: 10px;
  background: var(--qs-soft);
  color: var(--qs-accent);
}
.family-app .qs-pages > button[aria-current=page] {
  border-color: var(--qs-accent);
  background: color-mix(in srgb, var(--qs-soft), var(--qs-accent) 8%);
}
.family-app .qs-status {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--va-secondary,#5a6d95);
}
.family-app .ui-quick-editor :is(input, button):focus-visible {
  outline: 0;
  box-shadow: none;
}
.family-app .ui-quick-editor .qs-position:focus-visible {
  border: 1px solid var(--qs-accent);
}
.family-app .social-preferences:has(.ui-quick-editor) {
  max-width: none;
}
.family-app .social-preferences .ui-quick-editor button {
  margin: 0;
}
.family-app .social-preferences .ui-quick-editor .qs-slots > li {
  margin: 0;
}
@layer family-controls {
  body[data-family-approved] .family-app.family-approved .match-sheet:has(.ui-quick-editor) .ui-quick-editor .qs-position {
    color: #67738b !important;
  }
  body[data-family-approved] .family-app.family-approved .match-sheet:has(.ui-quick-editor) .ui-quick-editor [data-selected=true] > .qs-position {
    background: var(--qs-accent) !important;
    color: #fff !important;
  }
  body[data-family-approved] .family-app.family-approved .match-sheet:has(.ui-quick-editor) .ui-quick-editor .qs-position:focus-visible {
    border: 1px solid var(--qs-accent) !important;
    outline: 0 !important;
    box-shadow: none !important;
  }
}

/* ../prototypes/core-local/src/family/family-member-tables.css */
.family-app .fc-member-tables > form,
.family-app .fc-member-owned,
.family-app .fc-member-invitations {
  width: 100%;
  min-width: 0;
}
.family-app .fc-member-tables form {
  display: grid;
  gap: 12px;
}
.family-app .fc-member-tables fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  gap: 10px;
}
.family-app .fc-member-tables legend {
  font-weight: 600;
  margin-bottom: 8px;
}
.family-app .fc-member-visibility {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.family-app .fc-member-visibility label,
.family-app .fc-member-recipient-list label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}
.family-app .fc-member-tables :is(input[type=checkbox], input[type=radio]) {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--fc-blue);
}
.family-app .fc-member-recipient-picker {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.family-app .fc-member-recipient-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.family-app .fc-member-recipient-title small {
  font-size: 12px;
  font-weight: 400;
  color: var(--fc-secondary);
}
.family-app .fc-member-recipient-title .fc-help-trigger {
  min-width: 44px;
  min-height: 44px;
  height: 44px;
}
.family-app .fc-member-owned-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.family-app .fc-member-owned-heading > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}
.family-app .fc-member-recipient-search {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--fc-border);
  border-radius: 10px;
  background: var(--fc-slate-soft);
  color: var(--fc-secondary);
}
.family-app .fc-member-recipient-search > .fc-icon {
  margin-inline: 12px;
  flex: none;
}
.family-app .fc-member-recipient-search > input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  height: auto;
  flex: 1 1 auto;
  padding: 6px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  color: var(--fc-ink);
}
.family-app .fc-member-recipient-search > input::placeholder {
  color: var(--fc-secondary);
  opacity: 1;
}
.family-app .fc-member-recipient-search > .fc-member-recipient-toggle {
  display: grid;
  place-items: center;
  align-self: stretch;
  flex: 0 0 48px;
  min-width: 48px;
  min-height: 46px;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--fc-border);
  border-radius: 0 10px 10px 0;
  background: transparent;
  color: var(--fc-secondary);
  box-shadow: none;
}
.family-app .fc-member-recipient-toggle:hover:not(:disabled) {
  background: var(--fc-blue-soft);
}
.family-app .fc-member-recipient-list {
  max-height: 220px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 4px 8px;
  border: 1px solid var(--fc-border);
  border-radius: 10px;
}
.family-app .fc-member-recipient-list[hidden] {
  display: none;
}
.family-app .fc-member-create-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.family-app .fc-member-create-heading > h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  color: var(--fc-ink);
}
.family-app .fc-member-create-heading .fc-help-trigger {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fc-secondary);
  box-shadow: none;
}
.family-app .fc-member-create-heading .fc-help-trigger > .fc-icon {
  width: 25px;
  height: 25px;
}
.family-app .fc-member-tables[data-compact=true] .fc-member-visibility {
  gap: 8px 24px;
  font-size: 14px;
}
.family-app .fc-member-tables[data-compact=true] .fc-member-visibility input[type=radio] {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  accent-color: var(--fc-red);
}
.family-app .fc-member-tables[data-compact=true] > form > .fc-action {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 9px 12px;
  border: 0;
  border-radius: 11px;
  background: var(--fc-red);
  color: white;
  font-size: 18px;
  font-weight: 600;
  box-shadow: none;
}
.family-app .fc-member-owned > p {
  margin: 6px 0;
}
.family-app .fc-member-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.family-app .fc-member-row-actions > button,
.family-app .fc-member-invitations li > button {
  min-height: 44px;
}
.family-app .fc-member-invitations h3,
.family-app .fc-member-invitations h4 {
  font-size: var(--fc-item-title-size);
  margin: 12px 0 8px;
}
.family-app .fc-member-invitations ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.family-app .fc-member-invitations li {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 0;
  border-top: 1px solid var(--fc-border);
}
.family-app .fc-member-row-text {
  min-width: 0;
  flex: 1 1 180px;
  overflow-wrap: anywhere;
}
.family-app .fc-member-row-text p {
  margin: 5px 0;
  color: var(--fc-muted);
  font-size: var(--fc-small-size);
}
.family-app .fc-member-row-text small {
  display: block;
  color: var(--fc-muted);
}
.family-app .fc-private-table-name {
  display: grid;
  gap: 7px;
  font-weight: 600;
}
.family-app .fc-private-table-name > input {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--fc-border);
  border-radius: 10px;
  background: var(--fc-surface);
  font: inherit;
  color: var(--fc-ink);
}
.family-app .fc-private-table-time {
  font-size: var(--fc-label-size);
}
.family-app .fc-private-table-time p {
  margin: 6px 0 0;
  font-weight: 400;
  color: var(--fc-secondary);
}
.family-app .fc-private-table-mode {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.family-app .fc-private-table-mode > select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--fc-border);
  border-radius: 10px;
  background: var(--fc-surface);
  font: inherit;
  color: var(--fc-ink);
}
.family-app .match-sheet[role=dialog]:has(.fc-private-table-dialog) {
  width: min(420px, calc(100vw - 24px));
  box-sizing: border-box;
}
.family-app .fc-member-dialog-heading {
  display: contents;
}
.family-app .fc-private-table-dialog,
.family-app .fc-private-table-settings {
  min-width: 0;
}
.family-app .fc-private-table-dialog .fc-member-owned {
  display: grid;
  gap: 16px;
}
.family-app .fc-private-table-settings {
  display: grid;
  grid-template-columns: minmax(160px, .8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: start;
}
.family-app .fc-private-table-settings .fc-private-table-mode {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.family-app .ui-private-table-form .fc-private-table-name > input {
  box-sizing: border-box;
  flex: initial;
}
.family-app .ui-private-table-form > .fc-action {
  width: 100%;
  min-height: 44px;
}
.family-app .fc-member-owned-actions {
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fc-border);
}
.family-app .fc-member-close-action {
  color: var(--fc-red);
}
.family-app .fc-member-close-confirmation {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  background: var(--fc-slate-soft);
}
.family-app .fc-member-close-confirmation > p {
  margin: 0;
  overflow-wrap: anywhere;
}
.family-app .fc-member-close-confirmation .fc-member-row-actions {
  justify-content: flex-end;
}
@layer family-controls {
  .family-app[data-ui-module=games] .match-sheet[role=dialog]:has(.fc-private-table-dialog) {
    width: min(420px, calc(100vw - 24px)) !important;
  }
  .family-app[data-ui-module=games] .fc-private-table-dialog .ui-private-table-form .fc-private-table-settings .fc-private-table-time > p {
    min-height: 44px !important;
    padding: 10px 12px !important;
  }
  .family-app[data-ui-module=games] .fc-private-table-dialog .fc-member-owned-actions > .fc-member-close-action:not(:disabled) {
    color: var(--fc-red) !important;
  }
  .family-app .fc-table-privacy {
    display: grid;
    gap: 6px;
    min-width: 0;
  }
  .family-app .fc-table-privacy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    font-weight: 600;
  }
  .family-app .fc-table-privacy p {
    margin: 0;
    font-size: var(--fc-small-size);
    color: var(--fc-secondary);
    line-height: 1.5;
  }
  .family-app .fc-table-privacy-switch {
    position: relative;
    display: flex;
    align-items: center;
    flex: none;
    width: 52px;
    min-width: 52px;
    height: 44px;
    min-height: 44px;
    padding: 9px 4px;
    border: 0;
    border-radius: 99px;
    background: transparent;
    box-shadow: none;
  }
  .family-app .fc-table-privacy-switch::before {
    content: "";
    position: absolute;
    inset: 6px 0;
    border: 1px solid var(--fc-border);
    border-radius: 99px;
    background: var(--fc-slate-soft);
  }
  .family-app .fc-table-privacy-switch > span {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--fc-secondary);
    transition: transform .15s, background .15s;
  }
  .family-app .fc-table-privacy-switch[aria-checked=true]::before {
    background: var(--fc-blue);
    border-color: var(--fc-blue);
  }
  .family-app .fc-table-privacy-switch[aria-checked=true] > span {
    background: white;
    transform: translateX(18px);
  }
  .family-app .fc-table-privacy-switch:focus-visible {
    outline: 2px solid var(--fc-blue);
    outline-offset: 3px;
  }
  .family-app .fc-table-privacy-switch:disabled {
    opacity: .55;
    cursor: default;
  }
  .family-app .fc-table-privacy .error-note {
    color: var(--fc-red);
  }
  .family-app .fc-table-admission-badge {
    display: inline-flex;
    padding: 3px 9px;
    border-radius: 99px;
    background: var(--fc-blue-soft);
    color: var(--fc-blue);
    font-size: 12px;
    font-weight: 600;
  }
  .family-app .fc-table-status[data-presence=online] {
    color: #26734d;
    background: #e8f5ec;
  }
  .family-app .fc-table-status[data-presence=offline] {
    color: #8a5b13;
    background: #fff2d6;
  }
  .family-app .fc-table-status[data-presence=idle] {
    color: var(--fc-secondary);
    background: var(--fc-slate-soft);
  }
}
@media (max-width: 520px) {
  .family-app .fc-private-table-settings {
    grid-template-columns: minmax(0, 1fr);
  }
}
body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] {
  --table-dialog-line:var(--va-border,#e1e8fb);
  --table-dialog-muted:var(--va-secondary,#697ca5);
  --table-dialog-action:var(--va-action,#3d52ff);
  --table-dialog-soft:var(--va-action-soft,#eef3ff);
}
.family-app .fc-table-dialog-icon {
  width: 22px;
  height: 22px;
  flex: none;
  vertical-align: middle;
}
.family-app .fc-table-dialog-label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}
.family-app .fc-table-dialog-icon-box {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--table-dialog-soft);
  color: var(--table-dialog-action);
}
.family-app .fc-table-dialog-label-copy {
  display: grid;
  gap: 4px;
}
.family-app .fc-table-dialog-label-copy > small {
  font-size: 14px;
  font-weight: 400;
  color: var(--table-dialog-muted);
}
.family-app .fc-table-dialog-field {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 14px 0;
  border-bottom: 1px solid var(--table-dialog-line);
  box-sizing: border-box;
}
.family-app .fc-table-dialog-game {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 216px;
  max-width: 100%;
  min-height: 52px;
  padding: 6px 14px;
  box-sizing: border-box;
  border: 1px solid var(--table-dialog-action);
  border-radius: 12px;
  background: var(--table-dialog-soft);
  font-size: 16px;
  font-weight: 600;
}
.family-app .fc-table-dialog-game > img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: none;
}
.family-app .fc-table-dialog-selected {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  margin-left: auto;
  border-radius: 50%;
  background: var(--table-dialog-action);
  color: #fff;
  font-size: 13px;
}
.family-app .fc-table-dialog-access {
  padding: 14px 0;
  border-bottom: 1px solid var(--table-dialog-line);
  min-height: 76px;
  box-sizing: border-box;
}
.family-app .fc-table-dialog-time {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.family-app .fc-table-dialog-time > p {
  margin: 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid var(--table-dialog-line);
  border-radius: 12px;
  background: var(--va-field,#fff);
  font-size: 13px;
  line-height: 21px;
  overflow-wrap: anywhere;
}
.family-app .fc-table-dialog-summary {
  margin: 16px 0 0;
  padding: 18px;
  border: 1px solid var(--table-dialog-line);
  border-radius: 16px;
  background: var(--va-field,#f6f9ff);
  min-width: 0;
}
.family-app .fc-table-dialog-summary-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.family-app .fc-table-dialog-summary-top > h3 {
  margin: 0;
  font-size: 22px;
  line-height: 30px;
  font-weight: 650;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.family-app .fc-table-dialog-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-green,#358342);
}
.family-app .fc-table-dialog-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.family-app .fc-table-dialog-metadata {
  display: grid;
  grid-template-columns: 145px 160px minmax(0, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.family-app .fc-table-dialog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.family-app .fc-table-dialog-meta + .fc-table-dialog-meta {
  border-left: 1px solid var(--table-dialog-line);
  padding-left: 16px;
}
.family-app .fc-table-dialog-meta > img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: none;
}
.family-app .fc-table-dialog-meta > .fc-table-dialog-icon {
  color: var(--table-dialog-action);
  width: 25px;
  height: 25px;
}
.family-app .fc-table-dialog-meta > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  font-size: 14px;
  line-height: 21px;
  overflow-wrap: anywhere;
}
.family-app .fc-table-dialog-meta small {
  font-size: 12px;
  color: var(--table-dialog-muted);
}
.family-app .fc-table-dialog-meta strong {
  font-weight: 600;
}
.family-app .fc-table-dialog-privacy-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  color: var(--table-dialog-muted);
  font-size: 13px;
  line-height: 20px;
}
.family-app .fc-table-dialog-privacy-summary > .fc-table-dialog-icon {
  width: 15px;
  height: 15px;
}
.family-app .fc-table-dialog-settings {
  border: 1px solid var(--table-dialog-line);
  border-radius: 14px;
  margin-top: 2px;
  overflow: hidden;
  min-width: 0;
}
.family-app .fc-table-dialog-settings > summary {
  list-style: none;
  cursor: pointer;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 600;
}
.family-app .fc-table-dialog-settings > summary::-webkit-details-marker {
  display: none;
}
.family-app .fc-table-dialog-settings > summary > .fc-table-dialog-icon {
  color: var(--table-dialog-action);
}
.family-app .fc-table-dialog-disclosure {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--table-dialog-action);
  font-size: 14px;
  font-weight: 400;
}
.family-app .fc-table-dialog-collapse,
.family-app .fc-table-dialog-settings[open] .fc-table-dialog-expand {
  display: none;
}
.family-app .fc-table-dialog-settings[open] .fc-table-dialog-collapse {
  display: inline;
}
.family-app .fc-table-dialog-settings[open] .fc-table-dialog-disclosure > .fc-table-dialog-icon {
  transform: rotate(180deg);
}
.family-app .fc-table-dialog-settings[open] > summary {
  border-bottom: 1px solid var(--table-dialog-line);
}
.family-app .fc-table-dialog-settings-content {
  padding: 0 16px 16px;
}
.family-app .fc-table-dialog-settings-content .fc-table-dialog-field {
  grid-template-columns: 150px minmax(0, 1fr);
}
@layer family-controls {
  .family-app.family-approved[data-ui-module=games] .match-sheet[role=dialog]:has(.fc-private-table-dialog) {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 24px !important;
  }
  .family-app.family-approved[data-ui-module=games] .match-sheet[role=dialog]:has(.fc-private-table-dialog) > header {
    display: flex !important;
    align-items: center !important;
    flex: none !important;
    gap: 10px !important;
    height: 80px !important;
    min-height: 80px !important;
    margin: 0 !important;
    padding: 18px 24px !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid var(--va-border,#e1e8fb) !important;
  }
  .family-app.family-approved[data-ui-module=games] .match-sheet[role=dialog]:has(.fc-private-table-dialog) > header > h2 {
    font-size: 26px !important;
    line-height: 34px !important;
    font-weight: 650 !important;
    margin: 0 !important;
  }
  .family-app.family-approved[data-ui-module=games] .match-sheet[role=dialog]:has(.fc-private-table-dialog) > .ui-dialog-body {
    min-height: 0 !important;
    overflow: auto !important;
    overscroll-behavior: contain !important;
    padding: 4px 24px 24px !important;
  }
  .family-app .fc-private-table-dialog .fc-member-tables[data-private-state] {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] :is(form, fieldset, .fc-member-owned) {
    gap: 0 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-private-table-name.fc-table-dialog-field {
    display: grid !important;
    grid-template-columns: 170px minmax(0, 1fr) !important;
    gap: 18px !important;
    margin: 0 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-table-dialog-settings-content .fc-private-table-name.fc-table-dialog-field {
    grid-template-columns: 150px minmax(0, 1fr) !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-private-table-name > input {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    box-shadow: none !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-private-table-settings {
    display: grid !important;
    grid-template-columns: 310px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: center !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--table-dialog-line) !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-private-table-mode {
    display: grid !important;
    grid-template-columns: 144px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    margin: 0 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-private-table-mode > select {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-member-recipient-picker.fc-table-dialog-invite {
    display: grid !important;
    grid-template-columns: 170px minmax(0, 1fr) !important;
    gap: 10px 18px !important;
    align-items: center !important;
    padding: 16px 0 !important;
    margin: 0 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-table-dialog-invite > .fc-member-recipient-title {
    font-size: 16px !important;
    min-width: 0 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-table-dialog-invite > .fc-member-recipient-title label {
    min-width: 0 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-table-dialog-invite > :is(.fc-member-recipient-list, p) {
    grid-column: 2 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-member-recipient-search {
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-member-recipient-search > input {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-member-recipient-search > .fc-member-recipient-toggle {
    min-height: 44px !important;
    border-radius: 0 11px 11px 0 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-table-dialog-summary .fc-member-owned-actions {
    margin-left: auto !important;
    padding: 0 !important;
    border: 0 !important;
    gap: 8px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-member-owned-actions > button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 12px !important;
    min-height: 44px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-member-owned-actions > .fc-member-close-action {
    background: var(--fc-red-soft,#fff1ef) !important;
    border: 1px solid var(--fc-red-soft,#ffe9e5) !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .ui-private-table-form > .fc-action {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    padding: 10px 12px !important;
    margin: 2px 0 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-member-invite-more > fieldset > .fc-action {
    margin: 0 0 14px !important;
    min-height: 44px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-table-privacy-switch {
    background: transparent !important;
    box-shadow: none !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-private-table-settings {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  .family-app.family-approved[data-ui-module=games] .match-sheet[role=dialog]:has(.fc-private-table-dialog) {
    border-radius: 20px !important;
  }
  .family-app.family-approved[data-ui-module=games] .match-sheet[role=dialog]:has(.fc-private-table-dialog) > header {
    height: 64px !important;
    min-height: 64px !important;
    padding: 10px 16px !important;
    gap: 6px !important;
  }
  .family-app.family-approved[data-ui-module=games] .match-sheet[role=dialog]:has(.fc-private-table-dialog) > header > h2 {
    font-size: 22px !important;
    line-height: 28px !important;
  }
  .family-app.family-approved[data-ui-module=games] .match-sheet[role=dialog]:has(.fc-private-table-dialog) > .ui-dialog-body {
    padding: 0 16px 18px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-private-table-name.fc-table-dialog-field,
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-table-dialog-settings-content .fc-private-table-name.fc-table-dialog-field {
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 8px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-private-table-settings {
    padding: 10px 0 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-private-table-mode {
    grid-template-columns: 130px minmax(0, 1fr) !important;
    gap: 8px !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-member-recipient-picker.fc-table-dialog-invite {
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 10px 0 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-table-dialog-invite > :is(.fc-member-recipient-list, p) {
    grid-column: 1/-1 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-table-dialog-summary .fc-member-owned-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
  }
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-table-dialog-settings-content .fc-private-table-mode {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  @media (max-width: 360px) {
    body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] .fc-private-table-mode {
      grid-template-columns: minmax(0, 1fr) !important;
    }
  }
}
.family-app .fc-table-dialog-label {
  font-size: 15px;
  gap: 9px;
}
.family-app .fc-private-table-mode .fc-table-dialog-label {
  font-size: 16px;
}
.family-app .fc-table-dialog-icon-box {
  width: 30px;
  height: 30px;
}
.family-app .fc-table-dialog-icon-box > .fc-table-dialog-icon {
  width: 20px;
  height: 20px;
}
.family-app .fc-table-dialog-field,
.family-app .fc-table-dialog-settings-content .fc-table-dialog-field {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  min-height: 0;
  padding: 10px 0;
}
.family-app .fc-table-dialog-game {
  width: 100%;
  max-width: 240px;
  min-height: 48px;
}
.family-app .fc-table-dialog-label-copy > small {
  font-size: 12px;
}
.family-app .fc-table-dialog-time {
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px;
}
.family-app .fc-table-dialog-summary {
  padding: 12px;
  margin-top: 10px;
}
.family-app .fc-table-dialog-summary-top {
  gap: 6px 10px;
}
.family-app .fc-table-dialog-summary-top > h3 {
  font-size: 20px;
  line-height: 26px;
}
.family-app .fc-table-dialog-metadata {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.family-app .fc-table-dialog-meta + .fc-table-dialog-meta {
  padding-left: 10px;
}
.family-app .fc-table-dialog-meta:last-child {
  grid-column: 1/-1;
  border-left: 0;
  border-top: 1px solid var(--table-dialog-line);
  padding: 12px 0 0;
}
.family-app .fc-table-dialog-meta > div {
  font-size: 13px;
}
.family-app .fc-table-dialog-privacy-summary {
  font-size: 12px;
}
.family-app .fc-table-dialog-settings > summary {
  padding: 10px 12px;
  font-size: 15px;
  gap: 8px;
  flex-wrap: wrap;
}
.family-app .fc-table-dialog-disclosure {
  font-size: 13px;
  gap: 4px;
}
.family-app .fc-table-dialog-settings-content {
  padding: 0 12px 14px;
}
.family-app .fc-private-table-dialog .fc-table-dialog-field:has(> .fc-table-dialog-game) {
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px;
}
.family-app .fc-private-table-dialog .fc-table-dialog-game {
  min-height: 44px;
  padding: 4px 10px;
  gap: 8px;
}
.family-app .fc-private-table-dialog .fc-table-dialog-access {
  min-height: 0;
  padding: 10px 0;
}
.family-app .fc-private-table-dialog .fc-table-dialog-label-copy {
  min-width: 0;
  gap: 2px;
}
.family-app .fc-private-table-dialog .fc-table-dialog-label-copy > small {
  font-size: 13px;
  line-height: 18px;
}
.family-app .fc-private-table-dialog .fc-table-dialog-privacy-summary {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 13px;
}
.family-app .fc-table-dialog-visibility {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  background: var(--fc-blue-soft);
  color: var(--fc-blue);
}
.family-app .fc-table-dialog-visibility[data-visibility=private] {
  background: var(--fc-slate-soft);
  color: var(--fc-ink);
}
.family-app .fc-table-dialog-visibility > .fc-table-dialog-icon {
  width: 15px;
  height: 15px;
}
.family-app .fc-private-table-dialog {
  container-type: inline-size;
}
.family-app .fc-private-table-dialog .fc-table-dialog-time > p {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
  font-size: 13px;
  line-height: 20px;
}
@container (max-width:300px) {
  .family-app .fc-table-dialog-time {
    grid-template-columns: minmax(0, 1fr);
  }
  @layer family-controls {
    body[data-family-approved] .family-app.family-approved[data-ui-module=games] .fc-member-tables[data-private-state] :is(.fc-private-table-name.fc-table-dialog-field, .fc-table-dialog-settings-content .fc-private-table-name.fc-table-dialog-field, .fc-member-recipient-picker.fc-table-dialog-invite) {
      grid-template-columns: minmax(0, 1fr) !important;
    }
  }
}
.fc-session-tables {
  display: grid;
  gap: 16px;
  color: var(--family-ink,#09205b);
}
.fc-session-tables form {
  display: grid;
  gap: 16px;
}
.fc-session-tables fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 12px;
}
.fc-session-field {
  display: grid;
  grid-template-columns: minmax(100px, .8fr) minmax(0, 2fr);
  gap: 16px;
  align-items: center;
}
.fc-session-field > strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.fc-session-field.fc-session-metadata {
  grid-template-columns: minmax(100px, .8fr) minmax(0, 2fr);
  gap: 16px;
}
.fc-session-metadata > strong:first-child {
  white-space: nowrap;
}
.fc-session-metadata > :last-child {
  min-width: 0;
  justify-self: end;
  text-align: right;
}
.fc-session-name > strong:last-child {
  font-size: 1.1em;
  font-weight: 750;
  color: var(--family-ink,#09205b);
}
.fc-session-game {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f5f8ff;
  border: 1px solid #dbe5ff;
  border-radius: 14px;
}
.fc-session-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fc-session-choices button {
  min-height: 44px;
  border: 1px solid #d8e2ff;
  border-radius: 13px;
  background: #f7f9ff;
  color: inherit;
  font: inherit;
  padding: 9px 12px;
  white-space: nowrap;
}
body[data-family-approved] .family-app.family-approved .fc-session-tables .fc-session-choices > button[aria-pressed=true] {
  background: var(--fc-selection-bg,#dfeafa);
  border-color: var(--fc-selection-border,#a7bfdc);
  color: var(--fc-selection-ink,#214f88);
  box-shadow: none;
}
.fc-session-type-note {
  margin: 0;
  color: #60779e;
  font-size: .9rem;
}
.fc-session-fixed,
.fc-session-settings {
  border-top: 1px solid #dce6f4;
  padding-top: 14px;
}
.fc-session-fixed summary,
.fc-session-settings summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 34px;
}
.fc-session-fixed summary small {
  display: block;
  font-size: .8rem;
  color: #647a9a;
  font-weight: 400;
}
.fc-session-fixed > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 8px 0;
  color: #60779e;
}
.fc-session-fixed > div span:last-child {
  text-align: right;
  color: #122b53;
}
.fc-session-settings form {
  padding-top: 12px;
}
.fc-session-owned {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: center;
}
.fc-session-owned > span {
  font-size: .9rem;
  color: #62779b;
}
.fc-session-owned > button {
  grid-column: 2;
  grid-row: 1/3;
}
.fc-session-invitations {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.fc-session-invitations li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fc-session-tables > .error-note {
  margin: 0;
}
@media (max-width: 430px) {
  .fc-session-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .fc-session-choices button {
    padding: 9px 6px;
  }
  .fc-session-owned {
    grid-template-columns: 1fr;
  }
  .fc-session-owned > button {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ../prototypes/core-local/src/match/action-artwork-font.css */
@font-face {
  font-family: "Family Charm";
  src: url(/art/Charm-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ../prototypes/core-local/src/match/ready-overlay.css */
.match-ready-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  container-type: inline-size;
  overflow: hidden;
  border-radius: 3px;
}
.ready-board-shade {
  position: absolute;
  inset: 0;
  background: rgb(15 12 8 / var(--ready-dim,.58));
  -webkit-backdrop-filter: blur(var(--ready-blur,4px));
  backdrop-filter: blur(var(--ready-blur,4px));
}
.ready-controls {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.ready-action {
  display: grid;
  justify-items: center;
  width: var(--ready-plaque-width,68%);
  gap: 0;
}
.ready-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 5px 5px #0009);
}
.catalog-page button.ready-toggle,
.ready-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 600/220;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #39200d;
  font:
    italic 700 clamp(20px, 6.4cqw, 44px)/1.2 "Segoe Script",
    Georgia,
    "Times New Roman",
    serif;
  box-shadow: none;
  pointer-events: auto;
  white-space: nowrap;
  isolation: isolate;
}
.ready-toggle > span {
  position: relative;
  padding: 0 13%;
  text-shadow: 0 1px 1px #ffeca6;
}
.catalog-page button.ready-toggle[aria-pressed=true],
.ready-toggle[aria-pressed=true] {
  color: #fff2be;
  cursor: default;
  opacity: 1;
}
.ready-toggle[aria-pressed=true] > span {
  font-size: .86em;
  text-shadow: 0 2px 2px #0009;
}
.catalog-page button.ready-toggle:hover:not(:disabled) {
  background: transparent;
  filter: brightness(1.12);
}
.catalog-page button.ready-toggle:disabled:not([aria-pressed=true]) {
  opacity: .65;
  cursor: wait;
}
.catalog-page button.ready-toggle:focus-visible,
.catalog-page button.cancel-ready:focus-visible {
  outline: 3px solid #fff0ae;
  outline-offset: 4px;
}
.ready-action-hint {
  position: relative;
  color: #fff0c9;
  font-size: clamp(12px, 2.8cqw, 16px);
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 2px 3px #000;
}
.ready-countdown {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--ready-countdown-width,42%);
  aspect-ratio: 1;
  color: #fff0b0;
  font:
    italic 700 clamp(52px, 18cqw, 120px)/1 "Segoe Script",
    Georgia,
    "Times New Roman",
    serif;
  pointer-events: none;
  text-shadow: 0 2px 1px #6f310a, 0 0 14px #d99a44;
}
.ready-countdown > b {
  position: relative;
  font: inherit;
  animation: ready-number-in var(--ready-enter,180ms) ease-out both, ready-number-out var(--ready-exit,170ms) var(--ready-exit-delay,830ms) ease-in forwards;
}
@keyframes ready-number-in {
  from {
    opacity: 0;
    transform: scale(.76);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes ready-number-out {
  to {
    opacity: .7;
    transform: scale(1.04);
  }
}
.cancel-ready-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
}
.catalog-page button.cancel-ready {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: clamp(95px, 26cqw, 165px);
  min-height: 44px;
  padding: 6px 22px;
  border: 2px solid #c89a42;
  border-radius: 9px 20px;
  background: linear-gradient(#fffceb, #f8e4b8);
  color: #a51d16;
  font:
    italic 700 clamp(19px, 4.7cqw, 28px)/1.2 "Segoe Script",
    Georgia,
    "Times New Roman",
    serif;
  white-space: nowrap;
  box-shadow:
    0 1px 0 #fff0b4,
    inset 0 0 0 2px #fff3d8,
    0 4px 9px #0005;
}
.catalog-page button.cancel-ready:hover:not(:disabled) {
  filter: brightness(1.08);
}
.catalog-page button.cancel-ready:disabled {
  opacity: .6;
  cursor: wait;
}
.cancel-ready-wrap [role=tooltip] {
  display: none;
  position: absolute;
  z-index: 8;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  padding: 8px;
  border: 1px solid #d7bd7d;
  border-radius: 8px;
  background: #fffdf8;
  color: #273653;
  font: 12px/1.4 "Segoe UI", sans-serif;
  white-space: normal;
  box-shadow: 0 3px 9px #0002;
}
.cancel-ready-wrap:hover [role=tooltip],
.cancel-ready-wrap:focus-within [role=tooltip] {
  display: block;
}
.match-preparation-state {
  grid-column: 2/4;
  grid-row: 1/3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-size: 12px;
  color: #496a86;
}
.bottom .match-preparation-state {
  grid-column: 1/3;
  justify-content: flex-start;
}
.match-preparation-state[data-ready=true] {
  color: #177440;
}
@media (max-width: 420px) {
  .match-player-band .match-preparation-state,
  .match-player-band.bottom .match-preparation-state {
    grid-column: 1/4;
    grid-row: 2;
    justify-content: flex-start;
  }
  .match-player-band.bottom .match-preparation-state {
    justify-content: flex-end;
  }
  .ready-controls {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ready-countdown > b {
    animation: none;
  }
}
.ready-artwork.ready-bitmap {
  overflow: hidden;
}
.catalog-page button.cancel-ready[data-bitmap=true] {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  padding: 10px 25px;
}
.cancel-ready-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: drop-shadow(0 3px 4px #0007);
}
.catalog-page button.ready-toggle[data-bitmap=true],
.owner-ready-preview-board .ready-toggle[data-bitmap=true],
.ready-countdown[data-bitmap=true],
.catalog-page button.cancel-ready[data-bitmap=true] {
  font-family:
    "Family Charm",
    Georgia,
    "Times New Roman",
    serif;
  font-weight: 700;
  font-style: normal;
}
.ready-toggle[data-bitmap=true] > span,
.ready-countdown[data-bitmap=true] > b,
.cancel-ready[data-bitmap=true] > .cancel-ready-label {
  position: absolute;
  left: var(--action-text-x,50%);
  top: var(--action-text-y,50%);
  translate: -50% -50%;
  padding: 0;
  white-space: nowrap;
}
.cancel-ready-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
[data-ready-pack=crown] button.ready-toggle[data-bitmap=true],
.family-app > .match-backdrop > .match-sheet [data-ready-pack=crown].owner-ready-preview-board button.ready-toggle[data-bitmap=true] {
  color: #fff2be;
}
[data-ready-pack=crown] .ready-toggle[data-bitmap=true] > span {
  text-shadow: 0 2px 2px #21052e;
}
.catalog-page button.cancel-ready[data-bitmap=true] {
  width: clamp(110px, 30cqw, 165px);
  padding: 0;
}
.family-app > .match-backdrop > .match-sheet .owner-ready-preview-board button.ready-toggle[data-bitmap=true] {
  font:
    normal 700 clamp(20px, 6.4cqw, 44px)/1.2 "Family Charm",
    Georgia,
    serif;
  background: transparent;
  color: #39200d;
  border: 0;
  box-shadow: none;
  padding: 0;
  min-height: 0;
}
.family-app > .match-backdrop > .match-sheet .owner-ready-preview-board button.ready-toggle[data-bitmap=true][aria-pressed=true] {
  background: transparent;
  color: #fff2be;
}
.family-app > .match-backdrop > .match-sheet .owner-ready-preview-board button.cancel-ready[data-bitmap=true] {
  font:
    normal 700 clamp(19px, 4.7cqw, 28px)/1.2 "Family Charm",
    Georgia,
    serif;
  background: transparent;
  color: #a51d16;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* ../prototypes/core-local/src/match/match-backdrop.css */
.family-app:has(.match-landscape-backdrop) {
  isolation: isolate;
  background: transparent;
}
.family-app .match-landscape-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  background:
    radial-gradient(
      ellipse at 50% 38%,
      #fffdf6 22%,
      #f4f2e9 63%,
      #e9efed 100%);
}
.family-app .match-landscape-backdrop * {
  pointer-events: none;
}
.family-app .match-landscape-mountains {
  display: block;
  width: 100%;
  height: 100%;
  opacity: .85;
}
.family-app .match-landscape-bamboo {
  position: absolute;
  width: clamp(82px, 16vw, 225px);
  height: auto;
  color: #73928b;
  opacity: .18;
}
.family-app .match-landscape-bamboo.left {
  bottom: -18px;
  left: -21px;
  transform: rotate(-9deg);
  transform-origin: bottom left;
}
.family-app .match-landscape-bamboo.right {
  top: -23px;
  right: -25px;
  transform: rotate(174deg);
  transform-origin: center;
}
.family-app:has(.match-landscape-backdrop) .match-surface {
  background: #fffdf4e8;
  border-color: #dce2d8;
  box-shadow: 0 12px 40px #50696512;
}
.family-app:has(.match-landscape-backdrop) .match-main-header {
  background: #fffdf4e6;
  border-radius: 12px;
}
@media (max-width: 599px) {
  .family-app .match-landscape-mountains {
    opacity: .55;
  }
  .family-app .match-landscape-bamboo {
    opacity: .13;
  }
  .family-app:has(.match-landscape-backdrop) .match-surface {
    background: #fffdf4eb;
  }
}
.family-app .match-landscape-backdrop {
  background: #8fb9e1 url("./assets/RH7Y7MB4.webp") center/cover no-repeat;
}
.family-app .match-landscape-backdrop > .match-landscape-mountains,
.family-app .match-landscape-backdrop > .match-landscape-bamboo {
  display: none;
}
.family-app:has(.match-landscape-backdrop) > .match-surface {
  background: transparent;
  box-shadow: none;
}
.family-app .match-landscape-backdrop > .match-library-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ../prototypes/core-local/src/match/family-match.css */
.family-app:has(> .match-surface) {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-block: 12px;
}
.family-app .match-surface {
  display: flex;
  flex-direction: column;
  flex: none;
  margin-block: auto;
}
.family-app .match-play-area {
  width: 100%;
  max-width: 560px;
  min-width: 0;
  margin-inline: auto;
}
@media (min-width: 600px) and (min-height: 650px) {
  .family-app .match-play-area {
    max-width: clamp(360px, calc((100dvh - var(--family-player-fit-budget,424px)) * .902173913), 560px);
  }
}
.family-app .match-main-header {
  flex: none;
}
.family-app .match-main-header .match-header-icon {
  min-width: 44px;
  min-height: 44px;
}
.family-app .family-player-band,
.family-app .family-player-band.bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: stretch;
  gap: 10px;
  min-height: 0;
  padding: 4px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.family-app .family-player-band > .match-identity,
.family-app .family-player-band.bottom > .match-identity {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  flex-direction: row;
  align-self: start;
  justify-self: start;
  text-align: left;
  gap: 0;
  min-width: 0;
  padding: 6px 4px;
  border: 1px solid #dce7f1;
  border-color: transparent;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}
.family-app .family-player-band[data-side=red] > .match-identity {
  background: transparent;
  border-color: transparent;
}
.family-app .family-player-band > .match-identity:has(.family-player-avatar-open) {
  position: relative;
}
.family-app .family-player-avatar-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
}
.family-app .family-player-avatar-open:hover,
.family-app .family-player-avatar-open:active {
  background: transparent;
  box-shadow: none;
}
.family-app .family-player-avatar-open:focus-visible {
  outline: 3px solid #4388d3;
  outline-offset: 2px;
}
.family-app .family-player-band .family-player-name strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0;
  background: none;
  font-weight: 700;
  line-height: 1.25;
}
.family-app .family-player-band .family-player-name strong.red {
  color: #a9322b;
}
.family-app .family-player-band .family-player-name strong.black {
  color: #26354a;
}
.family-app .family-player-band .family-player-name small {
  display: block;
  font-size: 12px;
  color: #596e88;
  overflow-wrap: anywhere;
}
.family-player-controls {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: var(--family-player-name-top,max(6px,calc(7px + var(--family-player-portrait-center,0px) * var(--family-match-avatar-scale,1) - var(--family-avatar-name,19px) * .625)));
}
.family-player-name {
  flex: none;
  text-align: left;
}
.family-bank-slot {
  position: relative;
  flex: 1;
  min-height: 40px;
  margin-inline: 6px;
  min-width: 0;
}
.family-bank-value {
  position: absolute;
  right: 0;
  top: 11px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  font-variant-numeric: tabular-nums;
  color: var(--family-match-text-bankClock,#26354a);
  white-space: nowrap;
}
.family-bank-value[data-result-emphasis=true] {
  text-decoration: underline;
  text-decoration-color: #bb342d;
  text-underline-offset: 3px;
}
.family-app .family-player-band .family-player-name .family-turn-period {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  font-size: 12px;
  line-height: 1.4;
  color: #47566e;
  overflow-wrap: anywhere;
}
.family-app .family-player-band .family-turn-period:before {
  content: attr(data-reserve-label);
  visibility: hidden;
  font-weight: 700;
  grid-area: 1/1;
}
.family-app .family-player-band .family-turn-period > span {
  grid-area: 1/1;
}
.family-app .family-player-band .family-turn-period[data-urgency=warning] {
  color: #76520e;
  font-weight: 600;
}
.family-app .family-player-band .family-turn-period[data-urgency=urgent] {
  color: #a21d28;
  font-weight: 700;
}
.family-app .family-player-band .match-preparation-state,
.family-app .family-player-band.bottom .match-preparation-state {
  justify-content: flex-start;
  text-align: left;
  max-width: 100%;
  font-size: 12px;
  white-space: normal;
}
.family-app .family-player-band .family-avatar-rank {
  left: calc(50% + var(--avatar-safe) / 2 - 2px * var(--avatar-factor));
  transform: translate(-100%, -50%);
}
.family-player-actions {
  flex: none;
  min-width: 0;
  min-height: 60px;
  align-self: flex-end;
  display: grid;
  align-items: center;
  padding: 5px;
  border: 1px solid #dce7f1;
  border-radius: 12px;
  background: #f9fbffe8;
  box-sizing: border-box;
}
.family-match-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.family-match-tools .family-tool,
.family-match-tools .sound-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 3px;
  min-width: 44px;
  min-height: 44px;
  padding: 3px 2px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #254b87;
  font: 600 11px/1.2 system-ui, sans-serif;
  box-shadow: none;
}
.family-main-tools .family-tool {
  min-height: 60px;
  min-width: 48px;
}
.family-match-tools .family-tool-art {
  display: grid;
  place-items: center;
  flex: none;
  width: calc(var(--family-icon-main,26px) + 12px);
  height: calc(var(--family-icon-main,26px) + 12px);
  border-radius: 10px;
  background: #e8f2ff;
}
.family-main-tools .family-tool:last-child .family-tool-art {
  background: #f4efdf;
  color: #655335;
}
.family-main-tools svg {
  width: var(--family-icon-main,26px);
  height: var(--family-icon-main,26px);
  stroke-width: 2.1;
}
.family-top-tools .family-tool-art {
  width: calc(var(--family-icon-top,20px) + 8px);
  height: calc(var(--family-icon-top,20px) + 8px);
  border-radius: 8px;
  background: #edf3fa;
}
.family-top-tools svg {
  width: var(--family-icon-top,20px);
  height: var(--family-icon-top,20px);
}
.family-top-tools .sound-button:before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--family-icon-top,20px) + 8px);
  height: calc(var(--family-icon-top,20px) + 8px);
  border-radius: 8px;
  background: #e8f2ff;
  z-index: 0;
}
.family-top-tools .sound-button svg {
  position: relative;
  z-index: 1;
}
.family-top-tools .sound-button[title="Đã tắt âm thanh"]:before {
  background: #edf0f4;
}
.family-match-tools button:disabled {
  color: #738296;
  opacity: 1;
  cursor: not-allowed;
}
.family-match-tools button:disabled .family-tool-art {
  background: #edf0f4;
}
.family-match-tools button:focus-visible,
.family-chat-tools button:focus-visible {
  outline: 3px solid #176de0;
  outline-offset: 2px;
}
.family-viewer-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 17px;
  min-height: 17px;
  display: grid;
  place-items: center;
  padding: 1px 3px;
  background: #fff;
  border: 1px solid #c5d2e0;
  border-radius: 9px;
  color: #294766;
  font: 700 11px/1.2 system-ui, sans-serif;
}
.family-top-tools .sound-quick-panel {
  left: auto;
  right: 0;
  transform: none;
  max-width: calc(100vw - 32px);
  z-index: 45;
}
.family-app .family-player-band .social-bubble,
.family-app .family-player-band.bottom .social-bubble {
  left: 12px;
  right: auto;
  top: calc(100% - 8px);
  max-width: min(250px, 85%);
  border-color: #94aed0;
  background: #f6faff;
  color: #16375d;
  font-size: 13px;
  box-shadow: 0 3px 10px #18355220;
  line-height: 1.4;
}
.family-app .match-spectator-say:empty {
  display: none;
}
.family-app .match-surface .lobby-card button {
  min-height: 44px;
}
.match-held-endgame {
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #d8dfd4;
  border-radius: 10px;
  background: #f8f8ee;
  color: #465b55;
  font-size: 13px;
}
.match-held-endgame p {
  margin: 0 0 6px;
}
.match-held-endgame button {
  min-height: 44px;
  margin-right: 8px;
  padding: 7px 11px;
  border: 1px solid #bccbbd;
  border-radius: 8px;
  background: #fff;
  color: #245747;
  font: 600 13px system-ui, sans-serif;
}
@container matchplay (max-width:520px) {
  .family-app .family-player-band,
  .family-app .family-player-band.bottom {
    gap: 6px;
  }
  .family-app .family-player-band > .match-identity,
  .family-app .family-player-band.bottom > .match-identity {
    padding: 6px 4px;
  }
  .family-app .family-player-band .family-player-name {
    min-width: 0;
  }
  .family-app .family-player-band .family-player-actions {
    min-height: 56px;
    padding: 3px;
  }
  .family-match-tools {
    gap: 2px;
  }
  .family-main-tools .family-tool {
    min-width: 44px;
    min-height: 50px;
    font-size: 10px;
  }
}
@container matchplay (max-width:420px) {
  .family-app .family-player-band {
    --family-match-avatar-scale:1;
  }
  .family-app .family-player-band .family-avatar-composition {
    zoom: 1;
    margin-bottom: 0;
  }
  .family-app .family-player-band,
  .family-app .family-player-band.bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .family-app .family-player-band > .match-identity {
    flex: none;
  }
  .family-app .family-player-band .family-player-controls {
    flex: 1 1 144px;
    min-width: 144px;
    max-width: 100%;
  }
  .family-app .family-player-band .family-avatar-rank {
    top: calc(50% + 10px * var(--avatar-factor));
  }
  .family-app .family-top-tools {
    gap: 2px;
  }
}
@container matchplay (max-width:340px) {
  .family-app .family-player-band,
  .family-app .family-player-band.bottom {
    --family-match-avatar-scale:1;
    gap: 4px;
  }
  .family-app .family-player-band > .match-identity,
  .family-app .family-player-band.bottom > .match-identity {
    padding-inline: 3px;
  }
  .family-app .family-player-band .family-player-actions {
    padding-inline: 2px;
  }
  .family-app .family-match-tools {
    gap: 0;
  }
}
.family-app .family-top-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(44px, auto));
  justify-content: end;
  gap: 4px;
  flex-wrap: nowrap;
}
.family-top-tools > .family-viewer-tool {
  grid-column: 1;
  grid-row: 1;
}
.family-top-tools > button[aria-label^=Mic],
.family-top-tools > .family-table-navigation {
  grid-column: 2;
  grid-row: 1;
}
.family-top-tools > .family-phone-sound {
  grid-column: 3;
  grid-row: 1;
}
.family-app .family-player-band.top .family-player-actions {
  align-self: flex-end;
}
.family-game-menu {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #dce4ef;
}
.family-table-navigation {
  position: relative;
}
.family-app .family-top-tools button.family-navigation-trigger .family-tool-art {
  width: 22px !important;
  height: 22px !important;
  color: #c23c37 !important;
}
.family-app .family-top-tools .family-navigation-trigger .family-tool-art > svg {
  width: 22px !important;
  height: 22px !important;
}
.family-app .family-table-navigation-menu {
  position: fixed;
  z-index: 160;
  box-sizing: border-box;
  width: 224px;
  max-width: calc(100vw - 16px);
  padding: 6px;
  border: 1px solid #d7e0e8;
  border-radius: 10px;
  background: var(--va-overlay,#fff);
  color: var(--va-text,#20334a);
  box-shadow: 0 8px 24px #172d4b26;
}
.family-app .family-table-navigation-menu > button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  text-align: left;
  font: 500 14px/20px Arial, sans-serif;
  cursor: pointer;
}
.family-app .family-table-navigation-menu > button:hover,
.family-app .family-table-navigation-menu > button:focus-visible {
  background: #eaf1fa;
  outline: 2px solid #4388d3;
  outline-offset: -2px;
}
.family-app .family-table-navigation-menu > button:disabled {
  color: #738296;
  cursor: not-allowed;
}
.family-app .match-surface .family-main-tools .family-tool:not(:disabled) > span:not(.family-tool-art) {
  color: var(--family-match-text-mainTools,#254b87);
}
.family-app .match-surface .family-top-tools .family-viewer-count {
  color: var(--family-match-text-topTools,#294766);
}
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) > header > h2,
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) > h3 {
  color: var(--family-match-text-headings,#26354a);
}
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) > p:not([role=status]),
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) > label,
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) > .menu-actions:not(.match-options) > p:not([role=status]),
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) > .menu-actions > button:not(.match-danger):not(:disabled),
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) > .history-row,
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .family-chat-panel form > label,
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .family-chat-panel form > input,
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .family-chat-panel form > button:not(:disabled),
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .family-chat-panel .social-tabs > button:not(:disabled),
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .family-board-set-picker,
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .family-board-set-picker > select,
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .reference-effect-picker > legend,
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .reference-effect-picker .menu-actions > button:not(:disabled),
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .family-chat-panel .social-phrases > button:not(:disabled) {
  color: var(--family-match-text-body,#26354a);
}
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .social-note,
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .family-board-set-picker > small,
.family-app > .match-backdrop[data-match-presentation=true] > .match-sheet:not(:has(.owner-preparation)) .match-options > p:not([role=status]) {
  color: var(--family-match-text-muted,#596e88);
}
body[data-family-approved] .family-app:is(.cloud-match, .player-owner) > .match-backdrop[data-match-presentation=true] > .match-sheet > header > h2 {
  color: var(--family-match-text-headings,#26354a) !important;
}
.family-app:is(.cloud-match, .player-owner) > .match-backdrop[data-match-presentation=true] > .match-sheet > .ui-dialog-body :is(.review-options-label, .review-options-selection > .review-options-value, .family-table-info),
.family-app:is(.cloud-match, .player-owner) > .match-backdrop[data-match-presentation=true] > .match-sheet > .ui-dialog-body > p:not([role]) {
  color: var(--family-match-text-body,#26354a);
}
body[data-family-approved] .family-app:is(.cloud-match, .player-owner) > .match-backdrop[data-match-presentation=true] > .match-sheet > .ui-dialog-body :is(.family-action-sheet > button:not(.match-danger):not(:disabled) > span:not(.family-action-icon), .menu-actions:not(.family-action-sheet) > button:not(.match-danger):not(.fc-action):not(:disabled)),
body[data-family-approved] .family-app:is(.cloud-match, .player-owner) > .match-backdrop[data-match-presentation=true] > .match-sheet > .ui-dialog-body > button:not(.fc-action):not(:disabled) {
  color: var(--family-match-text-body,#26354a) !important;
}
.family-app.catalog-page:has(> .match-surface) {
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  box-sizing: border-box;
  margin: 0;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  display: flex;
  flex-direction: column;
}
.family-app.catalog-page > .match-surface {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}
.family-app > .match-surface > .match-play-area {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  position: relative;
  margin: 0;
}
.family-app.catalog-page:has(> .match-surface) > .connection-banner,
.family-app.catalog-page:has(> .match-surface) > .error-note {
  position: absolute;
  inset: 4px 8px auto;
  z-index: 80;
}
.owner-match-preview .match-play-area {
  height: min(760px, 100dvh);
  position: relative;
}
.family-app [data-family-layout] > .match-board-shell {
  position: absolute;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: none;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  background: transparent;
  box-shadow: none;
}
.family-app [data-family-layout] > .family-player-band,
.family-app [data-family-layout] > .family-player-band.bottom {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  pointer-events: none;
}
.family-app [data-family-layout] > .family-player-band > .match-identity {
  position: absolute;
  display: block;
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
  width: max-content;
  transform: none;
  justify-self: auto;
  pointer-events: none;
}
.family-app [data-family-layout] .family-avatar-composition {
  zoom: 1;
  margin: 0;
}
.family-app [data-family-layout] .family-player-controls {
  display: contents;
  padding: 0;
}
.family-app [data-family-layout] .family-player-name {
  position: absolute;
  padding: 0;
  margin: 0;
  text-align: left;
  pointer-events: auto;
}
.family-app [data-family-layout] .family-player-name > strong {
  line-height: 1.25;
}
.family-app [data-family-layout] .family-bank-slot {
  position: absolute;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
}
.family-app [data-family-layout] .family-bank-value {
  position: relative;
  display: block;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  width: max-content;
  height: auto;
  max-width: none;
  overflow: visible;
  font-size: 20px;
  line-height: 1.25;
  color: var(--family-match-text-bankClock,#172d4b);
}
.family-app [data-family-layout] .family-player-actions {
  position: absolute;
  width: max-content;
  min-height: 0;
  padding: 4px;
  margin: 0;
  border: 0;
  border-radius: 13px;
  background: #eef2f5;
  box-shadow: none;
  pointer-events: auto;
}
.family-app [data-family-layout] .family-match-tools {
  gap: 2px;
}
.family-app [data-family-layout] .family-match-tools .family-tool,
.family-app [data-family-layout] .family-match-tools .sound-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  gap: 3px;
  border: 0;
  background: transparent;
}
.family-app [data-family-layout] .family-main-tools {
  gap: 4px;
}
.family-app [data-family-layout] .family-main-tools .family-tool {
  width: 48px;
  min-width: 48px;
  height: 52px;
  min-height: 52px;
  font: 500 12px/15px Arial, sans-serif;
  white-space: nowrap;
}
.family-app [data-family-layout] .family-tool-art {
  width: var(--family-icon-main,26px);
  height: var(--family-icon-main,26px);
  background: transparent;
}
.family-app [data-family-layout] .family-top-tools .family-tool-art {
  width: var(--family-icon-top,18px);
  height: var(--family-icon-top,18px);
  background: transparent;
}
.family-app [data-family-layout] .family-top-tools {
  display: flex;
  gap: 2px;
}
.family-app [data-family-layout] .family-top-tools .sound-button:before {
  background: transparent;
}
.family-app [data-family-layout] .family-player-rank {
  position: absolute;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.family-player-rank > img,
.family-player-rank > .family-rank-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.family-app [data-family-layout=wide] .family-player-name {
  text-align: center;
}
.family-app [data-family-layout] .social-bubble {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 60;
  pointer-events: auto;
  max-width: min(320px, calc(100% - 16px));
}
.family-app [data-family-layout] > .history-notice,
.family-app [data-family-layout] > .match-held-endgame,
.family-app [data-family-layout] > .match-state-panel,
.family-app [data-family-layout] > .match-finished-table,
.family-app [data-family-layout] > .match-spectator-say,
.family-app [data-family-layout] > .error-note {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  z-index: 70;
  max-height: 120px;
  overflow: auto;
  margin: 0;
}
.family-turn-period {
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  pointer-events: auto;
  color: #c56318;
}
.family-turn-period[data-urgency=urgent] {
  color: #b72321;
}
.family-turn-period > button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: 700 17px/1.25 Arial, sans-serif;
  color: inherit;
  cursor: pointer;
}
.family-turn-period > button:focus-visible {
  outline: 2px solid #176de0;
  outline-offset: -3px;
  border-radius: 8px;
}
.family-period-tooltip {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  padding: 6px 9px;
  border-radius: 7px;
  background: #172d4b;
  color: #fff;
  white-space: nowrap;
  font: 500 12px/1.4 system-ui, sans-serif;
  z-index: 90;
  pointer-events: none;
}
.family-turn-period[data-tooltip-open=true] > .family-period-tooltip {
  display: block;
}
.family-app [data-family-layout=phone-cards] .family-player-band {
  isolation: isolate;
}
.family-app [data-family-layout=phone-cards] .family-player-band:has(.sound-quick-panel) {
  z-index: 75;
}
.family-phone-card {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 16px;
  background:
    linear-gradient(
      120deg,
      #ffffffdc,
      #edf5fff0);
  box-shadow: 0 3px 12px rgba(39, 65, 100, .06);
}
.family-player-band.bottom .family-phone-card {
  background:
    linear-gradient(
      120deg,
      #ffffffdc,
      #fff7ebed);
}
.family-app [data-family-layout=phone-cards] .family-player-name strong {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
}
.family-app [data-family-layout=phone-cards] .family-rank-label {
  position: absolute;
  left: calc(100% + 4px);
  top: 0;
  height: 20px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font: 12px/20px Arial, sans-serif;
  color: #476182;
  pointer-events: auto;
}
.family-app [data-family-layout=phone-cards] .family-player-actions {
  height: 56px !important;
  padding: 0 !important;
  justify-content: stretch !important;
}
.family-app [data-family-layout=phone-cards] .family-player-band.bottom .family-player-actions {
  width: calc(var(--phone-card-width) * .6) !important;
}
.family-app [data-family-layout=phone-cards] .family-player-band.top .family-player-actions {
  width: calc(var(--phone-card-width) * .4) !important;
}
.family-app [data-family-layout=phone-cards] .family-match-tools {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
}
.family-app [data-family-layout=phone-cards] .family-top-tools {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.family-app [data-family-layout=phone-cards] .family-top-tools > * {
  grid-column: auto !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
}
.family-app [data-family-layout=phone-cards] .sound-button:before {
  content: none !important;
}
.family-app [data-family-layout=phone-cards] .sound-button > svg {
  box-sizing: content-box !important;
  width: var(--family-icon-top,22px) !important;
  height: var(--family-icon-top,22px) !important;
  padding: 7px !important;
  border-radius: 14px;
  background: #eff3ff;
  color: #507af2;
  flex: none;
}
.family-app [data-family-layout=phone-cards] .family-phone-tool-label {
  position: static !important;
  display: block !important;
  height: 12px;
  line-height: 12px !important;
  z-index: 1;
}
.family-app [data-family-layout=phone-cards] .family-match-tools :is(.family-tool, .sound-button) {
  width: 100% !important;
  min-width: 44px !important;
  max-width: none !important;
  height: 56px !important;
  min-height: 56px !important;
  gap: 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font: 11px/12px Arial, sans-serif !important;
  color: #334866 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  justify-content: center !important;
}
.family-app [data-family-layout=phone-cards] .family-match-tools .family-tool-art {
  box-sizing: content-box !important;
  width: var(--family-icon-main,22px) !important;
  height: var(--family-icon-main,22px) !important;
  padding: 7px !important;
  border-radius: 14px;
  background: #eff3ff;
  color: #507af2;
}
.family-app [data-family-layout=phone-cards] [data-phone-tool=match] .family-tool-art {
  background: #eef7f2;
  color: #469875;
}
.family-app [data-family-layout=phone-cards] [data-phone-tool=options] .family-tool-art {
  background: #fbf5e9;
  color: #be8a35;
}
.family-app [data-family-layout=phone-cards] [data-phone-tool=mic] {
  order: 0 !important;
}
.family-app [data-family-layout=phone-cards] [data-phone-tool=navigation] {
  order: 2 !important;
}
.family-app [data-family-layout=phone-cards] [data-phone-tool=sound] {
  order: 1 !important;
}
.family-app [data-family-layout=phone-cards] .family-top-tools .family-tool-art {
  width: var(--family-icon-top,22px) !important;
  height: var(--family-icon-top,22px) !important;
}
.family-app [data-family-layout=phone-cards] [aria-disabled=true] .family-tool-art,
.family-app [data-family-layout=phone-cards] [aria-pressed=false] .family-tool-art {
  color: #8b97a9;
  background: #f0f2f6;
}
.family-app [data-family-layout=phone-cards] .review-mic-off .family-tool-art:after {
  left: 6px;
  top: 17px;
}
.family-app [data-family-layout=phone-cards] .family-bank-value {
  border: 0 !important;
  background: #ffffffc9;
  border-radius: 12px;
  padding: 3px 8px !important;
  white-space: nowrap !important;
  line-height: 24px !important;
}
.family-app [data-family-layout=phone-cards] .family-bank-value:before {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}
.family-app [data-family-layout=phone-cards] .family-bank-value[data-unlimited=true]:before {
  width: 12px;
  height: 12px;
}
.family-phone-card {
  display: none;
}
.family-app [data-family-layout=phone-cards] .family-phone-card {
  display: block;
}
.family-app [data-family-layout] {
  font-family: Arial, sans-serif;
  background:
    radial-gradient(
      ellipse at 10% 0,
      #fffaf0,
      transparent 58%),
    radial-gradient(
      ellipse at 100% 38%,
      #d9edff,
      transparent 65%),
    linear-gradient(
      155deg,
      #edf5fc,
      #cbdff0);
}
.family-app [data-family-layout] .family-player-name strong {
  font-size: var(--family-avatar-name,19px);
}
.family-app [data-family-layout] .family-turn-dot {
  position: absolute;
  display: block;
  box-sizing: border-box;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #101218;
  z-index: 4;
  pointer-events: auto;
}
.family-turn-dot[data-phase=turn] {
  background: #12c967 !important;
}
.family-turn-dot[data-phase=last] {
  background: #dc2638 !important;
}
.family-app [data-family-layout] .family-bank-value:before {
  content: "";
  display: inline-block;
  vertical-align: -.12em;
  width: .85em;
  height: .85em;
  margin-right: 6px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 6v6l4 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.family-app [data-family-layout=phone-cards] {
  --family-icon-main:22px;
  --family-icon-top:22px;
}
.family-app [data-family-layout=phone-cards] .family-player-rank {
  width: 20px;
  height: 20px;
}
.family-app [data-family-layout=phone-cards] .family-bank-value {
  font-size: 18px;
}
.family-app [data-family-layout=phone-cards] .family-bank-value[data-unlimited=true] {
  font-size: 12px;
}
.family-app [data-family-layout=phone-cards] .family-player-actions {
  background: transparent;
}
.family-app [data-family-layout=phone-cards] .family-player-title {
  width: max-content;
  max-width: calc(100% - 140px);
  font: 12px/20px Arial, sans-serif;
  white-space: nowrap;
}
.family-app [data-family-layout=phone-cards] .social-bubble {
  box-sizing: border-box;
  padding: 1px 8px;
  font: 12px/16px Arial, sans-serif;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 13px;
  background: #ffffffed;
  border-color: #e2eaf4;
}
.family-app [data-family-layout] > .family-player-band .social-bubble,
.family-app [data-family-layout] > .family-player-band.bottom .social-bubble {
  display: block;
  box-sizing: border-box;
  max-width: none;
  padding: 8px 10px;
  border: 1px solid #8ba9ca;
  border-radius: 11px;
  background: #fff;
  color: #183452;
  box-shadow: 0 2px 8px #18355216;
  font: 400 14px/20px var(--ui-font-family,Arial,sans-serif);
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: clip;
  overflow: hidden;
  pointer-events: auto;
}
.family-app [data-family-layout] > .family-player-band .social-bubble > .social-bubble-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.family-app [data-family-layout=phone-cards] > .family-player-band .social-bubble,
.family-app [data-family-layout=phone-cards] > .family-player-band.bottom .social-bubble {
  padding: 1px 8px;
  border-radius: 10px;
}
.family-app [data-family-layout=phone-cards] > .family-player-band[data-chat-layout=card] .family-player-title {
  visibility: hidden;
}
.family-app [data-family-layout=phone-cards] > .family-player-band .social-bubble[data-lines="1"] > .social-bubble-text {
  -webkit-line-clamp: 1;
}
.family-app [data-family-layout=phone-cards] > .family-player-band .social-bubble[data-constraint] {
  padding-top: 0;
  padding-bottom: 0;
}
.family-phone-tool-label {
  display: none;
}
.family-phone-sound {
  position: relative;
}
.family-phone-sound > .family-phone-tool-label {
  pointer-events: none;
}
.family-app [data-family-layout=phone-cards] .family-phone-sound > .family-phone-tool-label {
  position: absolute !important;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font: 11px/12px Arial, sans-serif;
  color: #334866;
}
.family-app [data-family-layout=phone-cards] .family-phone-sound .sound-button {
  padding-bottom: 16px !important;
}
.family-app [data-family-layout=wide] .family-player-name {
  text-align: left;
}
.family-app [data-family-layout=wide] .family-player-name strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  line-height: 24px;
  font-size: 22px;
}
.family-app [data-family-layout=wide] .family-bank-value {
  font-size: 28px;
  line-height: 24px;
  min-width: 176px;
  text-align: center;
  box-sizing: border-box;
  border-radius: 14px;
  background: #e9f5ffe6;
  box-shadow: 0 0 0 8px #e9f5ffe6, 0 0 0 9px #cce4ff99;
}
.family-app [data-family-layout=wide] .family-bank-value[data-unlimited=true] {
  font-size: 18px;
}
.family-app [data-family-layout=wide] .family-player-actions {
  width: 64px;
  padding: 4px;
  border: 0;
  border-radius: 16px;
  background: #eff8fff0;
}
.family-app [data-family-layout=wide] .family-player-band.bottom .family-player-actions {
  border-radius: 16px 16px 0 0;
}
.family-app [data-family-layout=wide] .family-player-band.top .family-player-actions {
  border-radius: 0 0 16px 16px;
}
.family-app [data-family-layout=wide] .family-player-band.bottom .family-player-actions:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
  background: inherit;
  pointer-events: none;
}
.family-app [data-family-layout=wide] .family-match-tools {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.family-app [data-family-layout=wide] .family-match-tools :is(.family-tool, .sound-button) {
  width: 56px;
  min-width: 56px;
  max-width: 56px;
  height: 44px;
  min-height: 44px;
  padding: 0;
}
.family-app [data-family-layout=wide] .family-main-tools .family-tool {
  height: 52px;
  min-height: 52px;
}
.family-app [data-family-layout=wide] .family-phone-sound {
  order: 0;
}
.family-app [data-family-layout=wide] [data-phone-tool=mic],
.family-app [data-family-layout=wide] [data-phone-tool=navigation] {
  order: 1;
}
.family-app [data-family-layout=wide] .family-viewer-tool {
  order: 2;
}
@media (min-width: 900px) and (max-width: 1100px) {
  .family-app [data-family-layout=wide] .family-player-name strong {
    font-size: 18px;
  }
  .family-app [data-family-layout=wide] .family-player-rank {
    width: 40px;
    height: 40px;
  }
}
.family-app [data-family-layout] .family-turn-period {
  display: none;
}
.family-rank-label {
  display: none;
}
.family-app [data-family-layout=phone-cards] .family-player-status {
  position: absolute;
  display: block;
  text-align: right;
  font: 12px/16px Arial, sans-serif;
}
.family-app [data-family-layout=phone-cards] .family-rank-label {
  max-width: var(--family-rank-label-max);
  overflow: hidden;
  text-overflow: ellipsis;
}
.family-app [data-family-layout=phone-cards] .family-player-status .match-preparation-state {
  justify-content: flex-end;
  text-align: right;
  font-size: 10px;
  line-height: 12px;
}
.family-app.catalog-page > .match-surface {
  display: flex;
  flex-direction: column;
}
.family-app > .match-surface > .match-play-area {
  flex: 1;
  min-height: 120px;
  height: auto;
}
.family-app .match-notification-area {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 28dvh;
  overflow: auto;
  position: relative;
  z-index: 3;
  padding: 0 8px;
  box-sizing: border-box;
}
.family-app .match-notification-area:empty {
  display: none;
}
.family-app .match-notification-area > * {
  position: static;
  margin: 4px 0;
  flex: none;
}
.family-app .match-notification-area > .match-spectator-say:empty {
  display: none;
}
.family-app.catalog-page:has(> .match-surface) > .connection-banner,
.family-app.catalog-page:has(> .match-surface) > .error-note {
  position: relative;
  inset: auto;
  flex: none;
  max-height: 24dvh;
  overflow: auto;
  margin: 4px 8px;
  z-index: 4;
}
@media (max-width: 599px) and (orientation: portrait) {
  .family-app > .match-surface:has(.match-notification-area .match-perpetual-warning, .match-notification-area .match-state-panel, .match-notification-area .history-notice, .match-notification-area .match-held-endgame, .match-notification-area .match-finished-table) {
    overflow: auto;
  }
  .family-app > .match-surface:has(.match-notification-area .match-perpetual-warning, .match-notification-area .match-state-panel, .match-notification-area .history-notice, .match-notification-area .match-held-endgame, .match-notification-area .match-finished-table) > .match-play-area {
    min-height: 440px;
    flex-shrink: 0;
  }
}
.family-app > .match-surface > .match-play-area[data-human-rail-min-height] {
  min-height: var(--family-human-rail-min-height,120px);
}
.family-app.catalog-page > .match-surface:has(> .match-play-area[data-human-rail-min-height]) {
  overflow-y: auto;
}
.family-app .family-player-actions:has(> .family-viewer-only) {
  display: none !important;
}
.family-app [data-family-layout=phone-cards] .family-player-band.bottom .family-player-actions:has(> .family-human-tools) {
  width: var(--phone-card-width) !important;
}
.family-app [data-family-layout=phone-cards] .family-human-tools {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
.family-app [data-family-layout=wide] .family-player-band.bottom .family-player-actions:has(> .family-human-tools) {
  border-radius: 16px;
}
.family-app [data-family-layout=wide] .family-player-band.bottom .family-player-actions:has(> .family-human-tools):after {
  content: none;
}
.family-app .match-surface .family-human-tools .family-leave-tool:not(:disabled) > span {
  color: #b73535 !important;
}
.family-app [data-family-layout=phone-cards] .family-human-tools [data-phone-tool=leave] .family-tool-art {
  background: #fff0ef;
  color: #b73535;
}
.family-app .match-surface .family-player-actions {
  background: rgb(251 253 255 / var(--family-match-toolbar-opacity,.7));
  border-color: rgb(218 228 238 / var(--family-match-toolbar-opacity,.7));
}
.family-app .match-surface .family-player-band .family-phone-card {
  background: rgb(251 253 255 / var(--family-player-panel-opacity,.7));
  border-color: rgb(218 228 238 / var(--family-player-panel-opacity,.7));
}

/* ../prototypes/core-local/src/match/family-player-rank.css */
.family-app [data-family-integrated] .family-player-rank {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  height: 45px;
}
.family-app [data-family-integrated] .family-player-rank > .family-rank-art,
.family-app [data-family-integrated] .family-player-rank > img {
  flex: none;
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.family-app [data-family-integrated] .family-player-rank > .family-rank-label {
  position: static;
  display: block;
  min-width: 0;
  max-width: 100%;
  height: auto;
  font: 400 13px/18px var(--ui-font-family,Arial,sans-serif);
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
  color: inherit;
}
.family-app [data-family-layout=phone-cards] .family-player-rank > .family-rank-label {
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  white-space: normal;
}

/* ../prototypes/core-local/src/match/family-move-history.css */
.family-spectator-history.family-move-history .family-spectator-moves-head,
.family-spectator-history.family-move-history .family-spectator-move-row {
  grid-template-columns: 64px repeat(2, minmax(0, 1fr));
}
.family-spectator-history.family-move-history .family-spectator-moves-head {
  font-size: 14px;
  line-height: 20px;
  color: #294766;
}
.family-spectator-history.family-move-history .family-spectator-moves-head > span {
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}
.family-spectator-history.family-move-history .family-spectator-moves-head > span:nth-child(2) {
  color: #a4473d;
}
.family-spectator-history.family-move-history .family-spectator-move-row > span {
  text-align: center;
}
.family-match-content.ai-side-history > h2 {
  display: none;
}
.family-content-history > .family-move-history .family-spectator-moves-head,
.family-content-history > .family-move-history .family-move-list {
  scrollbar-gutter: stable;
}
.family-content-history > .family-move-history .family-spectator-moves-head {
  overflow: hidden;
}

/* ../prototypes/core-local/src/match/family-spectator.css */
.family-app .match-surface[data-spectator=true] {
  overflow: auto;
}
.family-app .family-spectator {
  position: relative;
  width: 100%;
  max-width: 1100px;
  min-width: 0;
  margin: auto;
  padding: 8px 12px 12px;
  box-sizing: border-box;
  color: #365578;
}
.family-spectator-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  margin-bottom: 8px;
  padding-right: 84px;
}
.family-spectator-header > button {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #526f91;
  min-height: 44px;
  padding: 4px 6px;
  font: inherit;
  font-size: 13px;
}
.family-spectator-header > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
  padding-right: 10px;
}
.family-spectator-header strong {
  font-size: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.family-spectator-header > div > span {
  color: #6a8191;
  font-size: 12px;
  white-space: nowrap;
}
.family-spectator-arena {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "duel" "board" "caption" "tools";
  gap: 7px;
  max-width: 600px;
  margin: auto;
  min-width: 0;
}
.family-spectator-duel {
  grid-area: duel;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid #dce5f0;
  background: #fbfdfff5;
  border-radius: 11px;
  min-width: 0;
}
.family-spectator-player {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 2px 4px;
  align-items: center;
  min-width: 0;
  max-width: 230px;
  width: 100%;
  justify-self: center;
}
.family-spectator-player[data-side=red] {
  grid-template-columns: minmax(0, 1fr) 56px;
  text-align: right;
}
.family-spectator-avatar {
  grid-column: 1;
  grid-row: 1/3;
  display: grid;
  place-items: center;
  position: relative;
  width: 56px;
  height: 60px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 8px;
}
.family-spectator-avatar > .family-avatar-composition {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.5714285714);
  transform-origin: center;
  margin: 0;
}
.family-spectator-player[data-side=red] > .family-spectator-avatar {
  grid-column: 2;
}
.family-spectator-name {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}
.family-spectator-clock {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.family-spectator-player[data-side=red] > .family-spectator-name,
.family-spectator-player[data-side=red] > .family-spectator-clock {
  grid-column: 1;
}
.family-spectator-player[data-side=red] > .family-spectator-name {
  color: #a3473d;
}
.family-spectator-player[data-occupied=false] > .family-spectator-avatar {
  opacity: .45;
}
.family-spectator-player[data-occupied=false] > .family-spectator-clock {
  visibility: hidden;
}
.family-spectator-versus {
  display: block;
  width: 34px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px #17384d50);
}
.family-spectator-rail {
  display: contents;
}
.family-spectator-viewers {
  position: absolute;
  top: 19px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 76px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #f7faff;
  color: #607a9a;
  font-size: 13px;
}
.family-spectator-viewers:before {
  content: "";
  position: absolute;
  inset: -10px 0;
}
.family-spectator-viewers:disabled {
  opacity: .55;
}
.family-spectator-board {
  grid-area: board;
  min-width: 0;
  width: min(100%, max(240px, calc((100dvh - 255px)*.902173913)));
  justify-self: center;
}
.family-app .family-spectator-board > .match-board-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 5px;
  overflow: hidden;
}
.family-spectator-caption {
  grid-area: caption;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 22px;
  font-size: 12px;
  color: #697e94;
}
.family-spectator-caption button {
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid #d5e0f4;
  border-radius: 6px;
  background: #fff;
  color: #365ee0;
  font: inherit;
}
.family-spectator-tools {
  grid-area: tools;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
  gap: 2px;
  padding: 3px 2px;
  border: 1px solid #dce5f0;
  background: #fbfdfff5;
  border-radius: 11px;
}
.family-spectator-tools button {
  min-width: 0;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #59749c;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
}
.family-spectator-tools button:hover:not(:disabled) {
  background: #eaf0ff;
}
.family-spectator-tools button:disabled {
  opacity: .45;
}
.family-spectator-tools .family-spectator-leave {
  color: #b44743;
}
.family-spectator-side {
  display: none;
  grid-area: history;
  min-width: 0;
  min-height: 0;
  border: 1px solid #dce5f0;
  border-radius: 11px;
  background: #fbfdfff5;
  overflow: auto;
  padding: 12px 14px;
}
.family-spectator-side > h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}
.family-spectator-history {
  min-width: 0;
  color: #516b8e;
}
.family-spectator-history > p {
  font-size: 13px;
  color: #74869b;
  line-height: 1.5;
}
.family-spectator-moves-head,
.family-spectator-move-row {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px;
  align-items: center;
}
.family-spectator-moves-head {
  padding-bottom: 8px;
  border-bottom: 1px solid #e4eaf2;
  color: #8191a6;
  font-size: 12px;
}
.family-spectator-moves-head > span:nth-child(n+2) {
  text-align: center;
}
.family-spectator-moves-head > span:nth-child(2) {
  color: #a95d55;
}
.family-spectator-move-row {
  margin-top: 4px;
  font-size: 12px;
}
.family-spectator-move-row > span {
  color: #8b99aa;
}
.family-spectator-move-row > button {
  min-height: 40px;
  padding: 5px 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #4a607d;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
}
.family-spectator-history button[aria-current=step] {
  background: #e9f0fc;
  border-color: #cddbf2;
  color: #30588d;
}
.family-spectator-history-actions {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e4eaf2;
}
.family-spectator-history-actions > button {
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid #dce5f4;
  border-radius: 7px;
  background: #f5f8ff;
  color: #526c96;
  font: inherit;
  font-size: 12px;
}
.family-spectator-history-actions > .family-spectator-live {
  color: #365ee0;
  background: #edf2ff;
}
@media (min-width: 760px) and (orientation: landscape) {
  .family-app .family-spectator {
    padding: 8px 18px 12px;
  }
  .family-spectator-header {
    max-width: 1030px;
    margin-inline: auto;
  }
  .family-spectator-arena {
    max-width: 1030px;
    grid-template-columns: minmax(210px, min(664px, calc((100dvh - 184px)*.902173913))) minmax(290px, 360px);
    grid-template-rows: 76px minmax(100px, 1fr) 26px 62px;
    grid-template-areas: "board duel" "board history" "caption history" "tools history";
    gap: 10px 20px;
    justify-content: center;
  }
  .family-spectator-board {
    width: 100%;
  }
  .family-spectator-side {
    display: block;
    max-height: calc(100dvh - 202px);
  }
  .family-spectator-player {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .family-spectator-player[data-side=red] {
    grid-template-columns: minmax(0, 1fr) 56px;
  }
}
@media (max-width: 600px) {
  .family-spectator-header {
    gap: 6px;
  }
  .family-spectator-header > button {
    flex: none;
  }
  .family-spectator-header > button span {
    display: none;
  }
  .family-spectator-header > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding-right: 0;
  }
  .family-spectator-header strong {
    max-width: 100%;
  }
}
@media (max-width: 360px) {
  .family-spectator-header > button span {
    display: none;
  }
  .family-spectator-header > div {
    justify-content: flex-start;
  }
  .family-spectator-duel {
    padding: 3px;
    gap: 0;
  }
  .family-spectator-player {
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 2px;
  }
  .family-spectator-player[data-side=red] {
    grid-template-columns: minmax(0, 1fr) 50px;
  }
  .family-spectator-avatar {
    width: 50px;
  }
  .family-spectator-name {
    font-size: 12px;
  }
  .family-spectator-clock {
    font-size: 16px;
  }
  .family-spectator-tools button {
    font-size: 11px;
  }
}
.family-app .family-spectator {
  max-width: none;
  padding: 4px 12px 8px;
}
.family-app .family-spectator-arena.match-play-area {
  display: block;
  max-width: none;
  margin: 0;
}
.family-app [data-family-integrated] > .family-spectator-caption {
  position: absolute;
  left: var(--family-board-left);
  top: calc(var(--family-board-bottom) + 4px);
  width: var(--family-board-width);
  min-height: 22px;
  pointer-events: auto;
}
.family-app [data-family-integrated] .family-spectator-tools {
  padding: 0;
  border: 0;
  background: none;
}

/* ../prototypes/core-local/src/audio/sound.css */
.sound-quick {
  position: relative;
  flex: none;
}
.sound-button {
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  font-size: 20px;
}
.sound-quick-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 12;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: #203650;
  border: 1px solid #d7e1ed;
  border-radius: 13px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px #15274426;
  box-sizing: border-box;
}
.sound-settings {
  display: grid;
  gap: 10px;
  min-width: 0;
  text-align: left;
  font-size: 14px;
}
.sound-settings > button {
  min-height: 44px;
}
.sound-settings p {
  margin: 0;
}
.sound-settings small {
  font-size: 12px;
  color: #607089;
  line-height: 1.5;
}
.sound-settings .sound-switch {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  cursor: pointer;
}
.sound-switch input {
  width: 22px;
  height: 22px;
  accent-color: #25668c;
}
.sound-settings .sound-volume {
  display: grid;
  gap: 0;
  min-width: 0;
}
.sound-volume span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.sound-volume output {
  flex: none;
  font-variant-numeric: tabular-nums;
}
.sound-volume input {
  width: 100%;
  min-height: 44px;
  margin: 0;
  accent-color: #25668c;
}
.sound-settings .sound-track {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.sound-track select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #ccd8e7;
  border-radius: 8px;
  padding: 6px;
  color: inherit;
  background: #fff;
  font: inherit;
}
.sound-settings input:focus-visible,
.sound-settings select:focus-visible,
.sound-button:focus-visible {
  outline: 2px solid #25668c;
  outline-offset: 3px;
}
.sound-error {
  color: #943e2e;
  line-height: 1.5;
}

/* ../prototypes/core-local/src/catalog/match-options.css */
.match-options > p {
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.45;
  color: #617384;
}
.match-swap-offer {
  padding: 10px 12px;
  margin: 10px 0;
  border: 1px solid #bfcfdc;
  border-radius: 10px;
  background: #f1f6fa;
  color: #304e67;
}
.match-swap-offer p {
  margin: 0 0 8px;
  line-height: 1.4;
  font-size: 13px;
}
.match-swap-offer > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.match-swap-offer button {
  min-height: 40px;
  border: 1px solid #bfcfdc;
  background: #fff;
  border-radius: 8px;
  padding: 7px 12px;
  color: inherit;
}
.family-app .ui-replay-swap-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 8px;
}
.family-app .ui-replay-swap-control > button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  white-space: nowrap;
}
.family-app .ui-replay-swap-control > .fc-help {
  justify-self: end;
}
.family-app .ui-replay-swap-control .fc-help-trigger {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}
.family-app .ui-replay-swap-consent {
  grid-column: 1/-1;
  font-size: 12px;
  line-height: 18px;
  color: var(--gp-muted,#526793);
}
.family-app .family-match-options {
  --review-options-control-width:148px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  font-family: var(--ui-font-family,inherit);
}
.family-app .family-match-options .review-options-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--review-options-control-width);
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 0 14px;
}
.family-app .family-match-options .review-options-row > span {
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.family-app .family-match-options .review-options-row > select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--gp-border,#c9e0fa);
  border-radius: 14px;
  background: var(--gp-field,#fff);
  color: inherit;
  font: 400 14px/20px var(--ui-font-family,inherit);
}
.family-app .family-match-options .review-options-control {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
}
.family-app .menu-actions.family-match-options .review-options-switch {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
.family-app .family-match-options .review-options-switch-track {
  display: block;
  position: relative;
  box-sizing: border-box;
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: #67758d;
}
.family-app .family-match-options .review-options-switch[aria-checked=true] .review-options-switch-track {
  background: var(--gp-primary,#1765ff);
}
.family-app .family-match-options .review-options-switch-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #0003;
}
.family-app .family-match-options .review-options-switch[aria-checked=true] .review-options-switch-thumb {
  transform: translateX(18px);
}
.family-app .family-match-options .review-options-switch:focus-visible {
  outline: 2px solid var(--gp-primary,#1765ff);
  outline-offset: 2px;
}
.family-app .family-match-options .review-options-info {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 8px 0 0;
  padding: 10px 12px;
  text-align: left;
}
.family-app .family-match-options .review-options-info > svg {
  flex: none;
}
@media (max-width: 374px) {
  .family-app .family-match-options {
    --review-options-control-width:140px;
  }
}
.family-app .family-match-options > .family-options-divider {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--va-border,#dce6f0);
}
.family-app .family-match-options > .family-options-divider[hidden] {
  display: none;
}
.family-app .family-match-options .review-options-row {
  grid-template-columns: minmax(104px, max-content) minmax(0, 1fr);
}
.family-app .family-match-options .review-options-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
}
.family-app .review-options-label > svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--va-action,#1555f4);
}
.family-app .family-match-options .review-options-selection {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 9px 32px 9px 12px;
  border: 1px solid var(--va-border,#c9e0fa);
  border-radius: 14px;
  background: var(--va-field,#fff);
  color: #111;
  font: 400 14px/20px var(--ui-font-family,inherit);
}
.family-app .review-options-selection > .review-options-value {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: clip;
}
.family-app .review-options-selection > svg {
  position: absolute;
  right: 10px;
  top: calc(50% - 9px);
  color: var(--va-action,#1555f4);
  pointer-events: none;
}
.family-app .family-match-options .review-options-selection > select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font: inherit;
}
.family-app .review-options-selection:focus-within {
  outline: 2px solid var(--va-action,#1555f4);
  outline-offset: 2px;
}
.family-app .review-options-selection:has(select:disabled) {
  border-style: dashed;
  background: #f1f3f5;
}
.family-app .review-options-selection > select:disabled {
  cursor: not-allowed;
}
.family-app > .match-backdrop > .match-sheet .family-action-sheet > button:not(:disabled) {
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  filter: none;
}
.family-app > .match-backdrop > .match-sheet .family-action-sheet > button:not(:disabled):hover {
  background: rgba(17, 17, 17, .04);
  filter: none;
}
.family-app > .match-backdrop > .match-sheet .family-action-sheet > button:focus-visible {
  outline: 2px solid var(--va-action,#1555f4);
  outline-offset: -2px;
}
.family-app .family-action-sheet > button {
  color: #111 !important;
  opacity: 1 !important;
}
.family-app .family-action-sheet > button > span:not(.family-action-icon) {
  color: #111 !important;
  opacity: 1;
}
.family-app .family-action-sheet > button > svg,
.family-app .family-action-sheet .family-action-icon {
  color: var(--va-action,#1555f4);
}
.family-app .family-action-sheet .family-action-icon {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.family-app .family-action-sheet [data-action-icon=draw] {
  color: #21885c;
}
.family-app .family-action-sheet > button:is(.match-danger, .ai-option-danger) > svg,
.family-app .family-action-sheet [data-action-icon=resign] {
  color: #b94742;
}
.family-app .family-action-sheet > button:disabled {
  color: #111 !important;
  opacity: 1 !important;
  background: #eef1f5 !important;
  border-color: #c2ccd8 !important;
  border-style: dashed;
  cursor: not-allowed;
}
.family-app .family-action-sheet > button:disabled > svg,
.family-app .family-action-sheet > button:disabled .family-action-icon {
  color: #69788d;
}
.family-app .family-table-info {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
}
.family-app .family-table-info > li + li {
  margin-top: 8px;
}
.family-app .family-action-sheet > button:has(> svg, > .family-action-icon) {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  padding-inline: 14px;
  font: 400 14px/20px var(--ui-font-family,inherit);
  text-align: left;
}
.family-app .family-action-sheet > button > span:not(.family-action-icon) {
  font: inherit;
}
.family-app .family-action-sheet > button > svg:first-child,
.family-app .family-action-sheet > button > .family-action-icon {
  width: 22px;
  height: 22px;
}
.family-app .family-action-sheet > button > svg:last-child:not(:first-child) {
  justify-self: end;
  width: 18px;
  height: 18px;
}
.family-app .family-match-options .review-options-label {
  font: 400 14px/20px var(--ui-font-family,inherit);
}
.family-app .family-match-options .review-options-selection {
  font: 400 14px/20px var(--ui-font-family,inherit);
}
@media (min-width: 600px) {
  .family-app .family-action-sheet > button,
  .family-app .family-match-options .review-options-label,
  .family-app .family-match-options .review-options-row > span,
  .family-app .family-match-options .review-options-selection {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }
}
@layer family-typography {
  body[data-family-approved] .family-app.family-approved :is(.family-action-sheet > button:has(> svg, > .family-action-icon), .family-match-options .review-options-row) {
    font-weight: 400 !important;
  }
}
.family-app > .match-backdrop > .match-sheet .family-action-sheet > button:has(> svg, > .family-action-icon) {
  font-size: 14px;
  line-height: 20px;
}
@media (min-width: 600px) {
  .family-app > .match-backdrop > .match-sheet .family-action-sheet > button:has(> svg, > .family-action-icon) {
    font-size: 16px;
    line-height: 24px;
  }
}
.family-app .family-action-sheet > button > svg:first-child[width="20"] {
  width: 20px;
  height: 20px;
  justify-self: center;
}

/* ../prototypes/core-local/src/match/perpetual-warning.css */
.match-perpetual-warning {
  margin: 8px 0;
  padding: 10px 12px;
  border: 1px solid #c78b3d;
  border-radius: 9px;
  background: #fff4df;
  color: #713a12;
  font-size: 13px;
  line-height: 1.45;
}
.match-perpetual-warning p {
  margin: 3px 0;
}
.match-perpetual-warning > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.match-perpetual-warning button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #c78b3d;
  border-radius: 7px;
  background: #fffdf6;
  color: inherit;
}
.match-perpetual-warning button:last-child {
  background: #f8e3bd;
}
.match-perpetual-warning button:focus-visible {
  outline: 3px solid #176de0;
  outline-offset: 2px;
}
.match-perpetual-river-warning {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: max-content;
  max-width: 88%;
  padding: 5px 12px;
  border: 1px solid #e8bb63;
  border-radius: 10px;
  background: #632513f2;
  color: #fff6d9;
  box-shadow: 0 1px 6px #1d0b0766;
  font: 400 clamp(12px, 1.2vw, 15px)/1.3 var(--ui-font-family,"Family Inter","Segoe UI",sans-serif);
  text-shadow: none;
  text-align: center;
  pointer-events: none;
  user-select: none;
}
.match-perpetual-river-warning * {
  pointer-events: none;
}
.match-perpetual-river-warning > svg {
  flex: none;
  width: 21px;
  height: 21px;
  color: #ffda63;
}
.match-perpetual-river-warning > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.match-perpetual-river-warning strong {
  font-size: 1.04em;
  font-weight: 600;
  letter-spacing: normal;
  text-wrap: balance;
}
.match-perpetual-river-warning > span > span {
  color: #fff2d8;
  text-wrap: balance;
}
@layer family-typography {
  body[data-family-approved] .family-app.family-approved .match-perpetual-river-warning strong {
    font-weight: 600 !important;
  }
}

/* ../prototypes/core-local/src/match/river-offers.css */
.match-river-offers {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(min-content, 1fr);
  justify-items: center;
  gap: 4px;
  width: calc((100% - 24px)*.875);
  min-width: min-content;
  max-width: 420px;
  pointer-events: none;
}
.family-app .match-river-offer-card {
  display: grid;
  grid-template-columns: 22px minmax(min-content, 1fr) max-content;
  align-items: start;
  column-gap: 8px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 6px 10px;
  border: 1px solid #c8d5e8;
  border-radius: 10px;
  background:
    linear-gradient(
      115deg,
      #f9fbfffa,
      #edf2fffa);
  color: #243d63;
  box-shadow: 0 2px 6px #1738581c;
  pointer-events: auto;
}
.family-app .match-river-offer-icon {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 5px;
  background: #e0e9ff;
  color: #4564be;
}
.family-app [data-offer-kind=draw] > .match-river-offer-icon {
  background: #def1ed;
  color: #287c71;
}
.family-app .match-river-offer-icon > svg {
  display: block;
  width: 18px;
  height: 18px;
}
.family-app .match-river-offers .match-offer-prompt {
  display: contents;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  box-shadow: none;
  text-align: left;
}
.family-app .match-river-offers .match-offer-prompt > strong {
  grid-column: 2;
  min-width: 0;
  margin: 1px 0 0;
  padding: 0;
  font: 500 14px/20px var(--ui-font-family,"Segoe UI",sans-serif);
  white-space: nowrap;
}
.family-app .match-river-offers .match-draw-offer[data-incoming=false] > strong {
  grid-column: 2/-1;
}
.family-app .match-river-offers .match-offer-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  align-self: end;
  gap: 6px;
  margin: 0;
}
.family-app .match-river-offers .match-offer-actions > button {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: auto;
  min-width: 48px;
  min-height: 34px;
  height: 34px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #ccd7e9;
  border-radius: 10px;
  background: #ffffffc9;
  color: #365477;
  font: 500 14px/20px var(--ui-font-family,"Segoe UI",sans-serif);
  white-space: nowrap;
  box-shadow: none;
}
.family-app .match-river-offers .match-offer-actions > button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1px;
  right: -1px;
  height: 44px;
  transform: translateY(-50%);
}
.family-app .match-river-offers .match-offer-actions > button[data-accept] {
  min-width: 68px;
  background:
    linear-gradient(
      180deg,
      #4e70ef,
      #3a57d7);
  border-color: #4a63dc;
  color: #fff;
}
.family-app .match-river-offers .match-offer-actions > button:not(:disabled):hover {
  filter: brightness(.97);
}
.family-app .match-river-offers .match-offer-actions > button:disabled {
  background: #e9edf5;
  border-color: #d4ddeb;
  color: #65738a;
  opacity: 1;
  cursor: default;
  filter: none;
}
.family-app .match-river-offers .match-offer-actions > button:focus-visible {
  outline: 1px solid #345ac2;
  outline-offset: 1px;
}
@media (max-width: 374px) {
  .family-app .match-river-offer-card {
    column-gap: 4px;
  }
  .family-app .match-river-offers .match-offer-actions {
    gap: 4px;
  }
}
@media (max-width: 340px) {
  .family-app .match-river-offer-card {
    column-gap: 2px;
  }
}
@media (min-width: 600px) {
  .family-app .match-river-offer-card {
    height: 58px;
  }
  .family-app .match-river-offers .match-offer-prompt > strong {
    font-size: 16px;
    line-height: 24px;
  }
  .family-app .match-river-offers .match-offer-actions > button {
    min-width: 56px;
    min-height: 36px;
    height: 36px;
    font-size: 16px;
    line-height: 24px;
  }
  .family-app .match-river-offers .match-offer-actions > button[data-accept] {
    min-width: 80px;
  }
}

/* ../prototypes/core-local/src/match/family-match-connection.css */
.family-app .family-match-connection {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  align-self: center;
  margin: 4px auto;
  padding: 5px 10px;
  min-height: 44px;
  border: 1px solid #dce4ed;
  border-radius: 12px;
  background: #fffdf5ed;
  box-shadow: 0 2px 8px #172a4a09;
  color: #26384f;
  font: 500 14px/1.35 var(--font-ui,Arial,sans-serif);
}
.family-app .family-match-connection .family-connection-icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: #b77b26;
}
.family-app .family-match-connection .family-connection-label {
  min-width: 0;
}
.family-app .family-match-connection .family-connection-deadline {
  flex: none;
  color: #765b2d;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.family-app .family-match-connection button {
  flex: none;
  width: auto;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid #cfdafa;
  border-radius: 9px;
  background: #f5f8ff;
  color: #274b96;
  font: 500 13px/1.3 var(--font-ui,Arial,sans-serif);
  white-space: nowrap;
}
.family-app .family-match-connection button:disabled {
  opacity: .55;
  cursor: default;
}
.family-app .family-match-connection button:focus-visible {
  outline: 2px solid #3159cc;
  outline-offset: 2px;
}
@media (max-width: 380px) {
  .family-app .family-match-connection {
    gap: 6px;
    padding-inline: 8px;
    font-size: 13px;
  }
  .family-app .family-match-connection .family-connection-icon {
    width: 16px;
    height: 16px;
  }
  .family-app .family-match-connection .family-connection-deadline {
    font-size: 12px;
  }
  .family-app .family-match-connection button {
    padding-inline: 8px;
    font-size: 12px;
  }
}

/* ../prototypes/core-local/src/match/draw-offer.css */
.match-draw-offer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  padding: 12px;
  border: 1px solid #b9d7ee;
  border-radius: 12px;
  background: #eff7ff;
  color: #244260;
}
.match-draw-offer[data-incoming=true] {
  border: 2px solid #4080bb;
  background: #eaf5ff;
  box-shadow: 0 2px 8px #174e7812;
}
.match-draw-offer > div {
  min-width: 0;
  flex: 1;
}
.match-draw-offer strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}
.match-draw-offer p {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.45;
}
.catalog-page .match-draw-offer > button {
  flex-shrink: 0;
  min-height: 44px;
  border: 1px solid #176ad2;
  border-radius: 10px;
  background: #176ad2;
  color: #fff;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 650;
}
.match-draw-offer > button:focus-visible {
  outline: 3px solid #176ad2;
  outline-offset: 3px;
}
.match-finished-table {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #dce9f3;
  border-radius: 12px;
  background: #f2f8fc;
  color: #244260;
}
.match-finished-table p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
}
.match-finished-table > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.catalog-page .match-finished-table button {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
}
@media (max-width: 350px) {
  .match-draw-offer {
    flex-wrap: wrap;
  }
  .match-draw-offer > div {
    flex-basis: 100%;
  }
  .match-draw-offer > button {
    margin-left: auto;
  }
}

/* ../prototypes/core-local/src/family/family-avatar-canvas.css */
.family-app .fc-avatar-canvas {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
}
.family-app .fc-avatar-canvas > .fc-profile-avatar {
  --fc-profile-avatar-size:inherit;
  width: 100%;
  height: 100%;
}
.family-app .fc-avatar-canvas > .fc-profile-avatar[data-native-frame=true] > .fc-profile-avatar-scale {
  transform: translate(-50%, -50%) scale(calc(var(--fc-profile-avatar-size)/var(--fc-profile-composition-extent)*var(--ui-me-frame-fit)));
}
.family-app .fc-avatar-canvas .family-avatar-body {
  translate: calc(-1*var(--ui-me-frame-x)) calc(-1*var(--ui-me-frame-y));
}

/* ../prototypes/core-local/src/family/family-avatar-viewer.css */
.family-app .fc-avatar-viewer {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
}
.family-app .fc-avatar-viewer-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  pointer-events: none;
}
.family-app .fc-avatar-viewer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  padding: 6px 4px 0;
  box-sizing: border-box;
  border-top: 1px solid var(--fc-border,#dceaff);
}
.family-app .fc-avatar-viewer-actions {
  display: flex;
  flex: none;
  margin-left: auto;
}
.family-app .fc-avatar-viewer-actions > button {
  min-height: 44px;
  white-space: nowrap;
}
.family-app .fc-avatar-viewer-name {
  flex: 1;
  min-width: 80px;
  max-width: 100%;
  margin: 0;
  color: var(--va-ink,var(--fc-ink));
  font-size: var(--fc-item-title-size);
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body):has(.fc-avatar-viewer) {
  width: min(640px, calc(100% - 24px), calc(100dvh - 150px)) !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop > .match-sheet > .ui-dialog-body:has(> .fc-avatar-viewer) {
  margin: 0 !important;
  padding: 8px 10px 10px !important;
}
@media (max-width: 420px) {
  body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body):has(.fc-avatar-viewer) {
    width: min(calc(100% - 12px), calc(100dvh - 150px)) !important;
  }
  .family-app .fc-avatar-viewer-footer {
    gap: 6px;
  }
  .family-app .fc-avatar-viewer-name {
    font-size: 14px;
  }
  .family-app .fc-avatar-viewer-actions > button {
    padding-inline: 10px;
  }
}
.family-app .fc-directory-profile > button.fc-directory-avatar-view {
  display: block;
  width: 96px;
  height: 96px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  box-shadow: none;
  cursor: zoom-in;
}
.family-app .fc-directory-avatar-view > .fc-profile-avatar {
  --fc-profile-avatar-size:96;
}
.family-app .fc-directory-avatar-view:focus-visible {
  outline: 2px solid var(--va-action,var(--fc-blue));
  outline-offset: 3px;
}
.family-app .fc-personal-contact-identity > .fc-contact-avatar-view {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: zoom-in;
}
.family-app .fc-contact-avatar-view > .fc-profile-avatar {
  --fc-profile-avatar-size:44;
}
.family-app .fc-personal-contact-identity > .fc-contact-profile-view {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  text-align: left;
  font: inherit;
}
.family-app :is(.fc-contact-avatar-view, .fc-contact-profile-view):focus-visible {
  outline: 2px solid var(--va-action,var(--fc-blue));
  outline-offset: 3px;
}

/* ../prototypes/core-local/src/family/family-profile-approved.css */
.family-app .ui-profile-editor {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px !important;
  min-width: 0;
  font-family: var(--ui-font-family,var(--fc-font-family,inherit)) !important;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
.family-app .ui-profile-editor :is(button, input, summary, p, span) {
  font-family: var(--ui-font-family,var(--fc-font-family,inherit)) !important;
}
.family-app .ui-profile-editor > .ui-profile-body,
.family-app .ui-profile-editor > .ui-profile-footer {
  display: contents !important;
}
.family-app .ui-profile-editor .ui-profile-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  justify-items: center;
  align-items: center;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: var(--fc-ui-panel-radius,16px);
  background: var(--fc-canvas,#f5faff);
  text-align: center;
}
.family-app .ui-profile-editor .ui-profile-composition {
  width: min(100%, 320px);
  min-width: 0;
  aspect-ratio: 1;
}
.family-app .ui-profile-preview-status {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--va-action,var(--fc-blue,#1555f4));
}
.family-app .ui-profile-controls {
  display: grid;
  grid-column: 1;
  grid-row: 3;
  align-content: start;
  gap: 12px;
  min-width: 0;
}
.family-app .ui-profile-photo-line {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  align-items: center;
  align-self: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.family-app .ui-profile-editor .ui-profile-preview {
  grid-column: 1;
  grid-row: 1;
}
.family-app .ui-profile-editor .ui-profile-photo {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  border: 0;
  min-width: 0;
}
.family-app .ui-profile-photo > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.family-app .ui-profile-upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 140px;
  padding: 6px 14px;
  box-sizing: border-box;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,12px);
  background: var(--fc-surface);
  color: var(--fc-blue);
  overflow: hidden;
  cursor: pointer;
  font-weight: 400;
}
.family-app .ui-profile-upload input[type=file] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.family-app .ui-profile-upload:focus-within {
  outline: 2px solid var(--fc-blue);
  outline-offset: 2px;
}
.family-app .ui-profile-photo > .fc-link {
  min-height: 44px;
  white-space: normal;
}
.family-app .ui-profile-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}
.family-app .ui-profile-label-row > label {
  font-weight: 400;
}
.family-app .ui-profile-editor .ui-profile-field {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 8px !important;
}
.family-app .ui-profile-field > input {
  font-size: 16px;
  min-height: 44px;
  border-radius: var(--fc-ui-control-radius,14px);
}
.family-app .ui-profile-editor .ui-profile-username {
  min-width: 0;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.family-app .ui-profile-editor .ui-profile-username > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--va-ink,#121b50);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  cursor: pointer;
}
.family-app .ui-profile-editor .ui-profile-username > summary::-webkit-details-marker {
  display: none;
}
.family-app .ui-profile-editor .ui-profile-username-view {
  color: var(--va-action,#1555f4);
  font-weight: 400;
}
.family-app .ui-profile-editor .ui-profile-username > summary > span:first-child {
  width: 100px;
  flex: none;
}
.family-app .ui-profile-editor .ui-profile-username-value {
  margin: 0 0 6px;
  padding: 0;
  min-width: 0;
  color: var(--va-ink,#121b50) !important;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  overflow-wrap: anywhere;
  user-select: text;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.family-app .ui-profile-editor .ui-profile-username[open] > .ui-profile-username-value {
  margin-left: 108px;
}
.family-app .ui-profile-editor .ui-profile-frames-field {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.family-app .ui-profile-editor .ui-profile-frames-field > legend {
  padding: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--va-ink,#121b50);
}
.family-app .ui-profile-editor .ui-profile-frame-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 80px;
  align-content: start;
  gap: 8px;
  min-width: 0;
  max-height: 264px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  scroll-padding-block: 4px;
  margin: 0;
  padding: 2px;
  border: 0;
  background: transparent;
}
.family-app .ui-profile-editor .ui-profile-frame-options > button {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  padding: 4px;
  box-sizing: border-box;
  background: var(--fc-surface,#fff) !important;
  border: 1px solid var(--va-border,#dceaff) !important;
  border-radius: var(--fc-ui-control-radius,14px) !important;
  box-shadow: none !important;
  cursor: pointer;
}
.family-app .ui-profile-editor .ui-profile-frame-options > button[aria-pressed=true] {
  border-color: var(--fc-border,#d9e3f1) !important;
  background: var(--va-field,#f5faff) !important;
  box-shadow: none !important;
}
.family-app .ui-profile-editor .ui-profile-frame-thumb {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  min-width: 0;
  position: relative;
  pointer-events: none;
}
.family-app .ui-profile-editor .ui-profile-frame-thumb > .fc-avatar-canvas {
  width: 100%;
  height: 100%;
}
.family-app .ui-profile-editor .ui-profile-frame-check {
  position: absolute;
  top: 6px;
  right: 7px;
  color: var(--va-action,#1555f4);
  font-size: 17px;
  line-height: 20px;
  font-weight: 600;
  text-align: center;
}
.family-app .ui-profile-editor :is(.ui-profile-frame-options > button, .ui-profile-username > summary):focus-visible {
  outline: 2px solid var(--va-action,#1555f4);
  outline-offset: 2px;
}
.family-app .ui-profile-actions {
  display: flex;
  grid-column: 1;
  grid-row: 4;
  align-self: center;
  justify-content: flex-end;
  position: static;
  background: var(--fc-surface);
  padding: 0;
  border: 0;
  z-index: 2;
}
.family-app .ui-profile-actions > button {
  min-height: 44px;
  font-weight: 400;
}
.family-app .ui-profile-editor :disabled {
  opacity: .65;
  color: var(--fc-secondary);
  cursor: default;
}
.family-app .ui-profile-editor fieldset:disabled .ui-profile-upload {
  opacity: .65;
  cursor: default;
}
.family-app .match-sheet:has(.ui-profile-editor) > header > h2 {
  font-family: var(--ui-font-family,var(--fc-font-family,inherit)) !important;
  font-weight: var(--fc-ui-title-weight,600) !important;
}
.family-app .match-sheet:has(.ui-profile-editor) {
  width: min(900px, calc(100vw - 24px));
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body):has(.ui-profile-editor) {
  width: min(900px, calc(100% - 24px)) !important;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] > .match-backdrop .ui-profile-editor .fc-profile-editor-preview.ui-profile-preview {
  background:
    linear-gradient(
      145deg,
      #fff,
      #f3f8ff) !important;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop .ui-dialog-body .ui-profile-editor .ui-profile-actions {
  position: static;
  min-height: 44px;
  margin: 0;
  padding: 0 !important;
  border: 0;
}
@media (min-width: 800px) {
  .family-app .ui-profile-editor {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    column-gap: 18px !important;
    align-items: start;
  }
  .family-app .ui-profile-editor .ui-profile-preview {
    position: sticky;
    top: 0;
    padding: 6px;
  }
  .family-app .ui-profile-editor .ui-profile-composition {
    width: 100%;
  }
  .family-app .ui-profile-editor .ui-profile-controls {
    grid-column: 2;
    grid-row: 1;
  }
  .family-app .ui-profile-editor .ui-profile-actions {
    grid-column: 2;
    grid-row: 2;
  }
  .family-app .ui-profile-editor .ui-profile-frame-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
}
@media (max-width: 799px) {
  body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body):has(.ui-profile-editor) > .ui-dialog-body {
    margin: 0;
    padding: 6px 4px;
  }
  .family-app .ui-profile-editor .ui-profile-preview {
    position: static;
    padding: 4px;
    gap: 4px;
  }
  .family-app .ui-profile-editor .ui-profile-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .family-app .ui-profile-editor .ui-profile-field {
    grid-template-columns: 94px minmax(0, 1fr);
  }
  .family-app .ui-profile-editor .ui-profile-username > summary > span:first-child {
    width: 94px;
  }
  .family-app .ui-profile-editor .ui-profile-username[open] > .ui-profile-username-value {
    margin-left: 102px;
  }
  .family-app .ui-profile-editor .ui-profile-frame-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    scrollbar-width: thin;
  }
}
@media (max-width: 420px) {
  body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body):has(.ui-profile-editor) {
    width: calc(100% - 12px) !important;
  }
}
@media (max-width: 360px) {
  .family-app .ui-profile-editor .ui-profile-frame-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] form.ui-profile-editor .ui-profile-username {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 44px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] form.ui-profile-editor .ui-profile-username > span:first-child {
  white-space: nowrap;
  font-weight: 400;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] form.ui-profile-editor .ui-profile-username .ui-profile-username-value {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 22px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=me] form.ui-profile-editor .ui-profile-username-view {
  min-width: 44px;
  min-height: 44px;
  padding: 4px 6px;
  white-space: nowrap;
}
.family-app .ui-profile-frame-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 8px;
}
.family-app .ui-profile-frame-tabs > button {
  min-width: 0;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,12px);
  background: var(--fc-surface);
  color: var(--fc-secondary);
  font: inherit;
}
.family-app .ui-profile-frame-tabs > button[aria-selected=true] {
  color: var(--fc-blue);
  border-color: var(--fc-border);
  background: var(--fc-soft,#edf4ff);
  box-shadow: none;
}
.family-app .ui-profile-frame-panel[hidden] {
  display: none;
}
.family-app .ui-profile-frame-tabs > button:focus-visible {
  outline: 2px solid var(--fc-blue);
  outline-offset: 2px;
}
@media (max-width: 799px) {
  body[data-family-approved] .family-app.family-approved[data-ui-module=me] form.ui-profile-editor .ui-profile-username {
    grid-template-columns: 94px minmax(0, 1fr) auto;
    gap: 6px;
  }
}
.family-app .ui-profile-editor .ui-profile-photo > .ui-profile-remove-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  min-width: 44px;
  padding: 6px 10px;
}
.family-app .ui-profile-upload:focus-visible {
  outline: 2px solid var(--fc-blue);
  outline-offset: 2px;
}
.family-app .ui-profile-photo > input[hidden] {
  display: none;
}
@media (min-width: 800px) and (max-height: 600px) {
  .family-app .ui-profile-editor .ui-profile-preview {
    position: static;
  }
}
body[data-family-approved] .family-app.family-approved > .match-backdrop .ui-dialog-body form.ui-profile-editor .ui-profile-footer > .ui-profile-actions {
  width: max-content;
  max-width: 100%;
  justify-self: end;
  gap: 8px;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* ../prototypes/core-local/src/family/family-portrait-cropper.css */
.family-app .fc-portrait-cropper {
  min-width: 0;
  font: 400 14px/22px var(--ui-font-family,var(--fc-font-family,inherit));
  color: var(--fc-ink,#121b50);
}
.family-app .fc-portrait-crop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}
.family-app .fc-portrait-crop-preview-panel {
  display: grid;
  justify-items: center;
  gap: 0;
  min-width: 0;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      #fff,
      #f3f8ff);
}
.family-app .fc-portrait-crop-stage {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  touch-action: none;
  cursor: grab;
  border-radius: 14px;
  user-select: none;
}
.family-app .fc-portrait-crop-stage:active {
  cursor: grabbing;
}
.family-app .fc-portrait-crop-stage:focus-visible {
  outline: 2px solid var(--fc-blue,#1555f4);
  outline-offset: 4px;
}
.family-app .fc-portrait-crop-composition {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  pointer-events: none;
}
.family-app .fc-portrait-crop-aperture {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  background: #e9f3ff;
}
.family-app .fc-portrait-crop-aperture > canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.family-app .fc-portrait-crop-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.family-app .fc-portrait-crop-art .family-avatar-portrait {
  visibility: hidden;
}
.family-app .fc-portrait-crop-help {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  text-align: left;
  color: var(--fc-secondary,#5a6d95);
}
.family-app .fc-portrait-crop-controls {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 10px;
  min-width: 0;
  padding-top: 6px;
}
.family-app .fc-portrait-crop-zoom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.family-app .fc-portrait-crop-zoom > label {
  font-weight: 500;
}
.family-app .fc-portrait-crop-zoom > output {
  color: var(--fc-secondary,#5a6d95);
  font-variant-numeric: tabular-nums;
}
.family-app .fc-portrait-crop-zoom > input {
  grid-column: 1/-1;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  accent-color: var(--fc-blue,#1555f4);
}
.family-app .fc-portrait-crop-pan {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.family-app .fc-portrait-crop-pan > button {
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 12px;
  background: var(--fc-surface,#fff);
  color: var(--fc-blue,#1555f4);
  font-size: 24px;
}
.family-app .fc-portrait-crop-reset {
  justify-self: start;
  min-height: 44px;
}
.family-app .fc-portrait-crop-small {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  min-width: 0;
}
.family-app .fc-portrait-crop-small > div {
  flex: none;
}
.family-app .fc-portrait-crop-small > p {
  margin: 0;
  color: var(--fc-secondary,#5a6d95);
  font-size: 13px;
}
.family-app .fc-portrait-crop-actions {
  position: static;
  min-height: 48px;
  margin-top: 0;
  padding: 6px 0 0;
  background: transparent;
  border-top: 1px solid var(--fc-border,#dceaff);
}
.family-app .fc-portrait-crop-actions > button {
  min-height: 44px;
}
.family-app .fc-portrait-cropper :disabled {
  opacity: .65;
  cursor: default;
}
body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body):has(.fc-portrait-cropper) {
  width: min(900px, calc(100% - 24px)) !important;
}
@media (min-width: 800px) {
  .family-app .fc-portrait-crop-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 18px;
  }
  .family-app .fc-portrait-crop-stage {
    width: 100%;
  }
}
@media (max-width: 799px) {
  body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body):has(.fc-portrait-cropper) > .ui-dialog-body {
    margin: 0;
    padding: 6px 4px;
  }
  .family-app .fc-portrait-crop-preview-panel {
    padding: 4px;
  }
  .family-app .fc-portrait-crop-layout {
    gap: 8px;
  }
  .family-app .fc-portrait-crop-controls {
    gap: 6px;
  }
  .family-app .fc-portrait-crop-small {
    display: none;
  }
}
@media (max-width: 420px) {
  body[data-family-approved] :is(.family-app, .preview-only) > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body):has(.fc-portrait-cropper) {
    width: calc(100% - 12px) !important;
  }
}

/* ui/player-voice.css */
.player-voice {
  display: grid;
  gap: 8px;
}
.player-voice-switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--fc-line, #dbe4f3);
  border-radius: 12px;
  background: var(--fc-paper, #f7f9fd);
  color: var(--fc-ink, #172344);
  font: inherit;
  text-align: start;
}
.player-voice-switch:enabled {
  cursor: pointer;
}
.player-voice-switch:focus-visible {
  outline: 2px solid var(--fc-blue, #3158d4);
  outline-offset: 2px;
}
.player-voice-state {
  color: var(--fc-secondary, #53627c);
  font-size: 0.875em;
}
.player-voice-track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 22px;
  background: #66738c;
}
.player-voice-track::after {
  position: absolute;
  inset: 3px auto auto 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  content: "";
}
.player-voice-switch[aria-checked=true] .player-voice-track {
  background: var(--fc-blue, #3158d4);
}
.player-voice-switch[aria-checked=true] .player-voice-track::after {
  transform: translateX(16px);
}
.player-voice-switch:disabled .player-voice-track {
  opacity: .6;
}
.player-voice > [role=status] {
  color: var(--fc-secondary, #53627c);
  font-size: 0.875em;
}

/* ../prototypes/core-local/src/family/family-direct-messages.css */
.family-app .ui-dm-inbox,
.family-app .ui-dm-conversation {
  color: #243957;
  font-family: inherit;
  min-width: 0;
}
.family-app .ui-dm-inbox-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.family-app .ui-dm-inbox-heading h2 {
  font-size: 20px;
  margin: 0;
}
.family-app .ui-dm-inbox-heading button,
.family-app .ui-dm-more {
  min-height: 40px;
  border: 1px solid #dce5f5;
  background: #fff;
  color: #4262bd;
  border-radius: 12px;
  padding: 7px 14px;
  font: inherit;
}
.family-app .ui-dm-threads {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.family-app .ui-dm-thread {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px;
  border: 1px solid #e1e9f5;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  font: inherit;
  color: inherit;
  min-width: 0;
}
.family-app .ui-dm-thread:focus-visible,
.family-app .ui-dm-conversation button:focus-visible {
  outline: 2px solid #8da9ff;
  outline-offset: 2px;
}
.family-app .ui-dm-avatar {
  display: block;
  width: 52px;
  height: 52px;
  position: relative;
  flex: none;
}
.family-app .ui-dm-avatar .fc-profile-avatar {
  width: 100%;
  height: 100%;
}
.family-app .ui-dm-thread-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 5px;
}
.family-app .ui-dm-thread-copy strong {
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.family-app .ui-dm-thread-copy > span {
  font-size: 14px;
  color: #6d7e99;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.family-app .ui-dm-thread-meta {
  display: grid;
  justify-items: end;
  align-self: stretch;
  align-content: center;
  gap: 7px;
  flex: none;
}
.family-app .ui-dm-thread-meta time {
  font-size: 12px;
  color: #7e8da5;
}
.family-app .ui-dm-unread {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #4564e8;
  color: white;
  font-size: 11px;
  font-weight: 650;
}
.family-app .ui-dm-retention {
  font-size: 11px;
  line-height: 1.4;
  color: #8190a6;
  text-align: center;
  margin: 10px 0 0;
  flex: none;
}
.family-app .ui-dm-empty {
  margin: 16px 0;
  color: #7d8da5;
  font-size: 14px;
  text-align: center;
}
.family-app .ui-dm-conversation {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #e1e8f4;
  border-radius: 15px;
  background: #fbfdff;
}
.family-app .ui-dm-recipient {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-bottom: 1px solid #e1e8f4;
  flex: none;
  min-width: 0;
}
.family-app .ui-dm-recipient > div {
  flex: 1;
  min-width: 0;
}
.family-app .ui-dm-recipient h3 {
  font-size: 18px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  margin: 0;
  font-weight: 650;
}
.family-app .ui-dm-recipient p {
  font-size: 12px;
  color: #7c8ea8;
  margin: 2px 0 0;
}
.family-app .ui-dm-recipient > button {
  width: 40px;
  height: 40px;
  flex: none;
  border: 0;
  background: transparent;
  border-radius: 10px;
  color: #607ca4;
  font-size: 24px;
}
.family-app .ui-dm-messages {
  height: 300px;
  min-height: 70px;
  flex: 1 1 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: #f1f5fb;
  scrollbar-width: thin;
}
.family-app .ui-dm-day {
  text-align: center;
  color: #8492a8;
  font-size: 12px;
  margin: 0 0 4px;
  flex: none;
}
.family-app .ui-dm-message {
  max-width: 85%;
  align-self: flex-start;
  flex: none;
  min-width: 0;
}
.family-app .ui-dm-message.is-own {
  align-self: flex-end;
}
.family-app .ui-dm-message > p {
  padding: 10px 14px;
  margin: 0;
  border-radius: 13px 13px 13px 4px;
  background: #fff;
  color: #243957;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  border: 1px solid #e2e9f4;
}
.family-app .ui-dm-message.is-own > p {
  background: #e2ebff;
  border-color: #d6e3ff;
  border-radius: 13px 13px 4px 13px;
  color: #24437b;
}
.family-app .ui-dm-message time {
  display: block;
  font-size: 11px;
  color: #8492a8;
  margin: 4px 3px 0;
}
.family-app .ui-dm-message.is-own time {
  text-align: right;
}
.family-app .ui-dm-compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  background: #fbfdff;
  border-top: 1px solid #e1e8f4;
  flex: none;
  margin: 0;
}
.family-app .ui-dm-compose textarea {
  resize: none;
  flex: 1;
  min-width: 0;
  font-size: 16px;
  line-height: 24px;
  font-family: inherit;
  max-height: 96px;
  height: 44px;
  padding: 9px 11px;
  border: 1px solid #d5e1f2;
  border-radius: 10px;
  background: #fff;
  color: #203657;
  box-sizing: border-box;
}
.family-app .ui-dm-compose textarea:focus {
  outline: 2px solid #9db5ff;
  outline-offset: 1px;
}
.family-app .ui-dm-compose > button {
  min-height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #3b60ee;
  color: white;
  flex: none;
}
.family-app .ui-dm-compose > button:disabled {
  background: #e7edf7;
  color: #a2b1c9;
  cursor: default;
}
.family-app .ui-dm-compose svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}
.family-app .ui-dm-notice {
  margin: 0;
  padding: 9px 12px;
  background: #fff5e2;
  color: #775924;
  font-size: 13px;
  line-height: 1.5;
  flex: none;
  overflow-wrap: anywhere;
}
.family-app .ui-dm-notice button {
  font: inherit;
  min-height: 44px;
  margin-left: 8px;
  border: 1px solid #e3d2b0;
  background: #fff;
  border-radius: 8px;
  color: inherit;
  padding: 3px 8px;
}
.family-app .ui-dm-conversation > .ui-dm-retention {
  padding: 0 8px 8px;
  margin-top: 0;
}
@media (max-width: 600px) {
  .family-app .ui-dm-messages {
    height: min(300px, 45dvh);
    padding: 13px;
  }
  .family-app .ui-dm-compose {
    padding: 10px;
    gap: 6px;
  }
  .family-app .ui-dm-message {
    max-width: 90%;
  }
  .family-app .ui-dm-recipient {
    padding: 9px 11px;
  }
  .family-app .ui-dm-thread {
    gap: 9px;
    padding: 10px;
  }
}
@media (max-height: 450px) {
  .family-app .ui-dm-recipient {
    padding: 4px 10px;
  }
  .family-app .ui-dm-recipient .ui-dm-avatar {
    width: 36px;
    height: 36px;
  }
  .family-app .ui-dm-compose {
    padding: 6px 10px;
  }
  .family-app .ui-dm-conversation > .ui-dm-retention {
    font-size: 10px;
    padding-bottom: 3px;
  }
}

/* ../prototypes/core-local/src/family/family-messages-hub.css */
.family-app .fc-messages-layer {
  position: fixed;
  z-index: 9;
  top: var(--fc-messages-view-top,0px);
  left: var(--fc-messages-view-left,0px);
  width: var(--fc-messages-view-width,100vw);
  height: var(--fc-messages-view-height,100dvh);
  pointer-events: none;
  font-family: inherit;
  color: #18294d;
}
.family-app .fc-messages-hub {
  position: absolute;
  left: var(--fc-messages-center-x,50%);
  top: var(--fc-messages-center-y,50%);
  transform: translate(-50%, -50%);
  width: var(--fc-messages-wide-width,520px);
  height: var(--fc-messages-wide-height,600px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #d7e2f2;
  border-radius: 13px;
  background: #fbfdff;
  box-shadow: 0 10px 34px #28467018;
  pointer-events: auto;
}
.family-app .fc-messages-hub * {
  box-sizing: border-box;
}
.family-app .fc-messages-hub button,
.family-app .fc-messages-hub input,
.family-app .fc-messages-hub textarea {
  font-family: inherit;
}
.family-app .fc-messages-hub button {
  cursor: pointer;
  box-shadow: none;
}
.family-app .fc-messages-hub button:disabled {
  cursor: default;
}
.family-app .fc-messages-hub button:focus-visible,
.family-app .fc-messages-hub textarea:focus-visible {
  outline: 2px solid #4368e9;
  outline-offset: 2px;
}
.family-app .fc-messages-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 60px;
  padding: 8px 10px 8px 16px;
  border-bottom: 1px solid #e1e8f2;
  margin: 0;
}
.family-app .fc-messages-title h2 {
  margin: 0;
  flex: none;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  white-space: nowrap;
  color: #18294d;
}
.family-app .fc-messages-search {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 3px;
  margin-left: 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.family-app .fc-messages-search > .fc-icon {
  width: 15px;
  height: 15px;
  flex: none;
  color: #8497b2;
}
.family-app .fc-messages-search:focus-within {
  border: 0;
  box-shadow: none;
}
.family-app .fc-messages-search:focus-within > .fc-icon {
  color: #5878bd;
}
.family-app .fc-messages-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  padding: 8px 0;
  font-size: 13px;
  line-height: 20px;
  color: #627b9c;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}
.family-app .fc-messages-search input:focus,
.family-app .fc-messages-search input:focus-visible {
  border: 0;
  outline: none;
  box-shadow: none;
  text-decoration: none;
}
.family-app .fc-messages-search input::placeholder {
  color: #8497b2;
  opacity: 1;
}
.family-app .fc-messages-online {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: none;
  white-space: nowrap;
  font-size: 11px;
  line-height: 16px;
  color: #8196ac;
}
.family-app .fc-messages-online i {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: #59a078;
}
.family-app .fc-messages-online[data-known=false] i {
  background: #aeb8c6;
}
.family-app .fc-messages-close {
  display: grid;
  place-items: center;
  flex: none;
  min-width: 44px;
  width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6681a5;
}
.family-app .fc-messages-close:hover {
  background: #edf2ff;
}
.family-app .fc-messages-tabs {
  display: flex;
  flex: none;
  gap: 4px;
  padding: 7px 14px 0;
  border-bottom: 1px solid #dce5ef;
}
.family-app .fc-messages-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  min-height: 43px;
  padding: 6px 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 7px 7px 0 0;
  background: transparent;
  color: #7b8da8;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.family-app .fc-messages-tabs button[aria-pressed=true] {
  background: #edf3ff;
  color: #3c60e9;
  border-bottom-color: #3c60e9;
}
.family-app .fc-messages-tabs b {
  padding: 1px 5px;
  border-radius: 5px;
  background: #e8eef9;
  color: #60779e;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}
.family-app .fc-messages-unread-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #e48062;
}
.family-app .fc-messages-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.family-app .fc-messages-common {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.family-app .fc-messages-log {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 16px 14px;
  background: #f0f4f9;
  scrollbar-width: thin;
}
.family-app .fc-messages-day {
  flex: none;
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 16px;
  color: #8c9cb1;
}
.family-app .fc-messages-message {
  display: flex;
  align-items: flex-start;
  align-self: flex-start;
  gap: 8px;
  max-width: 92%;
  flex: none;
  min-width: 0;
}
.family-app .fc-messages-message[data-own=true] {
  align-self: flex-end;
  max-width: 85%;
}
.family-app .fc-messages-avatar {
  display: block;
  position: relative;
  flex: none;
  width: 43px;
  height: 43px;
}
.family-app .fc-messages-avatar > .fc-profile-avatar {
  width: 100%;
  height: 100%;
}
.family-app .fc-messages-message .fc-messages-avatar {
  width: 33px;
  height: 33px;
}
.family-app .fc-messages-message-copy {
  min-width: 0;
}
.family-app .fc-messages-message-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 5px 2px;
  font-size: 11px;
  line-height: 16px;
  color: #8c9bb0;
}
.family-app .fc-messages-message-meta strong {
  font-size: 11px;
  font-weight: 500;
  color: #657d9d;
}
.family-app .fc-messages-message-copy > p {
  padding: 10px 12px;
  margin: 0;
  border: 1px solid #dfe7f1;
  border-radius: 3px 11px 11px 11px;
  background: #fff;
  color: #304665;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  box-shadow: 0 2px 4px #30496a03;
}
.family-app .fc-messages-message[data-own=true] .fc-messages-message-meta {
  justify-content: flex-end;
  margin-right: 2px;
}
.family-app .fc-messages-message[data-own=true] .fc-messages-message-copy > p {
  border-color: #5276df;
  border-radius: 11px 3px 11px 11px;
  background: #5276df;
  color: #fff;
}
.family-app .fc-messages-person-avatar {
  display: block;
  position: relative;
  flex: none;
  min-width: 0;
  min-height: 0;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 9px;
  text-align: left;
}
.family-app .fc-messages-person-name {
  display: block;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #304665;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  text-align: left;
  overflow-wrap: anywhere;
}
.family-app .fc-messages-person-name:hover {
  color: #3d61da;
  text-decoration: underline;
}
.family-app .fc-messages-message-meta .fc-messages-person-name {
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  color: #617b9b;
}
.family-app .fc-messages-compose {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  flex: none;
  margin: 0;
  padding: 12px 14px 7px;
  border-top: 1px solid #dfe7f2;
  background: #fbfdff;
}
.family-app .fc-messages-compose textarea {
  display: block;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  height: 44px;
  max-height: 110px;
  resize: none;
  padding: 11px 12px;
  border: 1px solid #d5e0ef;
  border-radius: 9px;
  background: #fff;
  color: #304665;
  font-size: 14px;
  line-height: 20px;
  scrollbar-width: thin;
}
.family-app .fc-messages-compose textarea::placeholder {
  color: #8e9fb6;
}
.family-app .fc-messages-compose > button {
  display: grid;
  place-items: center;
  flex: none;
  min-width: 44px;
  width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #3c60e9;
  color: #fff;
}
.family-app .fc-messages-compose > button:disabled {
  background: #e4eaf4;
  color: #a7b6cd;
}
.family-app .fc-messages-compose > button > svg,
.family-app .fc-messages-back > svg,
.family-app .fc-messages-search-heading button > svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.family-app .fc-messages-retention {
  flex: none;
  margin: 0;
  padding: 0 12px max(8px, env(safe-area-inset-bottom, 0px));
  font-size: 10px;
  line-height: 15px;
  text-align: center;
  color: #8b9cb1;
  background: #fbfdff;
}
.family-app .fc-messages-new {
  position: absolute;
  left: 50%;
  bottom: 91px;
  transform: translateX(-50%);
  min-height: 33px;
  padding: 6px 12px;
  border: 1px solid #d3dff2;
  border-radius: 16px;
  background: #fff;
  color: #4766c1;
  font-size: 12px;
  line-height: 18px;
  box-shadow: 0 3px 9px #30496a14;
}
.family-app .fc-messages-empty {
  margin: auto;
  padding: 24px 14px;
  color: #8293ac;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: anywhere;
}
.family-app .fc-messages-notice {
  flex: none;
  margin: 0;
  padding: 9px 12px;
  background: #fff5e2;
  color: #775924;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.family-app .fc-messages-notice button {
  min-height: 44px;
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid #e3d2b0;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font-size: inherit;
}
.family-app .fc-messages-more {
  align-self: center;
  flex: none;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #fbfdff;
  color: #60779e;
  font-size: 12px;
}
.family-app .fc-messages-thread-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 3px 14px;
  scrollbar-width: thin;
}
.family-app .fc-messages-thread {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  padding: 16px 3px;
  border: 0;
  border-bottom: 1px solid #e6edf5;
  border-radius: 0;
  background: transparent;
  text-align: left;
  color: #18294d;
}
.family-app .fc-messages-thread-copy {
  min-width: 0;
  flex: 1;
}
.family-app .fc-messages-thread-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.family-app .fc-messages-thread-copy > span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #7e90a9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.family-app .fc-messages-thread-meta {
  max-width: 110px;
  flex: none;
  text-align: right;
  font-size: 10px;
  line-height: 16px;
  color: #8c9cb1;
}
.family-app .fc-messages-thread-meta b {
  display: grid;
  place-items: center;
  min-width: 18px;
  min-height: 18px;
  width: max-content;
  margin: 7px 0 0 auto;
  padding: 0 4px;
  border-radius: 10px;
  background: #5276df;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
}
.family-app .fc-messages-search-results {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 16px;
}
.family-app .fc-messages-search-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: none;
  min-height: 48px;
}
.family-app .fc-messages-search-heading p {
  margin: 0;
  font-size: 12px;
  color: #8a9bb0;
}
.family-app .fc-messages-search-heading button {
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 40px;
  padding: 6px 0 6px 8px;
  border: 0;
  background: transparent;
  color: #6d83a7;
  font-size: 11px;
  line-height: 18px;
  white-space: nowrap;
}
.family-app .fc-messages-search-heading button > svg {
  width: 15px;
  height: 15px;
}
.family-app .fc-messages-result-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.family-app .fc-messages-result {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  min-height: 76px;
  padding: 13px 2px;
  border-bottom: 1px solid #e8eef5;
}
.family-app .fc-messages-result-copy {
  flex: 1;
  min-width: 0;
}
.family-app .fc-messages-result-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.family-app .fc-messages-result-copy > span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #8a9bb0;
}
.family-app .fc-messages-result-copy > span[data-online=true] {
  color: #6d957e;
}
.family-app .fc-messages-result-send {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #dce6f7;
  border-radius: 8px;
  background: #f2f6ff;
  color: #5274ce;
}
.family-app .fc-messages-hub .ui-dm-conversation {
  flex: 1;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: #fbfdff;
}
.family-app .fc-messages-hub .ui-dm-recipient {
  gap: 10px;
  min-height: 64px;
  padding: 8px 14px;
  margin: 0;
  background: #f9fbff;
  border-bottom: 1px solid #e5ecf4;
}
.family-app .fc-messages-hub .ui-dm-recipient :is(h3, .fc-messages-person-name) {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.family-app .fc-messages-hub .ui-dm-recipient p {
  font-size: 11px;
  color: #7d91a3;
}
.family-app .fc-messages-hub .ui-dm-recipient .ui-dm-avatar {
  width: 40px;
  height: 40px;
}
.family-app .fc-messages-hub .ui-dm-recipient > button {
  width: 30px;
  min-width: 30px;
  height: 40px;
  min-height: 40px;
  border-radius: 8px;
  font-size: 24px;
}
.family-app .fc-messages-hub .ui-dm-recipient > button.fc-messages-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  line-height: 1;
}
.family-app .fc-messages-hub .fc-messages-back > svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
}
.family-app .fc-messages-hub .ui-dm-recipient > button.fc-messages-person-avatar {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
}
.family-app .fc-messages-hub .ui-dm-messages {
  height: auto;
  flex: 1 1 0;
  min-height: 0;
  gap: 16px;
  padding: 16px;
  background: #f0f4f9;
}
.family-app .fc-messages-hub .ui-dm-day {
  font-size: 11px;
  color: #8c9cb1;
}
.family-app .fc-messages-hub .ui-dm-message > p {
  padding: 10px 12px;
  border-radius: 3px 11px 11px 11px;
  border-color: #dfe7f1;
  font-size: 14px;
  line-height: 1.55;
  color: #304665;
}
.family-app .fc-messages-hub .ui-dm-message.is-own > p {
  border-color: #5276df;
  border-radius: 11px 3px 11px 11px;
  background: #5276df;
  color: #fff;
}
.family-app .fc-messages-hub .ui-dm-compose {
  gap: 9px;
  padding: 12px 14px 7px;
}
.family-app .fc-messages-hub .ui-dm-compose textarea {
  font-size: 14px;
  line-height: 20px;
  padding: 11px 12px;
  border-radius: 9px;
}
.family-app .fc-messages-hub .ui-dm-compose > button {
  border-radius: 9px;
  background: #3c60e9;
}
.family-app .fc-messages-hub .ui-dm-compose > button:disabled {
  background: #e4eaf4;
  color: #a7b6cd;
}
.family-app .fc-messages-hub .ui-dm-conversation > .ui-dm-retention {
  padding: 0 12px max(8px, env(safe-area-inset-bottom, 0px));
  font-size: 10px;
  line-height: 15px;
  color: #8b9cb1;
}
@media (max-width: 900px) {
  .family-app .fc-messages-hub {
    inset: 0;
    transform: none;
    width: 100%;
    height: 100%;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding-top: env(safe-area-inset-top, 0px);
  }
  .family-app .fc-messages-title {
    gap: 6px;
    padding: 8px 8px 8px 12px;
  }
  .family-app .fc-messages-title h2 {
    font-size: 15px;
  }
  .family-app .fc-messages-online {
    font-size: 10px;
  }
  .family-app .fc-messages-search {
    gap: 4px;
  }
  .family-app .fc-messages-search input {
    font-size: 13px;
  }
  .family-app .fc-messages-tabs {
    padding: 5px 12px 0;
  }
  .family-app .fc-messages-log {
    padding: 16px 12px;
    gap: 17px;
  }
  .family-app .fc-messages-hub .ui-dm-messages {
    padding: 16px 12px;
    gap: 17px;
  }
}
@layer family-typography {
  body[data-family-approved] .family-app.family-approved .fc-messages-hub .ui-dm-recipient :is(h3, .fc-messages-person-name) {
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 500 !important;
  }
}
.family-app .fc-messages-layer[data-short=true] .fc-messages-title {
  min-height: 52px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.family-app .fc-messages-layer[data-short=true] :is(.fc-messages-log, .ui-dm-messages) {
  padding-top: 0;
  padding-bottom: 0;
}
.family-app .fc-messages-layer[data-short=true] .fc-messages-tabs {
  padding-top: 3px;
}
.family-app .fc-messages-layer[data-short=true] .fc-messages-tabs button {
  min-height: 36px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.family-app .fc-messages-layer[data-short=true] :is(.fc-messages-compose, .ui-dm-compose) {
  padding-top: 6px;
  padding-bottom: 3px;
}
.family-app .fc-messages-layer[data-short=true] .fc-messages-retention,
.family-app .fc-messages-layer[data-short=true] .ui-dm-conversation > .ui-dm-retention {
  padding-bottom: 3px;
}

/* ../prototypes/core-local/src/family/family-social-approved.css */
.family-app .ui-shared-directory .fc-personal-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  align-items: center;
}
.family-app .ui-shared-directory .fc-personal-contact-identity {
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 44px;
  gap: 10px;
}
.family-app .ui-shared-directory .fc-personal-contact-identity > .fc-profile-avatar {
  --fc-profile-avatar-size:44;
}
.family-app .ui-shared-directory .fc-personal-contact-identity strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.family-app .ui-shared-directory .fc-personal-contact-identity small {
  font-size: 13px;
  line-height: 19px;
}
.family-app .ui-shared-directory .fc-personal-contact-actions {
  flex-wrap: wrap;
  gap: 4px;
}
.family-app .ui-shared-directory .fc-personal-contact-actions > .fc-action {
  min-height: 44px;
  font-size: 14px;
  padding: 5px 8px;
}
.family-app .fc-directory-profile :is(h3, p) {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.family-app .fc-directory-profile h3 {
  font-size: var(--fc-ui-subtitle-size,20px);
  line-height: var(--fc-ui-subtitle-line,28px);
  font-weight: var(--fc-ui-title-weight,600);
}
.family-app .fc-member-avatar > i {
  display: none;
}
.family-app .fc-member-directory-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.family-app .fc-member-identity {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}
.family-app .fc-member-avatar,
.family-app .fc-member-avatar > .fc-profile-avatar {
  --fc-profile-avatar-size:44;
  width: 44px;
  height: 44px;
}
.family-app .fc-member-name {
  min-width: 0;
}
.family-app .fc-member-name strong {
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: anywhere;
}
.family-app .fc-member-name small {
  font-size: 13px;
  line-height: 19px;
}
.family-app .fc-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.family-app .fc-member-actions > .fc-action {
  min-height: 44px;
  padding: 5px 8px;
  font-size: 14px;
}
.family-app .fc-member-profile > strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-member-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-member-search-bar > .fc-directory-search {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0 8px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-member-search-bar input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 20px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-member-online-count {
  flex: none;
  white-space: nowrap;
  font-size: 12px;
  line-height: 18px;
  color: var(--gp-muted,var(--fc-secondary));
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-personal-contact-identity {
  gap: 8px !important;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-contact-avatar-view {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-contact-avatar-view > .fc-profile-avatar {
  --fc-profile-avatar-size:42;
  width: 42px;
  height: 42px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-contact-profile-view {
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 44px;
  text-align: left;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-contact-profile-view strong {
  font-size: 14px !important;
  line-height: 20px !important;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-contact-profile-view small {
  font-size: 13px;
  line-height: 20px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-personal-contact-actions > .fc-directory-row-action {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  border-radius: var(--fc-ui-panel-radius,12px);
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .ui-shared-directory .fc-directory-row-action > .fc-icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.family-app .fc-social-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap !important;
  gap: 4px !important;
  min-width: 0;
  max-width: none !important;
}
.family-app .fc-social-actions > .fc-action.fc-social-row-action {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  border-radius: var(--fc-ui-control-radius,12px);
  touch-action: manipulation;
}
.family-app .fc-social-actions > .fc-action.fc-social-row-action > .fc-icon {
  width: 20px !important;
  height: 20px !important;
  flex: none;
}
.family-app .fc-social-actions > .fc-action.fc-social-row-action[data-tone=red]:not(:disabled):not([aria-disabled=true]) {
  color: var(--fc-red,#c83c47);
  background: var(--fc-red-soft,#fff0f1);
  border-color: color-mix(in srgb, var(--fc-red,#c83c47) 24%, transparent);
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-social-actions > .fc-action.fc-social-row-action[data-tone=red]:not(:disabled):not([aria-disabled=true]) {
  color: var(--fc-red,#c83c47) !important;
  background: var(--fc-red-soft,#fff0f1) !important;
  border-color: color-mix(in srgb, var(--fc-red,#c83c47) 24%, transparent) !important;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-social-actions > .fc-action.fc-social-row-action[data-tone=red]:is(:disabled, [aria-disabled=true]) {
  color: #59667b !important;
  background: #eef1f6 !important;
  border-color: #dce2eb !important;
}
.family-app .fc-social-actions > .fc-action.fc-social-row-action[data-tone=red] > .fc-icon {
  color: inherit !important;
}
.family-app .fc-member-profile-actions > .fc-link.fc-member-profile-danger[data-tone=red]:not(:disabled):not([aria-disabled=true]) {
  color: var(--fc-red,#c83c47);
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions > .fc-link.fc-member-profile-danger[data-tone=red]:not(:disabled):not([aria-disabled=true]) {
  color: var(--fc-red,#c83c47) !important;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions > .fc-link.fc-member-profile-danger[data-tone=red]:is(:disabled, [aria-disabled=true]) {
  color: #59667b !important;
}
.family-app .fc-social-actions > .fc-social-row-action:focus-visible {
  outline: 3px solid var(--fc-blue,#2767dc);
  outline-offset: 2px;
}
.family-app .fc-social-action-reason {
  margin: 8px 0 0;
  color: var(--fc-secondary);
  font-size: 13px;
  line-height: 20px;
}
.family-app :is(.fc-personal-contact-list, .fc-member-directory-list) {
  container-type: inline-size;
  container-name: fc-social-list;
}
.family-app .fc-social-member > .fc-social-actions {
  margin-left: 0;
}
@container fc-social-list (max-width:560px) {
  .family-app :is(.fc-social-contact, .fc-social-member) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .family-app :is(.fc-social-contact, .fc-social-member) > .fc-social-actions {
    grid-column: 1;
    justify-content: flex-end;
    margin-left: 0;
  }
}
@media (max-width: 650px) {
  .family-app .fc-social-contact {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .family-app .fc-social-contact > .fc-social-actions {
    grid-column: 1;
    justify-content: flex-end;
  }
}
.fc-directory-tabs {
  margin-bottom: 16px;
}
.fc-directory-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.fc-directory-tabs button[aria-pressed=true] {
  background: var(--fc-selection-bg,#dfeafa);
  color: var(--fc-selection-ink,#214f88);
  border-color: var(--fc-selection-border,#a7bfdc);
  box-shadow: none;
}
.fc-dm-notices {
  padding-bottom: 16px;
  border-bottom: 1px solid #dce5f2;
  margin-bottom: 16px;
}
.fc-dm-notices header,
.fc-dm-notices header strong {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fc-dm-notices header {
  justify-content: space-between;
}
.fc-dm-notice-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #f3f7ff;
  color: inherit;
  text-align: left;
  margin-top: 8px;
}
.fc-dm-notice-row span:first-child {
  font-weight: 600;
  flex: 1;
  overflow-wrap: anywhere;
}
.fc-dm-notice-row span + span {
  font-size: .9em;
}
.family-app .fc-member-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
}
.family-app .fc-member-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 12px;
  background: var(--fc-surface-alt,#f0f3f8);
}
.family-app .fc-member-tabs > button {
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--fc-secondary,#67768c);
  font: inherit;
  cursor: pointer;
}
.family-app .fc-member-tabs > button[aria-pressed=true] {
  background: var(--fc-surface,#fff);
  color: var(--fc-ink,#263a55);
  box-shadow: 0 1px 4px #20334e14;
}
.family-app .fc-member-online-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  color: var(--fc-secondary,#67768c);
}
.family-app .fc-member-online-filter > input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #3b9565;
}
.family-app .fc-member-friend-badge {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 7px;
  color: #378a5e;
  flex: none;
}
.family-app .fc-contact-profile-view strong {
  display: block;
  overflow-wrap: anywhere;
}
.family-app .fc-member-compact-actions {
  justify-content: flex-end;
}
.family-app .fc-member-compact-actions > .fc-social-row-action {
  border: 1px solid transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}
.family-app .fc-member-compact-actions > .fc-social-row-action:not(:disabled):hover {
  background: #e7edf5 !important;
  color: #315a8b !important;
}
.family-app .fc-member-compact-actions > .fc-social-row-action > svg {
  width: 22px !important;
  height: 22px !important;
  flex: none;
}
.family-app .fc-member-compact-actions > .fc-social-row-action:disabled {
  opacity: .45;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-member-tabs > button {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--fc-secondary,#67768c) !important;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-member-tabs > button[aria-pressed=true] {
  background: #fff !important;
  color: var(--fc-ink,#263a55) !important;
  box-shadow: 0 1px 4px #20334e14 !important;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-social-actions.fc-member-compact-actions > .fc-action.fc-social-row-action[data-variant=soft] {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--fc-blue,#2767c4) !important;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-social-actions.fc-member-compact-actions > .fc-action.fc-social-row-action[data-variant=soft][data-tone=red]:not(:disabled):not([aria-disabled=true]) {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--fc-red,#c83c47) !important;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-social-actions.fc-member-compact-actions > .fc-action.fc-social-row-action[data-variant=soft]:is(:disabled, [aria-disabled=true]) {
  background: transparent !important;
  border-color: transparent !important;
  color: #59667b !important;
}
.family-app .fc-social-actions.fc-member-compact-actions > .fc-action.fc-social-row-action[data-variant=soft][data-tone=red]:not(:disabled) {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--fc-red,#c83c47) !important;
}
@container fc-social-list (min-width:240px) {
  .family-app .ui-shared-directory .fc-social-contact:has(> .fc-member-compact-actions > button:only-child) {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  .family-app .ui-shared-directory .fc-social-contact:has(> .fc-member-compact-actions > button:only-child) > .fc-member-compact-actions {
    grid-column: 2;
    grid-row: 1;
  }
}
@container fc-social-list (min-width:280px) {
  .family-app .ui-shared-directory .fc-social-contact:has(> .fc-member-compact-actions > button:last-child:nth-child(-n+2)) {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  .family-app .ui-shared-directory .fc-social-contact:has(> .fc-member-compact-actions > button:last-child:nth-child(-n+2)) > .fc-member-compact-actions {
    grid-column: 2;
    grid-row: 1;
  }
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-member-tabs > button:focus-visible {
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ../prototypes/core-local/src/rank/rank.css */
.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  vertical-align: middle;
  color: inherit;
}
.rank-badge img {
  flex: none;
  object-fit: contain;
  max-width: 100%;
}
.rank-badge-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.rank-badge-copy > span {
  font-weight: 650;
}
.rank-badge-copy small {
  font-size: 10px;
  font-weight: 400;
  color: #607089;
}
.rank-gallery {
  min-width: 0;
}
.rank-gallery h3 {
  margin: 0 0 8px;
}
.rank-gallery p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #607089;
}
.rank-gallery ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 10px;
}
.rank-gallery li {
  padding: 12px;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  background: #f8fafc;
  min-width: 0;
}
.rank-gallery .rank-badge-copy > span {
  font-size: 14px;
}
.rank-current {
  min-width: 0;
}
.rank-badge .rank-badge-art {
  flex: none;
  max-width: 100%;
  overflow: hidden;
  display: block;
}

/* ../prototypes/core-local/src/family/family-member-profile.css */
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module] > .match-backdrop:has(.fc-member-profile-card) {
  align-items: center;
  padding: 12px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module] > .match-backdrop > .match-sheet:has(> .ui-dialog-body > .fc-member-profile-card) {
  position: relative;
  width: min(480px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  height: auto !important;
  min-height: 0 !important;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module] > .match-backdrop > .match-sheet:has(.fc-member-profile-card[data-member-view=overview]) {
  width: min(610px, calc(100vw - 24px)) !important;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module] > .match-backdrop > .match-sheet:has(.fc-member-profile-card)::before {
  display: none;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module] > .match-backdrop > .match-sheet:has(> .ui-dialog-body > .fc-member-profile-card) > header {
  position: absolute !important;
  inset: 8px 8px auto auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 3;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module] > .match-backdrop > .match-sheet:has(> .ui-dialog-body > .fc-member-profile-card) > header > h2 {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module] > .match-backdrop > .match-sheet:has(> .ui-dialog-body > .fc-member-profile-card) > .ui-dialog-body {
  margin: 0;
  padding: 24px !important;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
  color: var(--gp-ink,var(--fc-ink));
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-member-profile-back {
  justify-self: start;
  justify-content: flex-start;
  max-width: calc(100% - 28px);
  text-align: left;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-identity {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 28px;
  min-width: 0;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: zoom-in;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-avatar .fc-profile-avatar {
  --fc-profile-avatar-size:80;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-copy h3 {
  margin: 0;
  font-size: 19px;
  line-height: 26px;
  font-weight: var(--fc-ui-title-weight,600);
  color: inherit;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--gp-muted,var(--fc-secondary));
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions > .fc-action {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 8px;
  font-size: 16px;
  line-height: 22px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions :is(.ui-lobby-action-reason, .ui-lobby-relation) {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-overview-link {
  font-family: inherit;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--gp-border,var(--fc-border));
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--gp-muted,var(--fc-secondary));
  text-align: left;
  font-size: 15px;
  line-height: 22px;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-overview-link > .fc-icon:last-child {
  justify-self: end;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-head {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 6px 15px;
  padding-right: 36px;
  min-width: 0;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-head > .fc-member-profile-avatar {
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  grid-row: 1/3;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-head > .fc-member-profile-avatar .fc-profile-avatar {
  --fc-profile-avatar-size:88;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-game {
  display: flex;
  align-items: center;
  gap: 7px;
  align-self: start;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 14px;
  line-height: 22px;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-rating {
  grid-column: 2/4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-rating .rank-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 17px;
  line-height: 23px;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-rating .rank-badge-art {
  width: 39px;
  height: 39px;
  flex: none;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-elo {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex: none;
  color: var(--gp-muted,var(--fc-secondary));
  font-size: 13px;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-elo > strong {
  font-size: 25px;
  line-height: 32px;
  color: var(--gp-blue,var(--fc-blue));
  font-variant-numeric: tabular-nums;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 17px 0 0;
  border-top: 1px solid var(--gp-border,var(--fc-border));
  text-align: center;
  min-width: 0;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats > div {
  padding: 0 7px;
  min-width: 0;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats > div + div {
  border-left: 1px solid var(--gp-border,var(--fc-border));
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats dd {
  margin: 0;
  font-size: 22px;
  line-height: 29px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats dt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 18px;
  color: var(--gp-muted,var(--fc-secondary));
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats dt > svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats [data-stat=win] dd,
.family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats [data-stat=rate] dd {
  color: #3b9565;
}
.family-app:is(.family-approved, .ui-interactive) :is(.fc-member-overview-note, .fc-member-overview-rank-empty, .fc-member-profile-sample) {
  margin: 0;
  color: var(--gp-muted,var(--fc-secondary));
  font-size: 13px;
  line-height: 20px;
}
@media (max-width: 600px) {
  body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module] > .match-backdrop > .match-sheet:has(> .ui-dialog-body > .fc-member-profile-card) > .ui-dialog-body {
    padding: 18px !important;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-profile-card {
    gap: 16px;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-profile-avatar,
  .family-app:is(.family-approved, .ui-interactive) .fc-member-overview-head > .fc-member-profile-avatar {
    width: 68px;
    height: 68px;
    min-width: 68px;
    min-height: 68px;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-profile-avatar .fc-profile-avatar,
  .family-app:is(.family-approved, .ui-interactive) .fc-member-overview-head > .fc-member-profile-avatar .fc-profile-avatar {
    --fc-profile-avatar-size:68;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions > .fc-action {
    flex-direction: row;
    gap: 7px;
    font-size: 16px;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-overview {
    gap: 13px;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-overview-head {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 4px 12px;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-overview-game {
    grid-column: 2;
    justify-self: start;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-overview-rating {
    grid-column: 1/3;
    margin-top: 12px;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats {
    padding-top: 14px;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats > div {
    padding: 0 3px;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats dd {
    font-size: 19px;
    line-height: 26px;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats dt {
    font-size: 11px;
    line-height: 16px;
    gap: 3px;
  }
  .family-app:is(.family-approved, .ui-interactive) .fc-member-overview-stats dt > svg {
    display: none;
  }
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions > .fc-member-friend-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1 1 100px;
  min-height: 44px;
  padding: 10px 8px;
  box-sizing: border-box;
  border: 1px solid #d4e9dd;
  border-radius: var(--fc-ui-control-radius,12px);
  background: #eef8f2;
  color: #3a865c;
  font-size: 16px;
  line-height: 22px;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions > .ui-lobby-action-reason {
  flex-basis: 100%;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-overview-link > .fc-icon {
  display: block;
  align-self: center;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions > .ui-lobby-relations {
  display: contents;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions > .ui-lobby-relations > .fc-action {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 8px;
  font-size: 16px;
  line-height: 22px;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 374px) {
  body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions :is(.fc-action, .ui-lobby-relations > .fc-action) {
    gap: 5px;
    padding: 8px 6px;
    font-size: 14px;
    line-height: 20px;
    overflow-wrap: normal;
  }
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-copy h3 {
  display: block;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-actions > .fc-member-compact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px !important;
  width: 100%;
}
.family-app:is(.family-approved, .ui-interactive) .fc-member-profile-overview-link {
  padding: 9px 0;
  font-size: 14px;
  min-height: 44px;
}

/* ../prototypes/core-local/src/family/family-pin.css */
.family-app .fc-screen-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 44px;
  margin: 0 0 8px;
  grid-column: 1/-1;
}
.family-app .fc-screen-title-row > h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  font-size: var(--fc-section-title-size,18px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--fc-ink);
}
.family-app .fc-screen-pin {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
body .family-app .fc-screen-pin > .fc-pin-button {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0 !important;
  border-radius: 12px !important;
  background: none !important;
  color: #64748b !important;
  box-shadow: none !important;
  touch-action: manipulation;
}
body .family-app .fc-screen-pin > .fc-pin-button[data-pinned=true] {
  color: var(--fc-blue,#2465ef) !important;
}
body .family-app .fc-screen-pin > .fc-pin-button:disabled {
  opacity: .55;
  cursor: default;
}
.family-app .fc-pin-button:focus-visible {
  outline: 3px solid var(--fc-blue,#2465ef);
  outline-offset: 2px;
}
.family-app .fc-pin-feedback {
  position: absolute;
  z-index: 15;
  top: calc(100% + 6px);
  right: 0;
  width: max-content;
  max-width: min(280px, calc(100vw - 48px));
  padding: 8px 12px;
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  background: var(--fc-surface,#fff);
  color: var(--fc-ink);
  box-shadow: var(--fc-shadow);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  pointer-events: none;
}
.family-app .fc-pin-confirm {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.family-app .fc-pin-confirm > p {
  margin: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.family-app .fc-pin-form-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 12px;
  align-items: end;
}
.family-app .fc-pin-form-fields label,
.family-app .fc-pin-symbol-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 14px;
}
.family-app .fc-pin-form-fields input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,10px);
  background: var(--fc-surface,#fff);
  color: var(--fc-ink);
  font: inherit;
}
.family-app button.fc-pin-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,10px);
  background: var(--fc-surface,#fff);
  box-shadow: none;
  color: var(--fc-blue);
}
.family-app .fc-pin-icon-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  grid-column: 1/-1;
}
.family-app .fc-pin-icon-grid > button {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 48px;
  padding: 8px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,10px);
  background: var(--fc-surface,#fff);
  box-shadow: none;
  color: var(--fc-secondary,#526783);
}
.family-app .fc-pin-icon-grid > button[aria-pressed=true] {
  border-color: var(--fc-blue);
  background: var(--fc-soft,#edf4ff);
  color: var(--fc-blue);
  box-shadow: inset 0 0 0 1px var(--fc-blue);
}
.family-app .fc-pin-icon-check {
  position: absolute;
  right: 3px;
  top: 1px;
  font-size: 12px;
  font-weight: 600;
}
.family-app .fc-pin-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.family-app .fc-pin-confirm-actions > button {
  min-height: 44px;
  min-width: 80px;
}
.family-app .fc-pin-icon-grid > button:focus-visible,
.family-app .fc-pin-symbol:focus-visible {
  outline: 2px solid var(--fc-blue);
  outline-offset: 2px;
}
.family-app .fc-shortcut-editor-list .fc-pin-icon-grid {
  padding: 4px;
  box-sizing: border-box;
}
.family-app .match-sheet:has(.fc-pin-confirm) {
  width: min(440px, calc(100vw - 24px));
}
.family-app .fc-pin-confirm > p {
  color: var(--fc-ink);
  font-size: 14px;
}
.family-app:has(> .match-backdrop) .fc-screen-pin > .fc-pin-feedback {
  display: none;
}
.family-app .fc-module-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-toolbar:has(> .fc-module-tools) {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) 44px !important;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-profile > .fc-module-tools {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-profile:has(> .fc-module-tools) .fc-personal-profile-info > h2 {
  padding-right: 52px;
}
@media (max-width: 600px) {
  .family-app .fc-rank-achievements.fc-rank-approved .fc-rank-toolbar:has(> .fc-module-tools) {
    grid-template-columns: minmax(0, 1fr) 44px !important;
  }
  .family-app .fc-rank-toolbar:has(> .fc-module-tools) > .fc-account-tabs {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .family-app .fc-rank-toolbar > .fc-module-tools {
    grid-column: 2;
    grid-row: 1;
  }
}
@media (max-width: 374px) {
  .family-app .fc-games-toolbar:has(> .fc-module-tools) > .fc-games-create {
    flex-basis: 104px;
  }
}

/* ../prototypes/core-local/src/family/family-activity.css */
.fc-notice-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  gap: 9px;
}
.fc-notice-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px;
  border: 1px solid var(--fc-border,#ddd6c8);
  border-radius: 13px;
  background: rgba(255, 255, 255, .54);
}
.fc-notice-list li[data-unread=true] {
  border-left: 4px solid #3373a1;
}
.fc-notice-copy {
  flex: 1;
  min-width: 150px;
  overflow-wrap: anywhere;
}
.fc-notice-copy strong,
.fc-notice-copy small {
  display: block;
}
.fc-notice-copy small {
  margin-top: 5px;
  color: #59656d;
}
.fc-notice-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.fc-activity-panel .fc-notice-actions button {
  min-height: 40px;
}
.fc-notice-counter {
  font-size: 12px;
  min-width: 17px;
  border-radius: 10px;
  background: #b13831;
  color: white;
  position: absolute;
  right: -4px;
  top: -4px;
  padding: 2px 4px;
}
.fc-home-tools .fc-round-button {
  position: relative;
}
.fc-shortcut-editor-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}
.fc-shortcut-editor-list li {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd6c8;
  padding: 6px 0;
}
.fc-shortcut-editor-list strong {
  flex: 1;
  min-width: 120px;
  overflow-wrap: anywhere;
}
.fc-shortcut-editor-list button {
  min-height: 40px;
  min-width: 40px;
}
.fc-shortcut-add {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fc-shortcut-add select {
  max-width: 100%;
  flex: 1;
  min-width: 160px;
}
.fc-shortcut-editor-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.fc-home-shortcuts .fc-shortcut strong {
  overflow-wrap: anywhere;
  max-width: 100%;
}
.fc-activity-panel > .fc-row {
  margin: 10px 0;
}

/* ../prototypes/core-local/src/family/family-shortcuts.css */
#root .fc-personal-settings .fc-personal-tiles:has(> :nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 520px) {
  #root .fc-personal-settings .fc-personal-tiles:has(> :nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
#root .fc-shortcut-add {
  width: 100%;
  min-height: 44px;
  margin-block: 6px;
  padding: 0 10px;
  border: 1px solid #cbd7e8;
  border-radius: 10px;
  color: inherit;
  font: inherit;
  background: #fff;
}
.family-app .fc-shortcut-editor .fc-shortcut-editor-list > .fc-shortcut-order-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 56px;
  padding: 6px 2px;
  cursor: grab;
  touch-action: none;
  user-select: none;
  border-radius: var(--fc-ui-control-radius,10px);
}
.family-app .fc-shortcut-editor-list > .fc-shortcut-order-row[data-dragging=true] {
  cursor: grabbing;
  background: var(--fc-blue-soft,#edf4ff);
}
.family-app .fc-shortcut-editor-list > .fc-shortcut-order-row[aria-disabled=true] {
  cursor: default;
}
.family-app .fc-shortcut-editor-list > .fc-shortcut-order-row:focus-visible {
  outline: 2px solid var(--fc-blue,#1555f4);
  outline-offset: 2px;
}
.family-app .fc-shortcut-order-row .fc-pin-edit-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.family-app .fc-shortcut-order-row :is(input, textarea) {
  user-select: text;
  cursor: text;
}
.family-app .fc-shortcut-order-row .fc-pin-edit-fields input {
  box-sizing: border-box;
  min-width: 0;
  min-height: 44px;
}
body[data-family-approved] .family-app.family-approved > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body > .fc-shortcut-icon-picker) {
  width: min(360px, calc(100% - 24px)) !important;
}
.family-app .fc-shortcut-icon-picker {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.family-app .fc-shortcut-icon-picker .fc-pin-icon-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.family-app .fc-shortcut-icon-picker .fc-pin-icon-grid > button {
  min-width: 0;
  min-height: 44px;
  padding: 8px;
}
.family-app .fc-shortcut-icon-actions {
  display: flex;
  justify-content: flex-end;
}
.family-app .fc-shortcut-icon-actions > button {
  min-height: 44px;
  min-width: 72px;
}

/* ui/cloud-match.css */
.cloud-match-messages {
  position: relative;
  z-index: 2;
}
.cloud-match-messages:empty {
  display: none;
}
.cloud-match-messages > p,
.cloud-match-messages > .cloud-invitation {
  background: #f4f7fd;
  color: #243c67;
  text-align: center;
  margin: 0;
  padding: 6px 12px;
}
.cloud-match-messages > .cloud-invitation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* ../prototypes/core-local/src/family/design-system.css */
.family-app {
  --fc-ink:#111a56;
  --fc-secondary:#4168a7;
  --fc-muted:#64748b;
  --fc-blue:#096bdc;
  --fc-blue-bright:#1687ff;
  --fc-green:#078542;
  --fc-red:#e51d3e;
  --fc-purple:#7926db;
  --fc-gold:#c58206;
  --fc-slate:#64748b;
  --fc-navy:#111a56;
  --fc-canvas:#f8f6f1;
  --fc-surface:#fff;
  --fc-border:#e7ecf3;
  --fc-line:#edf0f5;
  --fc-panel-surface:color-mix(in srgb,var(--fc-surface) 50%,transparent);
  --fc-selection-bg:#dfeafa;
  --fc-selection-ink:#214f88;
  --fc-selection-border:#a7bfdc;
  --fc-blue-soft:#eaf4ff;
  --fc-green-soft:#eaf9f0;
  --fc-red-soft:#fff0f2;
  --fc-purple-soft:#f3edff;
  --fc-gold-soft:#fff6df;
  --fc-slate-soft:#f0f3f7;
  --fc-shadow:0 3px 13px #15244b08;
  --fc-radius:18px;
  --fc-touch:44px;
  --fc-page-title-size:22px;
  --fc-section-title-size:18px;
  --fc-item-title-size:14px;
  --fc-label-size:12px;
  --fc-label-weight:600;
  --fc-shortcut-icon-size:24px;
  --fc-small-size:12px;
  --fc-panel-body-size:14px;
  color: var(--fc-ink);
  font-family:
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
  background: var(--fc-canvas);
  font-synthesis: none;
}
.family-app :where(.family-shell, .family-login) :where(button, input, select, textarea) {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
.family-app :where(.family-shell, .family-login) :where(h1, h2, h3, h4, p) {
  margin: 0;
}
.family-app :where(.family-shell, .family-login) :where(h1, h2, h3, h4) {
  color: var(--fc-ink);
  font-weight: var(--fc-ui-title-weight,800);
  line-height: 1.25;
}
.family-app :where(button, a, [tabindex]):focus-visible {
  outline: 3px solid var(--fc-blue-bright);
  outline-offset: 3px;
}
.family-app .fc-icon {
  display: inline-block;
  flex: none;
  vertical-align: middle;
  overflow: visible;
}
.family-app [data-tone=blue] {
  --fc-tone:var(--fc-blue);
  --fc-tint:var(--fc-blue-soft);
}
.family-app [data-tone=green] {
  --fc-tone:var(--fc-green);
  --fc-tint:var(--fc-green-soft);
}
.family-app [data-tone=red] {
  --fc-tone:var(--fc-red);
  --fc-tint:var(--fc-red-soft);
}
.family-app [data-tone=purple] {
  --fc-tone:var(--fc-purple);
  --fc-tint:var(--fc-purple-soft);
}
.family-app [data-tone=gold] {
  --fc-tone:var(--fc-gold);
  --fc-tint:var(--fc-gold-soft);
}
.family-app [data-tone=slate] {
  --fc-tone:var(--fc-slate);
  --fc-tint:var(--fc-slate-soft);
}
.family-app [data-tone=navy] {
  --fc-tone:var(--fc-navy);
  --fc-tint:var(--fc-blue-soft);
}
.family-app .fc-icon[data-tone] {
  color: var(--fc-tone);
}
.family-app .fc-section {
  min-width: 0;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-ui-panel-shadow,var(--fc-shadow));
  padding: 12px;
}
.family-app .fc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  min-width: 0;
}
.family-app .fc-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fc-section-title-size);
  font-weight: var(--fc-ui-title-weight,600);
  color: var(--fc-ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.family-app .fc-section-title > .fc-icon {
  width: 22px;
  height: 22px;
}
.family-app .fc-section-title[data-tone] > .fc-icon {
  color: var(--fc-tone);
}
.family-app .fc-section-head > :last-child {
  flex-shrink: 0;
}
.family-app .fc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 0;
}
.family-app .fc-row + .fc-row {
  border-top: 1px solid var(--fc-line);
}
.family-app .fc-row-main {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.family-app .fc-row-main :where(h3, h4, strong) {
  display: block;
  font-weight: var(--fc-label-weight);
  color: var(--fc-ink);
  font-size: var(--fc-item-title-size);
  line-height: 1.35;
}
.family-app .fc-row-main :where(p, small) {
  display: block;
  color: var(--fc-secondary);
  font-size: .875rem;
  margin-top: 3px;
}
.family-app .fc-empty {
  min-width: 0;
  border: 1px dashed #d6dfec;
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--fc-muted);
  background: #fafbfd;
  font-size: .9rem;
  line-height: 1.55;
}
.family-app .fc-empty strong {
  display: block;
  color: var(--fc-ink);
  font-weight: 600;
  margin-bottom: 3px;
}
.family-app .fc-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: var(--fc-touch);
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: var(--fc-ui-control-radius,12px);
  background: var(--fc-tone,var(--fc-blue));
  color: #fff;
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
  text-align: center;
  text-decoration: none;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: none;
  box-sizing: border-box;
  white-space: normal;
}
.family-app .fc-action[data-tone=blue] {
  --fc-tone:var(--fc-blue);
}
.family-app .fc-action[data-tone=green] {
  --fc-tone:var(--fc-green);
}
.family-app .fc-action[data-tone=red] {
  --fc-tone:var(--fc-red);
}
.family-app .fc-action[data-tone=purple] {
  --fc-tone:var(--fc-purple);
}
.family-app .fc-action[data-tone=gold] {
  --fc-tone:var(--fc-gold);
  color: var(--fc-ink);
}
.family-app .fc-action[data-tone=slate] {
  --fc-tone:var(--fc-slate);
}
.family-app .fc-action[data-tone=navy] {
  --fc-tone:var(--fc-navy);
}
.family-app .fc-action[data-variant=soft] {
  background: var(--fc-tint,var(--fc-blue-soft));
  border-color: color-mix(in srgb, var(--fc-tone,var(--fc-blue)) 24%, transparent);
  color: var(--fc-tone,var(--fc-blue));
}
.family-app .fc-action:hover:not(:disabled):not([aria-disabled=true]) {
  filter: brightness(.96);
}
.family-app .fc-action:active:not(:disabled):not([aria-disabled=true]) {
  filter: brightness(.91);
}
.family-app .fc-action:disabled,
.family-app .fc-action[aria-disabled=true] {
  background: #eef1f6;
  color: #59667b;
  border-color: #dce2eb;
  opacity: 1;
  filter: none;
  cursor: default;
}
.family-app .fc-action.fc-compact-action {
  padding: 10px 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
}
.family-app .fc-action-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 44px;
  min-height: 24px;
  padding: 2px 3px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--fc-tone,var(--fc-blue));
}
.family-app .fc-action-face > .fc-icon {
  width: 16px;
  height: 16px;
}
.family-app .fc-compact-action[data-variant=soft] > .fc-action-face {
  background: var(--fc-tint,var(--fc-blue-soft));
  border-color: color-mix(in srgb, var(--fc-tone,var(--fc-blue)) 24%, transparent);
}
.family-app .fc-compact-action:disabled > .fc-action-face,
.family-app .fc-compact-action[aria-disabled=true] > .fc-action-face {
  background: #eef1f6;
  border-color: #dce2eb;
}
.family-app .fc-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--fc-tint,var(--fc-blue-soft));
  color: var(--fc-tone,var(--fc-blue));
}
.family-app .fc-icon-tile[data-tone] {
  color: var(--fc-tone);
  background: var(--fc-tint);
}
.family-app .fc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--fc-tint,var(--fc-slate-soft));
  color: var(--fc-tone,var(--fc-secondary));
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
}
.family-app .fc-chip .fc-icon {
  width: 15px;
  height: 15px;
}
.family-app .fc-tabs {
  display: flex;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  padding: 3px 2px 6px;
  scrollbar-width: thin;
}
.family-app .fc-tabs > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1 0 auto;
  min-height: 44px;
  padding: 9px 14px;
  background: var(--fc-surface);
  color: var(--fc-ink);
  border: 1px solid #dde7f5;
  border-radius: 999px;
  font-weight: var(--fc-ui-control-weight,600);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
}
.family-app .fc-tabs > button[aria-selected=true],
.family-app .fc-tabs > button[aria-pressed=true] {
  background: var(--fc-selection-bg,#dfeafa);
  color: var(--fc-selection-ink,#214f88);
  border-color: var(--fc-selection-border,#a7bfdc);
  box-shadow: none;
  font-weight: var(--fc-ui-control-weight,700);
}
.family-app .fc-tabs > button:disabled {
  background: #f3f5f8;
  color: #59667b;
  border-color: var(--fc-border);
  opacity: 1;
  cursor: default;
}
.family-app .fc-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.family-app .fc-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 100px;
  padding: 14px 8px;
  border: 1px solid transparent;
  border-radius: var(--fc-ui-control-radius,14px);
  background: var(--fc-tint,var(--fc-blue-soft));
  color: var(--fc-ink);
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: none;
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
  line-height: 1.3;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.family-app .fc-shortcut strong {
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
}
.family-app .fc-shortcut > .fc-icon {
  width: var(--fc-shortcut-icon-size);
  height: var(--fc-shortcut-icon-size);
  color: var(--fc-tone,var(--fc-blue));
}
.family-app .fc-shortcut small {
  display: block;
  color: var(--fc-secondary);
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.35;
}
.family-app .fc-shortcut:disabled,
.family-app .fc-shortcut[aria-disabled=true] {
  color: var(--fc-ink);
  opacity: 1;
  cursor: default;
}
.family-app .fc-shortcut[data-state=deferred] {
  border-color: var(--fc-border);
}
.family-app .fc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  min-width: 44px;
  max-width: 100%;
  padding: 4px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--fc-blue);
  font-weight: 400;
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.35;
  cursor: pointer;
}
.family-app .fc-link:disabled,
.family-app .fc-link[aria-disabled=true] {
  color: var(--fc-muted);
  opacity: 1;
  cursor: default;
}
.family-app .fc-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--fc-border);
  border-radius: 14px;
  background: var(--fc-surface);
  color: var(--fc-secondary);
  font-size: .875rem;
}
.family-app .fc-summary strong {
  color: var(--fc-ink);
  font-weight: 700;
}
.family-app .fc-summary[data-tone] strong {
  color: var(--fc-tone);
}
.family-app .fc-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: none;
  overflow: hidden;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fc-blue-soft);
  color: var(--fc-secondary);
  border: 2px solid var(--fc-surface);
  box-sizing: border-box;
}
.family-app .fc-avatar > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.family-app .fc-avatar > .fc-icon {
  width: 28px;
  height: 28px;
}
@media (max-width: 599px) {
  .family-app {
    --fc-page-title-size:20px;
    --fc-section-title-size:16px;
  }
}
@media (max-width: 420px) {
  .family-app .fc-section {
    padding: 10px;
  }
  .family-app .fc-row {
    gap: 9px;
  }
  .family-app .fc-action:not(.fc-compact-action) {
    padding: 9px 11px;
  }
  .family-app .fc-shortcuts {
    gap: 7px;
  }
  .family-app .fc-shortcut {
    padding: 12px 5px;
  }
}
@media (min-width: 700px) {
  .family-app {
    --fc-page-title-size:26px;
    --fc-section-title-size:20px;
    --fc-item-title-size:16px;
    --fc-label-size:15px;
    --fc-small-size:14px;
    --fc-shortcut-icon-size:28px;
    --fc-panel-body-size:16px;
  }
  .family-app .fc-section {
    padding: 16px;
  }
  .family-app .fc-section-head {
    gap: 12px;
    margin-bottom: 10px;
  }
  .family-app .fc-section-title > .fc-icon {
    width: 24px;
    height: 24px;
  }
  .family-app :is(.fc-chip, .fc-shortcut small) {
    font-size: var(--fc-small-size);
  }
  .family-app .fc-link {
    font-size: var(--fc-label-size);
  }
  .family-app .fc-action-face {
    gap: 5px;
    padding: 4px 6px;
    min-height: 30px;
  }
  .family-app .fc-action-face > .fc-icon {
    width: 18px;
    height: 18px;
  }
}
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .family-app {
    --fc-page-title-size:28px;
    --fc-section-title-size:22px;
    --fc-item-title-size:17px;
    --fc-label-size:16px;
  }
}
.family-app .family-shell :where(input:not([type=checkbox]):not([type=range]), select, textarea) {
  min-height: 44px;
  max-width: 100%;
  padding: 9px 10px;
  border: 1px solid #d3deec;
  border-radius: var(--fc-ui-control-radius,10px);
  background: var(--fc-surface);
  color: var(--fc-ink);
  font: inherit;
  box-sizing: border-box;
}
.family-app .family-shell :where(input, select, textarea):disabled {
  opacity: 1;
  color: var(--fc-muted);
  background: #f5f7fa;
}
.family-app .family-shell .catalog-table-filter-fields > button:disabled {
  opacity: 1;
  color: var(--fc-muted);
  background: #f5f7fa;
}
.family-app .family-shell-content .fc-section:not(:where([role=dialog] *)),
.family-app .family-shell-content .fc-games.fc-games-gallery .fc-game-card,
.family-app .family-shell-content .fc-home-members .fc-member-home-list > .fc-member-directory-row,
.family-app .family-shell-content .fc-games-gallery .fc-recent-empty {
  background: var(--fc-panel-surface);
  border-color: color-mix(in srgb, var(--fc-border) 50%, transparent);
}
.family-app .family-shell-content .fc-section.fc-rank-identity:not(:where([role=dialog] *)) {
  background:
    linear-gradient(
      110deg,
      #e7f3ff80,
      #f9fcff80);
}
.family-app .family-shell-content .fc-section.fc-rank-peak:not(:where([role=dialog] *)) {
  background:
    linear-gradient(
      145deg,
      #fffdf880,
      #fff5df80);
}
.family-app .family-shell-content .fc-games-gallery .fc-game-featured:after {
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--fc-surface) 55%, transparent) 0%,
      #fff9f38c 24%,
      #fff9f347 53%,
      transparent 83%);
}
.family-app > .match-backdrop > .match-sheet {
  background: var(--fc-surface);
  color: var(--fc-ink);
  font-size: var(--fc-panel-body-size);
}
.family-app > .match-backdrop > .match-sheet :where(h2, h3) {
  color: var(--fc-ink);
  font-size: var(--fc-section-title-size);
  font-weight: var(--fc-label-weight);
  line-height: 1.3;
}
.family-app > .match-backdrop > .match-sheet > header > h2 {
  font-size: var(--fc-page-title-size);
  font-weight: var(--fc-ui-title-weight,700);
}
.family-app > .match-backdrop > .match-sheet button:not(:where(.fc-member-profile-overview-link, .fc-directory-dialog-actions > .fc-action[data-tone=red])) {
  min-width: var(--fc-touch);
  min-height: var(--fc-touch);
  max-width: 100%;
  font-family: inherit;
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
  line-height: 1.3;
  color: var(--fc-blue);
  background: var(--fc-blue-soft);
  border-color: var(--fc-border);
  box-shadow: none;
}
.family-app > .match-backdrop > .match-sheet button:not(:where(.fc-member-profile-overview-link, .fc-directory-dialog-actions > .fc-action[data-tone=red])):hover:not(:disabled) {
  background: var(--fc-blue-soft);
  filter: brightness(.96);
}
.family-app > .match-backdrop > .match-sheet button:disabled {
  opacity: 1;
  background: var(--fc-slate-soft);
  color: var(--fc-muted);
  cursor: default;
}
.family-app > .match-backdrop > .match-sheet > header > button {
  font-size: 24px;
  font-weight: 400;
  padding: 4px;
}
.family-app > .match-backdrop > .match-sheet :where(input, select, textarea) {
  min-height: var(--fc-touch);
  max-width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--fc-ink);
  accent-color: var(--fc-blue);
}
.family-app > .match-backdrop > .match-sheet select {
  background: var(--fc-surface);
  border-color: var(--fc-border);
}
.family-app > .match-backdrop > .match-sheet :where(.sound-settings small, .social-note, .account-note, .account-empty, .account-replay-list span, .account-replay-list small) {
  color: var(--fc-secondary);
  font-size: var(--fc-label-size);
  opacity: 1;
}
.family-app > .match-backdrop > .match-sheet :where(.sound-preview, .account-empty, .account-replay-position) {
  background: var(--fc-blue-soft);
  color: var(--fc-secondary);
  border-color: var(--fc-border);
}
.family-app > .match-backdrop > .match-sheet .account-panel {
  background: var(--fc-surface);
  color: var(--fc-ink);
  border-color: var(--fc-border);
}
.family-app > .match-backdrop > .match-sheet .account-replay-list strong {
  color: var(--fc-ink);
  font-size: var(--fc-item-title-size);
  font-weight: var(--fc-label-weight);
}
.family-app > .match-backdrop > .match-sheet .account-replay-controls button {
  font-size: 20px;
  padding: 5px;
}
.family-app > .match-backdrop > .match-sheet :where(.account-error, .sound-error) {
  color: #a03124;
}
.family-app > .match-backdrop > .match-sheet .social-tabs button[aria-pressed=true] {
  background: var(--fc-selection-bg,#dfeafa);
  color: var(--fc-selection-ink,#214f88);
  border-color: var(--fc-selection-border,#a7bfdc);
  box-shadow: none;
}
.family-app > .match-backdrop > .match-sheet .match-danger {
  background: var(--fc-red-soft);
  color: var(--fc-red);
}

/* ../prototypes/core-local/src/family/family-login.css */
.family-app.catalog-page:has(> .family-login) {
  max-width: 1140px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px 16px;
  background:
    linear-gradient(
      155deg,
      #edf7ff,
      #fffdf8 60%,
      #edf7f1);
}
.family-login {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e1eaf3;
  border-radius: var(--fc-ui-panel-radius,28px);
  background: #fff;
  box-shadow: var(--fc-ui-panel-shadow,0 12px 42px #214b7214);
  box-sizing: border-box;
}
.family-login-art {
  position: relative;
  aspect-ratio: var(--login-mobile-art-ratio,3);
  background:
    linear-gradient(
      140deg,
      #d8edfd,
      #f9f7e8 60%,
      #e3f2db);
  min-width: 0;
}
.family-login-art picture {
  position: absolute;
  inset: 0;
  display: block;
}
.family-login-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.family-login-brand {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #096bdc;
  line-height: 1.1;
  gap: 5px;
}
.family-login-brand strong {
  font-size: clamp(27px, 6vw, 46px);
  font-style: italic;
  font-weight: 800;
}
.family-login-brand span {
  font-size: clamp(17px, 4vw, 25px);
  font-style: italic;
  color: #df3037;
}
.family-login-brand > .fc-icon {
  position: absolute;
  right: 8%;
  color: #e35a5a;
  width: clamp(22px, 6vw, 42px);
}
.family-login-content {
  position: relative;
  min-width: 0;
  padding: 27px 28px 30px;
  border-radius: 27px 27px 0 0;
  background: linear-gradient(#fff, #fbfdff);
  margin-top: 0;
}
.family-app .family-login-heading {
  text-align: center;
}
.family-app .family-login-heading-copy > p {
  color: #0870dc;
  font-size: 24px;
  font-weight: 750;
  font-style: italic;
  margin: 0 0 10px;
}
.family-app .family-login-heading h1 {
  font-size: clamp(22px, 4.8vw, 29px);
  font-weight: var(--fc-ui-title-weight,750);
  line-height: 1.3;
  color: #10286d;
  letter-spacing: var(--fc-ui-title-tracking,-.5px);
  margin: 0;
}
.family-login-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 24px 0;
  gap: 9px;
  color: #173879;
}
.family-login-intro li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}
.family-login-intro li + li {
  border-left: 1px solid #dce7f7;
  padding-left: 6px;
}
.family-login-intro li > span {
  display: inline-flex;
  padding: 8px;
  border-radius: 12px;
  background: var(--fc-tint);
  color: var(--fc-tone);
  flex: none;
}
.family-login-intro .fc-icon {
  width: 22px;
  height: 22px;
}
.family-login-form {
  display: grid;
  gap: 17px;
}
.family-login-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #162b65;
  font-size: 16px;
  font-weight: 500;
}
.family-login-input {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 12px;
  gap: 11px;
  min-height: 50px;
  border: 1px solid #cad9ee;
  border-radius: var(--fc-ui-control-radius,13px);
  background: #fff;
  box-sizing: border-box;
}
.family-login-input > .fc-icon {
  color: #8b9ab7;
  flex: none;
}
.family-login-input:focus-within {
  border-color: #1579df;
  box-shadow: 0 0 0 3px #1580eb15;
}
.family-app .family-login-input input {
  display: block;
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #172853;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
  scroll-margin-block: 28px;
}
.family-login-input input::placeholder {
  color: #64748b;
  opacity: 1;
}
.family-login-input:has(input:disabled) {
  background: #f3f6f9;
}
.family-app .family-login-password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  min-height: 44px;
  padding: 0;
  margin-right: -9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6d7f9f;
  box-shadow: none;
  cursor: pointer;
}
.family-login-password-toggle[aria-pressed=true] {
  color: #086bcc;
}
.family-login-mfa {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #324971;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
.family-app .family-login-mfa input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: none;
  accent-color: #0c75df;
  margin: 0;
  padding: 0;
  box-shadow: none;
}
.family-login-remember > p {
  margin: 0 0 0 30px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
.family-app .family-login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 51px;
  border: 1px solid #0874e6;
  border-radius: var(--fc-ui-control-radius,14px);
  background: linear-gradient(#258cfa, #0570e5);
  color: #fff;
  padding: 11px 16px;
  font-size: 18px;
  font-weight: var(--fc-ui-control-weight,700);
  line-height: 1.35;
  box-shadow: var(--fc-ui-control-shadow,0 4px 12px #1177df25);
  cursor: pointer;
}
.family-app .family-login-submit:hover:not(:disabled) {
  background: linear-gradient(#167eec, #0566d2);
}
.family-login-submit > span:last-child {
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}
.family-login-submit:disabled {
  background: #e8eef6;
  border-color: #d4deec;
  color: #5b6d86;
  box-shadow: none;
  cursor: default;
}
.family-login input:disabled,
.family-login button:disabled {
  opacity: 1;
}
.family-app .family-login-actions {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}
.family-app .family-login-help {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #0868d3;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  cursor: pointer;
}
.family-login-help:hover {
  text-decoration: underline;
}
.family-login-alerts:empty {
  display: none;
}
.family-login-alerts:not(:empty) {
  margin-bottom: 14px;
}
.family-login-alerts .error-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.family-login-alerts button {
  margin-top: 8px;
  min-height: 44px;
}
@media (min-width: 700px) {
  .family-login-art {
    aspect-ratio: var(--login-art-ratio,3);
  }
}
@media (min-width: 1000px) {
  .family-app.catalog-page:has(> .family-login) {
    padding-block: 48px;
  }
  .family-login {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(380px, 1fr);
    max-width: 1100px;
    align-items: center;
    background:
      linear-gradient(
        145deg,
        #e8f5ff,
        #fffaf0 65%,
        #edf5e8);
  }
  .family-login-art {
    width: 100%;
    align-self: center;
  }
  .family-login-content {
    margin: 0;
    padding: 35px 28px;
    border-radius: 26px 0 0 26px;
    box-shadow: -8px 0 30px #52739108;
  }
  .family-login-intro {
    gap: 6px;
  }
  .family-login-intro li {
    font-size: 12px;
    gap: 5px;
  }
  .family-login-intro li > span {
    padding: 6px;
  }
}
@media (max-width: 599px) {
  .family-app.catalog-page:has(> .family-login) {
    padding: 0 0 18px;
  }
  .family-login {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .family-login-content {
    padding: 23px 20px 25px;
  }
  .family-login-intro {
    gap: 6px;
    margin: 22px 0;
  }
  .family-login-intro li {
    font-size: 12px;
    gap: 6px;
  }
  .family-login-intro li > span {
    padding: 6px;
  }
  .family-login-intro .fc-icon {
    width: 21px;
    height: 21px;
  }
}
@media (max-width: 359px) {
  .family-login-content {
    padding-inline: 14px;
  }
  .family-login-intro li {
    flex-direction: column;
    gap: 5px;
  }
  .family-login-heading h1 {
    letter-spacing: var(--fc-ui-title-tracking,-.6px);
  }
  .family-login-help {
    font-size: 14px;
  }
}
.family-app .family-login-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
}
.family-login-heading-copy {
  min-width: 0;
}
.family-app .family-login-heading-copy > p {
  margin-bottom: 6px;
}
.family-app .family-login-heading h1 {
  font-size: clamp(18px, 3.5vw, 24px);
  letter-spacing: -.4px;
}
.family-app .family-login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  vertical-align: middle;
  width: 72px;
  height: 72px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: 1;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
}
.family-app .family-login-logo:hover {
  background: transparent;
  box-shadow: none;
}
.family-login-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  border-radius: inherit;
}
.family-login-logo:focus-visible {
  outline: 2px solid #4168ef;
  outline-offset: 4px;
}
@media (max-width: 599px) {
  .family-app .family-login-logo {
    width: 60px;
    height: 60px;
  }
  .family-app .family-login-heading {
    gap: 10px;
  }
  .family-app .family-login-heading-copy > p {
    font-size: 22px;
  }
}

/* ui/style.css */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f8f6f1;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 23px;
}
h2 {
  font-size: 18px;
  margin-bottom: 12px;
}
.lab-page {
  min-height: 100vh;
  padding: 20px 24px 12px;
}
.lab-top {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #e1e7ec;
  padding-bottom: 16px;
}
.lab-top > div:first-child {
  display: grid;
}
.lab-top strong {
  font-size: 24px;
  color: #096bdc;
  font-style: italic;
}
.lab-top span {
  font-size: 13px;
  color: #64748b;
}
.lab-top .lab-label {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 1px;
  background: #fff5dc;
  color: #926315;
  padding: 7px 10px;
  border-radius: 7px;
}
.lab-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lab-user .fc-action {
  min-height: 36px;
}
.family-login {
  margin-top: 36px;
  max-width: 470px;
}
.family-login-heading p {
  font-size: 14px;
  color: #64748b;
  margin: 10px 0 22px;
}
.lab-help {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 12px 0;
}
.lab-lobby {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 20px;
}
.lab-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.lab-heading p {
  font-size: 13px;
  color: #64748b;
  margin-top: 5px;
}
.lab-create {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 16px 0 22px;
  border-bottom: 1px solid #edf0f5;
}
.lab-create > label:first-child {
  flex: 1;
}
.lab-create label,
.lab-chat-form label {
  display: grid;
  font-size: 13px;
  gap: 7px;
}
.lab-create input:not([type=checkbox]),
.lab-chat-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid #cad9ee;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
  color: #162b65;
}
.lab-create .lab-checkbox {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  white-space: nowrap;
}
.lab-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #096bdc;
}
.lab-rooms {
  display: grid;
  gap: 12px;
  padding-top: 20px;
}
.lab-room {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e1e9f1;
  border-radius: 14px;
  background: #fcfdff;
}
.lab-room strong {
  font-size: 17px;
}
.lab-room p,
.lab-room small {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
  display: block;
}
.lab-lobby > .fc-section {
  padding: 22px;
}
.lab-lobby > .fc-section > h2:not(:first-child) {
  margin-top: 30px;
}
.lab-match-layout {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(280px, 1fr);
  gap: 20px;
  align-items: start;
}
.lab-match {
  padding: 18px !important;
}
.lab-status {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #edf5ff;
  color: #285484;
  border-radius: 8px;
  font-size: 13px;
}
.lab-status > span {
  font-variant-numeric: tabular-nums;
}
.lab-network {
  font-size: 12px;
  white-space: nowrap;
  color: #916727;
}
.lab-network.open {
  color: #078542;
}
.lab-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  margin: 12px 0;
  padding: 8px 12px;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  background: #f9fbfd;
}
.lab-player.active {
  border-color: #a7c8ed;
  background: #eef6ff;
}
.lab-player.red .lab-avatar {
  color: #c93233;
  background: #ffeded;
}
.lab-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eaf0f7;
  color: #304963;
  font-weight: 700;
  flex: none;
}
.lab-avatar .fc-icon {
  width: 24px;
  height: 24px;
}
.lab-player-name {
  flex: 1;
  min-width: 0;
}
.lab-player-name strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.lab-player-name small {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}
.lab-clock {
  font-size: 24px;
  color: #214369;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.lab-player > .fc-action {
  padding: 8px;
  min-height: 36px;
  font-size: 11px;
}
.lab-board {
  width: min(100%, 550px);
  margin: auto;
}
.lab-board .board {
  display: block;
  width: 100%;
  height: auto;
}
.match-board-stage {
  position: relative;
}
.lab-result {
  margin: 13px 0;
  color: #4168a7;
  font-size: 13px;
  min-height: 20px;
  text-align: center;
}
.lab-tools {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #edf0f5;
}
.lab-tools .fc-action {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  background: transparent;
  border: 0;
  padding: 6px;
  color: #4168a7;
}
.lab-tools .fc-icon {
  width: 23px;
  height: 23px;
}
.lab-sidebar {
  padding: 18px !important;
}
.lab-tabs {
  display: flex;
  gap: 3px;
  border-bottom: 1px solid #e4ebf3;
  margin-bottom: 20px;
}
.lab-tabs button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  padding: 8px;
  flex: 1;
}
.lab-tabs button[aria-pressed=true] {
  color: #096bdc;
  border-bottom: 2px solid #096bdc;
  font-weight: 600;
}
.lab-chat-log {
  height: 380px;
  overflow: auto;
  overflow-wrap: anywhere;
  padding: 8px 0;
}
.lab-chat-log p {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
.lab-chat-log strong {
  font-size: 12px;
  color: #4168a7;
}
.lab-chat-form {
  display: flex;
  align-items: end;
  gap: 8px;
  border-top: 1px solid #edf0f5;
  padding-top: 15px;
}
.lab-chat-form label {
  min-width: 0;
  flex: 1;
}
.lab-chat-form .fc-action {
  min-height: 44px;
}
.lab-options {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.lab-moves {
  max-height: 480px;
  overflow: auto;
  padding-left: 28px;
  font-size: 14px;
  line-height: 2;
}
.lab-sidebar > p {
  font-size: 14px;
  margin-bottom: 10px;
}
.lab-reconnect {
  padding: 12px;
  margin-top: 10px;
  border: 1px solid #eedca5;
  background: #fff8e7;
  border-radius: 9px;
  color: #83611c;
  font-size: 13px;
}
.lab-notice {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  border: 1px solid #efc6b9;
  border-radius: 12px;
  padding: 14px 20px;
  color: #8c3327;
  background: #fff3ee;
  box-shadow: 0 6px 24px #3b1b2020;
}
.lab-footer {
  max-width: 1100px;
  margin: 15px auto 0;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}
.lab-backdrop {
  position: fixed;
  inset: 0;
  background: #15264a80;
  display: grid;
  place-items: center;
  z-index: 20;
  padding: 20px;
}
.lab-confirm {
  max-width: 430px;
  padding: 24px !important;
}
.lab-confirm > p {
  color: #64748b;
  margin: 14px 0 24px;
}
.lab-confirm > div {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.lab-board .ready-action-hint {
  max-width: 90%;
  text-align: center;
}
.lab-board .match-ready-layer {
  z-index: 2;
}
.lab-board .board-art-error {
  font-size: 11px;
}
@media (max-width: 800px) {
  .lab-page {
    padding: 12px 10px;
  }
  .lab-top {
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
  .lab-top strong {
    font-size: 20px;
  }
  .lab-top .lab-label {
    font-size: 8px;
  }
  .lab-user {
    margin-left: auto;
  }
  .lab-top > div:first-child > span {
    font-size: 11px;
  }
  .lab-lobby,
  .lab-match-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lab-match {
    padding: 12px !important;
  }
  .lab-heading h1 {
    font-size: 20px;
  }
  .lab-board {
    max-width: 550px;
  }
  .lab-chat-log {
    height: 230px;
  }
  .lab-player {
    margin: 8px 0;
  }
  .lab-clock {
    font-size: 21px;
  }
  .lab-top .lab-user > span {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lab-create {
    flex-wrap: wrap;
  }
  .lab-create > label:first-child {
    flex-basis: 100%;
  }
  .lab-lobby > .fc-section {
    padding: 16px;
  }
  .family-login {
    margin-top: 20px;
  }
  .family-login-content {
    padding: 24px 20px;
  }
  .lab-top .lab-user .fc-action {
    padding: 6px 10px;
    font-size: 11px;
  }
  .lab-network {
    font-size: 10px;
  }
  .lab-tools {
    gap: 3px;
  }
  .lab-tools .fc-action {
    font-size: 11px;
  }
  .lab-player-name strong {
    font-size: 13px;
  }
  .lab-player-name small {
    font-size: 10px;
  }
  .lab-avatar {
    width: 36px;
    height: 36px;
  }
}

/* ui/xiangqi-board.css */
.family-app .match-board-shell svg.board [data-square] {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.family-app .match-board-shell:not(.edge-selection) svg.board [data-square]:focus-visible > circle[fill=transparent] {
  stroke: #175399;
  r: 35.5px;
  stroke-width: 2.5;
  stroke-dasharray: 4 3;
}
.edge-selection [data-square]:focus-visible > [data-input-ring]:not([data-selected]) {
  visibility: visible;
  stroke: #175399;
  stroke-dasharray: 4 3;
}
@media (forced-colors: active) {
  .family-app .match-board-shell:not(.edge-selection) svg.board [data-square]:focus-visible > circle[fill=transparent],
  .edge-selection [data-square]:focus-visible > [data-input-ring],
  .edge-selection [data-selected] {
    stroke: Highlight;
  }
}

/* ../prototypes/core-local/src/match/lobby-banner.css */
.family-lobby-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* ../prototypes/core-local/src/family/family-message-entry.css */
.family-app .fc-message-entry {
  position: relative;
  display: inline-grid;
  place-items: center;
  isolation: isolate;
  color: var(--fc-blue,#4562e8);
  background:
    linear-gradient(
      145deg,
      #ffffffeb,
      #edf1ffdb);
  border: 1px solid #ffffffd9;
  box-shadow: 0 3px 12px #576ed514, inset 0 1px 0 #fff;
  transition: background .16s, box-shadow .16s;
}
.family-app .fc-message-entry:hover {
  background: #f5f7ff;
  box-shadow: 0 4px 15px #576ed522;
}
.family-app .fc-message-entry:focus-visible {
  outline: 2px solid var(--fc-blue,#4562e8);
  outline-offset: 3px;
}
.family-app .fc-message-entry .fc-message-mark {
  display: block;
  flex: none;
}
.family-app .fc-message-icon-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  line-height: 0;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-message-entry .fc-message-icon-wrap > .fc-notice-counter {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 20px;
  min-width: 20px;
  height: 20px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  z-index: 2;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby .fc-message-entry .fc-message-icon-wrap > .fc-notice-counter[data-count-shape=pill] {
  width: auto;
  min-width: 24px;
  padding-inline: 4px;
  border-radius: 999px;
}
.family-app .ui-me-message-card {
  grid-template-columns: 31px minmax(0, 1fr) auto;
}
.family-app .ui-me-message-card .ui-me-family-detail {
  display: flex;
  align-items: center;
  gap: 7px;
}
.family-app .ui-me-message-card .fc-message-total {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  font-size: 10px;
  border-radius: 9px;
  background: #e5ecff;
  color: #4764d5;
}
.family-app .ui-me-message-card .ui-me-family-icon {
  background: #edf1ff;
  color: #4862e9;
}
@media (prefers-reduced-motion: reduce) {
  .family-app .fc-message-entry {
    transition: none;
  }
}

/* ../prototypes/core-local/src/family/family-home.css */
.family-app .fc-home-hero {
  padding: 8px 10px;
  background: var(--fc-surface);
}
.family-app .fc-home-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.family-app .fc-home-greeting {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fc-ink);
  text-align: left;
  box-shadow: none;
}
.family-app .fc-home-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  transform: translateX(-4.73%);
}
.family-app .fc-home-greeting strong {
  font-size: var(--fc-ui-title-size,20px);
  font-weight: var(--fc-ui-title-weight,700);
  line-height: 1.2;
}
.family-app .fc-home-greeting > span {
  font-size: 13px;
  color: var(--fc-secondary);
  overflow-wrap: anywhere;
}
.family-app .fc-home-greeting > span svg {
  vertical-align: middle;
}
.family-app .fc-home-tools {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.family-app .fc-round-button {
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--fc-blue-soft);
  color: var(--fc-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.family-app .fc-home .family-lobby-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  border-radius: 10px;
  object-fit: contain;
}
.family-app .fc-home-sections {
  padding: 8px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.family-app .fc-home-main,
.family-app .fc-home-side {
  display: contents;
}
.family-app .fc-home .ui-lobby-member-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  box-shadow: none;
}
.family-app .fc-home .ui-lobby-member-person > strong {
  width: 100%;
  font: inherit;
  text-align: center;
}
.family-app .fc-home .ui-lobby-member-tile > .fc-member-list-actions {
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.family-app .fc-home .ui-lobby-tables .fc-section-title > .fc-icon {
  width: 32px;
  height: 32px;
}
.family-app .fc-home .fc-section-head {
  gap: 6px 8px;
  margin-bottom: 2px;
}
.family-app .fc-home .fc-section-head > .fc-section-title {
  margin: 0;
}
.family-app .fc-home .fc-home-pending {
  min-height: 28px;
  margin-bottom: 0;
}
.family-app .fc-home-summary {
  margin-left: auto;
  font-size: 12px;
  color: var(--fc-secondary);
}
.family-app .fc-home .fc-section-head > .fc-link {
  font-size: 13px;
  flex-shrink: 0;
}
.family-app .fc-home-room-art {
  width: 36px;
  height: 40px;
  flex: 0 0 36px;
}
.family-app .fc-home-room-art > .fc-icon {
  width: 24px;
  height: 24px;
}
.family-app .fc-home-room-list .fc-row {
  padding: 4px 0;
  gap: 8px;
}
.family-app .fc-home-room-list .fc-row-main p {
  font-size: 12px;
  margin: 2px 0 0;
}
.family-app .fc-home .fc-shortcuts {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  padding: 4px 0 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--fc-muted) var(--fc-blue-soft);
}
.family-app .fc-home {
  --fc-home-shortcut-width:clamp(104px,28vw,128px);
}
.family-app .fc-home .fc-shortcuts > .fc-shortcut {
  flex: 0 0 var(--fc-home-shortcut-width);
  scroll-snap-align: start;
}
.family-app .fc-home .fc-shortcuts::-webkit-scrollbar {
  height: 6px;
}
.family-app .fc-home .fc-shortcuts::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: var(--fc-muted);
}
.family-app .fc-home .fc-shortcuts::-webkit-scrollbar-track {
  border-radius: 3px;
  background: var(--fc-blue-soft);
}
.family-app .fc-home .fc-shortcut {
  padding: 4px 3px;
  gap: 3px;
  min-height: 56px;
}
.family-app .fc-home .fc-shortcut small {
  margin-top: auto;
}
.family-app .fc-home-utilities {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  align-items: stretch;
  gap: 8px;
  padding: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.family-app .fc-home-utilities > .fc-action {
  min-width: 0;
  min-height: 48px;
  max-width: 100%;
  padding: 8px;
  text-decoration: none;
  justify-content: center;
  line-height: 1.35;
  text-align: center;
  font-size: 13px;
  white-space: normal;
}
.family-app .fc-home-utilities > .fc-action > span {
  min-width: 0;
}
.family-app .fc-home-utilities > .fc-action > .fc-icon {
  flex-shrink: 0;
}
.family-app .fc-home-external {
  font-size: 12px;
  opacity: .75;
}
@media (max-width: 400px) {
  .family-app .fc-home-utilities .fc-home-external {
    display: none;
  }
}
.family-app .fc-home-install {
  color: var(--fc-ink);
  font-size: var(--fc-label-size,15px);
  line-height: 1.6;
}
.family-app .fc-home-install p {
  margin: 0 0 12px;
}
.family-app .fc-home-install ol {
  padding-left: 24px;
  margin: 0 0 14px;
}
.family-app .fc-home-install li + li {
  margin-top: 6px;
}
.family-app .fc-home-install .fc-install-note {
  color: var(--fc-secondary);
  font-size: var(--fc-small-size,13px);
  margin-bottom: 0;
}
@media (max-width: 350px) {
  .family-app .fc-home-greeting strong {
    font-size: var(--fc-ui-title-size,20px);
  }
  .family-app .fc-home-brand {
    gap: 5px;
  }
  .family-app .fc-home-brand > svg {
    width: 26px;
    height: 26px;
  }
  .family-app .fc-home-tools {
    gap: 2px;
  }
  .family-app .fc-action-face > .fc-icon {
    display: none;
  }
  .family-app .fc-home .fc-section-head {
    flex-wrap: wrap;
  }
  .family-app .fc-home .fc-home-pending {
    flex-wrap: nowrap;
  }
  .family-app .fc-home-summary {
    font-size: 12px;
  }
}
@media (min-width: 700px) {
  .family-app .fc-home {
    --fc-home-shortcut-width:clamp(144px,18vw,176px);
  }
  .family-app .fc-home-hero {
    padding: 16px var(--fc-shell-inset);
  }
  .family-app .fc-home-brand {
    gap: 12px;
  }
  .family-app .fc-home-greeting strong {
    font-size: var(--fc-page-title-size);
  }
  .family-app .fc-home-greeting > span {
    font-size: 16px;
    margin-top: 4px;
  }
  .family-app .fc-home-tools {
    gap: 8px;
  }
  .family-app .fc-round-button {
    width: 48px;
    height: 48px;
  }
  .family-app .fc-home-sections {
    padding: 16px var(--fc-shell-inset) 20px;
    gap: 14px;
  }
  .family-app .fc-home-utilities {
    grid-template-columns: minmax(144px, max-content) minmax(240px, max-content);
    justify-content: start;
    gap: 12px;
  }
  .family-app .fc-home-utilities > .fc-action {
    font-size: var(--fc-label-size);
    padding: 10px 16px;
  }
  .family-app .fc-home .fc-section-head {
    gap: 10px;
    margin-bottom: 8px;
  }
  .family-app .fc-home .fc-home-pending {
    min-height: 32px;
    margin-bottom: 0;
  }
  .family-app .fc-home-summary,
  .family-app .fc-home-room-list .fc-row-main p {
    font-size: var(--fc-small-size);
  }
  .family-app .fc-home .fc-section-head > .fc-link {
    font-size: var(--fc-label-size);
  }
  .family-app .fc-home-room-art {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .family-app .fc-home-room-art > .fc-icon {
    width: 28px;
    height: 28px;
  }
  .family-app .fc-home-room-list .fc-row {
    padding-block: 10px;
    gap: 12px;
  }
  .family-app .fc-home .fc-shortcut {
    min-height: 94px;
    padding: 10px 6px;
    gap: 6px;
  }
}
@media (min-width: 1100px) {
  .family-app .fc-home {
    --fc-home-shortcut-width:clamp(160px,12vw,192px);
  }
}
@media (min-width: 1000px) and (orientation: landscape), (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .family-app .fc-home-brand > .fc-icon {
    width: 36px;
    height: 36px;
  }
  .family-app .fc-home-sections {
    gap: var(--fc-column-gap);
    align-items: start;
  }
  .family-app .fc-home .fc-shortcut {
    min-height: 108px;
  }
}
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .family-app .fc-home-hero {
    padding-block: 18px;
  }
  .family-app .fc-home-sections {
    padding-block: 18px 22px;
  }
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-strip .ui-lobby-member-tile .ui-lobby-avatar {
  width: 68px;
  height: 68px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-strip .ui-lobby-member-tile .fc-profile-avatar {
  --fc-profile-avatar-size:42;
  width: 68px;
  height: 68px;
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-strip .fc-profile-avatar[data-native-frame=true] > .fc-profile-avatar-scale {
  transform: translate(-50%, -50%) scale(calc(var(--fc-profile-avatar-size)/var(--fc-profile-portrait-diameter)));
}
body[data-family-approved] .family-app.family-approved[data-ui-module=lobby] .ui-lobby-member-strip .ui-lobby-avatar > i {
  right: 13px;
  bottom: 13px;
}

/* ../prototypes/core-local/src/family/family-lobby.css */
.family-app .fc-home-members .fc-section-head {
  gap: 8px;
  flex-wrap: wrap;
}
.fc-member-online {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--fc-green);
  font-weight: 600;
}
.fc-member-online i {
  width: 6px;
  height: 6px;
  background: var(--fc-green);
  border-radius: 50%;
}
.fc-member-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.fc-member-avatar-list {
  display: flex;
  flex: 1;
  gap: 12px;
  min-width: 0;
  overflow: auto;
  padding: 2px 0 5px;
  scroll-snap-type: x proximity;
}
.family-app .fc-member-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  flex: 0 0 64px;
  min-width: 0;
  min-height: 90px;
  padding: 4px 0;
  background: transparent;
  border: 0;
  color: var(--fc-ink);
  box-shadow: none;
  scroll-snap-align: start;
}
.fc-member-avatar {
  display: grid;
  place-items: center;
  position: relative;
  width: 40px;
  height: 40px;
  background: var(--fc-blue-soft);
  border-radius: 50%;
  color: var(--fc-secondary);
  flex: none;
}
.fc-member-avatar[data-online=false] {
  background: var(--fc-slate-soft);
  color: var(--fc-slate);
}
.fc-member-avatar i {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--fc-slate);
  right: 0;
  bottom: 0;
}
.fc-member-avatar[data-online=true] i {
  background: var(--fc-green);
}
.fc-member-person strong {
  font-size: 12px;
  white-space: nowrap;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-member-person small {
  font-size: 11px;
  color: var(--fc-muted);
}
.fc-member-person small[data-online=true] {
  color: var(--fc-green);
}
.fc-member-person small[data-playing=true] {
  color: var(--fc-gold);
}
.family-app .fc-member-quick {
  flex: none;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 12px;
  background: var(--fc-blue);
}
.fc-member-directory {
  display: grid;
  gap: 14px;
}
.fc-directory-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,14px);
  padding: 3px 12px;
}
.fc-directory-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.fc-member-directory-list {
  max-height: 50dvh;
  overflow: auto;
  display: grid;
  gap: 5px;
}
.family-app .fc-member-directory-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: var(--fc-ui-panel-radius,14px);
  background: var(--fc-surface);
  padding: 10px;
  color: var(--fc-ink);
  text-align: left;
  box-shadow: none;
}
.fc-member-directory-row > span:nth-child(2) {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.fc-member-directory-row small {
  font-size: 12px;
  color: var(--fc-secondary);
}
.fc-member-directory-row > :last-child {
  margin-left: auto;
}
.fc-member-directory-row input {
  width: 22px;
  height: 22px;
}
.fc-member-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.fc-member-profile > .fc-member-avatar {
  width: 72px;
  height: 72px;
}
.family-app .fc-table-counters {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.family-app .fc-table-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 5px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--fc-secondary);
  font-size: 13px;
  box-shadow: none;
}
.fc-table-counter[data-status=playing] .fc-icon {
  color: var(--fc-green);
}
.fc-table-counter[data-status=waiting] .fc-icon {
  color: var(--fc-slate);
}
.fc-table-counter[data-status=playing] {
  color: var(--fc-green);
}
.family-app .fc-home-rooms .fc-section-head {
  gap: 6px;
  flex-wrap: wrap;
}
.family-app .fc-home-rooms .fc-section-head > .fc-link {
  font-size: 12px;
}
.family-app .fc-home-room-list {
  max-height: 250px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.family-app .fc-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  min-width: 0;
}
.family-app .fc-table-row + .fc-table-row {
  border-top: 1px solid var(--fc-border);
}
.fc-table-name {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
}
.family-app .fc-table-name h3 {
  font-size: var(--fc-ui-subtitle-size,14px);
  font-weight: var(--fc-ui-title-weight,600);
  line-height: 1.4;
  overflow-wrap: anywhere;
  min-width: 0;
  flex: 1;
}
.family-app .fc-table-name .fc-help-trigger {
  width: 32px;
  height: 44px;
  min-height: 44px;
  flex: none;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--fc-secondary);
  box-shadow: none;
}
.fc-table-players {
  display: flex;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  color: var(--fc-secondary);
}
.fc-table-players span:not([aria-hidden]) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46%;
}
.fc-table-players [data-side=red] {
  color: #af3641;
}
.fc-table-state {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
  font-size: 11px;
}
.fc-table-status {
  color: var(--fc-muted);
}
.fc-table-status[data-active=true] {
  color: var(--fc-green);
}
.fc-table-watchers {
  display: flex;
  gap: 4px;
  align-items: center;
  color: var(--fc-secondary);
}
.family-app .fc-table-row .fc-action-face {
  min-height: 30px;
  padding: 3px 8px;
  min-width: 64px;
  font-size: 12px;
}
.fc-table-list-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block: 12px;
}
.fc-table-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
  padding: 2px 12px;
  background: var(--fc-canvas);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,14px);
}
.fc-table-search input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.family-app .fc-table-filter-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 8px 0;
}
.family-app .fc-table-filter-tabs button {
  min-height: 44px;
  font-size: 13px;
}
.fc-entry-setup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-block: 4px;
}
.fc-entry-setup .fc-link {
  min-height: 44px;
}
.fc-entry-config-summary {
  font-size: 12px;
  color: var(--fc-secondary);
}
.family-app .fc-entry-compact {
  display: grid;
  gap: 14px;
}
.family-app .fc-entry-compact > .fc-game-entry {
  padding: 14px;
  border-radius: 18px;
  min-width: 0;
}
.family-app .fc-entry-compact .fc-game-entry > h3 {
  display: none;
}
.family-app .fc-entry-compact .fc-entry-simple {
  display: flex;
  align-items: center;
  gap: 2px;
}
.family-app .fc-entry-compact .fc-entry-simple > .fc-action {
  flex: 1;
  min-height: 52px;
}
.family-app .fc-member-tables[data-compact=true] > h3 {
  display: none;
}
.family-app .fc-member-tables[data-compact=true] .fc-member-visibility {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}
.family-app .fc-member-tables[data-compact=true] fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.family-app .fc-member-tables[data-compact=true] legend {
  display: none;
}
.family-app .fc-member-tables[data-compact=true] form > button {
  width: 100%;
  margin-top: 10px;
}
.fc-member-title-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.fc-member-title-help > strong {
  font-size: 14px;
}
.family-app .fc-member-tables[data-compact=true] .fc-member-recipient-picker {
  margin-top: 8px;
  font-size: 13px;
}
.family-app .fc-member-tables[data-compact=true] .fc-member-recipient-picker > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 350px) {
  .family-app .fc-member-quick {
    padding: 8px;
    font-size: 11px;
  }
  .fc-member-strip {
    gap: 6px;
  }
  .fc-member-avatar-list {
    gap: 7px;
  }
  .fc-member-online {
    font-size: 11px;
  }
  .fc-member-person {
    flex-basis: 58px;
  }
  .family-app .fc-home-rooms .fc-section-head > .fc-link {
    margin-left: auto;
  }
  .family-app .fc-table-counters {
    gap: 0;
  }
  .family-app .fc-table-counter {
    padding-inline: 5px;
  }
}
.family-app .fc-entry-settings {
  display: grid;
  gap: 18px;
}
.fc-entry-settings label {
  display: grid;
  gap: 10px;
}
.fc-entry-settings select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,12px);
  padding: 8px;
  background: var(--fc-surface);
  color: var(--fc-ink);
}
@media (min-width: 700px) {
  .fc-member-strip {
    gap: 18px;
  }
  .fc-member-avatar-list {
    gap: 16px;
  }
  .family-app .fc-member-person {
    flex-basis: 76px;
    min-height: 104px;
  }
  .fc-member-avatar {
    width: 48px;
    height: 48px;
  }
  .fc-member-person strong {
    max-width: 76px;
    font-size: 13px;
  }
  .fc-member-person small {
    font-size: 12px;
  }
  .family-app .fc-member-quick {
    font-size: 14px;
    padding: 10px 18px;
  }
  .family-app .fc-home-room-list {
    max-height: 300px;
  }
  .family-app .fc-table-name h3 {
    font-size: var(--fc-ui-subtitle-size,16px);
  }
  .fc-table-players {
    font-size: 13px;
  }
  .fc-table-state {
    font-size: 12px;
  }
  .family-app .fc-entry-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.family-app .fc-table-name .fc-help-trigger {
  width: 44px;
  min-width: 44px;
}
.family-app .fc-table-counter {
  min-width: 44px;
}
.family-app .fc-member-visibility label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.family-app .fc-game-lobby .fc-entry-compact {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.family-app .fc-entry-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(150px, 1fr) auto;
  gap: 12px;
  min-width: 0;
}
.family-app .fc-entry-primary {
  position: relative;
  min-width: 0;
  display: flex;
}
.family-app .fc-entry-card.fc-action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 160px;
  padding: 20px 14px;
  border-radius: var(--fc-ui-control-radius,18px);
  text-align: left;
  white-space: normal;
  box-shadow: var(--fc-ui-control-shadow,0 5px 16px #172e5418);
}
.family-app .fc-entry-card > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding-right: 12px;
}
.family-app .fc-entry-card strong {
  font-size: clamp(16px, 2.8vw, 22px);
  line-height: 1.25;
}
.family-app .fc-entry-card small {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(255, 255, 255, .95);
}
.family-app .fc-entry-card:disabled small {
  color: inherit;
}
.family-app .fc-entry-card > .fc-entry-arrow {
  position: absolute;
  bottom: 12px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  padding: 5px;
}
.family-app .fc-entry-card-help {
  position: absolute;
  right: 6px;
  top: 5px;
  color: white;
}
.family-app .fc-entry-card-help .fc-help-trigger {
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.family-app .fc-entry-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 84px;
  padding: 12px 10px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-panel-radius,16px);
  background: var(--fc-surface);
  color: var(--fc-ink);
  text-align: left;
  box-shadow: var(--fc-ui-panel-shadow,0 3px 12px #172e540b);
  opacity: 1;
}
.family-app .fc-entry-secondary > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.family-app .fc-entry-secondary strong {
  font-size: var(--fc-ui-title-size,14px);
  line-height: 1.25;
}
.family-app .fc-entry-secondary small {
  font-size: 11px;
  line-height: 1.4;
  color: var(--fc-secondary);
  font-weight: 400;
}
.family-app .fc-entry-secondary > .fc-icon {
  flex: none;
}
.family-app .fc-entry-secondary > .fc-icon:last-child {
  color: var(--fc-muted);
  width: 14px;
}
.family-app .fc-entry-compact > .fc-member-tables {
  align-self: stretch;
  gap: 12px;
  padding: 16px;
}
.family-app .fc-member-tables[data-compact=true] .fc-member-title-help > strong {
  font-size: 18px;
}
.family-app .fc-member-tables[data-compact=true] > form {
  width: 100%;
  margin-top: auto;
}
.family-app .fc-member-tables[data-compact=true] .fc-member-recipient-picker > summary {
  justify-content: space-between;
}
.family-app .fc-member-tables .fc-directory-search input {
  width: 100%;
  height: auto;
  min-height: 44px;
  flex: 1;
  padding: 6px 0;
}
.family-app .fc-member-tables[data-compact=true] .fc-member-recipient-list {
  max-height: 180px;
  overflow: auto;
  overscroll-behavior: contain;
}
.family-app .fc-home .fc-section-title {
  font-size: var(--fc-ui-title-size,17px);
  line-height: 1.35;
}
.family-app .fc-home .fc-table-counters {
  gap: 2px;
  flex-wrap: wrap;
  margin-left: 0;
}
.family-app .fc-home .fc-table-counter {
  font-size: 12px;
  padding-inline: 5px;
  gap: 4px;
}
.family-app .fc-home .fc-table-counter strong {
  font-weight: 700;
}
.family-app .fc-home .fc-home-rooms .fc-section-head > .fc-link {
  margin-left: auto;
}
.family-app .fc-home .fc-home-members {
  padding: 8px 10px;
}
.family-app .fc-home .fc-home-members > .fc-section-head {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 6px;
  margin: 0;
  min-height: 44px;
}
.family-app .fc-home .fc-home-members > .fc-section-head > .fc-section-title {
  margin: 0;
}
.family-app .fc-member-head-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
  margin-left: auto;
}
.family-app .fc-member-head-actions > .fc-member-quick {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
}
.family-app .fc-home-members .fc-member-strip {
  display: flex;
  align-items: stretch;
  margin-top: 0;
}
.family-app .fc-member-home-list {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 2px 5px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.family-app .fc-home-members .fc-member-home-list > .fc-member-directory-row {
  display: flex;
  flex-direction: row;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 4px 6px;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-panel-radius,12px);
  scroll-snap-align: start;
}
.family-app .fc-member-home-list > .fc-member-directory-row > .fc-member-identity {
  flex: 0 0 auto;
  width: 170px;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  text-align: left;
}
.family-app .fc-member-home-list .fc-member-identity > .fc-member-avatar {
  width: 32px;
  height: 32px;
  margin: 0;
}
.family-app .fc-member-home-list .fc-member-avatar > .fc-profile-avatar {
  --fc-profile-avatar-size:32;
}
.family-app .fc-member-home-list .fc-member-name {
  min-width: 0;
  flex: 1;
  gap: 3px;
}
.family-app .fc-member-home-list .fc-member-name strong {
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.family-app .fc-member-home-list .fc-member-name small {
  font-size: 11px;
  line-height: 1.4;
}
.family-app .fc-member-home-list .fc-member-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0;
}
.family-app .fc-member-home-list .fc-member-actions > .fc-action,
.family-app .fc-member-home-list .fc-member-actions > .fc-link {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 8px;
  font-size: 12px;
  white-space: nowrap;
}
.family-app .fc-member-home-list .fc-member-relation {
  font-size: 11px;
  min-height: 44px;
  padding-inline: 4px;
}
.family-app .fc-member-identity small[data-online=true],
.family-app .fc-member-name small[data-online=true] {
  color: var(--fc-green);
}
.family-app .fc-member-identity small[data-playing=true],
.family-app .fc-member-name small[data-playing=true] {
  color: var(--fc-gold);
}
.family-app .fc-member-self {
  font-size: 12px;
  color: var(--fc-muted);
  font-weight: 400;
  white-space: nowrap;
}
.family-app .fc-member-feedback {
  font-size: 12px;
  line-height: 1.45;
  color: var(--fc-secondary);
  margin: 4px 0 0;
}
.family-app > .match-backdrop:has(.fc-member-directory) {
  padding: 12px;
  align-items: center;
}
.family-app > .match-backdrop > .match-sheet:has(.fc-member-directory) {
  display: flex;
  flex-direction: column;
  width: min(780px, 100%);
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  padding: 18px;
  border-radius: var(--fc-ui-modal-radius,20px);
}
.family-app .match-sheet:has(.fc-member-directory) > header {
  flex: none;
  margin-bottom: 12px;
}
.family-app .match-sheet:has(.fc-member-directory) > header > button {
  min-width: 44px;
  min-height: 44px;
}
.family-app .match-sheet:has(.fc-member-directory) > header > h2 {
  font-size: var(--fc-ui-title-size,20px);
  line-height: 1.3;
}
.family-app .fc-member-directory {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow: hidden;
}
.family-app .fc-member-directory > .fc-directory-search {
  flex: none;
}
.family-app .fc-member-directory-list {
  min-height: 0;
  max-height: none;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.family-app .fc-member-directory-row {
  flex: none;
  padding: 10px;
  gap: 12px;
}
.family-app .fc-member-directory-row strong {
  font-size: 14px;
  line-height: 1.35;
}
.family-app .fc-member-directory-row small {
  font-size: 12px;
  line-height: 1.35;
}
.family-app .fc-member-directory-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--fc-secondary);
  flex: none;
}
.family-app .fc-member-directory-summary strong {
  color: var(--fc-green);
}
.family-app .fc-member-directory-empty {
  padding: 20px 10px;
  text-align: center;
  color: var(--fc-muted);
  font-size: 13px;
}
.family-app .fc-member-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 44px;
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fc-ink);
  text-align: left;
  box-shadow: none;
}
.family-app .fc-member-identity > .fc-member-avatar {
  margin-left: 0;
}
.family-app .fc-member-identity > .fc-member-name {
  margin-left: 0;
}
.family-app .fc-member-identity > .fc-member-name {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.family-app .fc-member-identity strong {
  overflow-wrap: anywhere;
}
.family-app .fc-member-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}
.family-app .fc-member-actions > .fc-action,
.family-app .fc-member-actions > .fc-link {
  min-height: 44px;
  padding: 8px 10px;
  font-size: 12px;
  gap: 5px;
  border-radius: var(--fc-ui-control-radius,11px);
}
.family-app .fc-member-actions > .fc-action .fc-icon,
.family-app .fc-member-actions > .fc-link .fc-icon {
  width: 16px;
  height: 16px;
}
.family-app .fc-member-relation {
  font-size: 12px;
  color: var(--fc-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding-inline: 7px;
}
.family-app .fc-member-profile > .fc-member-actions {
  justify-content: center;
  margin-left: 0;
}
@media (max-width: 620px) {
  .family-app .fc-home .fc-home-rooms > .fc-section-head {
    flex-wrap: nowrap;
    gap: 4px;
    min-height: 44px;
  }
  .family-app .fc-home .fc-home-rooms > .fc-section-head > .fc-section-title {
    font-size: var(--fc-ui-title-size,14px);
    gap: 4px;
    white-space: nowrap;
  }
  .family-app .fc-home .fc-home-rooms .fc-table-counters {
    margin-left: auto;
    flex-wrap: nowrap;
    gap: 0;
  }
  .family-app .fc-home .fc-home-rooms .fc-table-counter {
    min-width: 44px;
    padding-inline: 3px;
  }
  .family-app .fc-home .fc-home-rooms .fc-table-counter > span {
    font-size: 0;
  }
  .family-app .fc-home .fc-home-rooms .fc-table-counter strong {
    font-size: 12px;
  }
  .family-app .fc-home .fc-home-rooms > .fc-section-head > .fc-link {
    font-size: 0;
    min-width: 44px;
    width: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
    gap: 0;
  }
  .family-app .fc-home .fc-home-members > .fc-section-head > .fc-section-title {
    font-size: var(--fc-ui-title-size,14px);
    gap: 5px;
    white-space: nowrap;
    flex: none;
  }
  .family-app .fc-home-members > .fc-section-head > .fc-section-title > .fc-icon {
    width: 18px;
    height: 18px;
  }
  .family-app .fc-home-members .fc-member-online {
    font-size: 12px;
    gap: 3px;
    white-space: nowrap;
  }
  .family-app .fc-home-members .fc-member-online > span {
    display: none;
  }
  .family-app .fc-member-head-actions > .fc-link,
  .family-app .fc-member-head-actions > .fc-member-quick {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
  }
  .family-app .fc-member-head-actions .fc-member-control-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .family-app > .match-backdrop:has(.fc-member-directory) {
    align-items: flex-end;
    padding: 8px;
  }
  .family-app > .match-backdrop > .match-sheet:has(.fc-member-directory) {
    max-height: calc(100dvh - 16px);
    border-radius: 22px 22px 14px 14px;
    padding: 16px 12px max(12px, env(safe-area-inset-bottom));
  }
  .family-app .fc-member-directory-row:has(.fc-member-actions) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 10px 8px;
  }
  .family-app .fc-member-actions {
    justify-content: flex-start;
    margin-left: 52px;
    gap: 6px;
  }
  .family-app .fc-member-actions > .fc-action,
  .family-app .fc-member-actions > .fc-link {
    padding: 7px 9px;
  }
}
@media (max-width: 359px) {
  .family-app .fc-entry-options {
    gap: 8px;
  }
  .family-app .fc-entry-card.fc-action {
    padding: 18px 10px;
    min-height: 155px;
  }
  .family-app .fc-entry-card strong {
    font-size: var(--fc-ui-title-size,15px);
  }
  .family-app .fc-entry-card small {
    font-size: 11px;
    max-width: 15ch;
  }
  .family-app .fc-entry-secondary {
    gap: 6px;
    padding: 10px 7px;
  }
  .family-app .fc-entry-secondary > .fc-icon:first-child {
    width: 25px;
    height: 25px;
  }
  .family-app .fc-entry-secondary strong {
    font-size: var(--fc-ui-title-size,13px);
  }
  .family-app .fc-entry-secondary small {
    font-size: 10px;
  }
}
@media (min-width: 700px) {
  .family-app .fc-entry-options {
    grid-template-rows: minmax(180px, 1fr) auto;
    gap: 14px;
  }
  .family-app .fc-entry-card.fc-action {
    min-height: 180px;
    padding: 24px;
    gap: 16px;
  }
  .family-app .fc-entry-card small {
    font-size: 14px;
  }
  .family-app .fc-entry-secondary {
    min-height: 96px;
    padding: 16px;
    gap: 12px;
  }
  .family-app .fc-entry-secondary strong {
    font-size: var(--fc-ui-title-size,17px);
  }
  .family-app .fc-entry-secondary small {
    font-size: 13px;
  }
  .family-app .fc-home .fc-section-title {
    font-size: var(--fc-ui-title-size,20px);
  }
  .family-app .fc-home .fc-table-counter {
    font-size: 13px;
  }
}
@media (min-width: 900px) and (orientation: landscape), (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .family-app .fc-game-lobby .fc-entry-compact {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 18px;
  }
  .family-app .fc-entry-card.fc-action {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 25px 18px;
  }
  .family-app .fc-entry-card > .fc-icon:first-child {
    width: 42px;
    height: 42px;
    flex: none;
  }
  .family-app .fc-entry-card strong {
    font-size: var(--fc-ui-title-size,20px);
  }
  .family-app .fc-entry-card small {
    font-size: 13px;
  }
  .family-app .fc-entry-compact > .fc-member-tables {
    padding: 18px;
  }
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module=lobby] .ui-lobby-account-menu > button + button {
  margin-top: 6px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module=lobby] .fc-member-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 8px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module=lobby] .fc-member-search-bar > .fc-directory-search {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0 8px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module=lobby] .fc-member-search-bar input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 20px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module=lobby] .fc-member-online-count {
  flex: none;
  white-space: nowrap;
  font-size: 12px;
  line-height: 18px;
  color: var(--gp-muted,var(--fc-secondary));
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module=lobby] .ui-lobby-directory-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module=lobby] .ui-lobby-directory-person {
  flex: 1;
  min-width: 0;
  min-height: 44px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module=lobby] .fc-member-list-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module=lobby] .fc-member-list-actions > .fc-member-list-action {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  border-radius: 12px;
}
body:is([data-family-approved], [data-ui-theme]) .family-app:is(.family-approved, .ui-interactive)[data-ui-module=lobby] .fc-member-list-action > .fc-icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ../prototypes/core-local/src/family/family-catalog.css */
.family-app .fc-rooms,
.family-app .fc-games {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.family-app .fc-rooms .fc-section,
.family-app .fc-games .fc-section {
  min-width: 0;
}
.family-app :is(.fc-game-tools, .fc-game-primary, .fc-game-secondary) {
  display: contents;
}
.family-app .fc-game-primary:has(> .fc-game-card) + .fc-game-secondary > .fc-game-card:first-child {
  border-top: 1px solid var(--fc-border,#e2e5e9);
}
.family-app .fc-catalog-muted {
  color: var(--fc-muted,#63758c);
  font-size: var(--fc-label-size);
  line-height: 1.5;
  margin: 0;
}
.family-app .fc-room-row .fc-row-main > h3,
.family-app .fc-preview-hero h3,
.family-app .fc-game-heading h3 {
  margin: 0;
  font-size: var(--fc-item-title-size);
  font-weight: var(--fc-label-weight);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.family-app .fc-room-tabs.fc-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding-block: 0;
}
.family-app .fc-room-tabs.fc-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 44px;
  padding: 6px 4px;
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
  line-height: 1.25;
  white-space: normal;
}
.family-app .fc-room-tabs.fc-tabs svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.family-app .fc-room-game-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.family-app .fc-room-game-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
  padding: 0 8px 0 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--fc-ink);
  font-size: var(--fc-item-title-size);
  font-weight: var(--fc-label-weight);
  cursor: pointer;
}
.family-app .fc-room-game-choice > .fc-icon-tile {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.family-app .fc-room-game-choice .fc-icon {
  width: var(--fc-shortcut-icon-size);
  height: var(--fc-shortcut-icon-size);
}
.family-app .fc-room-game-choice:focus-visible {
  outline: 3px solid var(--fc-blue-bright);
  outline-offset: 2px;
}
.family-app .fc-room-match-tabs.fc-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 0;
}
.family-app .fc-room-match-tabs.fc-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 44px;
  padding: 5px 4px;
  font-size: var(--fc-label-size);
  line-height: 1.25;
  white-space: normal;
}
.family-app .fc-room-match-tabs small {
  font-size: var(--fc-small-size,12px);
  font-weight: 400;
}
.family-app .fc-room-match-tabs button:disabled {
  color: var(--fc-muted,#63758c);
  opacity: 1;
  cursor: default;
}
.family-app .fc-room-unavailable .fc-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
}
.family-app .fc-room-tabs.fc-tabs > button:not([aria-pressed=true]) svg {
  color: var(--fc-tone,var(--fc-ink));
}
.family-app .fc-room-list,
.family-app .fc-game-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.family-app .fc-rooms .fc-room-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}
.family-app .fc-rooms .fc-room-row + .fc-room-row,
.family-app .fc-games .fc-game-card + .fc-game-card {
  border-top: 1px solid var(--fc-border,#e2e5e9);
}
.family-app .fc-rooms .fc-room-row > .fc-icon-tile {
  width: 32px;
  height: 36px;
  border-radius: 9px;
}
.family-app .fc-rooms .fc-room-row > .fc-icon-tile svg {
  width: var(--fc-shortcut-icon-size);
  height: var(--fc-shortcut-icon-size);
}
.family-app .fc-rooms .fc-room-row .fc-row-main > p {
  font-size: 12px;
  margin: 0;
  color: var(--fc-muted,#63758c);
}
.family-app .fc-room-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  font-size: 12px;
  color: var(--fc-muted,#63758c);
}
.family-app .fc-room-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.family-app .fc-room-meta svg {
  width: 14px;
  height: 14px;
}
.family-app .fc-room-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.family-app .fc-room-actions .fc-action-face > .fc-icon {
  width: 16px;
  height: 16px;
}
.family-app .fc-room-empty {
  padding: 2px 0;
}
.family-app .fc-room-manage {
  margin-top: 8px;
}
.family-app .fc-room-manage > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
}
.family-app .fc-catalog-details {
  min-width: 0;
}
.family-app .fc-catalog-details > summary {
  min-height: 44px;
  padding: 10px 0;
  color: var(--fc-blue);
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
  line-height: 1.5;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.family-app .fc-catalog-details > summary:focus-visible {
  outline: 3px solid var(--fc-blue-bright);
  outline-offset: 2px;
}
.family-app .fc-rooms .catalog-table-filters {
  margin: 0 0 8px;
}
.family-app .fc-rooms .catalog-table-filter-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.family-app .fc-rooms .catalog-table-filter-fields > button {
  align-self: end;
  justify-self: start;
  min-height: 44px;
}
.family-app .fc-room-preview {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.family-app .fc-room-preview > h2 {
  margin: 0;
  font-size: var(--fc-page-title-size);
  overflow-wrap: anywhere;
}
.family-app .fc-preview-back {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.family-app .fc-preview-hero {
  display: flex;
  align-items: center;
  gap: 12px;
}
.family-app .fc-preview-hero > div {
  min-width: 0;
}
.family-app .fc-preview-hero > .fc-icon-tile {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.family-app .fc-preview-hero > .fc-icon-tile svg {
  width: 34px;
  height: 34px;
}
.family-app .fc-preview-hero p {
  margin: 3px 0;
  font-size: var(--fc-label-size);
  color: var(--fc-muted,#63758c);
}
.family-app .fc-preview-stats,
.family-app .fc-preview-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 0;
}
.family-app .fc-preview-stats > div,
.family-app .fc-preview-settings > div {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--fc-border,#e2e5e9);
  border-radius: 10px;
}
.family-app .fc-preview-stats dt,
.family-app .fc-preview-settings dt {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--fc-muted,#63758c);
  font-size: var(--fc-label-size);
}
.family-app .fc-preview-stats dt svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.family-app .fc-preview-stats dd,
.family-app .fc-preview-settings dd {
  margin: 4px 0 0;
  font-weight: var(--fc-label-weight);
  line-height: 1.5;
  font-size: var(--fc-item-title-size);
  overflow-wrap: anywhere;
}
.family-app .fc-preview-actions {
  display: flex;
  gap: 8px;
}
.family-app .fc-preview-actions > button {
  flex: 1;
  min-height: 44px;
}
.family-app .fc-game-recent .fc-section-head {
  margin-bottom: 0;
}
.family-app .fc-game-recent > p {
  margin-top: -2px;
}
.family-app .fc-game-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  min-height: 44px;
  border: 1px solid var(--fc-border,#d9e1e9);
  border-radius: 12px;
  background: var(--fc-surface);
}
.family-app .fc-game-search > svg {
  flex-shrink: 0;
  color: var(--fc-muted,#63758c);
  width: 23px;
  height: 23px;
}
.family-app .fc-game-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 6px 0;
  font: inherit;
  color: inherit;
}
.family-app .fc-game-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.family-app .fc-games .fc-game-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  padding: 6px 0;
  align-items: start;
}
.family-app .fc-game-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.family-app .fc-game-heading h3 {
  min-width: 0;
}
.family-app .fc-game-heading > .fc-catalog-muted {
  margin-left: auto;
  flex-shrink: 0;
}
.family-app .fc-game-art.fc-icon-tile {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.family-app .fc-game-art.fc-icon-tile svg {
  width: var(--fc-shortcut-icon-size);
  height: var(--fc-shortcut-icon-size);
}
.family-app .fc-game-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.family-app .fc-game-actions button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 8px;
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
}
.family-app .fc-game-actions button > .fc-icon {
  width: 20px;
  height: 20px;
}
.family-app .fc-game-help > summary {
  padding-block: 10px;
}
.family-app .fc-game-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.family-app .fc-game-guides button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
  padding: 0;
}
.family-app .fc-game-guides svg {
  width: 17px;
  height: 17px;
}
.family-app .fc-rooms .fc-section-head,
.family-app .fc-games .fc-section-head {
  flex-wrap: wrap;
}
.family-app .fc-rooms .fc-section-head > div {
  min-width: 0;
  flex-shrink: 1;
}
.family-app .fc-game-breadcrumb {
  display: flex;
  align-items: center;
  flex: none;
  color: var(--fc-muted);
}
.family-app .fc-game-breadcrumb > .fc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}
.family-app .fc-game-intro {
  display: flex;
  align-items: center;
  gap: 12px;
}
.family-app .fc-game-intro > div {
  min-width: 0;
}
.family-app .fc-game-intro h2 {
  margin: 0;
  font-size: var(--fc-page-title-size);
  line-height: 1.3;
}
.family-app .fc-game-intro > .fc-icon-tile {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.family-app .fc-game-intro > .fc-icon-tile svg {
  width: 32px;
  height: 32px;
}
.family-app .fc-game-lobby .fc-room-match-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.family-app .fc-game-other-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.family-app .fc-game-other-modes > button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.family-app .fc-game-other-modes > button > span {
  font-size: var(--fc-small-size);
  font-weight: 400;
  color: var(--fc-muted);
}
.family-app .fc-game-preset {
  display: grid;
  gap: 8px;
}
.family-app .fc-game-preset > label {
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
}
.family-app .fc-game-preset > select {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--fc-border);
  border-radius: 10px;
  color: var(--fc-ink);
  background: var(--fc-surface);
  font: inherit;
}
.family-app .fc-game-entry-paths {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.family-app .fc-game-entry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.family-app .fc-game-entry > h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: var(--fc-item-title-size);
}
.family-app .fc-game-entry > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  width: 100%;
}
.family-app .fc-game-lobby .fc-game-intro {
  gap: 6px;
  flex-wrap: nowrap;
}
.family-app .fc-game-lobby .fc-game-intro > h2 {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  font-size: clamp(18px, 3vw, var(--fc-page-title-size));
}
.family-app .fc-game-lobby .fc-game-intro > .fc-icon-tile {
  width: 28px;
  height: 32px;
}
.family-app .fc-game-lobby .fc-game-intro > .fc-icon-tile svg {
  width: 24px;
  height: 24px;
}
.family-app .fc-game-lobby .fc-private-create {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 6px 8px;
  flex: none;
  font-size: 12px;
  white-space: nowrap;
}
.family-app .fc-room-page-tabs.fc-tabs,
.family-app .fc-room-group-tabs.fc-tabs,
.family-app .fc-home-table-groups.fc-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.family-app .fc-room-group-tabs.fc-tabs,
.family-app .fc-home-table-groups.fc-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.family-app :is(.fc-room-page-tabs, .fc-room-group-tabs, .fc-home-table-groups).fc-tabs button {
  min-height: 44px;
  min-width: 0;
  padding: 6px 4px;
  font-size: var(--fc-label-size);
  white-space: normal;
}
.family-app .fc-table-status-select {
  display: grid;
  gap: 3px;
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--fc-secondary);
}
.family-app .fc-table-status-select select {
  width: 116px;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  background: var(--fc-surface);
  color: var(--fc-ink);
  font: inherit;
}
.family-app .fc-table-clock,
.family-app .fc-table-owner {
  display: block;
  margin: 5px 0 0;
  color: var(--fc-secondary);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.family-app .fc-game-lobby .fc-quick-modes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  align-items: stretch;
}
.family-app .fc-quick-modes > .fc-entry-secondary {
  grid-column: 1/-1;
}
.family-app .fc-quick-modes .fc-entry-card {
  min-height: 150px;
}
.family-app .fc-quick-modes .fc-entry-card:hover:not(:disabled) {
  background: var(--fc-tone,var(--fc-blue));
}
@media (min-width: 700px) {
  .family-app .fc-game-lobby .fc-private-create {
    font-size: var(--fc-label-size);
    padding-inline: 14px;
  }
  .family-app .fc-game-lobby .fc-quick-modes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .family-app .fc-quick-modes > .fc-entry-secondary {
    grid-column: auto;
  }
  .family-app .fc-quick-modes .fc-entry-secondary {
    min-height: 150px;
  }
  .family-app .fc-table-status-select select {
    width: 150px;
  }
}
@media (max-width: 359px) {
  .family-app .fc-game-lobby .fc-game-intro {
    gap: 4px;
  }
  .family-app .fc-game-lobby .fc-private-create > .fc-icon {
    display: none;
  }
  .family-app .fc-table-list-tools {
    gap: 6px;
  }
  .family-app .fc-table-search {
    padding-inline: 6px;
    gap: 5px;
  }
  .family-app .fc-table-status-select select {
    width: 104px;
  }
}
@media (max-width: 520px) {
  .family-app .fc-room-actions .fc-action-face > .fc-icon {
    display: none;
  }
  .family-app .fc-rooms .catalog-table-filter-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 359px) {
  .family-app .fc-rooms .fc-room-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .family-app .fc-rooms .fc-room-row > .fc-icon-tile {
    display: none;
  }
  .family-app .fc-room-actions {
    gap: 4px;
  }
  .family-app .fc-room-actions .fc-action-face > .fc-icon {
    display: none;
  }
  .family-app .fc-room-actions .fc-action-face {
    padding-inline: 5px;
  }
}
@media (min-width: 700px) {
  .family-app .fc-game-entry-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .family-app .fc-game-preset > select {
    max-width: 650px;
  }
  .family-app .fc-rooms,
  .family-app .fc-games {
    gap: 18px;
    align-items: start;
  }
  .family-app .fc-catalog-muted,
  .family-app .fc-room-meta,
  .family-app .fc-rooms .fc-room-row .fc-row-main > p {
    font-size: var(--fc-small-size,14px);
  }
  .family-app .fc-room-tabs.fc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .family-app .fc-room-tabs.fc-tabs button {
    flex: 0 1 auto;
    padding: 10px 18px;
    min-height: 48px;
  }
  .family-app .fc-rooms .fc-room-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px;
    padding-block: 14px;
  }
  .family-app .fc-rooms .fc-room-row > .fc-icon-tile {
    width: 40px;
    height: 44px;
  }
  .family-app .fc-room-actions {
    gap: 10px;
  }
  .family-app .fc-room-actions .fc-action-face {
    min-height: 36px;
    padding: 6px 10px;
    gap: 6px;
  }
  .family-app .fc-room-filters {
    padding: 0 12px;
    margin-block: 10px;
    border: 1px solid var(--fc-border);
    border-radius: 12px;
    background: var(--fc-blue-soft);
  }
  .family-app .fc-room-filters > summary {
    padding-block: 12px;
  }
  .family-app .fc-rooms .catalog-table-filters {
    padding: 8px 0 12px;
    border: 0;
  }
  .family-app .fc-rooms .catalog-table-filters legend {
    font-size: var(--fc-small-size,14px);
  }
  .family-app .fc-rooms .catalog-table-filter-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 10px;
  }
  .family-app .fc-rooms .catalog-table-filter-fields label:first-child {
    grid-column: auto;
  }
  .family-app .fc-rooms .catalog-table-filter-fields label {
    font-size: var(--fc-label-size);
  }
  .family-app .fc-room-match-tabs.fc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .family-app .fc-room-match-tabs.fc-tabs button {
    min-height: 48px;
    min-width: 120px;
    padding: 8px 18px;
  }
  .family-app .fc-room-manage {
    justify-self: start;
    width: auto;
    max-width: 100%;
  }
  .family-app .fc-room-manage > button {
    width: auto;
    padding-inline: 20px;
  }
  .family-app .fc-preview-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .family-app .fc-preview-actions > button {
    flex: 0 1 auto;
    padding-inline: 24px;
  }
  .family-app .fc-game-search {
    min-height: 50px;
  }
  .family-app .fc-game-list {
    gap: 12px;
  }
  .family-app .fc-games .fc-game-card,
  .family-app .fc-games .fc-game-card + .fc-game-card {
    padding: 16px;
    border: 1px solid var(--fc-border);
    border-radius: 12px;
    gap: 12px;
  }
  .family-app .fc-game-card[data-ready=true] {
    padding: 22px;
  }
  .family-app .fc-game-card[data-ready=true] .fc-game-heading h3 {
    font-size: var(--fc-section-title-size);
  }
  .family-app .fc-game-card[data-ready=true] .fc-game-art {
    width: 44px;
    height: 44px;
  }
  .family-app .fc-game-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .family-app .fc-game-actions button {
    flex: 0 1 auto;
    min-height: 48px;
    padding: 10px 18px;
  }
  .family-app .fc-game-card[data-ready=false] .fc-game-actions {
    display: none;
  }
  .family-app .fc-game-card[data-ready=false] {
    gap: 4px;
  }
}
@media (min-width: 1000px) and (orientation: landscape), (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .family-app .fc-game-entry-paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .family-app .fc-room-preview {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 20px 24px;
  }
  .family-app .fc-room-preview > :is(.fc-preview-back, h2, p, .fc-empty, .fc-preview-hero, .fc-preview-actions) {
    grid-column: 1/-1;
  }
  .family-app .fc-room-preview > .fc-section:has(.fc-preview-stats) {
    grid-row: span 2;
  }
  .family-app .fc-game-tools {
    display: grid;
    gap: 12px;
    min-width: 0;
  }
  .family-app .fc-game-recent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 20px;
    padding: 8px 16px;
  }
  .family-app .fc-game-recent > .fc-section-head {
    display: contents;
  }
  .family-app .fc-game-recent .fc-section-title {
    grid-column: 1;
    grid-row: 1;
  }
  .family-app .fc-game-recent .fc-link {
    grid-column: 3;
    grid-row: 1;
  }
  .family-app .fc-game-recent > p {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
  .family-app .fc-game-list:has(> .fc-game-primary > .fc-game-card):has(> .fc-game-secondary > .fc-game-card) {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .family-app .fc-game-primary:has(> .fc-game-card),
  .family-app .fc-game-secondary:has(> .fc-game-card) {
    display: grid;
    gap: 12px;
    min-width: 0;
    align-content: start;
  }
  .family-app .fc-games .fc-game-card {
    align-content: start;
  }
}
body :is(.family-app, .family-app.family-approved[data-ui-module=games]) .family-shell .fc-rooms.fc-game-lobby.fc-games-navigation {
  width: 100%;
  max-width: var(--fc-content-max,1180px);
  margin-inline: auto;
  gap: 12px;
  align-content: start;
  padding-bottom: 12px;
}
.family-app .fc-games-navigation .fc-games-browser-head {
  display: grid;
  gap: 10px;
}
.family-app .fc-games-navigation .fc-games-toolbar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
.family-app .fc-games-navigation .fc-games-query {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  margin: 0;
  padding: 0 10px;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid #b7cdeb;
  border-radius: 15px;
  background: #f7fbffeb;
  color: var(--fc-secondary,#627597);
}
.family-app .fc-games-navigation .fc-games-query:focus-within {
  border-color: #3978d5;
  box-shadow: none;
}
.family-app .fc-games-navigation .fc-games-query > .fc-icon {
  flex: none;
}
.family-app .fc-games-navigation .fc-games-query input {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--fc-ink,#172650);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
@layer family-controls {
  .family-app .fc-games-navigation .fc-games-query > input[type=search] {
    box-sizing: border-box !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}
.family-app .fc-games-navigation .fc-games-create {
  flex: 0 0 136px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 6px 8px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  box-shadow: none;
  white-space: nowrap;
}
.family-app .fc-games-navigation .fc-games-create > .fc-icon {
  flex: none;
  width: 18px;
  height: 18px;
}
.family-app .fc-games-navigation .fc-games-create[data-owned=true] > .fc-icon {
  display: none;
}
.family-app .fc-games-navigation .fc-mode-action:focus-visible {
  outline: 3px solid var(--fc-blue,#4167e8);
  outline-offset: 2px;
}
.family-app .fc-games-navigation .fc-mode-header {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--fc-content-max,1180px);
  width: 100%;
  margin: 0 auto 4px;
}
.family-app .fc-games-navigation .fc-mode-header > button {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  min-height: 40px;
  padding: 0;
}
.family-app .fc-games-navigation .fc-mode-header > img {
  display: block;
  flex: none;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.family-app .fc-rooms.fc-game-lobby.fc-games-navigation .fc-mode-header > h2 {
  margin: 0;
  color: var(--fc-ink,#172650);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0;
}
.family-app .fc-games-navigation .fc-mode-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: auto;
  gap: 14px;
  width: 100%;
  max-width: var(--fc-content-max,1180px);
  margin-inline: auto;
}
.family-app .fc-games-navigation .fc-mode-option {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 18px 14px 15px;
  border: 1px solid #ffffffcf;
  border-radius: 22px;
  background: var(--fc-mode-surface);
  --fc-mode-surface:#fff2e8;
  --fc-mode-ink:#ad482e;
  overflow: hidden;
  box-shadow: 0 4px 12px #263b6810;
}
.family-app .fc-games-navigation .fc-mode-option[data-mode=ranked] {
  --fc-mode-surface:#e8f4ff;
  --fc-mode-ink:#315fbf;
}
.family-app .fc-games-navigation .fc-mode-option[data-mode=ai] {
  --fc-mode-surface:#f0eaff;
  --fc-mode-ink:#7042ba;
}
.family-app .fc-games-navigation .fc-mode-option[data-mode=tournament] {
  --fc-mode-surface:#eaf6f0;
  --fc-mode-ink:#527c70;
  background:
    linear-gradient(
      120deg,
      #edf8f2,
      #e4f1ed);
  border-color: #ffffffb8;
}
.family-app .fc-games-navigation .fc-mode-option[data-mode=tournament] .fc-mode-feature {
  background: #ffffff54;
  color: #66877b;
}
.family-app .fc-games-navigation .fc-mode-option[data-mode=tournament] .fc-mode-arrow {
  background: #ffffff68;
  color: #608577;
}
.family-app .fc-games-navigation .fc-mode-panel {
  position: absolute;
  z-index: -1;
  left: -10%;
  top: -22.5%;
  display: block;
  width: 120%;
  height: 145%;
  max-width: none;
  object-fit: fill;
  opacity: .8;
  pointer-events: none;
  user-select: none;
}
.family-app .fc-games-navigation .fc-mode-action {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left;
  color: var(--fc-mode-ink);
  font-family: inherit;
}
.family-app .fc-games-navigation .fc-mode-action:disabled {
  opacity: 1;
  color: var(--fc-muted,#627597);
  cursor: not-allowed;
}
.family-app .fc-games-navigation .fc-mode-action:disabled .fc-mode-icon {
  opacity: .65;
}
.family-app .fc-games-navigation .fc-mode-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  flex: none;
  background: transparent;
  color: var(--fc-mode-ink);
}
.family-app .fc-games-navigation .fc-mode-icon > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.family-app .fc-games-navigation .fc-mode-icon > img[data-mode-icon=tournament] {
  transform: scale(1.22);
}
.family-app .fc-games-navigation .fc-mode-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 0;
}
.family-app .fc-games-navigation .fc-mode-copy > strong {
  font-family: inherit;
  font-size: 19px;
  font-weight: 550;
  line-height: 24px;
  color: var(--fc-ink,#172650);
}
.family-app .fc-games-navigation .fc-mode-copy > small {
  font-size: 13px;
  font-weight: 400;
  line-height: 19px;
  color: #586e8e;
  white-space: nowrap;
}
.family-app .fc-games-navigation .fc-mode-copy > em {
  font-size: 12px;
  line-height: 17px;
  font-weight: 400;
  font-style: normal;
  color: var(--fc-secondary,#627597);
}
.family-app .fc-games-navigation .fc-mode-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid #ffffffd9;
  border-radius: 50%;
  background: #ffffff8c;
  color: var(--fc-mode-ink);
}
.family-app .fc-games-navigation .fc-mode-action:hover:not(:disabled) .fc-mode-arrow {
  background: #fff;
}
.family-app .fc-games-navigation .fc-mode-help {
  position: absolute;
  z-index: 1;
  right: 58px;
  top: 37px;
  width: 36px;
  height: 44px;
  display: grid;
  place-items: center;
}
.family-app .fc-games-navigation .fc-mode-help .fc-help-trigger {
  min-width: 36px;
  min-height: 44px;
  margin: 0;
  padding: 9px;
  border: 0;
  background: transparent !important;
  box-shadow: none;
  color: var(--fc-mode-ink) !important;
}
.family-app .fc-games-navigation .fc-mode-features {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 6px;
  margin-top: 17px;
}
.family-app .fc-games-navigation .fc-mode-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 37px;
  padding: 5px 3px;
  border: 1px solid #ffffffdb;
  background: #ffffff6b;
  border-radius: 13px;
  color: var(--fc-mode-ink);
  font-size: 11px;
  font-weight: 450;
  line-height: 14px;
  text-align: center;
  white-space: nowrap;
}
.family-app .fc-games-navigation .fc-mode-feature > .fc-icon {
  flex: none;
  width: 16px;
  height: 16px;
}
.family-app .fc-games-navigation .fc-room-game {
  margin: 0;
  padding: 0 !important;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.family-app .fc-games-navigation .fc-games-table-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0 0 12px;
}
.family-app .fc-games-table-filters .ui-table-filter {
  min-width: 0;
}
.family-app .fc-games-table-filters .ui-table-filter-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 7px 8px;
  border: 1px solid var(--fc-border,#dfe8f7);
  border-radius: 12px;
  background: var(--fc-surface,#fff);
  color: var(--fc-ink,#172650);
  font: 400 14px/20px var(--ui-font-family,system-ui);
}
.family-app .fc-games-table-filters .ui-table-filter-face {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.family-app .fc-games-table-filters .ui-table-filter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--fc-primary,#385fa8);
}
.family-app .fc-games-table-filters .ui-table-filter-icon > .fc-icon {
  flex: none;
  width: 18px;
  height: 18px;
}
.family-app .fc-games-table-filters .ui-table-filter-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.family-app .fc-games-table-filters .ui-table-filter-trigger > svg {
  flex: none;
}
@media (max-width: 520px) {
  .family-app .fc-games-navigation .fc-games-table-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr);
    gap: 4px;
  }
  .family-app .fc-games-table-filters .ui-table-filter-trigger,
  body[data-family-approved] .family-app.family-approved[data-ui-module=games] .family-shell .fc-games-navigation .fc-games-table-filters .ui-table-filter-trigger {
    gap: 2px;
    padding-inline: 2px;
    font-size: 13px;
    line-height: 20px;
  }
  .family-app .fc-games-table-filters .ui-table-filter-face {
    gap: 2px;
  }
  .family-app .fc-games-table-filters .ui-table-filter-icon,
  .family-app .fc-games-table-filters .ui-table-filter-icon > .fc-icon {
    width: 16px;
    height: 16px;
  }
  .family-app .fc-games-table-filters .ui-table-filter-trigger > svg {
    width: 10px;
    height: 10px;
  }
}
.family-app .fc-games-navigation .fc-games-table-filters > label {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 0;
  color: var(--fc-secondary,#627597);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}
.family-app .fc-games-navigation .fc-games-table-filters select {
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  padding: 6px 5px;
  border: 1px solid var(--fc-border,#dfe8f7);
  border-radius: 12px;
  background: var(--fc-surface,#fff);
  box-shadow: none;
  color: var(--fc-ink,#172650);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
}
.family-app .fc-games-navigation .fc-room-manage {
  margin-top: 0;
}
.family-app .fc-create-game {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 400;
}
.family-app .fc-create-game strong {
  font-weight: 500;
}
body .family-app:has(.fc-games-navigation) .family-shell-content {
  padding: 12px 12px 20px !important;
}
@media (min-width: 700px) {
  .family-app .fc-rooms.fc-game-lobby.fc-games-navigation {
    gap: 16px;
  }
  .family-app .fc-games-navigation .fc-games-create {
    flex-basis: 152px;
  }
  .family-app .fc-games-navigation .fc-mode-header > img {
    width: 56px;
    height: 56px;
  }
  .family-app .fc-rooms.fc-game-lobby.fc-games-navigation .fc-mode-header > h2 {
    font-size: 24px;
    line-height: 30px;
  }
  .family-app .fc-games-navigation .fc-mode-option {
    padding: 20px 22px;
  }
  .family-app .fc-games-navigation .fc-mode-action {
    grid-template-columns: 64px minmax(0, 1fr) 40px;
    gap: 15px;
  }
  .family-app .fc-games-navigation .fc-mode-icon {
    width: 64px;
    height: 64px;
  }
  .family-app .fc-games-navigation .fc-mode-copy > strong {
    font-size: 21px;
    line-height: 27px;
  }
  .family-app .fc-games-navigation .fc-mode-copy > small {
    font-size: 14px;
  }
  .family-app .fc-games-navigation .fc-mode-arrow {
    width: 40px;
    height: 40px;
  }
  .family-app .fc-games-navigation .fc-mode-help {
    top: 43px;
    right: 77px;
  }
  .family-app .fc-games-navigation .fc-mode-feature {
    font-size: 12px;
  }
  .family-app .fc-games-navigation .fc-games-table-filters {
    grid-template-columns: repeat(3, minmax(0, 180px));
  }
  body .family-app:has(.fc-games-navigation) .family-shell-content {
    padding: 20px 24px 24px !important;
  }
}
@media (max-width: 370px) {
  .family-app .fc-games-navigation .fc-mode-option {
    padding-inline: 12px;
  }
  .family-app .fc-games-navigation .fc-mode-action {
    grid-template-columns: 54px minmax(0, 1fr) 36px;
    gap: 8px;
  }
  .family-app .fc-games-navigation .fc-mode-icon {
    width: 54px;
    height: 54px;
  }
  .family-app .fc-games-navigation .fc-mode-copy > strong {
    font-size: 18px;
  }
  .family-app .fc-games-navigation .fc-mode-copy > small {
    font-size: 12px;
  }
  .family-app .fc-games-navigation .fc-mode-features {
    gap: 5px;
  }
  .family-app .fc-games-navigation .fc-mode-feature {
    font-size: 10.5px;
    gap: 3px;
  }
  .family-app .fc-games-navigation .fc-mode-feature > .fc-icon {
    width: 14px;
    height: 14px;
  }
}
@layer family-typography {
  .family-app .fc-rooms.fc-game-lobby.fc-games-navigation .fc-mode-header > h2 {
    font-size: 22px !important;
    line-height: 28px !important;
  }
  .family-app .fc-rooms.fc-game-lobby.fc-games-navigation .fc-mode-copy > strong {
    font-weight: 550 !important;
  }
  .family-app .fc-rooms.fc-game-lobby.fc-games-navigation .fc-mode-feature {
    font-weight: 450 !important;
  }
  @media (min-width: 700px) {
    .family-app .fc-rooms.fc-game-lobby.fc-games-navigation .fc-mode-header > h2 {
      font-size: 24px !important;
      line-height: 30px !important;
    }
  }
}
.fc-table-host {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 2px 7px;
  border-radius: 7px;
  background: #eef2ff;
  color: #5873ab;
  font-size: .7rem;
  white-space: nowrap;
}
.fc-table-versus {
  font-size: .85em;
  color: #6d7f99;
}
.fc-table-row .fc-table-players {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  line-height: 1.55;
}
.fc-table-row .fc-row-main {
  min-width: 0;
}
.fc-table-row .fc-row-main h3 {
  overflow-wrap: anywhere;
  margin: 0 0 5px;
}
.family-compact-content {
  display: flex;
  flex-direction: column;
  height: min(68dvh, 650px);
  min-height: 250px;
  min-width: 0;
}
.family-match-viewer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.family-match-viewer-list button {
  width: 100%;
  text-align: left;
  border: 1px solid #dce6f4;
  border-radius: 12px;
  background: #f5f8ff;
  padding: 12px;
  color: #193359;
  font: inherit;
}
.match-session-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
  background: #fff7e8;
  border: 1px solid #edd9ad;
  border-radius: 14px;
  color: #805c26;
}
.match-session-notice button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #dec99e;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.family-match-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 14px 9px;
  flex: none;
  color: #16355e;
}
.family-match-heading strong {
  font-size: 1rem;
}
.family-match-heading span {
  font-size: .85rem;
  color: #637b9d;
}

/* ../prototypes/core-local/src/family/module-backgrounds.css */
.family-shell.phone {
  position: relative;
  isolation: isolate;
}
.family-app [data-app-background=mist-blue] {
  --fc-app-background:#E8EFF5;
}
.family-app [data-app-background=sage-gray] {
  --fc-app-background:#E9F0EC;
}
.family-shell.phone[data-app-background] {
  background: var(--fc-app-background);
}
.fc-module-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--fc-app-background,var(--fc-canvas,#f8f6f1));
}
.fc-module-background > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.fc-module-background[data-fit=contain] > img {
  object-fit: contain;
}
.fc-module-background[data-position=top] > img {
  object-position: center top;
}
.fc-module-background[data-position=bottom] > img {
  object-position: center bottom;
}
.fc-module-background[data-image=true]:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .70);
}
.fc-module-background[data-image=true][data-wash=strong]:after {
  background: rgba(255, 255, 255, .88);
}
.fc-background-editor {
  display: grid;
  gap: 14px;
  color: var(--fc-ink,#111a56);
  min-width: 0;
}
.fc-background-editor label {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-size: 14px;
}
.fc-background-editor :is(select, input) {
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  font: inherit;
  color: inherit;
  border: 1px solid var(--fc-border,#e7ecf3);
  border-radius: 10px;
  background: var(--fc-surface,#fff);
  padding: 8px;
  box-sizing: border-box;
}
.fc-background-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.fc-background-modes,
.fc-background-actions,
.fc-background-devices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.family-app .fc-background-editor button {
  min-height: 44px;
  font-size: 14px;
  white-space: normal;
}
.fc-background-editor p {
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.fc-background-scope {
  background: var(--fc-blue-soft,#eaf4ff);
  border: 1px solid var(--fc-border,#e7ecf3);
  padding: 12px;
  border-radius: 12px;
}
.fc-background-preview-scroll {
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--fc-border,#e7ecf3);
  border-radius: 12px;
  background: var(--fc-canvas,#f8f6f1);
}
.fc-background-preview {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: 300px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--fc-ink,#111a56);
  font-size: 16px;
}
.fc-background-preview[data-device=phone] {
  width: 320px;
  min-height: 420px;
}
.fc-background-preview[data-device=tablet] {
  width: 768px;
  min-height: 380px;
}
.fc-background-preview[data-device=pc] {
  width: 1280px;
  min-height: 360px;
}
.fc-background-preview h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}
.fc-background-preview-card {
  max-width: 460px;
  padding: 16px;
  background: var(--fc-surface,#fff);
  border: 1px solid var(--fc-border,#e7ecf3);
  border-radius: 14px;
  display: grid;
  gap: 12px;
}
.fc-background-preview-card p {
  color: var(--fc-secondary,#4168a7);
}
.fc-background-preview-nav {
  margin-top: auto;
  background: var(--fc-surface,#fff);
  display: flex;
  gap: 12px;
  border-radius: 10px;
  padding: 10px;
  justify-content: space-around;
}
.fc-background-preview-nav .fc-icon {
  width: 24px;
  height: 24px;
}
.fc-background-editor .fc-background-preview-note {
  color: var(--fc-secondary,#4168a7);
}
.family-shell:has(> .fc-module-background[data-image=true]) .family-shell-content > .catalog-scope {
  background: var(--fc-surface,#fff);
  border-radius: 8px;
}
@media (max-width: 599px) {
  .fc-background-options {
    grid-template-columns: 1fr;
  }
  .fc-background-preview {
    padding: 12px;
  }
  .fc-background-preview-nav {
    gap: 8px;
  }
}
.family-app .ui-appearance-fields > .fc-app-background-fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
.family-app .fc-app-background-fieldset > legend {
  padding: 0;
  margin: 0 0 8px;
  color: var(--fc-ink);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}
.family-app .fc-app-background-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.family-app .fc-app-background-option {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,10px);
  color: var(--fc-ink);
  cursor: pointer;
}
.family-app .fc-app-background-option > input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.family-app .fc-app-background-option[data-selected=true] {
  border-color: var(--fc-blue);
  box-shadow: none;
}
.family-app .fc-app-background-option:focus-within {
  outline: 1px solid var(--fc-blue);
  outline-offset: 2px;
}
.family-app .fc-app-background-swatch {
  position: relative;
  display: block;
  min-width: 0;
  height: 58px;
  border: 1px solid #ffffff90;
  border-radius: 8px;
  background: var(--fc-app-background);
}
.family-app .fc-app-background-check {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fc-blue);
  color: #fff;
  font-size: 15px;
  line-height: 1;
}
.family-app .fc-app-background-option > strong {
  min-width: 0;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.family-app .fc-app-background-system {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}
.family-app .fc-app-background-system > input {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 0;
  accent-color: var(--fc-blue);
}
.family-app .fc-app-background-preview {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 150px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-panel-radius,14px);
  background: var(--fc-app-background,#eef8ff var(--gp-sky) center top/cover no-repeat);
  color: var(--fc-ink);
}
.family-app .family-shell:not([data-app-background]),
.family-app .fc-app-background-preview:not([data-app-background]) {
  --fc-app-background:#E9F0EC;
}
.family-app .fc-app-background-preview-label {
  position: relative;
  font-size: 12px;
  line-height: 18px;
  color: var(--fc-secondary);
}
.family-app .fc-app-background-preview-card {
  position: relative;
  display: grid;
  gap: 4px;
  max-width: 100%;
  padding: 12px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-panel-radius,14px);
  background: var(--gp-surface,var(--fc-surface));
  box-shadow: var(--gp-shadow,var(--fc-shadow));
}
.family-app .fc-app-background-preview-card > strong {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}
.family-app .fc-app-background-preview-card > span,
.family-app .fc-app-background-fieldset > .fc-app-background-note {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--fc-secondary);
}
.family-app .fc-app-background-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding-top: 8px;
  background: var(--gp-surface,var(--fc-surface));
}
.family-app .fc-app-background-actions > button {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
}
.family-app .fc-app-background-fieldset:disabled .fc-app-background-option,
.family-app fieldset:disabled .fc-app-background-option {
  cursor: default;
  opacity: .65;
}
.family-app .ui-appearance-preview .fc-app-background-preview {
  min-height: 88px;
  padding: 10px;
  gap: 4px;
}
.family-app .ui-appearance-preview .fc-app-background-preview-card {
  padding: 8px 12px;
}
.family-app .ui-appearance-preview .fc-app-background-preview-card > span {
  display: none;
}
body[data-family-approved] .family-app > .match-backdrop .ui-appearance-preview .ui-appearance-fields {
  margin-top: 0;
}
.family-app .fc-app-background-option:has(> input:focus-visible) > strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.family-app .ui-appearance-preview .fc-link.fc-appearance-recovery {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 20px;
}

/* ../prototypes/core-local/src/family/family-shell.css */
.catalog-page:has(.family-shell) {
  max-width: 900px;
}
.family-app:has(> .family-shell) {
  height: 100vh;
  height: 100dvh;
  padding-block: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.family-shell.phone {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  padding: 0;
  background: var(--fc-canvas);
  overflow: hidden;
  border-color: var(--fc-border);
}
.family-shell-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px 18px;
  background: var(--fc-surface);
  border-radius: 24px 24px 0 0;
  border-bottom: 1px solid var(--fc-border);
}
.family-app .family-shell-header h1 {
  font-size: var(--fc-page-title-size);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.family-shell-header > .fc-icon {
  width: 26px;
  height: 26px;
}
.family-shell-header > span {
  margin-left: auto;
  color: var(--fc-secondary);
  font-size: 13px;
}
.family-shell-header {
  flex: none;
}
.family-shell-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior-y: contain;
  scroll-padding-block: 12px;
  padding: 12px 16px;
}
.family-shell[data-section=home] .family-shell-content {
  padding: 0;
}
.family-shell-content > .connection-banner,
.family-shell-content > .error-note {
  margin: 10px 12px;
}
.family-shell-nav {
  flex: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  padding: 8px 12px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--fc-border);
  background: var(--fc-surface);
  border-radius: 0 0 24px 24px;
}
.family-shell-nav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 62px;
  padding: 6px 2px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fc-secondary);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  box-shadow: none;
}
.family-shell-nav button > .fc-icon {
  color: var(--fc-slate);
}
.family-shell-nav button[aria-current=page],
.family-shell-nav button[aria-current=page] > .fc-icon {
  color: var(--fc-red);
  font-weight: 700;
}
.family-shell-nav button[aria-current=page]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16%;
  right: 16%;
  height: 3px;
  border-radius: 2px;
  background: var(--fc-red);
}
.family-shell-nav button:hover {
  background: var(--fc-blue-soft);
}
.family-shell .account-panel {
  max-width: none;
}
.family-shell .account-history:first-child {
  margin-top: 0;
}
.family-app > .catalog-scope,
.family-shell-content > .catalog-scope {
  text-align: center;
  color: var(--fc-muted);
}
.fc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 599px) {
  .family-app:has(> .family-shell) {
    padding-inline: 0;
  }
  .family-shell.phone {
    border-radius: 0;
  }
  .family-shell-header {
    padding: 17px 14px 15px;
    border-radius: 0;
  }
  .family-shell-header > span {
    font-size: 12px;
  }
  .family-shell-content {
    padding: 8px 10px;
  }
  .family-shell-nav {
    gap: 2px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 0;
  }
  .family-shell-nav button {
    font-size: 12px;
  }
}
@media (max-width: 350px) {
  .family-shell-nav button {
    font-size: 11px;
  }
  .family-shell-header {
    gap: 8px;
  }
}
.family-shell-content > .catalog-scope {
  margin: 6px 0;
  font-size: 12px;
  line-height: 1.4;
}
.family-shell-nav button[data-module=home] {
  --fc-module-color:#eb3439;
  --fc-module-ink:#c62a30;
}
.family-shell-nav button[data-module=games] {
  --fc-module-color:#6c42f2;
  --fc-module-ink:#6436d7;
}
.family-shell-nav button[data-module=achievements] {
  --fc-module-color:#efa31d;
  --fc-module-ink:#a96d00;
}
.family-shell-nav button[data-module=me] {
  --fc-module-color:#339a68;
  --fc-module-ink:#247c52;
}
.family-shell-nav button[data-module] {
  color: var(--fc-muted);
}
.family-shell-nav button[data-module] > .fc-icon,
.family-shell-nav button[data-module][aria-current=page] > .fc-icon {
  color: var(--fc-module-color);
  filter: none;
  box-shadow: none;
}
.family-shell-nav button[data-module][aria-current=page] {
  color: var(--fc-module-ink);
}
.family-shell-nav button[data-module][aria-current=page]:after {
  background: var(--fc-module-color);
  height: 3px;
  border-radius: 999px;
}
.family-shell-nav button[data-module]:hover {
  background: var(--fc-canvas);
}
.family-shell[data-section=home] {
  --fc-module-accent:#c62a30;
}
.family-shell[data-section=games] {
  --fc-module-accent:#6436d7;
}
.family-shell[data-section=achievements] {
  --fc-module-accent:#a96d00;
}
.family-shell[data-section=me] {
  --fc-module-accent:#247c52;
}
.family-shell :is(.fc-section-title, .fc-account-detail > summary) > .fc-icon:not([data-tone]) {
  color: var(--fc-module-accent);
}
.family-shell:not([data-section=home]) .family-shell-content {
  padding-top: max(12px, env(safe-area-inset-top));
}
@media (min-width: 700px) {
  .family-app {
    --fc-shell-inset:20px;
    --fc-column-gap:24px;
  }
  .family-app.catalog-page:has(> .family-shell) {
    width: 100%;
    max-width: 1400px;
    padding: 12px 16px;
  }
  .family-shell.phone {
    border-radius: 18px;
  }
  .family-shell-header {
    padding: 18px var(--fc-shell-inset);
    border-radius: 18px 18px 0 0;
  }
  .family-shell-header > span {
    font-size: 14px;
  }
  .family-shell-header > .fc-icon {
    width: 30px;
    height: 30px;
  }
  .family-shell-content {
    padding: 18px var(--fc-shell-inset);
    scroll-padding-block: 18px;
  }
  .family-shell-content > .connection-banner {
    margin: 0 0 16px;
    padding: 8px 12px;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
  }
  .family-shell[data-section=home] .family-shell-content > .connection-banner {
    margin: 14px var(--fc-shell-inset) 0;
  }
  .family-shell-content > .connection-banner > button {
    flex: none;
    min-height: 44px;
    padding: 6px 12px;
    font-size: var(--fc-label-size);
  }
  .family-shell-nav {
    padding: 8px 16px max(10px, env(safe-area-inset-bottom));
    border-radius: 0 0 18px 18px;
  }
  .family-shell-nav button {
    min-height: 64px;
    font-size: 15px;
    gap: 5px;
  }
  .family-shell-content > .catalog-scope {
    font-size: 14px;
    margin: 12px 0;
  }
}
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .family-app {
    --fc-shell-inset:22px;
  }
  .family-app.catalog-page:has(> .family-shell) {
    max-width: 1320px;
    padding: 16px 24px;
  }
  .family-shell.phone {
    border-radius: 14px;
    box-shadow: var(--fc-shadow);
  }
  .family-shell-header {
    padding: 20px var(--fc-shell-inset);
    border-radius: 14px 14px 0 0;
  }
  .family-shell-content {
    padding: 20px var(--fc-shell-inset);
    scroll-padding-block: 20px;
  }
  .family-shell-nav {
    gap: 12px;
    padding: 8px 22px;
    border-radius: 0 0 14px 14px;
  }
  .family-shell-nav button {
    flex-direction: row;
    gap: 9px;
    min-height: 48px;
    padding: 8px 12px;
    font-size: 16px;
  }
  .family-shell-nav button > .fc-icon {
    width: 23px;
    height: 23px;
  }
  .family-shell-nav button[aria-current=page]:after {
    left: 24%;
    right: 24%;
  }
}
.family-shell-nav[data-has-tools=true] {
  grid-template-columns: repeat(4, minmax(0, 1fr)) 44px;
}
.fc-pin-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fc-pin-menu > button {
  font-size: 26px;
  width: 44px;
  min-height: 44px;
}
.fc-pin-popover {
  position: absolute;
  z-index: 12;
  top: 100%;
  right: 0;
  width: 210px;
  padding: 8px;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: 14px;
  box-shadow: var(--fc-shadow);
}
.family-shell-nav .fc-pin-popover {
  top: auto;
  bottom: 100%;
}
.fc-pin-popover button,
.family-shell-nav .fc-pin-popover button {
  white-space: normal;
  flex-direction: row;
  width: 100%;
  font-size: 14px;
  padding: 8px;
  min-height: 44px;
}
.fc-pin-status {
  position: absolute;
  bottom: 100%;
  right: 0;
  min-width: 190px;
  background: var(--fc-surface);
  padding: 10px;
  border-radius: 12px;
}
.fc-pin-edit-fields {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.fc-pin-edit-fields :is(input, select) {
  width: 100%;
  min-width: 0;
}
.fc-shortcut-editor label {
  display: grid;
  gap: 6px;
}
.fc-shortcut-editor input {
  min-width: 0;
  width: 100%;
}
.fc-shortcut-editor-list .fc-pin-edit-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.fc-shortcut-editor .fc-shortcut-editor-list li {
  display: grid;
  grid-template-columns: 20px 44px minmax(0, 1fr) 44px;
  gap: 6px;
}
.fc-shortcut-editor-list strong {
  min-width: 0;
}
.fc-shortcut-editor-list .fc-shortcut-drag,
.fc-shortcut-editor-list .fc-shortcut-remove {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.fc-shortcut-editor-list .fc-shortcut-drag {
  color: #64748b;
  background: transparent;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.fc-shortcut-editor-list .fc-shortcut-drag[data-dragging=true] {
  cursor: grabbing;
  background: #e8efff;
}
.fc-shortcut-editor-list li:has(.fc-shortcut-drag[data-dragging=true]) {
  background: #f0f5ff;
}
.fc-shortcut-editor-list .fc-shortcut-remove {
  color: #b93838;
  background: #fff0f0;
  border-radius: 12px;
}
.fc-shortcut-editor-list .fc-shortcut-remove:hover {
  background: #ffe1e1;
}
.fc-shortcut-editor-list :is(.fc-shortcut-drag, .fc-shortcut-remove):focus-visible {
  outline: 2px solid #347bff;
  outline-offset: 2px;
}
.fc-shortcut-editor-list .fc-pin-edit-fields :is(input, select) {
  box-sizing: border-box;
  min-height: 44px;
}
.fc-shortcut-icon-choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  border: 1px solid #dce6f5;
  border-radius: 10px;
  background: #f8fbff;
  color: #435dda;
}
.fc-shortcut-icon-choice > .fc-icon:last-of-type {
  transform: rotate(90deg);
}
.fc-shortcut-icon-choice select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.fc-shortcut-icon-choice:focus-within {
  outline: 2px solid #347bff;
  outline-offset: 2px;
}
body[data-family-approved] .family-app.family-approved .fc-shortcut-editor-list .fc-shortcut-remove {
  color: #b93838 !important;
  background: #fff0f0 !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}
body[data-family-approved] .family-app.family-approved .fc-shortcut-editor-list .fc-shortcut-drag {
  color: #64748b !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}
body[data-family-approved] .family-app.family-approved .fc-shortcut-editor-list .fc-shortcut-drag[data-dragging=true] {
  background: #e8efff !important;
}
.fc-shortcut-editor-list .fc-shortcut-position {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  text-align: center;
  color: var(--fc-muted,#64748b);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

/* ../prototypes/core-local/src/family/family-activity-approved.css */
.family-app .fc-activity-approved {
  min-width: 0;
  color: var(--fc-ink);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}
.family-app .fc-activity-approved .fc-notice-list {
  margin: 0;
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
}
.family-app .fc-activity-approved .fc-notice-list > li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--fc-border);
  border-radius: 0;
  background: transparent;
}
.family-app .fc-activity-approved .fc-notice-list > li[data-unread=true] {
  border-left: 0;
}
.family-app .fc-activity-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  color: var(--fc-blue);
}
.family-app .fc-activity-avatar > .fc-profile-avatar {
  --fc-profile-avatar-size:44;
}
.family-app .fc-activity-approved .fc-notice-copy {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}
.family-app .fc-activity-approved .fc-notice-copy strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  white-space: normal;
}
.family-app .fc-activity-approved .fc-notice-copy small {
  font-size: 13px;
  line-height: 20px;
  color: var(--fc-secondary);
  font-weight: 400;
}
.family-app .fc-activity-approved[data-panel=notices] :is(.fc-notice-copy strong, .fc-notice-open) {
  font-weight: 400;
}
.family-app .fc-activity-approved .fc-notice-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: flex-end;
}
.family-app .fc-activity-approved button {
  min-height: 44px;
  white-space: normal;
  font-size: 14px;
  font-weight: 500;
}
.family-app .fc-notice-open {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
}
.family-app .fc-notice-open > .fc-icon {
  flex: none;
  color: var(--fc-secondary);
}
.family-app .fc-notice-detail {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.family-app .fc-notice-detail h3 {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.family-app .fc-notice-detail p {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}
.family-app .fc-activity-approved .fc-notice-detail > .fc-notice-back {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  gap: 6px;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.family-app .fc-activity-approved .fc-notice-detail > .fc-notice-back:hover:not(:disabled) {
  background: transparent;
}
.family-app .fc-notice-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.family-app .fc-notice-person > .fc-activity-avatar {
  width: 36px;
  height: 36px;
}
.family-app .fc-notice-person > .fc-activity-avatar > .fc-profile-avatar {
  --fc-profile-avatar-size:36;
}
.family-app .fc-notice-person-copy {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.family-app .fc-notice-person-copy > p {
  color: var(--fc-secondary);
}
.family-app .fc-connection-selection {
  border-bottom: 1px solid var(--fc-border);
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.family-app .fc-connection-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.family-app .fc-connection-tools > span {
  flex: 1 1 100%;
  color: var(--fc-secondary);
  font-size: 13px;
}
.family-app .fc-activity-approved input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--fc-blue);
  flex: none;
}
.family-app .fc-activity-empty {
  color: var(--fc-secondary);
  padding: 16px 0;
}
@media (min-width: 600px) {
  .family-app .fc-activity-approved .fc-notice-actions {
    width: auto;
    max-width: 200px;
  }
  .family-app .fc-activity-approved .fc-notice-copy {
    flex-basis: 160px;
  }
}
@layer family-typography {
  body[data-family-approved] .family-app .fc-activity-approved .fc-notice-person-copy > h3 {
    font-size: 16px !important;
    line-height: 22px !important;
    font-weight: 500 !important;
  }
}

/* ../prototypes/core-local/src/account/account-password.css */
.family-app .account-password-form {
  display: grid;
  gap: 14px;
  min-width: 0;
  font-family: var(--ui-font-family,inherit);
}
.family-app .account-password-form > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}
.family-app .account-password-form > label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.family-app .account-password-form input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  font: 400 14px/1.5 var(--ui-font-family,inherit);
}
.family-app .account-password-form > button {
  min-height: 44px;
}

/* ../prototypes/core-local/src/family/family-member-access.css */
.family-member-access {
  min-width: 0;
  font-family: var(--ui-font-family,inherit);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--va-text,#343b52);
}
.family-member-access h2,
.family-member-access h3 {
  font-weight: 600;
  overflow-wrap: anywhere;
  margin: 0 0 10px;
}
.family-member-access h2 {
  font-size: 20px;
}
.family-member-access h3 {
  font-size: 16px;
}
.family-member-access p {
  margin: 8px 0 14px;
  overflow-wrap: anywhere;
}
.family-member-access form {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid var(--va-border,#dce3ef);
  border-radius: 16px;
  background: var(--va-surface,#fff);
}
.family-member-access label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-weight: 500;
}
.family-member-access input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  font: 400 16px/1.4 var(--ui-font-family,inherit);
  border: 1px solid var(--va-border,#dce3ef);
  border-radius: 10px;
  background: #fff;
  color: inherit;
}
.family-member-access button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--va-border,#dce3ef);
  border-radius: 12px;
  background: var(--va-surface,#fff);
  font: 500 14px/1.4 var(--ui-font-family,inherit);
  color: inherit;
  cursor: pointer;
}
.family-member-access button:disabled {
  opacity: .55;
  cursor: default;
}
.family-member-access :focus-visible {
  outline: 3px solid #849ac7;
  outline-offset: 2px;
}
.family-member-access footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.family-member-access-identity {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #edf3fb;
  overflow-wrap: anywhere;
}
.family-member-access-identity strong {
  font-weight: 500;
}
.family-member-access [role=alert] {
  padding: 10px 12px;
  background: #fff1df;
  border-radius: 10px;
}
@media (max-width: 420px) {
  .family-member-access form {
    padding: 12px;
  }
}
.family-registration footer {
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}
.family-registration .family-registration-message {
  padding: 12px;
  border: 1px solid #ccdced;
  border-radius: 12px;
  background: #f2f7ff;
}
.family-registration .family-registration-message[data-result=approved] {
  border-color: #abd5bf;
  background: #eef9f2;
}
.family-registration .family-registration-message[data-result=rejected] {
  border-color: #e1bdb7;
  background: #fff3f0;
}

/* ../prototypes/core-local/src/family/family-me-approved.css */
.family-app .fc-me-consolidated .ui-me-content > .ui-me-security {
  grid-column: 1/-1;
  padding: 10px 14px !important;
}
.family-app .fc-me-consolidated .ui-me-security > .fc-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 44px;
  text-decoration: none;
  color: var(--va-action);
}
.family-app .fc-me-consolidated .ui-me-security > .fc-link > span {
  flex: 1;
  text-align: left;
  min-width: 0;
  font-size: 16px;
  line-height: 22px;
}
.family-app .fc-me-consolidated .ui-me-security > .fc-link > .fc-icon {
  width: 28px;
  height: 28px;
  flex: none;
}
.family-app .fc-me-consolidated .ui-me-security > .fc-link > .fc-icon:last-child {
  width: 20px;
  height: 20px;
}
.family-app .family-shell .family-shell-content:has(.fc-me-consolidated) {
  padding: 0 0 24px !important;
  scroll-padding-bottom: 24px;
}
.family-app .family-shell-content .fc-me-consolidated {
  --ui-me-avatar-size:80;
  position: relative;
  isolation: isolate;
  min-width: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 20px 0 0;
  box-sizing: border-box;
  background: var(--va-bg);
  color: var(--va-ink);
}
.family-app .family-shell-content .fc-me-consolidated[data-ui-me-view=directory] {
  padding-top: 12px;
  background: transparent;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-landscape {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(177vw, 700px);
  overflow: hidden;
  pointer-events: none;
  mask-image:
    linear-gradient(
      to bottom,
      var(--va-ink),
      color-mix(in srgb, var(--va-ink) 85%, transparent) 42%,
      transparent);
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-landscape > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-landscape > div {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-content: start;
  min-width: 0;
  max-width: 1124px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-content > .fc-section {
  margin: 0;
  padding: 14px !important;
  border: 1px solid var(--va-border);
  border-radius: var(--fc-ui-panel-radius,var(--va-radius));
  background: var(--va-surface);
  box-shadow: var(--fc-ui-panel-shadow,var(--va-shadow));
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-content > .ui-me-profile.fc-section {
  display: grid;
  grid-template-columns: calc(var(--ui-me-avatar-size)*1px) minmax(0, 1fr) 94px;
  grid-template-rows: minmax(26px, auto) minmax(44px, auto);
  gap: 0 8px;
  align-content: center;
  align-items: center;
  min-height: 106px;
  padding: 10px !important;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-avatar {
  grid-column: 1;
  grid-row: 1/span 2;
  align-self: center;
  width: calc(var(--ui-me-avatar-size)*1px);
  height: calc(var(--ui-me-avatar-size)*1px);
  position: relative;
}
.family-app .family-shell-content .fc-me-consolidated button.ui-me-avatar {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  box-shadow: none;
  cursor: zoom-in;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-profile-feedback {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 8px 0 0;
  color: var(--va-green,var(--fc-green));
  font-size: var(--fc-label-size);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-profile-feedback[data-error=true] {
  color: var(--va-red,var(--fc-red));
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-profile-feedback > .fc-link {
  min-height: 44px;
  padding: 6px 0;
  color: var(--va-action,var(--fc-blue));
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-avatar > .fc-profile-avatar {
  --fc-profile-avatar-size:var(--ui-me-avatar-size);
  width: 100%;
  height: 100%;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-avatar > .fc-profile-avatar[data-native-frame=true] > .fc-profile-avatar-scale {
  transform: translate(-50%, -50%) scale(calc(var(--ui-me-avatar-size)/var(--fc-profile-composition-extent)*var(--ui-me-frame-fit)));
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-avatar .family-avatar-body {
  translate: calc(-1*var(--ui-me-frame-x)) calc(-1*var(--ui-me-frame-y));
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-profile-info {
  display: contents;
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-profile-info > h2 {
  grid-column: 2/4;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  font-size: var(--fc-ui-title-size,20px);
  line-height: var(--fc-ui-title-line,26px);
  font-weight: 500;
  color: var(--va-ink);
  white-space: normal;
  overflow-wrap: anywhere;
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-profile-info > h2:is(:focus, :active) {
  white-space: normal;
  overflow: visible;
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-profile-info > p {
  grid-column: 2/4;
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--va-secondary);
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-profile > .ui-me-edit {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  align-self: center;
  min-height: 44px;
  width: 94px;
  max-width: 100%;
  gap: 8px;
  padding: 6px !important;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  border: 0;
  border-radius: var(--fc-ui-control-radius,12px);
  background: var(--va-action-soft) !important;
  color: var(--va-action) !important;
  box-shadow: none !important;
  white-space: nowrap;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-edit > .fc-icon {
  display: none;
  flex: none;
  width: 18px;
  height: 18px;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-edit > span {
  min-width: 0;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-presence {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  align-self: center;
  position: relative;
  display: flex;
  width: 121px;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--va-green);
  box-sizing: border-box;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-presence:before {
  content: "";
  position: absolute;
  inset: 6px 0;
  border: 0;
  border-radius: 16px;
  background: color-mix(in srgb, var(--va-green) 14%, transparent);
  pointer-events: none;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-presence[data-online=false] {
  color: var(--va-secondary);
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-presence[data-online=false]:before {
  background: var(--va-field);
}
.family-app .family-shell .family-shell-content .fc-me-consolidated .fc-personal-profile-info .ui-me-presence > select[data-ui-me-presence-select] {
  appearance: none;
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 44px !important;
  height: 44px;
  margin: 0;
  padding: 12px 24px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: inherit !important;
  font: var(--fc-ui-control-weight,600) 12px/20px var(--ui-font-family,inherit);
  font-size: 12px !important;
  cursor: pointer;
  box-shadow: none;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-presence-dot {
  position: absolute;
  z-index: 1;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  font-size: 0;
  line-height: 1;
  pointer-events: none;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-presence-chevron {
  position: absolute;
  z-index: 1;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  line-height: 1;
  color: var(--va-secondary);
  pointer-events: none;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-presence:has(select:disabled) {
  color: var(--va-secondary);
  opacity: 1;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-family-card {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 68px;
  text-align: left;
  color: var(--va-ink);
  font: inherit;
  cursor: pointer;
  background: var(--va-surface) !important;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-family-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--va-violet);
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-family-icon > .fc-icon {
  color: var(--va-violet);
  width: 31px;
  height: 31px;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-family-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-family-copy strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: var(--va-ink);
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-family-copy small {
  font-size: 12px;
  line-height: 18px;
  color: var(--va-secondary);
  overflow-wrap: anywhere;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-family-detail {
  display: flex;
  align-items: center;
  color: var(--va-amber);
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-family-detail > .fc-icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-message-card {
  grid-template-columns: 31px minmax(0, 1fr) max-content;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-message-card .ui-me-family-detail {
  gap: 6px;
}
.family-app .family-shell-content .fc-me-consolidated .fc-section-head {
  margin-bottom: 5px;
  min-height: 24px;
}
.family-app .family-shell-content .fc-me-consolidated .fc-section-title {
  font-size: var(--fc-ui-title-size,17px);
  line-height: var(--fc-ui-title-line,24px);
  font-weight: 500;
  color: var(--va-ink);
  letter-spacing: 0;
  gap: 8px;
}
.family-app .family-shell-content .fc-me-consolidated .fc-section-title > .fc-icon {
  width: 22px;
  height: 22px;
  color: var(--va-action);
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut {
  --ui-me-tile-tone:var(--va-green);
  min-height: 82px;
  padding: 6px 4px 3px;
  gap: 1px;
  border-radius: var(--fc-ui-control-radius,14px);
  border: 1px solid transparent;
  background: color-mix(in srgb, var(--ui-me-tile-tone) 5%, transparent);
  box-shadow: none;
  justify-content: flex-start;
  opacity: 1;
  color: var(--va-ink);
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut[data-tone=gold] {
  --ui-me-tile-tone:var(--va-amber);
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut[data-tone=blue] {
  --ui-me-tile-tone:var(--va-action);
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut[data-tone=purple] {
  --ui-me-tile-tone:var(--va-violet);
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut > .fc-icon {
  width: 28px;
  height: 28px;
  color: var(--ui-me-tile-tone);
  margin-bottom: 7px;
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut > strong {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--va-ink);
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut > span {
  font-size: 22px;
  line-height: 26px;
  font-weight: 500;
  color: var(--va-ink);
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-settings .fc-personal-tiles > .fc-shortcut {
  min-height: 64px;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-logout {
  background: color-mix(in srgb, var(--va-red) 5%, transparent) !important;
  min-height: 64px;
  padding: 9px 14px !important;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-logout > .fc-link {
  display: flex;
  min-height: 46px;
  width: 100%;
  gap: 14px;
  color: var(--va-red);
  text-decoration: none;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-logout > .fc-link > .fc-icon:first-child {
  width: 28px;
  height: 28px;
  flex: none;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-logout > .fc-link > span {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-logout strong {
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-logout small {
  font-size: 12px;
  line-height: 18px;
  color: var(--va-secondary);
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-logout .fc-icon:last-child {
  width: 20px;
  height: 20px;
  color: var(--va-secondary);
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-directory {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-directory-header {
  display: flex;
  align-items: center;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-back {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--fc-ui-control-radius,12px);
  background: var(--va-action-soft);
  color: var(--va-action);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-back > .fc-icon {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
}
.family-app .family-shell-content .fc-me-consolidated :is(button, select, h2):focus-visible {
  outline: 2px solid var(--va-action);
  outline-offset: 2px;
}
.family-app .family-shell-content .fc-me-consolidated :is(.ui-me-edit, .ui-me-family-card, .ui-me-back, .fc-shortcut):hover:not(:disabled):not([aria-disabled=true]) {
  filter: brightness(1.035);
}
.family-app .family-shell-content .fc-me-consolidated :is(button, select):active:not(:disabled):not([aria-disabled=true]) {
  filter: brightness(.97);
}
.family-app .family-shell-content .fc-me-consolidated :is(.ui-me-edit, .ui-me-family-card, .ui-me-back, .fc-shortcut):is(:disabled, [aria-disabled=true]) {
  background: var(--va-field) !important;
  border-color: var(--va-border) !important;
  color: var(--va-secondary) !important;
  opacity: 1 !important;
  filter: none;
  box-shadow: none !important;
  cursor: default;
}
.family-app .family-shell-content .fc-me-consolidated .fc-shortcut:is(:disabled, [aria-disabled=true]) > :is(strong, span, .fc-icon),
.family-app .family-shell-content .fc-me-consolidated .ui-me-family-card:is(:disabled, [aria-disabled=true]) :is(strong, small, .fc-icon) {
  color: var(--va-secondary);
}
@media (max-width: 374px) {
  .family-app .family-shell-content .fc-me-consolidated {
    --ui-me-avatar-size:80;
  }
  .family-app .family-shell-content .fc-me-consolidated .ui-me-content > .ui-me-profile.fc-section {
    column-gap: 6px;
    grid-template-columns: 72px minmax(0, 1fr) 94px;
  }
  .family-app .family-shell-content .fc-me-consolidated {
    --ui-me-avatar-size:72;
  }
}
@media (max-width: 350px) {
  .family-app .family-shell-content .fc-me-consolidated .ui-me-profile > .ui-me-edit {
    grid-column: 2/4;
    grid-row: 3;
    justify-self: start;
  }
  .family-app .family-shell-content .fc-me-consolidated .ui-me-presence {
    grid-column: 2/4;
  }
}
@media (min-width: 700px) {
  .family-app .family-shell-content .fc-me-consolidated {
    --ui-me-avatar-size:92;
    padding-top: 24px;
  }
  .family-app .family-shell-content .fc-me-consolidated .ui-me-content {
    max-width: 1164px;
    padding-inline: 32px;
    gap: 12px;
  }
  .family-app .family-shell-content .fc-me-consolidated .ui-me-content > .ui-me-profile.fc-section {
    grid-template-columns: 92px minmax(0, 1fr) 145px;
    column-gap: 12px;
    min-height: 116px;
    padding: 11px 12px !important;
  }
  .family-app .family-shell-content .fc-me-consolidated .fc-personal-profile-info > h2 {
    font-size: var(--fc-ui-title-size,24px);
    line-height: var(--fc-ui-title-line,32px);
  }
  .family-app .family-shell-content .fc-me-consolidated .ui-me-profile > .ui-me-edit {
    width: 145px;
    gap: 8px;
  }
  .family-app .family-shell-content .fc-me-consolidated .ui-me-edit > .fc-icon {
    display: inline-block;
  }
}
@media (min-width: 1000px) and (orientation: landscape) {
  .family-app .family-shell-content .fc-me-consolidated .ui-me-logout {
    margin-top: 2px;
  }
}
.family-app .family-shell .fc-me-consolidated :is(.ui-me-edit, .ui-me-back) {
  border-radius: var(--fc-ui-control-radius,14px);
}
.family-app .family-shell .fc-me-consolidated .ui-me-family-card {
  background: var(--va-surface) !important;
}
.family-app .family-shell .fc-me-consolidated :is(.ui-me-family-icon, .ui-me-family-icon > .fc-icon, .ui-me-family-detail) {
  color: var(--va-action);
}
.family-app .family-shell .fc-me-consolidated .fc-personal-activity .fc-shortcut[data-tone=green] {
  --ui-me-tile-tone:var(--va-action);
}
.family-app .family-shell .fc-me-consolidated .fc-personal-tiles > .fc-shortcut {
  border: 1px solid color-mix(in srgb, var(--ui-me-tile-tone) 12%, var(--va-border));
  background: color-mix(in srgb, var(--ui-me-tile-tone) 7%, var(--va-surface));
  box-shadow: var(--fc-ui-control-shadow,var(--va-shadow));
}
.family-app .family-shell .fc-me-consolidated .fc-personal-activity .fc-shortcut > span {
  color: var(--va-ink);
}
.family-app .family-shell .fc-me-consolidated .ui-me-logout {
  background: color-mix(in srgb, var(--va-red) 5%, var(--va-surface)) !important;
  border-color: color-mix(in srgb, var(--va-red) 12%, var(--va-border)) !important;
}
.family-app .family-shell .fc-me-consolidated .ui-me-logout > .fc-link > .fc-icon:first-child {
  color: var(--va-red) !important;
  opacity: 1;
  filter: none;
}
.family-app .family-shell-content .fc-me-consolidated :is(.fc-personal-activity, .fc-personal-settings) .fc-section-head {
  min-height: 28px;
  margin-bottom: 6px;
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut {
  min-height: 86px;
  padding: 6px 5px 4px;
  gap: 0;
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut > .fc-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-tiles > .fc-shortcut > span {
  font-size: 24px;
  line-height: 26px;
}
.family-app .family-shell-content .fc-me-consolidated .fc-personal-settings .fc-personal-tiles > .fc-shortcut {
  min-height: 64px;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-content > .ui-me-family-card {
  padding: 10px 14px !important;
}
.family-app .family-shell-content .fc-me-consolidated .ui-me-content > :is(.ui-me-security, .ui-me-logout) {
  padding: 8px 14px !important;
}

/* ../prototypes/core-local/src/family/family-account.css */
.fc-profile-avatar {
  --fc-profile-avatar-size:40;
  position: relative;
  flex: none;
  width: calc(var(--fc-profile-avatar-size)*1px);
  height: calc(var(--fc-profile-avatar-size)*1px);
}
.fc-profile-avatar-scale {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 124px;
  height: 124px;
  transform: translate(-50%, -50%) scale(calc(var(--fc-profile-avatar-size)/124));
  transform-origin: center;
}
.fc-account-position > .fc-profile-avatar,
.fc-profile-cover > .fc-profile-avatar {
  --fc-profile-avatar-size:76;
}
@media (max-width: 620px) {
  .fc-account-position > .fc-profile-avatar {
    --fc-profile-avatar-size:64;
  }
}
@media (min-width: 700px) {
  .fc-account-profile > .fc-profile-avatar,
  .fc-achievement-profile > .fc-profile-avatar {
    --fc-profile-avatar-size:56;
  }
}
.fc-achievements,
.fc-me {
  min-width: 0;
}
.fc-account-tabs {
  margin-bottom: 16px;
}
.fc-account-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.fc-account-tabs button svg {
  flex-shrink: 0;
}
.fc-achievements [role=tabpanel],
.fc-me [role=tabpanel] {
  outline-offset: 4px;
}
.fc-achievement-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 16px;
}
.fc-achievement-filters > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 10px;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: 14px;
  min-width: 0;
}
.fc-achievement-filters svg {
  flex-shrink: 0;
  color: var(--fc-secondary);
}
.fc-achievement-filters span {
  min-width: 0;
}
.fc-achievement-filters small,
.fc-achievement-filters strong {
  display: block;
}
.fc-achievement-filters small {
  color: var(--fc-secondary);
  font-size: 12px;
  margin-bottom: 3px;
}
.fc-achievement-filters strong {
  font-size: var(--fc-item-title-size);
  font-weight: var(--fc-label-weight);
  color: var(--fc-ink);
  overflow-wrap: anywhere;
}
.fc-account-position,
.fc-achievement-profile,
.fc-account-profile,
.fc-member-invite {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.fc-account-position .fc-avatar,
.fc-achievement-profile .fc-avatar,
.fc-account-profile .fc-avatar {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}
.fc-account-position .fc-avatar svg,
.fc-achievement-profile .fc-avatar svg,
.fc-account-profile .fc-avatar svg {
  width: 42px;
  height: 42px;
}
.fc-achievement-profile h2,
.fc-account-profile h2 {
  margin: 0;
  font-size: var(--fc-ui-title-size,22px);
  overflow-wrap: anywhere;
}
.fc-account-position p,
.fc-achievement-profile p,
.fc-account-profile p {
  margin: 5px 0;
}
.fc-account-profile small {
  color: var(--fc-secondary);
}
.fc-rank-summary {
  display: grid;
  gap: 6px;
  min-width: 155px;
  max-width: 100%;
  padding: 14px;
  background: var(--fc-canvas);
  border-radius: 13px;
  color: var(--fc-secondary);
  font-size: 12px;
}
.fc-rank-summary strong {
  font-size: 22px;
  color: var(--fc-ink);
}
.fc-ranking-scroll {
  width: 100%;
  overflow-x: auto;
}
.fc-ranking-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.fc-ranking-table th {
  padding: 12px 6px;
  color: var(--fc-secondary);
  background: var(--fc-canvas);
  text-align: center;
  white-space: nowrap;
}
.fc-ranking-table th:nth-child(2) {
  text-align: left;
}
.fc-ranking-table td {
  padding: 8px 0;
}
.fc-ranking-table .fc-empty {
  white-space: normal;
}
.fc-account-stat-layout {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.fc-account-rank {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 9px;
  padding: 20px 12px;
  border: 1px solid var(--fc-border);
  border-radius: 15px;
  background: var(--fc-surface);
  color: var(--fc-secondary);
}
.fc-account-rank svg {
  width: 42px;
  height: 42px;
  color: var(--fc-gold);
}
.fc-account-rank strong {
  color: var(--fc-red);
  font-size: 23px;
}
.fc-account-rank small {
  font-size: 12px;
}
.fc-account-statistics {
  min-width: 0;
}
.fc-account-statistics .account-panel {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--fc-ink);
}
.fc-account-statistics .account-panel > header {
  display: none;
}
.fc-account-statistics .account-counts {
  background: var(--fc-canvas);
  border-color: var(--fc-border);
}
.fc-account-statistics .account-counts dt,
.fc-account-statistics .account-note {
  color: var(--fc-secondary);
}
.fc-account-statistics .account-counts dd {
  color: var(--fc-blue);
}
.fc-account-statistics .account-counts dl > div:nth-child(2) dd {
  color: var(--fc-green);
}
.fc-account-statistics .account-counts dl > div:nth-child(4) dd {
  color: var(--fc-red);
}
.fc-account-empty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.fc-account-empty-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  padding: 18px 10px;
  border: 1px solid var(--fc-border);
  border-radius: 14px;
  color: var(--fc-secondary);
  min-width: 0;
}
.fc-account-empty-grid svg {
  width: 38px;
  height: 38px;
}
.fc-account-empty-grid strong {
  color: var(--fc-ink);
  font-size: var(--fc-item-title-size);
  font-weight: var(--fc-label-weight);
}
.fc-account-empty-grid span {
  font-size: 12px;
}
.fc-account-shortcuts,
.fc-account-utilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.fc-account-shortcuts > button,
.fc-account-utilities > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
  white-space: normal;
}
.fc-account-shortcuts > button strong,
.fc-account-utilities > button strong {
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
}
.fc-account-shortcuts > button span,
.fc-account-utilities > button span {
  font-size: 12px;
}
.fc-account-shortcuts svg,
.fc-account-utilities svg {
  width: var(--fc-shortcut-icon-size);
  height: var(--fc-shortcut-icon-size);
}
.fc-account-quick {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--fc-border);
  flex-wrap: wrap;
}
.fc-account-quick h3,
.fc-account-quick p {
  margin: 0;
}
.fc-account-quick p {
  margin-top: 5px;
}
.fc-account-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}
.fc-profile-preview fieldset {
  min-width: 0;
  border: 1px solid var(--fc-border);
  border-radius: 13px;
  margin: 16px 0;
  padding: 15px;
}
.fc-profile-preview legend {
  color: var(--fc-ink);
  font-size: var(--fc-item-title-size);
  font-weight: var(--fc-label-weight);
  padding: 0 5px;
}
.fc-profile-preview fieldset > label {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0;
  color: var(--fc-secondary);
  font-size: 14px;
}
.fc-profile-preview fieldset > label > input:not([type=checkbox]),
.fc-profile-preview textarea {
  flex: 1 1 200px;
  min-width: 0;
  width: 100%;
  font: inherit;
  padding: 10px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,9px);
  background: var(--fc-surface);
  color: var(--fc-ink);
}
.fc-profile-preview input:disabled,
.fc-profile-preview textarea:disabled {
  opacity: 1;
  -webkit-text-fill-color: var(--fc-secondary);
}
.fc-profile-preview label small {
  margin-left: auto;
  font-size: 12px;
}
.fc-profile-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--fc-canvas);
  border-radius: 14px;
  color: var(--fc-secondary);
}
.fc-profile-cover > svg {
  width: 46px;
  height: 46px;
}
.fc-profile-cover-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
.fc-profile-cover-options button {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 12px 3px;
  font-size: 12px;
  white-space: normal;
  background: var(--fc-canvas);
  border: 1px solid var(--fc-border);
  color: var(--fc-secondary);
}
.fc-member-search > label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fc-blue);
}
.fc-member-search input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 12px;
  font: inherit;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,10px);
  background: var(--fc-surface);
  color: var(--fc-secondary);
}
.fc-member-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.fc-member-invite h2 {
  font-size: var(--fc-ui-title-size,18px);
  margin: 0;
}
.fc-member-invite p {
  margin: 6px 0 0;
}
@media (max-width: 620px) {
  .fc-account-stat-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .fc-account-rank {
    grid-template-columns: 38px 1fr;
    justify-items: start;
    text-align: left;
    padding: 12px;
    gap: 4px 10px;
  }
  .fc-account-rank svg {
    grid-row: 1/4;
    width: 32px;
    height: 32px;
    align-self: center;
  }
  .fc-account-rank strong {
    font-size: 19px;
  }
  .fc-account-profile,
  .fc-achievement-profile,
  .fc-account-position {
    gap: 12px;
  }
  .fc-account-shortcuts,
  .fc-account-utilities {
    gap: 7px;
  }
  .fc-achievement-filters {
    gap: 6px;
  }
  .fc-achievement-filters > div {
    padding: 10px 7px;
    gap: 5px;
  }
  .fc-achievement-filters svg {
    width: 20px;
    height: 20px;
  }
  .fc-account-empty-grid {
    gap: 7px;
  }
  .fc-account-empty-grid > div {
    padding: 13px 7px;
  }
}
@media (max-width: 380px) {
  .fc-account-shortcuts,
  .fc-account-utilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fc-account-position .fc-avatar,
  .fc-achievement-profile .fc-avatar,
  .fc-account-profile .fc-avatar {
    width: 60px;
    height: 60px;
  }
  .fc-achievement-filters > div {
    flex-direction: column;
    align-items: flex-start;
  }
  .fc-profile-cover-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fc-account-tabs button {
    gap: 5px;
    font-size: 12px;
    padding-inline: 7px;
  }
  .fc-account-tabs button svg {
    width: 18px;
    height: 18px;
  }
}
.family-app .fc-profile-preview fieldset :disabled {
  opacity: 1;
  color: var(--fc-muted);
  cursor: default;
}
.family-app :is(.fc-achievements, .fc-me) > [role=tabpanel] {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.family-app .fc-account-tabs.fc-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow-x: visible;
}
.family-app .fc-account-tabs.fc-tabs > button {
  min-width: 0;
  min-height: 44px;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 380px) {
  .family-app .fc-account-tabs.fc-tabs > button {
    gap: 5px;
    font-size: 12px;
    padding-inline: 7px;
  }
}
.family-app .fc-account-quick {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
}
.family-app .fc-account-quick > .fc-action {
  grid-column: 2;
  justify-self: start;
}
.family-app .fc-account-quick h3 {
  white-space: normal;
}
@media (max-width: 620px) {
  .family-app .fc-account-profile,
  .family-app .fc-achievement-profile {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px 12px;
  }
  .family-app .fc-account-profile > .fc-avatar,
  .family-app .fc-achievement-profile > .fc-avatar {
    width: 64px;
    height: 64px;
  }
  .family-app .fc-account-profile > .fc-action,
  .family-app .fc-achievement-profile > .fc-action {
    grid-column: 2;
    justify-self: start;
  }
  .family-app .fc-account-profile .fc-row-main,
  .family-app .fc-achievement-profile .fc-row-main {
    min-width: 0;
  }
  .family-app .fc-member-filters button:disabled {
    opacity: 1;
    min-height: 44px;
  }
}
@media (min-width: 760px) {
  .family-app .fc-account-quick {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }
  .family-app .fc-account-quick > .fc-action {
    grid-column: 3;
    grid-row: 1;
  }
}
@media (max-width: 620px) {
  .family-app .fc-account-position {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }
  .family-app .fc-account-position > .fc-avatar {
    width: 64px;
    height: 64px;
  }
  .family-app .fc-account-position > .fc-rank-summary {
    grid-column: 1/-1;
    width: 100%;
  }
}
.family-app :is(.fc-achievements, .fc-me) > [role=tabpanel] {
  gap: 6px;
}
.family-app .fc-account-tabs {
  margin-bottom: 8px;
}
.family-app .fc-account-detail {
  min-width: 0;
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  background: var(--fc-surface);
}
.family-app .fc-account-detail > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 5px 9px;
  box-sizing: border-box;
  cursor: pointer;
  list-style: none;
  color: var(--fc-ink);
  font-size: var(--fc-item-title-size);
  line-height: 1.3;
}
.family-app .fc-account-detail > summary::-webkit-details-marker {
  display: none;
}
.family-app .fc-account-detail > summary > span {
  flex: 1;
  min-width: 0;
  font-weight: var(--fc-label-weight);
  overflow-wrap: anywhere;
}
.family-app .fc-account-detail > summary > small {
  color: var(--fc-muted);
  font-size: 12px;
  max-width: 82px;
  text-align: right;
}
.family-app .fc-account-detail > summary > .fc-icon {
  width: 20px;
  height: 20px;
}
.family-app .fc-account-detail > summary > .fc-icon:last-child {
  width: 15px;
  height: 15px;
  color: var(--fc-muted);
}
.family-app .fc-account-detail[open] > summary > .fc-icon:last-child {
  transform: rotate(90deg);
}
.family-app .fc-account-detail > summary:focus-visible {
  outline: 3px solid var(--fc-blue-bright);
  outline-offset: 2px;
}
.family-app .fc-account-detail-body {
  padding: 2px 10px 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fc-secondary);
}
.family-app .fc-account-detail-body > p {
  margin: 4px 0;
}
.family-app .fc-account-profile,
.family-app .fc-achievement-profile {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 8px;
}
.family-app :is(.fc-account-profile, .fc-achievement-profile) > .fc-avatar {
  width: 40px;
  height: 40px;
}
.family-app :is(.fc-account-profile, .fc-achievement-profile) > .fc-avatar svg {
  width: 28px;
  height: 28px;
}
.family-app :is(.fc-account-profile, .fc-achievement-profile) > .fc-action {
  grid-column: 3;
  grid-row: 1;
  max-width: 100px;
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
  padding: 6px 8px;
  min-height: 44px;
}
.family-app :is(.fc-account-profile, .fc-achievement-profile) h2 {
  font-size: var(--fc-item-title-size);
  font-weight: var(--fc-label-weight);
  color: var(--fc-ink);
}
.family-app :is(.fc-account-profile, .fc-achievement-profile) p {
  font-size: 12px;
  margin-top: 2px;
}
.family-app .fc-account-shortcuts,
.family-app .fc-account-utilities {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}
.family-app :is(.fc-account-shortcuts, .fc-account-utilities) > .fc-shortcut {
  min-height: 52px;
  padding: 6px 3px;
  gap: 3px;
  border-radius: var(--fc-ui-control-radius,10px);
}
.family-app :is(.fc-account-shortcuts, .fc-account-utilities) > .fc-shortcut svg {
  width: var(--fc-shortcut-icon-size);
  height: var(--fc-shortcut-icon-size);
}
.family-app :is(.fc-account-shortcuts, .fc-account-utilities) > .fc-shortcut strong {
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
  line-height: 1.3;
}
.family-app .fc-account-utilities > .fc-shortcut span {
  font-size: var(--fc-label-size);
  line-height: 1.3;
}
.family-app .fc-account-quick {
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 0 0;
}
.family-app .fc-account-quick > .fc-icon-tile {
  width: 24px;
  height: 24px;
  background: transparent;
}
.family-app .fc-account-quick > .fc-icon-tile svg {
  width: 22px;
  height: 22px;
}
.family-app .fc-account-quick h3 {
  font-size: var(--fc-item-title-size);
  font-weight: var(--fc-label-weight);
}
.family-app .fc-account-quick > .fc-action {
  grid-column: 3;
  grid-row: 1;
  min-height: 44px;
  max-width: 175px;
  padding: 6px 8px;
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
}
.family-app .fc-account-actions {
  margin: 0;
  gap: 8px;
}
.family-app .fc-achievement-filters {
  gap: 5px;
  margin-bottom: 8px;
}
.family-app .fc-achievement-filters > div {
  padding: 5px 7px;
  gap: 5px;
  flex-direction: row;
  align-items: center;
}
.family-app .fc-achievement-filters svg {
  width: 18px;
  height: 18px;
}
.family-app .fc-achievement-filters small {
  font-size: var(--fc-label-size);
  margin-bottom: 0;
}
.family-app .fc-account-stat-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
.family-app .fc-account-statistics .account-month {
  margin: 5px 0;
  gap: 5px;
  font-size: 12px;
}
.family-app .fc-account-statistics .account-month input,
.family-app .fc-account-statistics .account-month button {
  min-height: 44px;
  padding: 5px;
  font-size: 12px;
}
.family-app .fc-account-statistics .account-stat-grid {
  gap: 6px;
}
.family-app .fc-account-statistics .account-counts {
  padding: 7px;
}
.family-app .fc-account-statistics .account-counts h3 {
  font-size: var(--fc-item-title-size);
  font-weight: var(--fc-label-weight);
  margin: 0 0 4px;
}
.family-app .fc-account-statistics .account-counts dl {
  gap: 4px 6px;
}
.family-app .fc-account-statistics .account-counts dt {
  font-size: var(--fc-label-size);
}
.family-app .fc-account-statistics .account-counts dd {
  font-size: 19px;
  margin: 0;
}
.family-app .fc-account-statistics .account-counts p,
.family-app .fc-account-statistics .account-counts small {
  margin-top: 4px;
  font-size: var(--fc-label-size);
}
.family-app .fc-account-statistics .account-note {
  margin: 5px 0 0;
  font-size: var(--fc-label-size);
  line-height: 1.35;
}
.family-app .fc-account-statistics button {
  min-height: 44px;
}
.family-app .fc-account-tabs.fc-tabs > button {
  font-size: 14px;
  line-height: 1.3;
  padding: 8px 10px;
  gap: 6px;
}
.family-app .fc-account-tabs.fc-tabs > button > .fc-icon {
  width: 20px;
  height: 20px;
}
.family-app .fc-achievement-scope {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--fc-secondary);
}
.family-app .fc-achievement-scope > .fc-icon {
  width: 18px;
  height: 18px;
}
.family-app .fc-account-profile > .fc-action {
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
  white-space: nowrap;
  max-width: none;
  padding: 6px 9px;
  gap: 5px;
}
.family-app .fc-account-profile > .fc-action > .fc-icon {
  width: 18px;
  height: 18px;
}
.family-app .fc-achievement-profile {
  grid-template-columns: 40px minmax(0, 1fr);
  padding-block: 6px;
}
.family-app :is(.fc-me, .fc-achievements) .fc-section-title {
  font-size: var(--fc-section-title-size);
  line-height: 1.3;
  gap: 7px;
}
.family-app :is(.fc-me, .fc-achievements) .fc-section-title > .fc-icon {
  width: 22px;
  height: 22px;
}
.family-app .fc-account-detail-body > .fc-action {
  margin-bottom: 8px;
}
.family-app .fc-achievement-details {
  display: contents;
}
.family-app .fc-me-layout,
.family-app .fc-me-main,
.family-app .fc-me-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  min-width: 0;
  align-content: start;
}
@media (min-width: 700px) {
  .family-app :is(.fc-me, .fc-achievements) > [role=tabpanel] {
    gap: 14px;
    align-items: start;
    align-content: start;
  }
  .family-app .fc-me-layout,
  .family-app .fc-me-main,
  .family-app .fc-me-side {
    gap: 14px;
  }
  .family-app .fc-account-tabs.fc-tabs {
    max-width: 720px;
    margin-bottom: 16px;
  }
  .family-app .fc-account-tabs.fc-tabs > button {
    font-size: var(--fc-label-size);
    padding: 12px 16px;
  }
  .family-app :is(.fc-account-profile, .fc-achievement-profile) {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 16px;
  }
  .family-app .fc-achievement-profile {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .family-app :is(.fc-account-profile, .fc-achievement-profile) > .fc-avatar {
    width: 56px;
    height: 56px;
  }
  .family-app :is(.fc-account-profile, .fc-achievement-profile) > .fc-avatar svg {
    width: 34px;
    height: 34px;
  }
  .family-app :is(.fc-account-profile, .fc-achievement-profile) p,
  .family-app .fc-account-detail > summary > small,
  .family-app .fc-account-empty-grid span,
  .family-app .fc-profile-preview label small {
    font-size: 14px;
  }
  .family-app .fc-account-detail > summary {
    min-height: 52px;
    padding: 10px 14px;
    gap: 10px;
  }
  .family-app .fc-account-detail > summary > small {
    max-width: 120px;
  }
  .family-app .fc-account-detail-body {
    padding: 4px 14px 14px;
    font-size: 16px;
  }
  .family-app .fc-account-shortcuts,
  .family-app .fc-account-utilities {
    gap: 10px;
  }
  .family-app :is(.fc-account-shortcuts, .fc-account-utilities) > .fc-shortcut {
    min-height: 76px;
    padding: 12px 8px;
    gap: 8px;
  }
  .family-app .fc-account-utilities > .fc-shortcut:disabled {
    background: var(--fc-canvas);
  }
  .family-app .fc-account-quick {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
  }
  .family-app .fc-account-quick > .fc-icon-tile {
    width: 32px;
    height: 32px;
  }
  .family-app .fc-account-quick > .fc-action {
    max-width: 210px;
    padding: 10px 12px;
  }
  .family-app .fc-account-actions {
    justify-content: flex-start;
    gap: 10px;
    padding: 0 4px 6px;
  }
  .family-app .fc-achievement-scope {
    font-size: 16px;
    margin-bottom: 14px;
  }
  .family-app .fc-account-statistics .account-month {
    font-size: var(--fc-label-size);
    gap: 10px;
    margin: 8px 0 16px;
  }
  .family-app .fc-account-statistics .account-month input,
  .family-app .fc-account-statistics .account-month button {
    font-size: var(--fc-label-size);
    padding: 8px 10px;
  }
  .family-app .fc-account-statistics .account-stat-grid {
    gap: 14px;
  }
  .family-app .fc-account-statistics .account-counts {
    padding: 16px;
  }
  .family-app .fc-account-statistics .account-counts h3 {
    margin-bottom: 12px;
  }
  .family-app .fc-account-statistics .account-counts dl {
    gap: 10px 14px;
  }
  .family-app .fc-account-statistics .account-counts dd {
    font-size: 28px;
  }
  .family-app .fc-account-statistics .account-note {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 12px;
  }
  .family-app .fc-profile-preview fieldset > label {
    font-size: 16px;
  }
  .family-app .fc-ranking-table {
    font-size: var(--fc-label-size);
  }
  .family-app .fc-rank-summary {
    font-size: 14px;
    padding: 16px;
  }
}
@media (min-width: 700px) and (max-width: 1099px) and (orientation: portrait), (min-width: 1100px) and (orientation: portrait) and (pointer: coarse) {
  .family-app .fc-me > .fc-me-personal,
  .family-app .fc-me-layout,
  .family-app .fc-me-main,
  .family-app .fc-me-side {
    gap: 10px;
  }
  .family-app .fc-me .fc-account-tabs {
    margin-bottom: 12px;
  }
  .family-app .fc-me-personal > .fc-section,
  .family-app .fc-me-main > .fc-section {
    padding: 12px;
  }
  .family-app .fc-me-personal .fc-section-head {
    margin-bottom: 8px;
  }
  .family-app .fc-me-personal > .fc-account-profile {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
  }
  .family-app .fc-me-personal > .fc-account-profile > .fc-avatar {
    width: 48px;
    height: 48px;
  }
  .family-app .fc-me-personal > .fc-account-profile > .fc-profile-avatar {
    --fc-profile-avatar-size:48;
  }
  .family-app .fc-me-personal :is(.fc-account-shortcuts, .fc-account-utilities) > .fc-shortcut {
    min-height: 68px;
    padding: 8px;
    gap: 6px;
  }
  .family-app .fc-me-side > .fc-account-detail > summary {
    min-height: 48px;
    padding: 8px 12px;
  }
  .family-app .fc-me-personal .fc-account-quick {
    margin-top: 10px;
    padding-top: 10px;
    gap: 10px;
  }
  .family-app .fc-me-personal > .fc-account-actions {
    padding: 0;
  }
}
@media (min-width: 1000px) and (orientation: landscape), (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .family-app .fc-me-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .family-app .fc-achievements > .fc-achievements-personal {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 14px 24px;
  }
  .family-app .fc-achievements-personal > .fc-achievement-profile {
    grid-column: 1/-1;
  }
  .family-app .fc-achievements-personal > .fc-achievement-statistics {
    grid-column: 1;
    grid-row: 2;
  }
  .family-app .fc-achievements-personal > .fc-achievement-details {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    gap: 14px;
    align-content: start;
    min-width: 0;
  }
  .family-app .fc-account-position > .fc-rank-summary {
    margin-left: auto;
  }
}
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .family-app .fc-account-tabs.fc-tabs {
    max-width: 760px;
  }
  .family-app .fc-account-detail > summary {
    padding: 12px 16px;
  }
  .family-app :is(.fc-account-shortcuts, .fc-account-utilities) > .fc-shortcut {
    padding: 14px 10px;
    min-height: 84px;
  }
  .family-app .fc-account-statistics .account-counts {
    padding: 20px;
  }
  .family-app .fc-account-statistics .account-counts dd {
    font-size: 32px;
  }
}
.family-app .fc-ranked-profile {
  min-width: 0;
}
.family-app .fc-ranked-profile .fc-rank-summary strong {
  overflow-wrap: anywhere;
}
.family-app .fc-ranked-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.family-app .fc-ranked-counts div {
  min-width: 0;
}
.family-app .fc-ranked-counts dt {
  color: var(--fc-secondary);
  font-size: var(--fc-label-size);
}
.family-app .fc-ranked-counts dd {
  margin: 4px 0 0;
  color: var(--fc-blue);
  font-size: 22px;
  font-weight: 600;
}
.family-app .fc-ranked-profile p {
  line-height: 1.5;
}
.family-app .fc-member-profile > .fc-member-avatar > .fc-profile-avatar {
  --fc-profile-avatar-size:72;
}
.family-app .fc-me-current > [role=tabpanel] {
  gap: 12px;
}
.family-app .fc-personal-profile {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.family-app .fc-personal-profile > .fc-profile-avatar {
  --fc-profile-avatar-size:80;
}
.family-app .fc-personal-profile-info {
  min-width: 0;
}
.family-app .fc-personal-profile h2 {
  margin: 0;
  font-size: var(--fc-item-title-size);
  overflow-wrap: anywhere;
}
.family-app .fc-personal-profile p {
  margin: 5px 0;
  font-size: var(--fc-label-size);
  color: var(--fc-secondary);
}
.family-app .fc-personal-profile > .fc-action {
  grid-column: 1/-1;
  justify-self: end;
  min-height: 44px;
}
.family-app .fc-personal-visibility {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: var(--fc-green);
}
.family-app .fc-personal-visibility select {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  font: inherit;
  color: var(--fc-ink);
  padding: 7px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,9px);
  background: var(--fc-surface);
}
.family-app .fc-personal-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.family-app .fc-personal-tiles > .fc-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 112px;
  padding: 12px 5px;
  text-align: center;
  white-space: normal;
}
.family-app .fc-personal-tiles strong {
  font-size: var(--fc-label-size);
  font-weight: var(--fc-label-weight);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.family-app .fc-personal-tiles span {
  font-size: 20px;
  font-weight: 600;
}
.family-app .fc-personal-tiles small {
  font-size: 12px;
  line-height: 1.4;
  color: var(--fc-secondary);
}
.family-app .fc-personal-logout > .fc-link,
.family-app .fc-personal-administration > .fc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0;
  font-size: var(--fc-label-size);
  white-space: normal;
  text-align: left;
}
.family-app .fc-personal-logout > .fc-link {
  color: var(--fc-red);
}
.family-app .fc-personal-logout .fc-icon:first-child {
  transform: rotate(180deg);
}
.family-app :is(.fc-personal-logout, .fc-personal-administration) .fc-icon:last-child {
  margin-left: auto;
  flex-shrink: 0;
}
.family-app .fc-personal-feedback {
  color: var(--fc-red);
  font-size: var(--fc-label-size);
  line-height: 1.5;
  overflow-wrap: anywhere;
  margin: 6px 0;
}
.family-app .fc-profile-editor {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.family-app .fc-profile-editor-preview,
.family-app .fc-directory-profile {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  overflow-wrap: anywhere;
}
.family-app .fc-profile-editor-preview > .fc-profile-avatar,
.family-app .fc-directory-profile > .fc-profile-avatar {
  --fc-profile-avatar-size:96;
}
.family-app .fc-directory-profile h3,
.family-app .fc-directory-profile p {
  margin: 4px 0;
}
.family-app .fc-personal-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: var(--fc-label-size);
}
.family-app .fc-personal-field input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  font: inherit;
  padding: 10px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,9px);
  background: var(--fc-surface);
  color: var(--fc-ink);
}
.family-app .fc-personal-field small {
  color: var(--fc-secondary);
  line-height: 1.4;
}
.family-app .fc-profile-editor fieldset {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--fc-border);
  border-radius: 12px;
}
.family-app .fc-profile-editor legend {
  padding: 0 6px;
  font-size: var(--fc-label-size);
  color: var(--fc-ink);
}
.family-app .fc-personal-frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.family-app .fc-personal-frames > label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 7px;
  justify-items: center;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--fc-border);
  border-radius: 10px;
  cursor: pointer;
}
.family-app .fc-personal-frames > label:has(input:checked) {
  border-color: var(--fc-blue);
  background: var(--fc-canvas);
}
.family-app .fc-personal-frames .fc-profile-avatar {
  --fc-profile-avatar-size:64;
}
.family-app .fc-personal-frames span {
  grid-column: 1/-1;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.family-app .fc-personal-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.family-app .fc-personal-form-actions button {
  min-height: 44px;
}
.family-app .fc-personal-directory {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.family-app .fc-directory-heading > .fc-section-head > span {
  color: var(--fc-secondary);
  font-size: var(--fc-label-size);
}
.family-app .fc-directory-heading > .fc-directory-search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.family-app .fc-directory-heading input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  font: inherit;
  padding: 9px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-ui-control-radius,9px);
  background: var(--fc-surface);
  color: var(--fc-ink);
}
.family-app .fc-personal-contact-list {
  display: grid;
  gap: 10px;
  min-width: 0;
  align-content: start;
}
.family-app .fc-personal-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
}
.family-app .fc-personal-contact-identity {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
  min-height: 64px;
  color: var(--fc-ink);
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
}
.family-app .fc-personal-contact-identity > .fc-profile-avatar {
  --fc-profile-avatar-size:64;
}
.family-app .fc-personal-contact-identity > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.family-app .fc-personal-contact-identity strong {
  font-size: var(--fc-item-title-size);
  overflow-wrap: anywhere;
}
.family-app .fc-personal-contact-identity small {
  font-size: var(--fc-label-size);
  line-height: 1.4;
  color: var(--fc-secondary);
}
.family-app .fc-personal-contact-identity small[data-online=true] {
  color: var(--fc-green);
}
.family-app .fc-personal-contact-identity small[data-playing=true] {
  color: var(--fc-blue);
}
.family-app .fc-personal-contact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.family-app .fc-personal-contact-actions button {
  min-height: 44px;
  white-space: normal;
  font-size: var(--fc-label-size);
}
.family-app .fc-personal-contact-menu {
  min-width: 44px;
  max-width: 100%;
}
.family-app .fc-personal-contact-menu > summary {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 6px;
  border: 1px solid var(--fc-border);
  border-radius: 10px;
  font-size: 24px;
  cursor: pointer;
  list-style: none;
}
.family-app .fc-personal-contact-menu > summary::-webkit-details-marker {
  display: none;
}
.family-app .fc-personal-contact-menu[open] {
  flex-basis: 100%;
  width: 100%;
}
.family-app .fc-personal-contact-menu > div {
  display: grid;
  gap: 5px;
  margin-top: 5px;
  padding: 8px;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: 10px;
}
.family-app .fc-personal-contact-menu button {
  text-align: left;
  background: var(--fc-canvas);
  color: var(--fc-ink);
  border: 0;
  border-radius: 7px;
  padding: 8px;
}
.family-app .fc-directory-alias {
  display: grid;
  gap: 16px;
  margin: 0;
  min-width: 0;
}
.family-app .fc-directory-edit-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.family-app .fc-directory-edit-identity > .fc-profile-avatar {
  --fc-profile-avatar-size:40;
  width: 40px;
  height: 40px;
}
.family-app .fc-directory-edit-identity > strong {
  min-width: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.family-app .fc-directory-dialog-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.family-app .fc-directory-dialog-actions > .fc-action {
  font-family: inherit;
  min-width: 72px;
  min-height: 44px;
  margin: 0;
}
.family-app .fc-directory-confirmation {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.family-app .fc-directory-confirmation > p {
  margin: 0;
  overflow-wrap: anywhere;
}
@media (min-width: 700px) {
  .family-app .fc-personal-profile {
    grid-template-columns: 96px minmax(0, 1fr) auto;
  }
  .family-app .fc-personal-profile > .fc-profile-avatar {
    --fc-profile-avatar-size:96;
  }
  .family-app .fc-personal-profile > .fc-action {
    grid-column: 3;
    grid-row: 1;
  }
  .family-app .fc-personal-tiles > .fc-shortcut {
    min-height: 124px;
  }
  .family-app .fc-personal-frames {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .family-app .fc-personal-contact {
    grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
  }
  .family-app .fc-personal-contact-list {
    max-height: 60dvh;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 3px;
  }
}
@media (min-width: 1100px) {
  .family-app .fc-me-current {
    max-width: 1100px;
    margin-inline: auto;
  }
  .family-app .fc-personal-tiles > .fc-shortcut {
    min-height: 132px;
  }
  .family-app .fc-personal-contact {
    grid-template-columns: minmax(0, 1fr) minmax(200px, auto);
  }
}
.family-app .fc-me-logout-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}
.family-app .fc-me-logout-confirm-actions > button {
  min-height: 44px;
  padding: 10px 16px;
}

/* ../prototypes/core-local/src/family/family-segmented-tabs.css */
.family-app :is(.fc-rank-achievements.fc-rank-approved .fc-account-tabs, .fc-games-navigation .fc-games-tabs) {
  display: flex !important;
  align-items: center;
  gap: 2px;
  min-width: 0;
  width: 100%;
  margin: 0 !important;
  padding: 2px;
  border: 1px solid #deebfb !important;
  border-radius: var(--fc-ui-tabs-radius,12px) !important;
  background: #eaf5ff !important;
  box-shadow: none !important;
}
.family-app :is(.fc-rank-achievements.fc-rank-approved .fc-account-tabs, .fc-games-navigation .fc-games-tabs) > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px !important;
  height: auto !important;
  padding: 5px 3px !important;
  border: 0 !important;
  border-radius: var(--fc-ui-tab-radius,9px) !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mr-ink,var(--fc-ink,#121b50));
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500;
  white-space: nowrap;
}
.family-app :is(.fc-rank-achievements.fc-rank-approved .fc-account-tabs, .fc-games-navigation .fc-games-tabs) > button[aria-selected=true] {
  background: var(--fc-selection-bg,#dfeafa) !important;
  color: var(--fc-selection-ink,#214f88) !important;
  border-color: var(--fc-selection-border,#a7bfdc) !important;
  box-shadow: none !important;
}
.family-app :is(.fc-rank-achievements.fc-rank-approved .fc-account-tabs, .fc-games-navigation .fc-games-tabs) .fc-icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.family-app :is(.fc-rank-achievements.fc-rank-approved, .fc-games-navigation .fc-games-tabs) button:focus-visible {
  outline: 2px solid var(--mr-blue,var(--fc-blue,#1555f4));
  outline-offset: 2px;
}

/* ../prototypes/core-local/src/family/family-rank.css */
.family-app .fc-rank-achievements.fc-rank-approved {
  --mr-ink:var(--fc-ink,#121b50);
  --mr-blue:var(--fc-blue,#1555f4);
  --mr-muted:var(--fc-secondary,#5a6d95);
  --mr-panel:linear-gradient(
      145deg,#ffffffef,#fbfdfff2);
  width: 100%;
  max-width: var(--fc-content-max,1180px);
  margin-inline: auto;
  box-sizing: border-box;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-personal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-title-pill {
  --fc-rank-color:var(--mr-blue);
  --fc-rank-tint:#edf5ff;
  color: var(--fc-rank-color);
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-mode-label {
  color: var(--mr-blue);
  font: 400 13px/18px var(--ui-font-family,system-ui);
  white-space: nowrap;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-progress progress {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: #dfeefa;
  color: #008dff;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-strip::-webkit-scrollbar {
  display: none;
}
.family-app .ui-rank-large {
  --mr-blue:var(--fc-blue,#1555f4);
}
.family-app .ui-rank-large .rank-badge-copy > small {
  display: none;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-title-pill[data-rank=Bạc] {
  --fc-rank-color:#2255b7;
  --fc-rank-tint:#edf3ff;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-title-pill[data-rank=Vàng] {
  --fc-rank-color:#087b65;
  --fc-rank-tint:#def6ed;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-title-pill[data-rank="Bạch Kim"] {
  --fc-rank-color:#ca470d;
  --fc-rank-tint:#fff0e4;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-title-pill[data-rank="Kim Cương"] {
  --fc-rank-color:#8540c4;
  --fc-rank-tint:#f5eaff;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-title-pill[data-rank="Cao Thủ"] {
  --fc-rank-color:#075cb7;
  --fc-rank-tint:#e6f4ff;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-title-pill[data-rank="Thách Đấu"] {
  --fc-rank-color:#c32e28;
  --fc-rank-tint:#fff0ed;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-progress progress::-webkit-progress-bar {
  background: #dfeefa;
  border-radius: 10px;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-progress progress::-webkit-progress-value {
  background:
    linear-gradient(
      90deg,
      #24b9fa,
      #006aff);
  border-radius: 10px;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-progress progress::-moz-progress-bar {
  background: #008dff;
  border-radius: 10px;
}
.family-app .fc-rank-achievements.fc-rank-approved {
  display: block !important;
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
  color: var(--mr-ink);
  font: 400 14px/20px var(--ui-font-family,system-ui);
}
.family-app .fc-rank-achievements.fc-rank-approved * {
  box-sizing: border-box;
}
.family-app .fc-rank-achievements.fc-rank-approved > [role=tabpanel] {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 0;
  margin: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-section {
  margin: 0 !important;
  min-width: 0;
  min-height: 0 !important;
  padding: 10px !important;
  background: var(--mr-panel) !important;
  border: 1px solid #dceaff !important;
  border-radius: var(--fc-ui-panel-radius,14px) !important;
  box-shadow: var(--fc-ui-panel-shadow,0 3px 10px #6a9dce12) !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 30px !important;
  margin: 0 0 6px !important;
  padding: 0 0 6px;
  border-bottom: 1px solid #e0eaf8;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
  font-size: var(--fc-ui-title-size,18px) !important;
  line-height: var(--fc-ui-title-line,24px) !important;
  font-weight: var(--fc-ui-title-weight,600) !important;
  color: var(--mr-ink);
  white-space: normal;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-section-title > .fc-icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--mr-blue);
}
.family-app .fc-rank-achievements.fc-rank-approved :is(button, select) {
  font-family: var(--ui-font-family,system-ui);
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 6px;
  margin: 0 0 8px !important;
  overflow: visible;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-game-picker {
  position: relative;
  display: block !important;
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-game-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 5px 6px;
  border: 1px solid #d9e9fa;
  border-radius: 12px;
  background:
    linear-gradient(
      150deg,
      #fff,
      #eaf5ff) !important;
  box-shadow: inset 0 1px 0 #fff !important;
  color: var(--mr-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-game-trigger > .fc-icon:first-child {
  width: 26px;
  height: 26px;
  flex: none;
  color: #ba7216;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-game-trigger > .fc-icon:last-child {
  width: 14px;
  height: 14px;
  flex: none;
  margin-left: auto;
  transform: rotate(90deg);
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-game-options {
  position: absolute;
  inset: calc(100% + 5px) auto auto 0;
  z-index: 30;
  width: max-content;
  min-width: 100%;
  max-width: calc(100vw - 24px);
  padding: 4px;
  border: 1px solid #c9e0fa;
  border-radius: 12px;
  background: #fcfdff;
  box-shadow: 0 8px 24px #477cab30;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-game-options > button {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  padding: 7px 8px;
  border: 0;
  border-radius: var(--fc-ui-control-radius,8px);
  background: #e9f3ff;
  color: var(--mr-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-game-options .fc-icon {
  width: 24px;
  height: 24px;
  color: #ba7216;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-game-options > button > span:last-child {
  margin-left: auto;
  color: var(--mr-blue);
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-identity {
  display: block !important;
  padding: 12px !important;
  overflow: visible !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-person {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: center;
  gap: 10px !important;
  min-width: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-person > .fc-profile-avatar {
  --fc-profile-avatar-size:92;
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center;
}
.family-app .fc-rank-achievements.fc-rank-approved .rank-badge-copy > span {
  font: inherit !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-strip .rank-badge-copy > small {
  display: none;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-profile-copy {
  display: block;
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-person h2 {
  margin: 0 0 3px !important;
  font-size: var(--fc-ui-title-size,18px) !important;
  line-height: var(--fc-ui-title-line,24px) !important;
  font-weight: 500 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-person .fc-rank-title-pill {
  display: flex;
  align-items: center;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-person .rank-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-person .rank-badge-art {
  width: 24px !important;
  height: 24px !important;
  flex: none;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-person .rank-badge-copy {
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-metrics {
  display: grid !important;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) !important;
  gap: 8px;
  margin: 8px 0 0 !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-metrics > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 0 !important;
  min-width: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-metrics > div + div {
  border-top: 0 !important;
  border-left: 1px solid #d7e5f5 !important;
  padding-left: 10px !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-metrics dd {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 25px !important;
  font-weight: 500 !important;
  color: var(--mr-ink);
  white-space: nowrap;
  letter-spacing: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-metrics dt {
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  color: var(--mr-muted);
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-position-note {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--mr-muted);
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-progress {
  display: flex;
  flex-direction: column;
  gap: 3px;
  grid-column: 1/-1 !important;
  width: 100%;
  margin-top: 8px !important;
  padding: 0;
  min-width: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-progress > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 4px;
  min-height: 0 !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-progress :is(strong, span) {
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  color: var(--mr-ink);
  white-space: normal;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-progress progress {
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  accent-color: #2c7efa;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-scroll {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: visible !important;
  margin: 0;
  padding: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table {
  display: table !important;
  table-layout: fixed;
  width: 100% !important;
  min-width: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  font-size: 14px;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-col-position {
  width: 3em;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-col-player {
  width: auto;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-col-results {
  width: 112px;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table :is(thead, tbody) {
  display: table-row-group !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table thead {
  display: table-header-group !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table tr {
  display: table-row !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table :is(th, td) {
  display: table-cell !important;
  padding: 7px 3px !important;
  vertical-align: middle;
  text-align: left;
  width: auto !important;
  max-width: none !important;
  border: 0 !important;
  border-bottom: 1px solid #e4ecf7 !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none !important;
  overflow: visible !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table th {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  background: #f2f7fe !important;
  color: var(--mr-ink);
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table th:first-child {
  text-align: center;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table th:last-child {
  text-align: right !important;
  padding-left: 1px !important;
  padding-right: 0 !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-record-legend {
  display: block;
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  white-space: nowrap;
  color: var(--mr-muted);
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table tbody tr:last-child td {
  border-bottom: 0 !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table tr[data-self=true] {
  background: #e8f4ff !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table tr[data-self=true] > td:first-child {
  box-shadow: inset 3px 0 #2d7bff !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-table td.ui-leaderboard-position {
  text-align: center !important;
  padding: 7px 0 !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player {
  display: flex !important;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player > .fc-profile-avatar {
  --fc-profile-avatar-size:36;
  flex: none;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player > div {
  display: block;
  min-width: 0;
  flex: 1;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player strong {
  display: block !important;
  min-width: 0;
  margin: 0;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  max-height: none;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-name-text {
  display: block;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-name-text > small {
  font-size: 12px;
  font-weight: 400;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-name-toggle {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left;
  color: inherit;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  cursor: pointer;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-name-toggle::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 44px;
  background: transparent;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-expanded-name {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--mr-muted);
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player strong > small {
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player .fc-rank-title-pill {
  display: flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  margin-top: 2px;
  background: transparent;
  border: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player .rank-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player .rank-badge-art {
  width: 18px !important;
  height: 18px !important;
  flex: none;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player .rank-badge-copy {
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player .rank-badge-copy > span {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-results {
  text-align: right !important;
  padding-left: 1px !important;
  padding-right: 0 !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-results > .fc-rank-elo {
  display: block;
  font-size: 16px !important;
  line-height: 22px !important;
  font-weight: 500 !important;
  white-space: nowrap;
  color: var(--mr-ink);
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-results > .fc-rank-wdl {
  display: block !important;
  margin-top: 1px;
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  white-space: nowrap;
  letter-spacing: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-wins {
  color: #008741;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-draws {
  color: #8140cc;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-losses {
  color: #e24959;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-ranked-counts {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0 !important;
  width: 100%;
  margin: 0 !important;
  padding: 6px 0 !important;
  border: 1px solid #e0eafa;
  border-radius: 10px;
  background: #fff;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-ranked-counts > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 2px 1px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-ranked-counts > div + div {
  border-left: 1px solid #e4ecf7 !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-ranked-counts dt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px !important;
  width: 100%;
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  color: var(--mr-muted);
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-ranked-counts dt > .fc-icon {
  width: 22px !important;
  height: 22px !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-ranked-counts dt > span {
  min-height: 0 !important;
  white-space: nowrap;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-ranked-counts dd {
  margin: 1px 0 0 !important;
  font-size: 20px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  color: var(--mr-ink);
  white-space: nowrap;
}
.family-app .fc-rank-achievements.fc-rank-approved [data-stat-tone=blue] .fc-icon {
  color: #6080ad;
}
.family-app .fc-rank-achievements.fc-rank-approved [data-stat-tone=green] .fc-icon {
  color: #329c48;
}
.family-app .fc-rank-achievements.fc-rank-approved [data-stat-tone=purple] .fc-icon {
  color: #9250d3;
}
.family-app .fc-rank-achievements.fc-rank-approved [data-stat-tone=red] .fc-icon {
  color: #e85962;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-explorer > .fc-section-head {
  flex-wrap: nowrap;
  min-height: 36px !important;
  margin-bottom: 3px !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-explorer .fc-section-title {
  flex: 1 1 auto;
  white-space: nowrap;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-controls {
  display: flex;
  align-items: center;
  gap: 0 !important;
  flex: none;
  margin-left: auto;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-controls > button {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0 !important;
  border-radius: var(--fc-ui-control-radius,10px);
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mr-blue);
  font: 400 24px/1 var(--ui-font-family,system-ui) !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-controls > button:disabled {
  color: var(--mr-muted);
  opacity: .6;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-strip {
  display: flex;
  align-items: stretch;
  gap: 6px !important;
  min-width: 0;
  padding: 2px 0 !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-strip > button {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex: 0 0 calc((100% - 12px)/3) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 5px 2px !important;
  gap: 2px !important;
  border: 0 !important;
  border-radius: var(--fc-ui-control-radius,10px);
  background: transparent !important;
  box-shadow: none !important;
  scroll-snap-align: start;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-strip > button[data-current=true] {
  background: #e4f2ff !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-strip .rank-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px !important;
  min-width: 0;
  min-height: 0;
  height: auto;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-strip .rank-badge-art {
  width: 72px !important;
  height: 72px !important;
  max-width: 100% !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-strip .rank-badge-copy {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-height: 38px !important;
  font-size: 14px !important;
  line-height: 19px !important;
  font-weight: 500 !important;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-strip > button > small {
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  color: var(--mr-muted);
  white-space: normal;
  text-align: center;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-lock {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 16px;
  height: 16px;
  color: #8d9fbd;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-lock svg {
  width: 100%;
  height: 100%;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-compact-history {
  display: block !important;
  padding: 0 10px !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-history-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-history-row + .ui-rank-history-row {
  border-top: 1px solid #e0eafa;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-history-copy {
  min-width: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-history-copy h2 {
  margin: 0 0 2px;
  font-size: 15px;
  line-height: 21px;
  font-weight: 500;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-history-copy .fc-empty::before {
  content: none !important;
  display: none !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-history-copy .fc-empty {
  display: block;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 400 13px/18px var(--ui-font-family,system-ui) !important;
  text-align: left;
  color: var(--mr-muted);
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-marks li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-marks strong {
  font-size: 13px;
  font-weight: 500;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-rank-peak-value {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  color: var(--mr-muted);
}
.family-app .fc-rank-achievements.fc-rank-approved :is(.fc-rank-marks, .ui-rank-peak-value) .rank-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
}
.family-app .fc-rank-achievements.fc-rank-approved :is(.fc-rank-marks, .ui-rank-peak-value) .rank-badge-art {
  width: 20px !important;
  height: 20px !important;
  flex: none;
}
.family-app .fc-rank-achievements.fc-rank-approved :is(.fc-rank-marks, .ui-rank-peak-value) .rank-badge-copy {
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  white-space: normal;
}
.family-app .ui-rank-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px;
}
.family-app .ui-rank-large .rank-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.family-app .ui-rank-large .rank-badge-art {
  width: 200px !important;
  height: 200px !important;
  max-width: 70vw;
}
.family-app .ui-rank-large .rank-badge-copy {
  font: 500 18px/24px var(--ui-font-family,system-ui);
  white-space: normal;
  text-align: center;
}
.family-app .ui-rank-large nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.family-app .ui-rank-large nav > button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mr-blue);
  font: 400 24px/1 var(--ui-font-family,system-ui);
}
.family-app .fc-rank-achievements.fc-rank-approved :is(.fc-rank-sr-only, .fc-rank-board .rank-badge-copy, .fc-rank-identity[data-variant=leaderboard] .rank-badge-copy) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%);
  white-space: nowrap !important;
  border: 0 !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-table-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid #dce7f9;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-table-tabs > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: var(--mr-ink);
  font: 500 16px/22px var(--ui-font-family,system-ui);
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-table-tabs > button[aria-selected=true] {
  background: #e1ebff;
  color: var(--mr-blue);
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-table-tabs > button:focus-visible {
  outline: 2px solid var(--mr-blue);
  outline-offset: 2px;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-table-tabs .fc-icon {
  flex: none;
  width: 22px;
  height: 22px;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-board {
  container-type: inline-size;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-identity {
  container-type: inline-size;
  width: 100%;
  box-sizing: border-box;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .fc-h2h-col-total {
  width: 108px;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .fc-h2h-col-rate {
  width: 54px;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table th {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table :is(th:nth-child(2), th:last-child, .ui-leaderboard-results, .fc-h2h-rate-cell) {
  text-align: center !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table td {
  height: 64px;
  box-sizing: border-box;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .ui-leaderboard-player {
  gap: 5px;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .ui-rank-name-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 19px;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .ui-rank-record-legend {
  font-size: 11px !important;
  letter-spacing: -.2px;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .fc-rank-wdl {
  display: grid !important;
  grid-template-columns: 1fr 4px 1fr 4px 1fr;
  align-items: center;
  white-space: normal !important;
  font-size: 12px !important;
  font-variant-numeric: tabular-nums;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .fc-rank-wdl > span {
  min-width: 0;
  white-space: nowrap;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .fc-rank-elo {
  white-space: normal;
  overflow-wrap: anywhere;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-h2h-scope {
  margin: 0 0 7px;
  font-size: 11px;
  line-height: 16px;
  color: var(--mr-muted);
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-h2h-rate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 44px;
  padding: 3px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: #e8f5e7;
  color: #257123;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-h2h-rate[data-tone=balanced] {
  background: #fff3df;
  color: #a45900;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-h2h-rate[data-tone=negative] {
  background: #ffebed;
  color: #c83243;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-h2h-feedback {
  padding: 14px 4px;
  text-align: center;
  color: var(--mr-muted);
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-h2h-feedback > p {
  margin: 0 0 8px;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-h2h-feedback > button {
  min-height: 44px;
  padding: 6px 14px;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player .rank-badge-art {
  width: 22px !important;
  height: 22px !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-results > .fc-rank-wdl[data-wide=true] {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  white-space: normal !important;
  font-size: 12px !important;
  line-height: 17px !important;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .ui-leaderboard-results > .fc-rank-wdl[data-wide=true] {
  align-items: center;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-wdl[data-wide=true] > span {
  display: inline-flex;
  gap: 4px;
  white-space: nowrap;
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-rank-wdl small {
  font: inherit;
}
@container (min-width:560px) {
  .family-app .fc-rank-achievements.fc-rank-approved .fc-rank-identity[data-variant=leaderboard] .ui-rank-profile-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    column-gap: 20px;
    align-items: center;
  }
  .family-app .fc-rank-achievements.fc-rank-approved .fc-rank-identity[data-variant=leaderboard] .ui-rank-profile-copy > h2 {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }
  .family-app .fc-rank-achievements.fc-rank-approved .fc-rank-identity[data-variant=leaderboard] .ui-rank-profile-copy > .fc-rank-title-pill {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }
  .family-app .fc-rank-achievements.fc-rank-approved .fc-rank-identity[data-variant=leaderboard] .fc-rank-metrics {
    grid-column: 2;
    grid-row: 1/3;
    margin: 0 !important;
  }
  .family-app .fc-rank-achievements.fc-rank-approved .ui-leaderboard-player .rank-badge-art {
    width: 24px !important;
    height: 24px !important;
  }
  .family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .fc-h2h-col-total {
    width: 128px;
  }
  .family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .fc-h2h-col-rate {
    width: 80px;
  }
  .family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table .ui-rank-record-legend {
    font-size: 12px !important;
    letter-spacing: 0;
  }
  .family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table td {
    height: 68px;
  }
  .family-app .fc-rank-achievements.fc-rank-approved .fc-h2h-rate {
    min-width: 54px;
    min-height: 38px;
    font-size: 16px;
  }
}
.family-app .fc-rank-achievements.fc-rank-approved .fc-head-to-head-table th:first-child {
  text-align: left !important;
}

/* ui/classic-social.css */
.family-shell-content:has(.cq-layout, .cq-table-heading) > .catalog-scope {
  display: none !important;
}
.cq-layout {
  min-width: 0;
  color: var(--fc-ink,#172a4a);
}
.cq-summary .fc-section-title {
  margin: 0;
}
.cq-summary small {
  display: block;
  margin-top: 3px;
  color: var(--fc-muted,#586a80);
}
.cq-actions,
.cq-opponents {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cq-actions button {
  min-height: 42px;
  min-width: 124px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.cq-peers button {
  min-height: 40px;
  flex: none;
}
.family-app .cq-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}
#root .ui-lobby-tables:has(.cq-create) .fc-section-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
#root .ui-lobby-tables:has(.cq-create) .fc-section-title {
  flex: 1;
  margin: 0;
}
#root .ui-lobby-tables:has(.cq-create) .fc-link {
  margin: 0;
}
.ui-lobby-table-art,
.ui-table-mark {
  display: inline-grid;
  place-items: center;
}
.cq-table-art {
  display: block;
  object-fit: contain;
  max-width: 100%;
  border-radius: 6px;
}
#root .family-app .family-shell .fc-games-navigation:has(.cq-table-heading) :is(.fc-games-query, .fc-games-table-filters) {
  display: none !important;
}
.fc-games-navigation .fc-games-toolbar:has(.cq-table-heading) {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.fc-games-toolbar .cq-table-heading {
  font-size: 20px;
  margin: 0 auto 0 0;
  line-height: 1.2;
}
@media (max-width: 520px) {
  .cq-actions button {
    flex: 1;
    min-width: 0;
  }
  .family-app .cq-create {
    padding: 6px 10px;
  }
  #root .ui-lobby-tables:has(.cq-create) .fc-section-head {
    gap: 6px;
  }
  .ui-lobby-tables:has(.cq-create) .fc-link {
    font-size: 13px;
  }
}
#root .family-app .cq-layout {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
#root .family-app .cq-layout[data-view=home] {
  padding: clamp(16px, 2.5vw, 30px);
  min-height: clamp(205px, 20vw, 256px);
  grid-template-rows: 1fr auto;
  border: 1px solid #d7c49d;
  border-radius: var(--fc-ui-panel-radius,18px);
  overflow: hidden;
  background: #f7ebd7;
}
.cq-landscape {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#root .family-app .cq-layout[data-view=games] {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-content: start;
}
#root .cq-layout[data-view=games] + .fc-games-browser-head {
  margin-top: clamp(8px, 1.4vw, 18px);
}
#root .fc-games-toolbar .cq-table-heading {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.cq-game-picture {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.cq-game-stage {
  position: relative;
}
#root .cq-game-stage .cq-guide {
  position: absolute;
  left: 4%;
  bottom: 8%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 10px;
  background: #fffcf0eb;
  color: #554735;
  border: 1px solid #d5c7a9;
  border-radius: 10px;
}
.cq-main-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(6px, 1.2vw, 14px);
}
#root .cq-main-actions .fc-mode-option {
  display: grid;
  padding: 0;
  border-radius: 14px;
  min-width: 0;
}
#root .cq-main-actions .cq-choice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  min-height: 72px;
  padding: 8px 3px;
  font: inherit;
  font-weight: 650;
  color: var(--fc-mode-ink);
  line-height: 1.2;
}
.cq-choice img[data-mode-icon] {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
.cq-choice:disabled {
  opacity: .58;
}
.cq-new-table {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f6f1e8;
  border-radius: 12px;
}
.cq-new-table strong,
.cq-new-table small {
  display: block;
}
.cq-new-table strong {
  font-size: 1.18em;
}
.cq-new-table small {
  margin-top: 3px;
  color: #5e655c;
}
@media (min-width: 700px), (orientation: landscape) and (min-width: 580px) {
  #root .family-app .cq-layout[data-view=games] {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
  }
  .cq-main-actions {
    width: 100%;
    max-width: 560px;
    justify-self: center;
  }
  #root .cq-main-actions .cq-choice {
    min-height: clamp(78px, 8vw, 100px);
  }
}
.cq-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cq-summary .cq-game-icon {
  display: block;
  flex: none;
  width: clamp(76px, 8vw, 96px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
#root .cq-summary .fc-section-title {
  color: #54281e;
  font-size: clamp(23px, 2.6vw, 34px);
  line-height: 1.14;
}
.cq-summary small {
  color: #405663;
}
#root .cq-actions {
  justify-content: flex-start;
}
#root .cq-layout:is([data-view=home], [data-view=games]) .cq-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 560px;
  align-self: end;
}
#root .cq-layout:is([data-view=home], [data-view=games]) .cq-actions .fc-action {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  gap: 9px;
  font-size: var(--fc-ui-title-size,18px);
  line-height: var(--fc-ui-title-line,24px);
  border: 1px solid #f1d18c;
  border-radius: var(--fc-ui-control-radius,13px);
  color: #fffaf2;
  box-shadow: inset 0 1px 1px #fff6dc85, 0 2px 5px #56382033;
}
@media (max-width: 360px) {
  #root .cq-layout[data-view=games] .cq-actions .fc-action {
    gap: 6px;
    padding-inline: 4px;
    font-size: 16px;
    line-height: 22px;
  }
}
#root .family-app {
  --cq-play-red:linear-gradient(
      180deg,#ef8474 0%,#d34a3b 32%,#b72e24 100%);
}
#root .cq-layout:is([data-view=home], [data-view=games]) .cq-actions .fc-action[data-tone=red] {
  background: var(--cq-play-red) !important;
  border-color: #e9c484;
}
#root .cq-layout .cq-actions .fc-action[data-tone=jade] {
  background:
    linear-gradient(
      180deg,
      #38897c 0%,
      #206c60 32%,
      #19584e 100%) !important;
  border-color: #a8c8b5;
  color: #fffaf0 !important;
}
#root .cq-layout:is([data-view=home], [data-view=games]) .cq-actions button:disabled {
  opacity: .58;
}
.cq-picker {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.cq-picker input {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  border: 1px solid #bdcddd;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
}
.cq-peers {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: min(45vh, 360px);
  overflow: auto;
}
.cq-peers li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #dfe7ec;
}
.cq-peer-info {
  flex: 1;
  min-width: 0;
}
.cq-peer-info strong,
.cq-peer-info small {
  display: block;
}
.cq-peer-info strong {
  overflow-wrap: anywhere;
}
.cq-peer-info small {
  color: #236247;
  margin-top: 3px;
}
.cq-peer-info small {
  font-size: 12px;
  line-height: 18px;
}
#root .cq-peers .fc-action {
  font-size: 14px;
  line-height: 20px;
}
.cq-pending > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: #f0f7ff;
  color: #17365c;
  border-radius: 10px;
}
@media (max-width: 520px) {
  #root .cq-layout:is([data-view=home], [data-view=games]) .cq-actions {
    gap: 8px;
  }
  .cq-actions button {
    padding: 7px 10px;
  }
  .cq-landscape {
    object-position: 59% center;
  }
  .cq-summary {
    gap: 8px;
  }
  .cq-summary small {
    font-size: 12px;
  }
}
.family-shell-content:has(.ui-lobby) > .catalog-scope {
  display: none !important;
}
#root .ui-lobby .social-stats {
  box-sizing: border-box;
  width: calc(100% - clamp(12px, 4%, 28px));
  margin-inline: auto;
  padding: 2px 4px !important;
  background:
    linear-gradient(
      110deg,
      #dcece8,
      #f1f7f4 62%,
      #e3eeeb) !important;
  border-color: #c9dcd6 !important;
}
#root .ui-lobby .social-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
@media (max-width: 420px) {
  #root .ui-lobby .social-stats {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, .88fr);
  }
}
#root .ui-lobby .social-stats button {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 3px;
  min-width: 0;
  min-height: 44px;
  padding: 3px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
  color: var(--fc-ink);
  font: inherit;
  cursor: pointer;
}
#root .ui-lobby .social-stats button + button::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 50%;
  block-size: 65%;
  inline-size: 1px;
  translate: 0 -50%;
  background: #98b6ae;
  pointer-events: none;
}
#root .ui-lobby .social-stats button:hover {
  background: #ffffff90;
}
#root .ui-lobby .social-stats button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
#root .social-stats button span {
  font-size: 14px;
  line-height: 1.3;
  font-weight: var(--fc-label-weight);
}
#root .social-stats button strong {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: var(--fc-ui-title-weight,600);
  font-variant-numeric: tabular-nums;
}
#root .social-stats button .fc-icon {
  width: 17px;
  height: 17px;
}
#root .social-stats [data-stat=online] .fc-icon {
  color: #148043;
}
#root .social-stats [data-stat=playing] .fc-icon {
  color: #225db6;
}
#root .social-stats [data-stat=waiting] .fc-icon {
  color: #a35b17;
}
#root .ui-lobby .fc-home-shortcuts {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
#root .ui-lobby .fc-home-shortcuts .fc-shortcut strong {
  color: var(--shortcut-ink,#314868);
}
#root .ui-lobby .fc-home-shortcuts .fc-shortcuts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  gap: 8px;
  overflow: visible;
  padding: 0;
}
#root .ui-lobby .fc-home-shortcuts .fc-shortcuts > .fc-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 72%;
  max-width: 84px;
  min-width: 0;
  min-height: 52px !important;
  height: auto;
  padding: 4px !important;
  gap: 2px;
  border: 1px solid var(--shortcut-border,#cbd7e8) !important;
  border-radius: var(--fc-ui-control-radius,14px);
  background: var(--shortcut-surface,linear-gradient(160deg,#f9fbff,#eaf0fb)) !important;
  box-shadow:
    inset 0 1px 0 #ffffff78,
    0 2px 0 var(--shortcut-border,#cbd7e8),
    0 3px 6px #24375024 !important;
}
#root .ui-lobby .fc-home-shortcuts .fc-shortcut > :first-child {
  width: 23px !important;
  height: 23px !important;
  object-fit: contain;
  flex: none;
}
#root .ui-lobby [data-shortcut-highlight=quick-play] {
  --shortcut-surface:var(--cq-play-red);
  --shortcut-ink:#fffaf2;
  --shortcut-border:#ac3d32;
}
#root .ui-lobby [data-shortcut-highlight=create-table] {
  --shortcut-surface:linear-gradient(
      180deg,#6c96ed,#396bce 32%,#2854ad);
  --shortcut-ink:#fff;
  --shortcut-border:#254e9a;
}
#root .ui-lobby .fc-shortcut-action-glyph {
  color: var(--shortcut-ink,#365fc4);
}
@media (hover: hover) {
  #root .ui-lobby .fc-home-shortcuts .fc-shortcut:hover:not(:disabled) {
    filter: brightness(.96);
  }
}
#root .ui-lobby .fc-home-shortcuts .fc-shortcut:active:not(:disabled) {
  transform: translateY(1px);
}
#root .ui-lobby .fc-home-shortcuts .fc-shortcut:disabled {
  opacity: .65;
  cursor: default;
}
@layer family-controls {
  #root .ui-lobby .fc-home-shortcuts .fc-shortcut:focus-visible {
    outline: 2px solid #365fc4 !important;
    outline-offset: -3px !important;
  }
}
#root .ui-lobby :is(.social-stats, .social-ai-panel .fc-mode-option) {
  border-radius: var(--fc-ui-panel-radius,18px);
  box-shadow: var(--fc-shadow);
}
#root .ui-lobby :is(.fc-home-shortcuts, .social-ai-panel) {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
#root .ui-lobby .social-ai-panel {
  padding: 0;
}
#root .ui-lobby .social-ai-panel .fc-mode-option {
  border-color: #d9d0e9;
  padding-block: 9px;
}
#root .ui-lobby .fc-home-shortcuts .fc-shortcut strong {
  font-size: 12px;
  line-height: 16px;
  font-weight: 550;
  white-space: normal;
}
@media (max-width: 699px) {
  #root .family-shell.phone > .family-shell-content:has(.ui-lobby) {
    scrollbar-gutter: auto;
  }
  #root .ui-lobby .fc-home-sections {
    row-gap: clamp(10px, 1.8dvh, 14px);
  }
  #root .ui-lobby .fc-home-utilities {
    grid-template-columns: minmax(max-content, 1fr) minmax(0, 1.7fr);
  }
  #root .ui-lobby .fc-home-utilities > .fc-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding-inline: 5px;
  }
}
#root .family-app .cq-layout[data-view=games] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}
#root .cq-game-stage {
  grid-area: 1/1;
  display: grid;
  background: #f4ecd6;
}
#root .cq-game-stage .cq-game-picture {
  width: 100%;
  height: clamp(210px, 22vw, 255px);
  object-fit: cover;
  border-radius: 0;
}
.social-game-title {
  position: absolute;
  top: 12%;
  left: clamp(14px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-game-title img {
  width: clamp(52px, 6vw, 76px);
  height: auto;
}
#root .social-game-title h2 {
  width: clamp(122px, 21vw, 215px);
  margin: 0;
  line-height: 0;
}
.social-game-title h2 svg {
  display: block;
  width: 100%;
  overflow: hidden;
  height: auto;
}
#root .cq-layout[data-view=games] .cq-main-actions {
  grid-area: 1/1;
  align-self: end;
  justify-self: start;
  z-index: 1;
  width: min(calc(100% - 28px), 480px);
  margin: 0 clamp(14px, 3vw, 32px) 14px;
}
#root .cq-main-actions .cq-choice {
  min-height: 66px;
}
#root .cq-layout[data-view=games] + .fc-games-browser-head {
  margin-top: 10px;
}
#root .fc-games-toolbar:has(.cq-table-heading) {
  display: flex;
  flex-wrap: nowrap;
  padding: 4px 8px;
  gap: 6px;
  border: 1px solid #d4dfdc;
  border-radius: 12px;
  background:
    linear-gradient(
      100deg,
      #e0ece8,
      #f4f8f6);
  box-shadow: inset 0 1px #ffffffa6;
}
#root .fc-games-toolbar .cq-table-heading {
  min-width: 0;
  white-space: normal;
  font-family: inherit;
  font-size: var(--fc-section-title-size);
  font-weight: var(--fc-ui-title-weight,600);
  gap: 5px;
}
#root .fc-games-toolbar:has(.cq-table-heading) > .fc-games-create,
#root .fc-games-navigation .fc-table-row > .fc-compact-action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: auto !important;
  min-width: 44px !important;
  min-height: 44px !important;
  height: auto !important;
  flex: 0 0 auto;
  margin: 0;
  padding: 4px 8px !important;
  gap: 4px;
  border-radius: 8px !important;
  font-size: 14px !important;
  line-height: 20px !important;
  white-space: nowrap;
  box-shadow: none !important;
}
#root .fc-games-toolbar:has(.cq-table-heading) > .fc-games-create:not(:disabled) {
  color: var(--va-action,#3759ba) !important;
  background: var(--va-action-soft,#edf1ff) !important;
  border: 1px solid var(--va-border,#cbd6ed);
}
#root .fc-games-toolbar .fc-games-create .fc-icon {
  width: 18px;
  height: 18px;
}
#root .family-app[data-ui-module=me] .ui-me-family-card[data-ui-me-directory] .ui-me-family-icon > .fc-icon {
  color: var(--va-violet,var(--fc-purple)) !important;
}
#root .family-app[data-ui-module=me] .ui-shared-directory .fc-directory-heading .fc-section-title > .fc-icon[data-tone=green] {
  color: var(--fc-green) !important;
}
#root .fc-games-navigation .fc-table-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto;
  min-height: 0;
  padding: 10px;
  gap: 8px;
}
#root .fc-games-navigation .fc-table-row > .ui-table-mark {
  grid-area: 1/1;
  align-self: start;
}
#root .fc-games-navigation .fc-table-row > .fc-row-main {
  grid-area: 1/2;
  min-width: 0;
}
#root .fc-games-navigation .fc-table-row > :last-child {
  grid-area: 1/3;
}
#root .fc-games-navigation .fc-table-row .ui-table-mode {
  display: none !important;
}
#root .fc-games-navigation .fc-table-row h3 {
  margin: 0;
  line-height: 1.35;
}
#root .fc-games-navigation .fc-table-row .cq-access {
  display: inline-flex;
  vertical-align: middle;
  margin-inline-start: 5px;
  color: var(--va-secondary,#526480);
}
#root .fc-games-navigation .fc-table-row .fc-action-face {
  min-width: 0;
  min-height: 0;
  padding: 0;
  gap: 3px;
  font-size: 14px;
  line-height: 22px;
}
#root .fc-games-navigation .fc-table-row .fc-action-face .fc-icon {
  width: 14px;
  height: 14px;
}
@media (max-width: 699px), (max-width: 920px) and (max-height: 500px) {
  #root .family-app .cq-layout[data-view=games] {
    background: #f6ecd7;
  }
  #root .cq-game-stage {
    grid-area: auto;
    background: transparent;
  }
  #root .cq-game-stage .cq-game-picture {
    height: clamp(136px, 36vw, 180px);
    object-position: 65% center;
    mask-image:
      linear-gradient(
        to bottom,
        #000 73%,
        transparent);
  }
  .social-game-title {
    z-index: 1;
    top: 17%;
    left: 13px;
    gap: 8px;
  }
  #root .cq-layout[data-view=games] .cq-main-actions {
    grid-area: auto;
    justify-self: stretch;
    width: auto;
    margin: 0 8px 8px;
  }
}

/* ui/social-home.css */
#root .family-app.player-launch {
  display: grid;
  place-items: center;
  min-height: 100dvh;
}
#root .social-pin {
  position: relative;
  flex: none;
}
#root .social-pin:has(.social-pin-options) {
  z-index: 5;
}
#root .social-pin-options {
  position: absolute;
  inset: 100% 0 auto auto;
  z-index: 1;
  display: grid;
  gap: 4px;
  width: max-content;
  max-width: min(16rem, 75vw);
  max-height: min(19rem, 52dvh);
  overflow: auto;
  margin: 0;
  padding: 5px 8px 8px;
  border: 1px solid #cad6e9;
  border-radius: 12px;
  color: #273b58;
  background: #f7f9ff;
  box-shadow: 0 6px 18px #20334c2b;
  text-align: start;
}
#root .social-pin-options legend {
  padding: 0 5px;
  border-radius: 5px;
  background: #f7f9ff;
  font-weight: 650;
  font-size: 13px;
}
#root .social-pin-options label {
  display: grid;
  grid-template-columns: auto 18px 1fr;
  align-items: center;
  gap: 7px;
  padding: 5px;
  line-height: 1.3;
  cursor: pointer;
}
#root .social-pin-options label:is(:hover, :focus-within) {
  background: #e6edf9;
  border-radius: 6px;
}
#root .social-pin-options p {
  margin: 0;
  color: #9c3a27;
  font-size: 13px;
}
#root .ui-lobby .fc-home-shortcuts .fc-shortcuts,
#root :is(.fc-personal-activity, .fc-personal-settings) .fc-personal-tiles,
#root .social-shortcut-picker {
  --rail-count:4;
  display: grid !important;
  grid-auto-flow: column;
  grid-template-columns: none !important;
  grid-auto-columns: calc((100% + 8px) / var(--rail-count) - 8px);
  gap: 8px;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding: 2px 0 4px;
}
#root .ui-lobby .fc-home-shortcuts .fc-shortcuts {
  justify-content: safe center;
  justify-items: center;
}
#root .ui-lobby .fc-home-shortcuts .fc-shortcuts > .fc-shortcut {
  width: 100%;
  max-width: none;
  gap: 3px;
  padding: 5px 3px !important;
}
#root .fc-home-shortcuts .fc-shortcuts > *,
#root :is(.fc-personal-activity, .fc-personal-settings) .fc-personal-tiles > *,
#root .social-shortcut-picker > * {
  scroll-snap-align: start;
  min-width: 0;
}
#root .fc-me-consolidated :is(.fc-personal-activity, .fc-personal-settings) .fc-personal-tiles {
  grid-template-rows: auto !important;
  align-items: stretch;
}
#root .fc-me-consolidated :is(.fc-personal-activity, .fc-personal-settings) .fc-personal-tiles > .fc-shortcut {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 68px;
  min-height: 68px !important;
  gap: 4px;
  padding: 4px !important;
  border-radius: 10px;
}
#root .fc-me-consolidated :is(.fc-personal-activity, .fc-personal-settings) .fc-shortcut > .fc-icon {
  width: 23px;
  height: 23px;
  margin: 0;
}
#root .fc-me-consolidated :is(.fc-personal-activity, .fc-personal-settings) .fc-shortcut > strong {
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  overflow-wrap: break-word;
}
#root .social-shortcut-picker label {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  padding: 8px 2px;
  min-height: 48px;
  border: 1px solid #d2daea;
  border-radius: 10px;
  color: #415465;
  font-size: 12px;
}
#root .social-shortcut-picker label:has(:checked) {
  background: #edf3ff;
  border-color: #819ed4;
}
#root .social-shortcut-picker input {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  accent-color: #4768b2;
}
#root .social-lobby-shortcut-editor fieldset {
  min-inline-size: 0;
}
#root .social-news {
  padding: 0 12px;
  border: 1px solid #d7dfea;
  border-radius: 14px;
  background: var(--fc-surface,#fafcff);
  box-shadow: 0 2px 6px #2334520d;
  color: var(--fc-ink,#20304b);
}
#root .social-news header,
#root .social-news h2,
#root .social-news header button {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
#root .social-news header {
  justify-content: space-between;
  min-height: 40px;
  border-bottom: 1px solid #e0e6ef;
}
#root .social-news h2 {
  font-size: 15px;
}
#root .social-news h2 .fc-icon,
#root .social-news header button {
  color: #385fb7;
}
#root .social-news header button {
  font-size: 12px;
}
#root .social-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
#root .social-news-list li + li {
  border-top: 1px solid #e5eaf1;
}
#root .social-news-list button {
  width: 100%;
  min-height: 40px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  text-align: left;
  color: inherit;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 5px 0;
  font: 500 13px/1.3 var(--ui-font-family,system-ui);
  cursor: pointer;
}
#root .social-news-list small {
  white-space: nowrap;
  color: #617086;
  font: 400 11px/1.3 var(--ui-font-family,system-ui);
}
#root .social-news-list li .fc-icon {
  color: #436cb7;
}
#root .social-news-list li:first-child .fc-icon {
  color: #b67822;
}
@media (max-width: 699px) {
  #root .ui-lobby .fc-home-shortcuts .fc-shortcuts {
    --rail-count:3;
    width: calc(100% - 16px);
    max-width: 320px;
    margin-inline: auto;
  }
  #root .ui-lobby .social-lobby-shortcuts .fc-shortcut {
    width: 100%;
    max-width: none;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px #22334a1a !important;
  }
}
@media (min-width: 700px) {
  #root .ui-lobby .fc-home-shortcuts .fc-shortcuts {
    --rail-count:3;
    width: calc(100% - clamp(12px, 4%, 28px));
    max-width: 1152px;
    margin-inline: auto;
  }
  #root .ui-lobby .fc-home-shortcuts .fc-shortcuts:has(> :nth-child(4)) {
    --rail-count:4;
  }
}
@media (min-width: 1000px) {
  #root .ui-lobby .fc-home-shortcuts .fc-shortcuts > .fc-shortcut {
    flex-direction: row;
    gap: 8px;
  }
}
#root .fc-me-consolidated .fc-personal-activity .fc-shortcut > span.composition-activity-value {
  position: static;
  inset: auto;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  min-height: 23px;
  font: 600 15px/1 var(--ui-font-family,system-ui);
  font-variant-numeric: tabular-nums;
}
.composition-activity-value > .fc-icon {
  width: 23px;
  height: 23px;
  flex: none;
  margin: 0;
}
#root .family-app[data-ui-module=me] .ui-shared-directory .fc-directory-heading .fc-section-title,
#root .family-app[data-ui-module=me] .ui-shared-directory .fc-directory-heading .fc-section-title > .fc-icon[data-tone=purple],
#root .fc-me-consolidated .ui-me-family-card[data-ui-me-directory] .ui-me-family-icon {
  color: var(--va-violet,#7851a8) !important;
}
#root .ui-lobby [data-shortcut-highlight=create-table] {
  --shortcut-surface:linear-gradient(#5484df,#315ab2);
  --shortcut-border:#335eb7;
}
#root .social-picker-field {
  min-inline-size: 0;
  padding: 4px;
  border: 0;
}
#root .fc-shortcut-details > summary {
  cursor: pointer;
  font-weight: 600;
}
#root .social-news > .fc-catalog-muted {
  margin: 10px 0;
  font-size: 13px;
}
#root .fc-messages-title:has(.social-pin) {
  position: relative;
  z-index: 1;
}
#root .social-pin-options {
  box-sizing: border-box;
}

/* ui/xiangqi-lobby.css */
.lab-page:has(> .family-shell) {
  min-height: 0;
}
.lab-page:has(> .family-shell) > .lab-top {
  display: none;
}
.lab-page:has(> .family-shell) > .lab-footer {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.lab-page:has(> .family-shell) > .lab-notice {
  z-index: 32;
}
.lab-page:has(> .family-shell) > .sheet-backdrop {
  position: fixed;
  inset: 0;
  background: #0a18354a;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10;
}
.lab-page:has(> .family-shell) > .sheet-backdrop > .sheet {
  background: white;
  width: min(100%, 480px);
  max-height: 55dvh;
  overflow: auto;
  border-radius: 22px 22px 0 0;
  padding: 20px 20px max(22px, env(safe-area-inset-bottom));
  box-shadow: 0 -5px 40px #07183430;
}
.lab-page:has(> .family-shell) > .sheet-backdrop > .sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.lab-page:has(> .family-shell) > .sheet-backdrop > .sheet h2 {
  margin: 0;
}
.lab-page:has(> .family-shell) > .sheet-backdrop > .sheet header button {
  border: 0;
  padding: 6px;
  background: #f1f5fb;
}
.table-mark {
  color: #a74437;
}
.table-mark.tone-1 {
  color: #256c66;
}
.table-mark.tone-2 {
  color: #5267a4;
}
.table-mark.tone-3 {
  color: #855988;
}
.xiangqi-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.xiangqi-pair [data-side=red] {
  color: #963a35;
}
.fc-home-shortcuts [aria-pressed=false] {
  opacity: .55;
}
.family-app[data-ui-module=games] .match-sheet:has(.cq-create-table) {
  width: min(520px, calc(100vw - 24px));
}
@layer family-typography {
  #root .family-app .match-sheet:has(.cq-create-table) > header > h2 {
    font-size: 22px !important;
    line-height: 28px !important;
    font-weight: 650 !important;
  }
}
.family-app .cq-create-table .fc-session-game {
  white-space: nowrap;
}
.family-app .cq-create-table .fc-session-field > strong > .fc-icon[data-tone=blue] {
  color: var(--va-action,var(--fc-blue)) !important;
}
.family-app .cq-create-table :is([role=status], .error-note) {
  margin: 0;
}
.xiangqi-only .fc-podium-medal {
  display: inline-block;
  width: 28px;
  height: 30px;
  vertical-align: middle;
  background: center/contain no-repeat;
}
.xiangqi-only .fc-podium-medal[data-position="1"] {
  background-image: url("./assets/TC3AATQR.svg");
}
.xiangqi-only .fc-podium-medal[data-position="2"] {
  background-image: url("./assets/EO4XOFFI.svg");
}
.xiangqi-only .fc-podium-medal[data-position="3"] {
  background-image: url("./assets/ZYF4FAGL.svg");
}
.xiangqi-only .fc-place-number {
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
#root .xiangqi-only .fc-rank-toolbar:has(> .fc-module-tools) {
  grid-template-columns: minmax(0, 1fr) auto !important;
}
#root .xiangqi-only .fc-rank-toolbar:has(> .fc-module-tools) > .fc-account-tabs {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
#root .xiangqi-only .fc-rank-toolbar > .fc-module-tools {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
#root .xiangqi-only .fc-games-toolbar > .fc-games-create:not(:disabled) {
  color: white !important;
  background: linear-gradient(#5484df, #315ab2) !important;
  border-color: #335eb7 !important;
}

/* ui/challenge-lobby.css */
.lab-invitation,
.lab-member {
  margin: 0 0 8px;
  flex-wrap: wrap;
}
.lab-member strong,
.lab-invitation strong {
  overflow-wrap: anywhere;
  min-width: 0;
}
.lab-member {
  padding: 10px 12px;
}
.lab-member strong {
  font-size: 14px;
}
.lab-invite-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lab-invitation .fc-action,
.lab-member .fc-action {
  min-height: 36px;
  padding: 7px 12px;
}
.lab-match > .lab-invitation {
  margin-top: 12px;
}

/* ui/player-auth.css */
.family-app.player-auth-page {
  margin-inline: auto;
}
.family-app.player-auth-overlay {
  display: contents;
}
body:has(> .player-auth-overlay) {
  overflow: hidden;
}
.player-registration-password {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.player-registration-password > div {
  position: relative;
}
.player-auth-overlay .player-registration-password input {
  padding-inline-end: 52px;
}
.player-auth-overlay .player-registration-password button {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  padding: 0;
  display: grid;
  place-items: center;
}
.family-app.player-auth-overlay .ui-dialog-body .family-member-access p:not([role]) {
  color: #556c95;
}
.player-auth-page > .family-login {
  max-width: 620px;
  margin: 0 auto;
}
.player-auth-page .family-login-heading-copy > p {
  margin: 0 0 6px;
}
.player-auth-error,
.player-auth-hint,
.player-auth-info {
  line-height: 1.5;
  font-size: .93rem;
  overflow-wrap: anywhere;
}
.player-auth-error {
  color: #a32720;
}
.player-auth-hint {
  color: #53667b;
  margin-top: -6px;
}
.player-auth-info {
  margin-bottom: 16px;
  color: #354b62;
}
@media (min-width: 1000px) {
  .player-auth-page > .family-login {
    max-width: 1100px;
  }
}

/* ../prototypes/core-local/src/owner/owner-members.css */
.owner-members {
  font-family: var(--ui-font-family,system-ui);
  color: var(--va-ink,#253448);
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
}
.owner-members * {
  box-sizing: border-box;
  min-width: 0;
}
.owner-members h2,
.owner-members h3 {
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
  margin: 0 0 10px;
}
.owner-members h2 {
  font-size: 21px;
}
.owner-members h3 {
  font-size: 17px;
}
.owner-members p {
  margin: 8px 0;
}
.owner-members header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.owner-members header p {
  color: #52647a;
}
.owner-members button {
  min-height: 44px;
  border: 1px solid #cedce8;
  background: #f1f6fb;
  color: #283e58;
  border-radius: 12px;
  padding: 9px 13px;
  font: 500 14px var(--ui-font-family,system-ui);
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}
.owner-members button:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.owner-members button:focus-visible,
.owner-members input:focus-visible,
.owner-members textarea:focus-visible,
.owner-members select:focus-visible,
.owner-members summary:focus-visible {
  outline: 3px solid #6a99cb;
  outline-offset: 2px;
}
.owner-members input:not([type=checkbox]),
.owner-members select,
.owner-members textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd9e5;
  border-radius: 10px;
  background: #fff;
  padding: 9px 11px;
  font: 400 15px var(--ui-font-family,system-ui);
  color: #253448;
}
.owner-members input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #5687ad;
  flex-shrink: 0;
}
.owner-members label {
  display: grid;
  gap: 5px;
  font-weight: 500;
}
.owner-members-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.owner-members-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dce5ed;
  border-radius: 15px;
  background: #fbfdff;
  margin: 12px 0;
}
.owner-members-form p,
.owner-members-permissions p {
  font-weight: 400;
  color: #52647a;
}
.owner-members-permissions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid #dce5ed;
  border-radius: 12px;
  padding: 12px;
}
.owner-members-permissions legend {
  font-weight: 500;
  padding: 0 5px;
}
.owner-members-permissions label,
.owner-members-check {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  min-height: 36px;
}
.owner-members-permissions p {
  grid-column: 1/-1;
  margin: 0;
  font-size: 13px;
}
.owner-members-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  margin: 15px 0;
}
.owner-members-layout {
  display: grid;
  grid-template-columns: minmax(210px, .85fr) minmax(0, 1.5fr);
  gap: 18px;
  align-items: start;
}
.owner-members-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.owner-members-list > li > button {
  width: 100%;
  display: flex;
  gap: 10px;
  text-align: left;
  background: #fff;
}
.owner-members-list button[aria-pressed=true] {
  background: #eaf3fb;
  border-color: #92b3d1;
}
.owner-members-list strong,
.owner-members-list small {
  display: block;
  overflow-wrap: anywhere;
}
.owner-members-list strong {
  font-weight: 500;
}
.owner-members-list small {
  font-weight: 400;
  color: #52647a;
  margin-top: 3px;
  font-size: 13px;
}
.owner-members-initial {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 13px;
  background: #e8edf8;
  color: #4d6082;
  font-size: 18px;
}
.owner-members-editor dl {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}
.owner-members-editor dl > div {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  gap: 8px;
}
.owner-members-editor dt {
  color: #5d6c7c;
}
.owner-members-editor dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.owner-members-review,
.owner-members-capability {
  padding: 15px;
  border: 1px solid #d1bca1;
  border-radius: 15px;
  background: #fff8ed;
  margin: 15px 0;
  display: grid;
  gap: 10px;
}
.owner-members-capability {
  border-color: #b4ccd8;
  background: #f0f8fb;
}
.owner-members-capability textarea {
  font-family: ui-monospace, monospace;
  overflow-wrap: anywhere;
}
.owner-members-recovery {
  border-top: 1px solid #dce5ed;
  padding: 10px 0;
}
.owner-members-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.owner-members-pagination span {
  font-size: 13px;
}
.owner-members-audit {
  margin-top: 20px;
  border-top: 1px solid #dce5ed;
  padding-top: 12px;
}
.owner-members-audit summary {
  cursor: pointer;
  min-height: 44px;
  font-weight: 500;
}
.owner-members-audit ol {
  padding-left: 22px;
  display: grid;
  gap: 10px;
}
.owner-members-audit li {
  overflow-wrap: anywhere;
}
.owner-members-audit strong,
.owner-members-audit span,
.owner-members-audit small {
  display: block;
}
.owner-members-audit strong {
  font-weight: 500;
}
.owner-members-audit small {
  color: #52647a;
  font-size: 13px;
}
.owner-members [role=alert] {
  color: #874237;
  background: #fff2ee;
  padding: 10px;
  border-radius: 10px;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .owner-members header {
    display: block;
  }
  .owner-members header > .owner-members-actions {
    margin-top: 10px;
  }
  .owner-members-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .owner-members-filters {
    grid-template-columns: minmax(0, 1fr);
  }
  .owner-members-permissions {
    grid-template-columns: minmax(0, 1fr);
  }
  .owner-members-list {
    max-height: 340px;
    overflow: auto;
    padding: 2px;
  }
  .owner-members-form,
  .owner-members-review,
  .owner-members-capability {
    padding: 12px;
  }
  .owner-members-detail {
    border-top: 1px solid #dce5ed;
    padding-top: 14px;
  }
}
.owner-members-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.owner-members-tabs > button {
  flex: 1 1 80px;
}
.owner-members [role=tabpanel][hidden] {
  display: none;
}
.owner-members-tabs > button[aria-selected=true],
body[data-family-approved] .family-app.family-approved > .match-backdrop > .match-sheet .owner-members-tabs > button[aria-selected=true] {
  background: var(--fc-blue,#1555f4);
  border-color: var(--fc-blue,#1555f4);
  color: #fff;
  transition: none;
}
.owner-members-permissions > label {
  padding: 10px;
  border: 1px solid var(--fc-border,#dce5ed);
  border-radius: 10px;
  background: var(--fc-surface,#fff);
}
.owner-members-permissions > label:has(input:checked) {
  border-color: var(--fc-blue,#1555f4);
  background: var(--fc-soft-blue,#edf4ff);
}
.owner-members-permissions > .owner-advanced {
  grid-column: 1/-1;
}
.owner-members .owner-advanced summary {
  cursor: pointer;
  min-height: 36px;
  align-content: center;
  font-weight: 500;
}
.owner-members .owner-advanced p {
  font-size: 13px;
}
.owner-members-editor dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.owner-members-editor dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--fc-border,#dce5ed);
  border-radius: 10px;
  background: var(--fc-surface,#fff);
}
.owner-members-editor dt {
  font-size: 12px;
}
.owner-members .owner-section-header h2 {
  margin: 0;
}
.owner-members-form > .owner-field-grid {
  margin: 0;
}
@media (max-width: 480px) {
  .owner-members-editor dl {
    grid-template-columns: minmax(0, 1fr);
  }
}
.owner-members-back {
  display: none;
}
@media (max-width: 640px) {
  .owner-members-back {
    display: inline-flex;
    align-items: center;
  }
  .owner-members[data-view=detail] .owner-members-filters,
  .owner-members[data-view=detail] .owner-members-layout > div:first-child,
  .owner-members[data-view=list] .owner-members-detail {
    display: none;
  }
  .owner-members[data-view=detail] .owner-members-detail {
    border-top: 0;
    padding-top: 0;
  }
  .owner-members-list {
    max-height: none;
    overflow: visible;
  }
}
.owner-members-request {
  padding: 14px;
  border: 1px solid #b4cbe8;
  border-radius: 14px;
  background: #f1f7ff;
  margin: 12px 0;
}
.owner-members-request > .owner-members-actions > button {
  min-width: 110px;
}
.owner-members-request .owner-members-approve {
  background: #1764ff;
  border-color: #1764ff;
  color: #fff;
}
.owner-members-request .owner-members-reject {
  background: #fff;
  border-color: #d3b1ac;
  color: #923f35;
}
.owner-members-request > .owner-members-review {
  margin-bottom: 0;
}

/* ../prototypes/core-local/src/owner/owner.css */
.owner-preparation {
  display: grid;
  gap: 12px;
  text-align: left;
}
.owner-preparation fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: 8px;
  min-width: 0;
}
.owner-preparation label {
  display: grid;
  gap: 5px;
}
.owner-preparation input,
.owner-preparation select {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  font: inherit;
}
.owner-preparation .owner-review {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.owner-preparation .owner-review input {
  width: auto;
  margin-top: 4px;
}
.owner-preparation p {
  margin: 0;
  overflow-wrap: anywhere;
}
.owner-navigation {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  min-width: 0;
}
.owner-navigation-menu {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 0;
  max-height: 65dvh;
  overflow: auto;
  align-self: start;
  padding: 2px 4px 2px 0;
}
.owner-navigation-group {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.owner-navigation-group-title {
  font-size: 12px;
  font-weight: 650;
  color: var(--fc-muted,currentColor);
  padding: 0 8px;
}
.owner-navigation-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  text-align: left;
  padding: 9px 10px;
  border-radius: 10px;
  overflow-wrap: anywhere;
}
.owner-navigation-menu button > span {
  font-size: 20px;
}
.owner-navigation-menu button[aria-selected=true],
.family-app > .match-backdrop > .match-sheet .owner-navigation-menu button[aria-selected=true] {
  background: var(--fc-blue,#1555f4);
  color: #fff;
  border-color: var(--fc-blue,#1555f4);
}
.owner-navigation-menu button:focus-visible,
.owner-navigation-select select:focus-visible,
.owner-navigation-panel:focus-visible {
  outline: 3px solid var(--fc-blue,#1555f4);
  outline-offset: 2px;
}
.owner-navigation-content,
.owner-navigation-panel {
  min-width: 0;
}
.owner-navigation-panel {
  display: grid;
  gap: 12px;
}
.owner-navigation-panel[hidden] {
  display: none;
}
.owner-preparation .owner-navigation-select {
  display: none;
}
.owner-session-note {
  font-size: 13px;
  color: var(--fc-muted,currentColor);
  border-top: 1px solid var(--fc-border,#dceaff);
  padding-top: 10px;
}
.owner-session-note > summary {
  cursor: pointer;
  min-height: 32px;
  align-content: center;
}
.owner-session-note > p {
  margin-top: 8px;
}
@media (max-width: 899px), (orientation: portrait) and (max-width: 1100px) {
  .owner-navigation {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .owner-navigation-menu {
    display: none;
  }
  .owner-preparation .owner-navigation-select {
    display: grid;
  }
  .owner-navigation-select select {
    min-height: 44px;
  }
  .owner-navigation-panel {
    gap: 10px;
  }
}
.family-app > .match-backdrop > .match-sheet .owner-navigation-menu button[aria-selected=true]:hover {
  background: var(--fc-blue,#1555f4);
  color: #fff;
}
.owner-navigation-menu button {
  transition: none;
}
@media (min-width: 700px) {
  body[data-family-approved] .family-app.family-approved > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(> .ui-dialog-body):has(.owner-preparation) {
    width: min(920px, calc(100% - 24px)) !important;
  }
}
@media (max-width: 899px), (orientation: portrait) and (max-width: 1100px) {
  .owner-preparation .owner-navigation-select {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--gp-overlay,var(--fc-surface,#fff));
    padding-bottom: 8px;
  }
}
.owner-asset-library {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
.owner-asset-library > details > summary {
  min-height: 44px;
  align-content: center;
  cursor: pointer;
  font-weight: 650;
}
.owner-asset-library > details li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-block: 8px;
  overflow-wrap: anywhere;
}
.owner-asset-library > details button {
  min-height: 44px;
}
.owner-asset-library > details ul {
  padding-left: 16px;
}
.owner-match-appearance-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.owner-preparation .owner-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 0;
}
.family-app .owner-preparation .owner-toggle input[type=checkbox] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
}
.family-app > .match-backdrop > .match-sheet .owner-avatar-preview .family-avatar-body > .family-bank-target {
  background: transparent;
  box-shadow: none;
}
@media (min-width: 700px) {
  .family-app > .match-backdrop > .match-sheet:has(.owner-preparation) {
    width: min(920px, calc(100vw - 32px));
    max-height: min(85dvh, 900px);
  }
}
.owner-ready-preview {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(260px, 100%);
  aspect-ratio: 1.98;
  background: #311d18;
  border-radius: 12px;
  color: #fff0be;
}
.owner-ready-preview:has(img) {
  background: transparent;
}
.owner-ready-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.owner-ready-preview > span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  text-shadow: 0 1px 2px #210500;
}
.owner-ready-preview b {
  font-size: 24px;
}
.owner-ready-preview small {
  font: 600 12px "Segoe UI", sans-serif;
  color: inherit;
}
.owner-ready-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.owner-ready-preview-board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  justify-self: center;
  width: min(420px, 100%);
  aspect-ratio: 1.2;
  container-type: inline-size;
  background: #dbc18c;
  border: 2px solid #947246;
  border-radius: 8px;
}
.owner-ready-preview-grid {
  position: absolute;
  inset: 20px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 32px,
      #755531 33px 34px),
    repeating-linear-gradient(
      90deg,
      transparent 0 32px,
      #755531 33px 34px);
  border: 2px solid #755531;
}
.owner-ready-sliders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.owner-ready-sliders input {
  accent-color: #286c56;
}
.owner-ready-preview-board .ready-toggle {
  font-family:
    "Segoe Script",
    Georgia,
    "Times New Roman",
    serif;
}

/* ../prototypes/core-local/src/owner/owner-app.css */
.family-app.owner-app {
  display: block;
  box-sizing: border-box;
  width: min(1180px, 100%);
  max-width: 100%;
  height: auto;
  min-height: 100dvh;
  overflow: visible;
  margin: 0 auto;
  padding: 24px;
  color: var(--fc-ink,#203354);
}
body[data-family-approved] .family-app.family-approved.owner-app[data-ui-module=owner] {
  background: var(--fc-canvas,#f5faff) !important;
}
.owner-app .owner-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fc-border,#dceaff);
}
.owner-app .owner-app-header h1 {
  margin: 0;
  min-width: 0;
  font-size: var(--fc-ui-title-size,20px);
  line-height: var(--fc-ui-title-line,28px);
}
.owner-app .owner-app-account {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 45%;
  font-size: 14px;
  color: var(--fc-secondary,#5a6d95);
}
.owner-app .owner-app-account > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.owner-app .owner-app-account > .fc-icon {
  flex: none;
}
.owner-app .owner-app-session-actions {
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}
.owner-app .owner-app-session-actions > button.owner-session-refresh {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  min-width: 44px;
  padding: 0;
}
body[data-family-approved] .family-app.family-approved.owner-app .owner-session-confirmation {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.owner-app .owner-app-session-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: var(--fc-blue,#1555f4);
}
.owner-app .owner-navigation {
  gap: 20px;
}
.owner-app .owner-navigation-content {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 12px;
  background: var(--fc-surface,#fff);
}
.owner-app .owner-navigation-menu {
  max-height: calc(100dvh - 180px);
}
.owner-app .owner-navigation-group-title {
  font-size: 12px;
}
.owner-app .owner-navigation-menu button {
  border-radius: 9px;
  box-shadow: none;
}
.owner-app .owner-navigation-panel {
  gap: 18px;
  outline-offset: 5px;
}
.owner-app .owner-playground {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.owner-app .owner-playground-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.owner-app .owner-playground-header h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 26px;
}
.owner-app .owner-playground-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  line-height: 22px;
  color: #31794d;
}
.owner-app .owner-playground-status > i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}
.owner-app .owner-playground-status[data-state=draining] {
  color: #a07222;
}
.owner-app .owner-playground-status[data-state=closed] {
  color: var(--fc-secondary,#5a6d95);
}
.owner-app .owner-playground-matches {
  font-size: 13px;
  color: var(--fc-secondary,#5a6d95);
}
.owner-app .owner-playground-matches strong {
  font-size: 24px;
  line-height: 30px;
  color: var(--fc-ink,#203354);
  padding-left: 4px;
  font-variant-numeric: tabular-nums;
}
.owner-app .owner-playground-note {
  font-size: 14px;
  line-height: 22px;
  color: var(--fc-secondary,#5a6d95);
}
.owner-app .owner-resource-area {
  display: grid;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--fc-border,#dceaff);
  min-width: 0;
}
.owner-app .owner-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
body[data-family-approved] .family-app.family-approved.owner-app .owner-resource-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  min-width: 0;
  padding: 14px;
  text-align: left;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 10px;
  background: var(--fc-surface,#fff) !important;
  color: var(--fc-ink,#203354) !important;
  box-shadow: none;
}
.owner-app .owner-resource-card > span:not(.owner-resource-icon) {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.owner-app .owner-resource-card strong {
  font-size: 15px;
  line-height: 22px;
}
.owner-app .owner-resource-card small {
  font-size: 12px;
  line-height: 18px;
  color: var(--fc-secondary,#5a6d95);
}
.owner-app .owner-resource-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0ebfa;
  color: #8054c4;
}
.owner-app .owner-resource-icon[data-tone=blue] {
  background: #eaf1ff;
  color: #3b65d8;
}
.owner-app .owner-resource-icon[data-tone=gold] {
  background: #fff4df;
  color: #b17e27;
}
.owner-app .owner-resource-icon[data-tone=green] {
  background: #e9f6ef;
  color: #34956b;
}
.owner-app .owner-resource-card > .fc-icon {
  color: var(--fc-secondary,#5a6d95);
}
.owner-app .owner-resource-readback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.owner-app .owner-resource-readback > p {
  flex-basis: 100%;
  font-size: 13px;
}
.owner-app .owner-secondary {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 9px;
  background: var(--fc-surface,#fff);
  color: var(--fc-blue,#1555f4);
  box-shadow: none;
  font-size: 13px;
}
body[data-family-approved] .family-app.family-approved.owner-app .owner-auth {
  max-width: 520px;
  margin: 24px auto;
  padding: 20px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 12px;
  background: var(--fc-surface,#fff) !important;
  box-shadow: none;
}
.owner-app .owner-auth .catalog-login {
  display: grid;
  gap: 12px;
}
.owner-app .owner-auth label {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.owner-app .owner-auth input:not([type=checkbox]) {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  font: inherit;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: var(--fc-ui-control-radius,10px);
  background: var(--fc-surface,#fff);
  color: inherit;
}
.owner-app .owner-auth .owner-review {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.owner-app .owner-auth .owner-review input {
  flex: none;
  width: 18px;
  height: 18px;
}
.owner-app .owner-ready-buttons > button {
  min-height: 44px;
}
.owner-app > [inert] {
  opacity: .65;
}
.owner-app .owner-session-note {
  margin-top: 10px;
  padding: 10px 0 0;
  font-size: 13px;
  line-height: 21px;
}
.owner-app .owner-session-note > summary {
  min-height: 36px;
  align-content: center;
}
.owner-app .owner-session-note > p {
  max-width: 88ch;
}
.owner-app :is(button, a, input, select, summary):focus-visible {
  outline: 2px solid var(--fc-blue,#1555f4);
  outline-offset: 3px;
}
@media (max-width: 699px) {
  .family-app.owner-app {
    padding: 14px 12px;
  }
  .owner-app .owner-app-header {
    gap: 10px;
    margin-bottom: 6px;
    padding-bottom: 8px;
  }
  .owner-app .owner-app-header h1 {
    font-size: 17px;
    line-height: 24px;
    white-space: nowrap;
  }
  .owner-app .owner-app-account {
    font-size: 12px;
    gap: 4px;
  }
  .owner-app .owner-app-session-actions {
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
    margin-bottom: 8px;
  }
  .owner-app .owner-app-session-actions > button {
    flex: none;
    font-size: 13px;
    padding: 8px;
  }
  .owner-app .owner-app-session-actions a {
    min-width: 0;
    padding: 0 6px;
    font-size: 13px;
    white-space: nowrap;
  }
  .owner-app .owner-navigation-content {
    padding: 16px;
    border-radius: 10px;
  }
  .owner-app .owner-preparation .owner-navigation-select {
    background: var(--fc-canvas,#f5faff);
  }
  .owner-app .owner-resource-grid {
    gap: 10px;
  }
  .owner-app .owner-resource-card {
    grid-template-columns: 36px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 12px !important;
    min-height: 100px;
  }
  .owner-app .owner-resource-icon {
    width: 36px;
    height: 36px;
  }
  .owner-app .owner-resource-card > .fc-icon {
    display: none;
  }
  .owner-app .owner-resource-card strong {
    font-size: 14px;
  }
  .owner-app .owner-playground-header {
    gap: 10px;
  }
  .owner-app .owner-playground-matches {
    font-size: 12px;
  }
  .owner-app .owner-playground-matches strong {
    font-size: 22px;
  }
  .owner-app .owner-playground .owner-ready-buttons {
    gap: 8px;
  }
}
@media (max-width: 380px) {
  .owner-app .owner-app-session-actions {
    gap: 4px;
  }
  .owner-app .owner-app-session-actions > button {
    font-size: 12px;
    padding: 8px 6px;
  }
  .owner-app .owner-app-session-actions a {
    font-size: 12px;
    padding: 0 4px;
  }
  .owner-app .owner-resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .owner-app .owner-resource-card {
    min-height: 72px !important;
  }
  .owner-app .owner-app-header h1 {
    font-size: 16px;
  }
  .owner-app .owner-app-account {
    max-width: 40%;
  }
}
.owner-app .owner-task-overview {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--fc-border,#dceaff);
  padding-top: 20px;
}
.owner-app .owner-task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.owner-app .owner-task-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px;
  text-align: left;
  min-height: 120px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 12px;
  background: var(--fc-surface,#fff);
  color: var(--fc-ink,#203354);
  box-shadow: none;
}
.owner-app .owner-task-card strong {
  font-size: 16px;
}
.owner-app .owner-task-card span {
  font-size: 13px;
  line-height: 20px;
  color: var(--fc-secondary,#5a6d95);
}
.owner-app .owner-task-card span:last-child {
  color: var(--fc-blue,#1555f4);
  margin-top: 6px;
}
.owner-app .owner-endgame-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.owner-app .owner-endgame-flow li {
  display: grid;
  gap: 6px;
  font-size: 13px;
  line-height: 20px;
  padding: 12px;
  background: var(--fc-canvas,#f5faff);
  border-radius: 10px;
}
.owner-app .owner-endgame-flow b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fc-soft-blue,#edf4ff);
  color: var(--fc-blue,#1555f4);
}
@media (max-width: 699px) {
  .owner-app .owner-task-grid {
    grid-template-columns: 1fr;
  }
  .owner-app .owner-task-card {
    min-height: 96px;
  }
  .owner-app .owner-endgame-flow {
    grid-template-columns: 1fr;
  }
  .owner-app .owner-endgame-flow li {
    display: flex;
    align-items: center;
  }
}
.owner-app .owner-navigation-panel :is(h3, h4) {
  margin: 0;
  color: var(--fc-ink,#203354);
}
.owner-app .owner-navigation-panel h3 {
  font-size: 18px;
  line-height: 26px;
}
.owner-app .owner-navigation-panel h4 {
  font-size: 15px;
  line-height: 23px;
}
.owner-app .owner-navigation-panel p {
  font-size: 14px;
  line-height: 22px;
}
.owner-app .owner-preparation fieldset {
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 12px;
  padding: 16px;
  gap: 14px;
}
.owner-app .owner-preparation legend {
  padding: 0 6px;
  font-size: 15px;
  font-weight: 650;
}
.owner-app .owner-preparation :is(input, select, textarea) {
  color: var(--fc-ink,#203354);
  accent-color: var(--fc-blue,#1555f4);
}
.owner-app .owner-preparation :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]), select, textarea) {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 10px;
  background: var(--fc-surface,#fff);
  font: inherit;
}
.owner-app .owner-preparation :is(input[type=checkbox], input[type=radio]) {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: none;
  margin: 2px 0;
}
.owner-app .owner-preparation input[type=range] {
  min-height: 30px;
}
.owner-app .owner-preparation input[type=color] {
  min-height: 44px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 8px;
  background: var(--fc-surface,#fff);
}
.owner-app .owner-preparation button {
  min-height: 44px;
}
.owner-app .owner-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.owner-app .owner-section-header > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.owner-app .owner-section-header p {
  color: var(--fc-secondary,#5a6d95);
}
.owner-app .owner-section-header > button {
  flex: none;
  width: auto;
  justify-self: end;
}
.owner-app .owner-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 14px;
  min-width: 0;
}
.owner-app .owner-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.owner-app .owner-advanced {
  border-top: 1px solid var(--fc-border,#dceaff);
  padding-top: 10px;
  min-width: 0;
}
.owner-app .owner-advanced > summary {
  cursor: pointer;
  min-height: 44px;
  align-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--fc-secondary,#5a6d95);
}
.owner-app .owner-advanced[open] > summary {
  margin-bottom: 12px;
}
.owner-app .owner-status {
  font-size: 13px;
  line-height: 21px;
  border-radius: 9px;
  padding: 10px 12px;
  background: var(--fc-canvas,#f5faff);
}
body[data-family-approved] .family-app.family-approved.owner-app :is(.owner-navigation-menu, .owner-members-tabs) button[aria-selected=true]:is(:hover, :focus-visible) {
  background: var(--fc-blue,#1555f4) !important;
  color: #fff !important;
  border-color: var(--fc-blue,#1555f4);
}
.owner-app .owner-navigation-panel button[type=submit],
.owner-app .owner-primary {
  background: var(--fc-blue,#1555f4);
  color: #fff;
  border-color: var(--fc-blue,#1555f4);
}
@media (max-width: 699px) {
  .owner-app .owner-preparation fieldset {
    padding: 12px;
  }
  .owner-app .owner-section-header h3 {
    font-size: 17px;
  }
}
.owner-app .ui-dialog-body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]), select, textarea) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 10px;
  background: var(--fc-surface,#fff);
  color: var(--fc-ink,#203354);
  font: inherit;
}
.owner-app .ui-dialog-body :is(input[type=checkbox], input[type=radio]) {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--fc-blue,#1555f4);
}
.owner-app .ui-dialog-body label {
  font-size: 14px;
  line-height: 22px;
}
.owner-app .ui-dialog-body button {
  min-height: 44px;
}
@media (max-width: 640px) {
  .owner-app .owner-members > .owner-section-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .owner-app .owner-members > .owner-section-header > .owner-members-actions {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 6px;
    width: 100%;
    margin: 0;
  }
  .owner-app .owner-members > .owner-section-header > .owner-members-actions > button {
    padding: 8px 6px;
    font-size: 13px;
  }
}
.owner-app .owner-navigation-panel :is(h2, h3) {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}
.owner-app .owner-navigation-panel label {
  font-size: 16px;
  font-weight: 400;
}
.owner-app .owner-navigation :is(button, input, select) {
  font-size: 14px;
  font-weight: 400;
}
.owner-app .owner-navigation-panel {
  align-content: start;
}
.owner-app .owner-navigation-content {
  align-self: start;
}

/* ui/owner-console.css */
.player-owner .owner-members-editor header {
  margin-bottom: 14px;
}
.player-owner .owner-members-editor header p {
  overflow-wrap: anywhere;
  color: var(--fc-secondary,#566983);
}
.player-owner .owner-members-actions {
  margin: 12px 0;
}
.player-owner .owner-members-detail,
.player-owner .owner-members-filters {
  min-width: 0;
}
.player-owner .owner-message {
  margin-block: 10px;
  color: var(--fc-ink,#203354);
  overflow-wrap: anywhere;
}
.player-owner .owner-auth code {
  overflow-wrap: anywhere;
}
.player-owner .owner-member-create {
  margin-block: 12px;
  padding: 16px;
  border: 1px solid #d5dfef;
  border-radius: 12px;
  background: #fff;
}
.player-owner .owner-member-create fieldset {
  border: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
  gap: 12px;
  margin: 12px 0;
  padding: 0;
}
.player-owner .owner-member-create label {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.player-owner .owner-member-create fieldset p {
  grid-column: 1/-1;
  margin: 0;
}
.player-owner .owner-member-create :is(input, select) {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid #ccd6e6;
  border-radius: 8px;
  font: inherit;
}
.player-owner .owner-auth .catalog-login :is(label, input, .fc-action) {
  font-size: 16px;
  line-height: 1.45;
}
.player-owner .owner-playground-status[data-state=draining] {
  color: #94691f;
}

/* ../prototypes/core-local/src/owner/owner-art-library.css */
.owner-art-library {
  min-width: 0;
  color: var(--fc-ink,#29253d);
}
.owner-art-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--fc-line,#e8e3ef);
  padding: 0 0 10px;
  overflow-x: auto;
}
.owner-art-tabs button {
  flex: 1;
  min-width: 58px;
}
.owner-art-tabs [aria-selected=true] {
  background: var(--fc-primary,#7160bf);
  border-color: transparent;
  color: white;
}
.owner-art-toolbar,
.owner-art-card-title,
.owner-art-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.owner-art-toolbar {
  margin: 16px 0 10px;
}
.owner-art-toolbar h4 {
  margin: 0;
}
.owner-art-default {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 12px;
  background: #f7f5fb;
  border-radius: 12px;
  margin-bottom: 16px;
}
.owner-art-default label {
  flex: 1;
  min-width: 0;
}
.owner-art-default select {
  width: 100%;
}
.owner-art-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.owner-art-card {
  min-width: 0;
  border: 1px solid var(--fc-line,#e8e3ef);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.owner-art-card-title {
  margin: 10px 0;
  align-items: start;
  overflow-wrap: anywhere;
}
.owner-art-card-title strong {
  font-size: 14px;
}
.owner-art-badge {
  font-size: 11px;
  white-space: nowrap;
  border-radius: 8px;
  padding: 3px 6px;
  background: #eee9ff;
  color: #6551a2;
}
.owner-art-preview {
  height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f2f8;
}
.owner-art-preview > img,
.owner-art-preview > svg {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.owner-art-preview > svg {
  width: 100%;
  height: 100%;
}
.owner-art-preview[data-kind=pieces] {
  height: auto;
  min-height: 160px;
  padding: 6px;
}
.owner-art-preview > .fc-avatar-canvas {
  width: min(180px, 100%);
  height: auto;
  aspect-ratio: 1;
}
.owner-art-draft-preview > .fc-avatar-canvas {
  width: min(300px, 100%);
  height: auto;
  aspect-ratio: 1;
}
.owner-art-library .fc-avatar-canvas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.owner-art-library .fc-avatar-canvas > .fc-profile-avatar {
  position: relative;
  width: 100%;
  height: 100%;
}
.owner-art-library .fc-avatar-canvas > .fc-profile-avatar > .fc-profile-avatar-scale {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center;
}
.owner-art-piece-preview {
  width: 100%;
}
.owner-art-piece-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.owner-art-piece-row figure {
  margin: 0;
  min-width: 0;
  text-align: center;
}
.owner-art-piece-row svg {
  width: 100%;
  height: auto;
  display: block;
}
.owner-art-piece-row figcaption {
  font-size: 10px;
}
.owner-art-piece-row + .owner-art-piece-row {
  margin-top: 8px;
}
.owner-art-draft fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  gap: 14px;
}
.owner-art-draft-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f2f8;
  border-radius: 12px;
  max-height: 350px;
  overflow: hidden;
  padding: 8px;
}
.owner-art-draft-preview > img,
.owner-art-draft-preview > svg {
  display: block;
  max-width: 100%;
  max-height: 330px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.owner-art-draft-preview > svg {
  width: 100%;
  height: 330px;
}
.owner-art-draft input[type=file] {
  width: 100%;
  max-width: 100%;
  font-size: 13px;
}
.owner-art-draft .owner-section-actions {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-top: 12px;
  z-index: 1;
  border-top: 1px solid var(--fc-line,#e8e3ef);
}
.owner-art-piece-upload h5 {
  margin: 8px 0;
}
.owner-art-piece-slot {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 5px;
  background: #f8f6fc;
  border: 1px solid #e9e3f1;
  padding: 6px;
  border-radius: 9px;
  font-size: 12px;
}
.owner-art-piece-slot canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.owner-art-piece-file {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
  border-radius: 6px;
  background: #eee8f9;
}
.owner-art-piece-file > span {
  font-size: 11px !important;
  line-height: 16px;
  white-space: nowrap;
  pointer-events: none;
}
.owner-art-piece-file:focus-within {
  outline: 2px solid #8da9ff;
  outline-offset: 2px;
}
.owner-art-piece-slot .owner-art-piece-file input[type=file] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 44px;
  opacity: 0;
  cursor: pointer;
  font-size: 0 !important;
  padding: 0 !important;
}
.owner-art-piece-slot button {
  font-size: 11px !important;
  padding: 5px !important;
  min-height: 44px !important;
  width: 100%;
}
.owner-art-piece-empty {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  color: #9a8eb4;
  font-size: 26px;
}
.owner-art-atlas-input {
  display: grid;
  gap: 8px;
}
.owner-art-delete {
  text-align: center;
}
.owner-art-delete > .owner-art-preview {
  width: 180px;
  margin: auto;
}
.owner-art-delete h4 {
  overflow-wrap: anywhere;
}
@media (min-width: 1000px) {
  .owner-art-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .owner-art-cards {
    grid-template-columns: 1fr;
  }
  .owner-art-default {
    align-items: stretch;
    flex-direction: column;
  }
  .owner-art-piece-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .owner-art-preview {
    height: 170px;
  }
  .owner-art-card-actions button {
    flex: 1;
  }
}
.owner-art-card-actions > button {
  flex: 1;
  min-width: max-content;
  white-space: nowrap;
}
@media (min-width: 600px) {
  body[data-family-approved] .owner-app.family-approved > .match-backdrop:not([data-dialog-variant=chat]) > .match-sheet:has(.owner-art-library) {
    width: min(840px, calc(100% - 24px)) !important;
    max-width: calc(100% - 24px) !important;
  }
}
.owner-frame-library {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .85fr);
  align-items: start;
}
.owner-frame-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.owner-frame-choice {
  display: block;
  text-align: left;
  min-width: 0;
  color: inherit;
}
.owner-frame-choice[aria-pressed=true] {
  outline: 2px solid var(--fc-blue,#1555f4);
  outline-offset: -2px;
}
.owner-frame-detail {
  display: grid;
  gap: 12px;
  justify-items: center;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--fc-line,#e8e3ef);
  border-radius: 12px;
}
.owner-frame-detail > .fc-avatar-canvas {
  width: min(280px, 100%);
  height: auto;
  aspect-ratio: 1;
}
.owner-frame-detail .owner-section-actions {
  justify-content: center;
  flex-wrap: wrap;
}
.owner-frame-size > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.owner-frame-size output {
  font-variant-numeric: tabular-nums;
}
.owner-frame-cards .owner-art-preview {
  height: 130px;
}
.owner-frame-cards .owner-art-preview > .fc-avatar-canvas {
  width: 130px;
}
.owner-frame-cards .owner-art-card-title {
  display: grid;
  gap: 4px;
}
.owner-frame-cards .owner-art-badge {
  justify-self: start;
}
@media (max-width: 1000px) {
  .owner-frame-library {
    grid-template-columns: minmax(0, 1fr);
  }
  .owner-frame-detail {
    max-width: 100%;
  }
}
.owner-frame-fixed-portrait {
  flex: none;
  min-width: 0;
}
.owner-frame-fixed-portrait > .fc-avatar-canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.owner-art-draft-preview:has(.owner-frame-fixed-portrait) {
  min-height: 180px;
}
.owner-frame-detail:has(.owner-frame-fixed-portrait) {
  min-height: 220px;
}
.owner-frame-preview-window {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  height: 152px;
  overflow: auto;
  padding: 8px;
  box-sizing: border-box;
}
.owner-frame-preview-window > .owner-frame-fixed-portrait {
  margin: auto;
  flex-shrink: 0;
}
.owner-art-draft-preview:has(.owner-frame-preview-window) {
  height: 180px;
  overflow: visible;
}
.owner-frame-detail:has(.owner-frame-preview-window) {
  align-content: start;
}

/* ../prototypes/core-local/src/owner/owner-appearance-catalog.css */
.owner-appearance-catalog {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.owner-appearance-catalog .owner-catalog-fields {
  display: grid;
  gap: 22px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.owner-catalog-fields > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.owner-catalog-fields > section {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.owner-catalog-fields h4 {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
}
.owner-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}
.family-app .owner-catalog-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  text-align: center;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 12px;
  background: var(--fc-surface,#fff);
  cursor: pointer;
  overflow-wrap: anywhere;
}
.family-app .owner-catalog-card[data-selected=true] {
  border-color: var(--fc-blue,#1555f4);
  box-shadow: 0 0 0 1px var(--fc-blue,#1555f4);
}
.family-app .owner-catalog-card > input {
  position: absolute;
  z-index: 1;
  top: 9px;
  right: 9px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--fc-blue,#1555f4);
}
.owner-catalog-card:focus-within {
  outline: 2px solid var(--fc-blue,#1555f4);
  outline-offset: 3px;
}
.owner-catalog-card strong {
  font-size: 14px;
  line-height: 21px;
}
.owner-catalog-card small {
  font-size: 12px;
  line-height: 18px;
  color: var(--fc-secondary,#5a6d95);
}
.owner-catalog-image {
  display: grid;
  place-items: center;
  height: 146px;
  min-width: 0;
  margin-bottom: 5px;
  padding: 8px;
  background: var(--fc-canvas,#f5faff);
  border-radius: 8px;
  overflow: hidden;
}
.owner-catalog-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 130px;
  object-fit: contain;
}
.owner-catalog-image[data-kind=background] img {
  object-fit: cover;
  object-position: center;
}
.owner-catalog-fields:disabled .owner-catalog-card {
  cursor: default;
  opacity: .7;
}
@media (max-width: 699px) {
  .owner-catalog-grid {
    gap: 10px;
  }
  .family-app .owner-catalog-card {
    padding: 9px;
  }
  .owner-catalog-image {
    height: 120px;
    padding: 5px;
  }
  .owner-catalog-image img {
    max-height: 110px;
  }
  .owner-catalog-card strong {
    font-size: 13px;
  }
}

/* ../prototypes/core-local/src/owner/owner-audio-library.css */
.owner-audio-library {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.owner-audio-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  justify-content: space-between;
}
.owner-audio-header > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.owner-audio-header h3,
.owner-audio-group h4,
.owner-audio-editor h4 {
  margin: 0;
}
.owner-audio-header > button {
  flex-shrink: 0;
}
.owner-audio-workspace {
  display: grid;
  grid-template-columns: minmax(145px, 185px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
}
.owner-audio-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.owner-audio-group {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.owner-audio-group h4 {
  font-size: 13px;
  color: var(--fc-muted,currentColor);
  padding: 0 8px;
}
.owner-audio-group button {
  display: grid;
  gap: 3px;
  text-align: left;
  min-height: 44px;
  min-width: 0;
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  overflow-wrap: anywhere;
}
.owner-audio-group small {
  font-size: 11px;
  opacity: .8;
}
.owner-audio-group button[aria-pressed=true] {
  background: var(--fc-blue,#1555f4);
  color: #fff;
  border-color: var(--fc-blue,#1555f4);
}
.owner-audio-editor {
  display: grid;
  gap: 12px;
  min-width: 0;
  position: sticky;
  top: 0;
  padding: 14px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 12px;
  background: var(--fc-surface,transparent);
}
.owner-audio-editor h4 {
  font-size: 17px;
}
.owner-audio-limit,
.owner-audio-file-label,
.owner-audio-editor > small {
  font-size: 12px;
  color: var(--fc-muted,currentColor);
}
.owner-audio-file,
.owner-audio-draft {
  display: grid;
  gap: 6px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.owner-audio-file strong,
.owner-audio-draft strong {
  font-size: 14px;
  line-height: 1.5;
}
.owner-audio-file small,
.owner-audio-draft small {
  font-size: 12px;
  color: var(--fc-muted,currentColor);
}
.owner-audio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.owner-audio-actions > button,
.owner-audio-header > button {
  min-height: 44px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.owner-audio-draft,
.owner-audio-restore {
  padding-top: 12px;
  border-top: 1px solid var(--fc-border,#dceaff);
}
.owner-audio-restore {
  display: grid;
  gap: 10px;
}
.owner-audio-status {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.owner-audio-apply {
  font-weight: 650;
}
.owner-audio-library input[hidden] {
  display: none;
}
.owner-audio-library button:focus-visible {
  outline: 3px solid var(--fc-blue,#1555f4);
  outline-offset: 2px;
}
.owner-audio-library .owner-audio-select {
  display: none;
}
@media (min-width: 700px) {
  .owner-audio-list {
    max-height: min(42dvh, 380px);
    overflow: auto;
    padding-right: 4px;
    scrollbar-width: thin;
  }
}
@media (max-width: 699px) {
  .owner-audio-header {
    flex-wrap: wrap;
  }
  .owner-audio-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .owner-audio-list {
    display: none;
  }
  .owner-audio-library .owner-audio-select {
    display: grid;
    gap: 5px;
  }
  .owner-audio-select select {
    min-height: 44px;
  }
  .owner-audio-editor {
    position: static;
    padding: 12px;
  }
  .owner-audio-actions > button {
    flex: 1 1 125px;
    font-size: 13px;
  }
}
body[data-family-approved] .family-app.family-approved > .match-backdrop > .match-sheet .owner-audio-group button[aria-pressed=true] {
  background: var(--fc-blue,#1555f4);
  color: #fff;
  border-color: var(--fc-blue,#1555f4);
}
body[data-family-approved] .family-app.family-approved > .match-backdrop > .match-sheet .owner-audio-group button[aria-pressed=true] small {
  color: #fff;
  opacity: .95;
}
.owner-audio-current {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.owner-audio-current > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.owner-audio-symbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #edf2ff;
  color: var(--fc-blue,#1555f4);
}
.owner-audio-symbol svg {
  width: 32px;
  height: 32px;
}
.owner-audio-details {
  font-size: 12px;
  line-height: 19px;
  color: var(--fc-secondary,#5a6d95);
}
.owner-audio-details summary {
  cursor: pointer;
  min-height: 36px;
  align-content: center;
}
.owner-audio-details p {
  margin: 6px 0 0;
}
.owner-audio-draft {
  padding: 12px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 10px;
  background: var(--fc-canvas,#f5faff);
}
@media (max-width: 699px) {
  .owner-audio-current {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }
  .owner-audio-symbol {
    width: 44px;
    height: 44px;
  }
  .owner-audio-editor .owner-audio-actions > button {
    flex: 1 1 80px;
    font-size: 13px;
  }
}

/* ../prototypes/core-local/src/owner/owner-effects.css */
.owner-effects {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.owner-effects-preview {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  text-align: center;
}
.owner-effect-duration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 8px;
  align-items: center;
}
.owner-effect-duration > label {
  grid-column: 1;
}
.owner-effect-duration > input[type=range] {
  grid-column: 1/-1;
}
.owner-effect-duration > small {
  grid-column: 1/-1;
}
.owner-effect-duration input {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.owner-effect-board {
  width: 100%;
  max-width: 440px;
  justify-self: center;
}
.owner-effect-board .board-shell {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.owner-effects-preview:has(.owner-effect-board) {
  background: transparent;
  min-height: 0;
}
.owner-effect-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.owner-effect-choices > button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 12px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 10px;
  background: var(--fc-surface,#fff);
  color: var(--fc-ink,#203354);
}
.owner-effect-choices > button > span {
  display: grid;
  gap: 3px;
}
.owner-effect-choices strong {
  font-size: 14px;
}
.owner-effect-choices small {
  font-size: 12px;
}
.owner-effect-choices > button[aria-pressed=true] {
  outline: 2px solid var(--fc-blue,#1555f4);
  outline-offset: -2px;
  background: var(--fc-canvas,#f5faff);
}
.owner-effects-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr);
  align-items: start;
  gap: 16px;
  min-width: 0;
}
.owner-effect-placeholder {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  font-size: 14px;
}
.owner-effects-editor {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.owner-app .owner-effects-preview {
  min-height: 240px;
  background: #fcf6e9;
  border: 1px solid #e8ddc9;
  color: var(--fc-ink,#203354);
}
.owner-app .owner-effects-preview:has(.owner-effect-board) {
  background: transparent;
  min-height: 0;
}
@media (max-width: 900px) {
  .owner-effects-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
}
.owner-effect-value {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.owner-effect-value input {
  width: 80px;
}
.owner-effect-value > span {
  font-size: 14px;
  white-space: nowrap;
}
.owner-effects-preview {
  aspect-ratio: 1328/1472;
  align-self: start;
  width: 100%;
}
.owner-effects-preview:has(.owner-effect-board) {
  aspect-ratio: auto;
}
.owner-effects-workspace > .owner-effects-editor {
  align-self: start;
}

/* ../prototypes/core-local/src/owner/owner-entry-policy.css */
.owner-entry-policy {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.owner-entry-policy h3 {
  margin: 0;
}
.owner-entry-policy > button {
  justify-self: start;
  min-height: 44px;
}
.owner-entry-policy .owner-review {
  min-height: 44px;
  align-items: center;
  overflow-wrap: anywhere;
}
.owner-entry-policy .owner-review input[type=checkbox] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
}
.owner-entry-policy details {
  max-height: 300px;
  overflow: auto;
  overscroll-behavior: contain;
}
.owner-entry-policy summary {
  min-height: 44px;
  align-content: center;
  cursor: pointer;
}
.owner-entry-policy button[type=submit] {
  min-height: 44px;
}
.owner-entry-policy .owner-policy-toggle {
  padding: 14px;
  border: 1px solid var(--fc-border,#dce5ed);
  border-radius: 14px;
  background: var(--fc-surface,#fff);
  font-weight: 600;
  gap: 12px;
}
.owner-entry-policy .owner-policy-toggle:has(input:checked) {
  border-color: var(--fc-blue,#1555f4);
  background: var(--fc-soft-blue,#edf4ff);
}
.owner-policy-summary {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--fc-bg,#f5f8fc);
  color: var(--fc-ink,#253448);
  font-size: 14px;
  line-height: 1.5;
}
.owner-policy-summary p {
  margin: 0;
}
.owner-policy-summary strong {
  font-size: 13px;
  font-weight: 600;
}
.owner-endgame-settings > fieldset {
  margin: 0;
}
.owner-time-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.owner-time-policy .owner-time-mode {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 9px;
  border: 1px solid var(--fc-border,#dce5ed);
  border-radius: 16px;
  padding: 16px;
  background: var(--fc-surface,#fff);
  color: var(--fc-ink,#253448);
  min-width: 0;
  line-height: 1.5;
}
.owner-time-mode strong {
  font-size: 17px;
  font-weight: 600;
}
.owner-time-mode span {
  font-size: 14px;
}
.owner-time-mode small {
  font-size: 13px;
  color: var(--fc-blue,#1555f4);
}
.owner-time-policy .owner-time-mode[aria-pressed=true] {
  border-color: var(--fc-blue,#1555f4);
  background: var(--fc-soft-blue,#edf4ff);
  box-shadow: inset 0 0 0 1px var(--fc-blue,#1555f4);
}
.owner-time-policy .owner-time-future {
  grid-column: 1/-1;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 16px;
  background: transparent;
}
.owner-time-future strong {
  font-size: 14px;
}
.owner-time-future span {
  color: var(--fc-muted,#536477);
}
.owner-time-policy .owner-time-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 4px 0 14px;
}
.owner-time-policy .owner-time-targets .owner-review {
  display: flex;
  gap: 10px;
  margin: 0;
}
.owner-time-scope {
  font-size: 14px;
  color: var(--fc-muted,#536477);
}
.owner-time-confirm {
  padding: 12px 16px;
  border: 1px solid #c78b2a;
  border-radius: 12px;
  background: #fff9e9;
}
.owner-time-confirm p {
  margin: 0 0 8px;
}
.owner-time-policy .owner-advanced > p {
  font-size: 14px;
  line-height: 1.5;
}
.owner-time-policy .owner-time-mode:focus-visible {
  outline: 3px solid var(--fc-blue,#1555f4);
  outline-offset: 3px;
}
@media (max-width: 620px) {
  .owner-time-modes {
    grid-template-columns: 1fr;
  }
  .owner-time-policy .owner-time-future {
    grid-column: auto;
  }
  .owner-time-policy .owner-time-mode {
    padding: 12px;
  }
  .owner-time-policy .owner-time-targets {
    gap: 8px 16px;
  }
}
.owner-time-bank {
  min-width: 0;
}
.owner-time-bank > label {
  display: grid;
  gap: 6px;
}
.owner-time-bank > small {
  display: block;
  margin-top: 6px;
  color: var(--fc-muted,#536477);
  font-size: 13px;
  line-height: 1.45;
}

/* ../prototypes/core-local/src/owner/owner-ai-resources.css */
.owner-ai-resource-table {
  max-width: 100%;
  overflow-x: auto;
}
.owner-ai-resource-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.owner-ai-resource-table th,
.owner-ai-resource-table td {
  padding: 8px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--owner-border,#e4e0d8);
}
.owner-ai-resource-table th:first-child {
  width: 36px;
}
.owner-ai-resource-table input {
  width: 100%;
  min-width: 64px;
  box-sizing: border-box;
}
@media (max-width: 520px) {
  .owner-ai-resource-table th,
  .owner-ai-resource-table td {
    padding: 6px 4px;
  }
  .owner-ai-resource-table table {
    font-size: .82rem;
  }
  .owner-ai-resource-table input {
    padding-inline: 5px;
  }
}

/* ui/owner-round-settings.css */
.owner-round-settings fieldset {
  min-width: 0;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
}
.owner-round-settings legend {
  padding: 0 6px;
  font-weight: 600;
}
.owner-round-settings .owner-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
}
.owner-round-settings label {
  display: grid;
  align-content: start;
  gap: 6px;
}
.owner-round-settings input,
.owner-round-settings select {
  max-width: 100%;
  min-width: 0;
}
.owner-ready-sample {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 12px auto;
  width: min(100%, 320px);
  height: 150px;
  border-radius: 10px;
  background: #cbae81;
}
.owner-ready-sample::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 27px,
      #72542c 27px 28px),
    repeating-linear-gradient(
      90deg,
      transparent 0 27px,
      #72542c 27px 28px);
  filter: blur(var(--ready-blur));
}
.owner-ready-sample::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(0 0 0 / var(--ready-dim));
}
.owner-navigation .owner-ready-sample button.ready-toggle {
  width: var(--ready-plaque-width);
  font-size: clamp(20px, 6.4cqw, 44px);
}
.owner-ready-sample .ready-countdown {
  width: var(--ready-countdown-width);
}
.owner-round-settings details > summary {
  cursor: pointer;
  padding: 8px 0;
}
.owner-round-settings .owner-round-note {
  margin: 8px 0;
  color: #52627a;
  font-size: 13px;
  line-height: 1.5;
}
.owner-ready-preview-status {
  display: grid;
  gap: 8px;
  margin: 8px 0 12px;
}
.owner-ready-preview-status p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.owner-ready-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.owner-ready-preview-actions button {
  max-width: 100%;
  white-space: normal;
}

/* ../prototypes/core-local/src/owner/owner-display.css */
.owner-display-settings {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.owner-preparation .owner-display-settings > fieldset {
  gap: 16px;
  border-color: var(--fc-border,#dceaff);
  border-radius: 10px;
  padding: 16px;
}
.owner-display-settings .owner-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
.owner-display-settings .owner-section-header,
.owner-preparation .owner-match-preview > .owner-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.owner-display-settings .owner-section-header h3,
.owner-preparation .owner-match-preview h3 {
  font-size: 17px;
  line-height: 24px;
  margin: 0 0 4px;
}
.owner-display-settings .owner-section-header p,
.owner-preparation .owner-match-preview > .owner-section-header p {
  font-size: 13px;
  line-height: 21px;
  color: var(--fc-secondary,#5a6d95);
}
.owner-display-settings .owner-section-header > button,
.owner-preparation .owner-match-preview > .owner-section-header > button {
  flex: none;
  min-height: 44px;
}
.owner-display-settings .owner-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.owner-display-settings .owner-section-actions > button {
  min-height: 44px;
}
.owner-display-settings .owner-status {
  font-size: 12px;
  line-height: 20px;
  color: var(--fc-secondary,#5a6d95);
}
.owner-display-settings .owner-advanced {
  border-top: 1px solid var(--fc-border,#dceaff);
  padding-top: 8px;
  min-width: 0;
}
.owner-display-settings .owner-advanced > summary {
  min-height: 44px;
  align-content: center;
  cursor: pointer;
  font-weight: 600;
}
.owner-display-settings .owner-advanced > div {
  margin-top: 10px;
}
.owner-display-settings .owner-advanced p {
  font-size: 13px;
  line-height: 21px;
  color: var(--fc-secondary,#5a6d95);
  margin-top: 10px;
}
.owner-display-settings input[type=range] {
  accent-color: var(--fc-blue,#1555f4);
  min-height: 32px;
}
.owner-display-settings input[type=color] {
  width: 100%;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 8px;
  padding: 4px;
  background: var(--fc-surface,#fff);
}
.owner-display-settings .owner-frame-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.owner-display-settings .owner-frame-option {
  display: grid;
  grid-template-rows: 100px auto;
  align-items: center;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 144px;
  padding: 8px;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 10px;
  background: var(--fc-surface,#fff);
  font: inherit;
  font-size: 13px;
}
.owner-display-settings .owner-frame-option[aria-pressed=true] {
  border-color: var(--fc-blue,#1555f4);
  outline: 1px solid var(--fc-blue,#1555f4);
  outline-offset: -2px;
}
.owner-display-settings .owner-frame-option .fc-avatar-canvas {
  width: 100%;
  height: 100px;
  aspect-ratio: auto;
  min-width: 0;
  pointer-events: none;
}
.owner-display-settings .owner-frame-calibration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 180px);
  align-items: center;
  gap: 16px;
}
.owner-display-settings .owner-frame-calibration > div:first-child {
  display: grid;
  gap: 10px;
}
.owner-display-settings .owner-frame-calibration h4 {
  margin: 0;
}
.owner-display-settings .owner-frame-calibration > .fc-avatar-canvas {
  width: 100%;
  aspect-ratio: 1;
}
.owner-preparation .owner-match-preview {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.owner-preparation .owner-match-preview .match-surface {
  width: min(600px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--fc-border,#dceaff);
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}
.owner-preparation .owner-match-preview .match-play-area {
  height: 760px;
  min-height: 0;
  max-height: none;
  width: 100%;
  position: relative;
}
.owner-display-settings .owner-ready-demonstration {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.owner-display-settings .owner-ready-native {
  width: min(420px, 100%);
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}
.owner-display-settings .owner-ready-native > .match-board-shell {
  margin: 0;
  width: 100%;
  max-width: 100%;
}
@media (max-width: 699px) {
  .owner-display-settings .owner-frame-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .owner-display-settings .owner-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .owner-preparation .owner-display-settings > fieldset {
    padding: 12px;
  }
  .owner-display-settings .owner-section-header,
  .owner-preparation .owner-match-preview > .owner-section-header {
    flex-wrap: wrap;
  }
  .owner-preparation .owner-match-preview .match-play-area {
    height: 700px;
  }
  .owner-display-settings .owner-frame-calibration {
    grid-template-columns: minmax(0, 1fr);
  }
  .owner-display-settings .owner-frame-calibration > .fc-avatar-canvas {
    width: min(220px, 100%);
    justify-self: center;
  }
}
@media (min-width: 1100px) {
  .owner-preparation :is(.owner-ready-panel, .owner-avatar-panel, .owner-match-appearance-panel) {
    grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
    align-items: start;
  }
  .owner-preparation .owner-avatar-panel .owner-frame-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .owner-preparation .owner-display-settings > fieldset {
    min-width: 0;
  }
  .owner-preparation .owner-frame-calibration {
    grid-template-columns: minmax(0, 1fr);
  }
  .owner-preparation .owner-frame-calibration > .fc-avatar-canvas {
    width: min(220px, 100%);
    justify-self: center;
  }
}
.owner-display-settings .owner-frame-option {
  overflow: hidden;
}
.owner-display-settings .owner-frame-thumbnail {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100px;
  min-width: 0;
  overflow: hidden;
}
.owner-display-settings .owner-frame-thumbnail > .fc-avatar-canvas {
  width: min(100px, 100%);
  height: auto;
  aspect-ratio: 1;
  max-height: 100px;
  justify-self: center;
}
.owner-display-settings .fc-avatar-canvas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.owner-display-settings .fc-avatar-canvas > .fc-profile-avatar {
  position: relative;
  width: 100%;
  height: 100%;
}
.owner-display-settings .fc-avatar-canvas > .fc-profile-avatar > .fc-profile-avatar-scale {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center;
}

/* ../prototypes/core-local/src/family/family-rest.css */
.family-rest-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--family-page-bg,#eaf1ee);
  box-sizing: border-box;
}
.family-rest-card {
  width: min(100%, 390px);
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 35px #17355b14;
  text-align: center;
  color: #12234c;
}
.family-rest-card h1 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: 16px 0 10px;
}
.family-rest-card p {
  margin: 0 0 22px;
}
.family-rest-card button,
.family-rest-warning button {
  padding: 10px 20px;
  border: 0;
  border-radius: 12px;
  background: #3858ff;
  color: white;
  font: inherit;
  cursor: pointer;
}
.family-rest-warning {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border: 1px solid #e4cf9c;
  border-radius: 16px;
  background: #fff9e9;
  color: #61491e;
  box-shadow: 0 4px 24px #0002;
  font-size: 15px;
}
.family-rest-warning button {
  white-space: nowrap;
}
