.flb-shell {
  --lb-ink: #172e29;
  --lb-muted: #52635b;
  --lb-green: #124b3d;
  --lb-line: #d7e0d3;
  width: min(100%,48rem);
  margin: 0 auto;
  padding: clamp(1rem,3.2vw,2rem);
  border: 1px solid var(--lb-line);
  border-radius: 1.3rem;
  background: #f0f3eb;
  color: var(--lb-ink);
  color-scheme: light;
  font-family: inherit;
  line-height: 1.45;
  text-align: left;
  min-width: 0;
}

.flb-shell *, .flb-shell *::before,.flb-shell *::after {
  box-sizing: border-box;
}

.flb-head {
  margin: 1rem 0 1.15rem;
}

.flb-shell h1,.flb-shell h2,.flb-shell p {
  margin: 0;
  padding: 0;
}

.flb-head .flb-title {
  color: var(--lb-ink);
  font-family: inherit;
  font-size: clamp(2rem,6vw,3.15rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-transform: none;
}

.flb-head .flb-rule {
  margin-top: .6rem;
  max-width: 60ch;
  color: var(--lb-muted);
  font-size: 1rem;
}

.flb-field {
  display: grid;
  gap: .22rem;
  width: min(100%,19rem);
  margin: .85rem 0 1rem;
}

.flb-label,.flb-table thead th {
  color: var(--lb-muted);
  font-size: .9rem;
  font-weight: 650;
}

.flb-shell .flb-menu,.flb-shell .flb-action {
  min-height: 2.75rem;
  border: 1px solid var(--lb-line);
  border-radius: .65rem;
  background: #fff;
  color: var(--lb-ink);
  font: inherit;
}

.flb-shell .flb-menu {
  width: 100%;
  padding: .5rem 2rem .5rem .75rem;
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg,transparent 50%,#496451 50%),linear-gradient(135deg,#496451 50%,transparent 50%);
  background-position: calc(100% - 1rem) 50%,calc(100% - .73rem) 50%;
  background-size: .28rem .28rem;
  background-repeat: no-repeat;
}

.flb-shell .flb-action {
  padding: .5rem .85rem;
  font-weight: 650;
  cursor: pointer;
}

.flb-shell .flb-action:hover,.flb-shell .flb-menu:hover {
  border-color: #698771;
}

.flb-shell .flb-action:focus-visible,.flb-shell .flb-menu:focus-visible {
  outline: 3px solid #19724f;
  outline-offset: 3px;
}

.flb-panel:not(:empty) {
  padding: clamp(.85rem,2.6vw,1.35rem);
  background: #fbfcf8;
  border: 1px solid var(--lb-line);
  border-radius: 1rem;
  overflow: hidden;
}

.flb-panel .flb-subtitle {
  font-family: inherit;
  font-size: clamp(1.3rem,3.2vw,1.8rem);
  line-height: 1.16;
  text-transform: none;
  letter-spacing: -.03em;
}

.flb-shell .flb-message,.flb-shell .flb-note {
  color: var(--lb-muted);
}

.flb-panel .flb-message,.flb-panel .flb-note {
  margin-top: .7rem;
}

.flb-shell .flb-note {
  font-size: .9rem;
}

.flb-status:not(:empty) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}

.flb-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: .9rem;
  line-height: 1.3;
  font-size: 1rem;
}

.flb-table th,.flb-table td {
  border: none;
  padding: .78rem .75rem;
  text-align: left;
  overflow-wrap: anywhere;
}

.flb-table thead th {
  padding-top: .35rem;
  padding-bottom: .48rem;
}

.flb-table thead th:first-child {
  width: 5.8rem;
}

.flb-table thead th:last-child {
  width: 6.25rem;
  text-align: right;
}

.flb-table tbody th,.flb-table tbody td {
  border-top: 1px solid var(--lb-line);
}

.flb-table .flb-rank {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.flb-rank-number {
  font-weight: 650;
}

.flb-tie-mark {
  margin-left: .15rem;
  font-size: .92em;
  color: var(--lb-muted);
}

.flb-dash {
  color: var(--lb-muted);
}

.flb-name {
  font-size: 1rem;
  font-weight: 650;
}

.flb-own {
  display: inline-block;
  margin-left: .4rem;
  border-radius: 1rem;
  padding: .12rem .45rem;
  color: #f6faf1;
  background: var(--lb-green);
  font-size: .8rem;
  font-weight: 650;
  vertical-align: baseline;
}

.flb-table .flb-points {
  text-align: right;
  font-weight: 750;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.flb-mine>* {
  background: #e2efd7;
}

.flb-mine>:first-child {
  box-shadow: inset .2rem 0 #346e4d;
}

.flb-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width:29rem) {
  .flb-shell {
    padding: .85rem;
  }
  .flb-table th,.flb-table td {
    padding: .7rem .35rem;
  }
  .flb-table thead th:first-child {
    width: 3.85rem;
  }
  .flb-table thead th:last-child {
    width: 4.15rem;
  }
  .flb-panel:not(:empty) {
    padding: .8rem .55rem;
  }
}

@media (forced-colors:active) {
  .flb-mine>:first-child {
    border-inline-start: .2rem solid Highlight;
  }
  .flb-own {
    border: 1px solid CanvasText;
  }
}
