body.fbtl-dash-v4-page {
  background: #0c1726;
  color: #f2f6fb;
}

body.fbtl-dash-v4-page .fbtl-entry > h1 {
  display: none;
}

body.fbtl-dash-v4-page .fbtl-entry,
body.fbtl-dash-v4-page .fbtl-entry-dash-v4 {
  max-width: none;
  padding: 0;
  margin: 0;
  background: transparent;
}

body.fbtl-dash-v4-page .fbtl-main {
  overflow: visible;
  background: #0c1726;
}

body.fbtl-dash-v4-page .fbtl-main .elementor-widget-shortcode {
  overflow: visible;
}

body.fbtl-dash-v4-page .fbtl-entry-dash-v4 > .fbtl-dash-v4 {
  margin: 0;
}

.fbtl-dash-v4,
.fbtl-v4-float {
  --bg: #0c1726;
  --panel: #13233a;
  --panel2: #182c49;
  --line: #24406a;
  --ink: #f2f6fb;
  --soft: #9fb4cf;
  --ball: #d9e021;
  --ballink: #0c1726;
  --court: #1f5fa8;
  --court2: #2a6fbd;
  --lines: #ffffff;
  --warn: #ff7a5c;
  box-sizing: border-box;
  color: var(--ink);
  font-family: "Barlow Condensed", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html[data-surface="clay"],
html[data-surface="clay"] .fbtl-dash-v4,
html[data-surface="clay"] .fbtl-v4-float,
.fbtl-dash-v4[data-surface="clay"] {
  --court: #b9572f;
  --court2: #c9683d;
}

html[data-surface="grass"],
html[data-surface="grass"] .fbtl-dash-v4,
html[data-surface="grass"] .fbtl-v4-float,
.fbtl-dash-v4[data-surface="grass"] {
  --court: #3d7a3a;
  --court2: #4a8c45;
}

.fbtl-dash-v4 *,
.fbtl-v4-float * {
  box-sizing: border-box;
}

.fbtl-dash-v4 a,
.fbtl-v4-float a,
.fbtl-dash-v4 a:hover,
.fbtl-v4-float a:hover {
  color: inherit;
  text-decoration: none;
}

.fbtl-dash-v4 .hello a {
  color: var(--ball);
  text-decoration: underline;
}

.fbtl-dash-v4 h1,
.fbtl-dash-v4 h2,
.fbtl-dash-v4 h3,
.fbtl-dash-v4 h4 {
  color: inherit;
  font-family: "Barlow Condensed", system-ui, sans-serif;
}

.fbtl-dash-v4 .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 18px 120px;
}

.fbtl-dash-v4 button,
.fbtl-v4-float button {
  font-family: inherit;
  cursor: pointer;
}

.fbtl-dash-v4 .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.fbtl-dash-v4 .brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .12em;
}

.fbtl-dash-v4 .brand span {
  color: var(--ball);
}

.fbtl-dash-v4 .hello {
  font-weight: 600;
  font-size: 15px;
  color: var(--soft);
  letter-spacing: .06em;
}

.fbtl-dash-v4 .surf {
  display: flex;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}

.fbtl-dash-v4 .surf button {
  border: 0;
  background: transparent;
  color: var(--soft);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.fbtl-dash-v4 .surf button.on {
  background: var(--ball);
  color: var(--ballink);
}

.fbtl-dash-v4 .hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 18px;
}

.fbtl-dash-v4 .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.fbtl-dash-v4 .ph {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.fbtl-dash-v4 .ph h2 {
  margin: 0;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: .02em;
  color: var(--ink);
}

.fbtl-dash-v4 .ph h2 span {
  color: var(--ball);
}

.fbtl-dash-v4 .ph small {
  color: var(--soft);
  font-size: 14px;
  letter-spacing: .06em;
}

.fbtl-dash-v4 .cardtabs {
  display: flex;
  gap: 6px;
}

.fbtl-dash-v4 .cardtabs button {
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--soft);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 8px;
}

.fbtl-dash-v4 .cardtabs button.on {
  border-color: var(--ball);
  color: var(--ink);
}

.fbtl-dash-v4 .court-wrap {
  position: relative;
}

.fbtl-dash-v4 .heads {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.fbtl-dash-v4 .heads div {
  background: var(--ball);
  color: var(--ballink);
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
  font-size: clamp(18px, 3.4vw, 32px);
  padding: 4px 0;
  line-height: 1.1;
}

.fbtl-dash-v4 .heads.none {
  display: none;
}

.fbtl-dash-v4 .court {
  position: relative;
  background: var(--court);
  border-radius: 14px;
  padding: 10px;
  transition: background .4s;
}

.fbtl-dash-v4 .court:before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 3px solid rgba(255, 255, 255, .85);
  pointer-events: none;
  border-radius: 2px;
}

.fbtl-dash-v4 .grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  z-index: 1;
}

.fbtl-dash-v4 .sq {
  appearance: none;
  -webkit-appearance: none;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 2px dashed rgba(255, 255, 255, .45);
  background: rgba(12, 23, 38, .38);
  color: #fff;
  font-weight: 700;
  font-size: clamp(11px, 1.7vw, 16px);
  line-height: 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
  position: relative;
  transition: transform .15s;
  text-decoration: none;
  width: 100%;
}

.fbtl-dash-v4 .sq:hover {
  transform: scale(1.04);
}

.fbtl-dash-v4 .sq.earned {
  border: 0;
  background: radial-gradient(circle at 35% 30%, #f0f56a, var(--ball) 55%, #b9c214);
  color: var(--ballink);
  border-radius: 50%;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}

.fbtl-dash-v4 .sq.earned:before,
.fbtl-dash-v4 .sq.earned:after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  height: 40%;
  border: 3px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  pointer-events: none;
}

.fbtl-dash-v4 .sq.earned:before {
  top: -18%;
  border-top: 0;
  border-left-color: transparent;
  border-right-color: transparent;
}

.fbtl-dash-v4 .sq.earned:after {
  bottom: -18%;
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
}

.fbtl-dash-v4 .sq.now {
  border: 3px solid var(--ball);
  background: rgba(217, 224, 33, .16);
  animation: fbtl-v4-pulse 2.2s infinite;
}

@keyframes fbtl-v4-pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(217, 224, 33, .18);
  }
}

.fbtl-dash-v4 .sq.hero {
  border: 3px solid var(--ball);
  background: var(--bg);
  flex-direction: column;
  gap: 2px;
}

.fbtl-dash-v4 .sq.hero small {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ball);
}

.fbtl-dash-v4 .chalk {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 0;
  width: calc(100% - 20px) !important;
  height: calc(100% - 20px) !important;
  max-width: none;
}

.fbtl-dash-v4 .legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--soft);
  font-size: 14px;
}

.fbtl-dash-v4 .legend i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  vertical-align: -2px;
  margin-right: 6px;
}

.fbtl-dash-v4 .legend i.now-mark {
  border: 2px solid var(--ball);
  background: transparent;
  border-radius: 4px;
}

.fbtl-dash-v4 .legend i.open-mark {
  border: 2px dashed #9fb4cf;
  background: transparent;
  border-radius: 4px;
}

.fbtl-dash-v4 .rules {
  color: var(--soft);
  font-size: 14px;
  margin-top: 6px;
  letter-spacing: .03em;
}

.fbtl-dash-v4 .rules b {
  color: var(--ink);
}

.fbtl-dash-v4 .stamp {
  position: absolute;
  right: -6px;
  bottom: -14px;
  z-index: 3;
  background: var(--ball);
  color: var(--ballink);
  font-weight: 800;
  font-size: 24px;
  padding: 2px 14px;
  border-radius: 8px;
  transform: rotate(-8deg);
  border: 3px solid var(--ballink);
  display: none;
}

.fbtl-dash-v4 .stamp.show {
  display: block;
}

.fbtl-dash-v4 .board {
  background: #06101c;
  border: 3px solid #2b3d57;
  border-radius: 14px;
  padding: 12px;
  font-variant-numeric: tabular-nums;
}

.fbtl-dash-v4 .board .bh {
  display: flex;
  justify-content: space-between;
  color: var(--soft);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 0 4px 8px;
  border-bottom: 2px solid #1c2b40;
}

.fbtl-dash-v4 .row {
  display: grid;
  grid-template-columns: 1fr repeat(4, 56px);
  align-items: center;
  padding: 8px 4px;
  border-bottom: 2px solid #13202f;
}

.fbtl-dash-v4 .row:last-child {
  border-bottom: 0;
}

.fbtl-dash-v4 .row .lab {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .04em;
}

.fbtl-dash-v4 .row .lab small {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: var(--soft);
  letter-spacing: .1em;
}

.fbtl-dash-v4 .row .c {
  text-align: center;
  font-weight: 800;
  font-size: 28px;
  color: var(--ball);
  text-shadow: 0 0 10px rgba(217, 224, 33, .35);
}

.fbtl-dash-v4 .row .c.dim {
  color: #3d5070;
  text-shadow: none;
}

.fbtl-dash-v4 .colh {
  display: grid;
  grid-template-columns: 1fr repeat(4, 56px);
  padding: 8px 4px 0;
  color: var(--soft);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}

.fbtl-dash-v4 .colh span {
  text-align: center;
}

.fbtl-dash-v4 .bar {
  height: 12px;
  background: #1a2a42;
  border-radius: 99px;
  overflow: hidden;
  margin: 14px 0 6px;
}

.fbtl-dash-v4 .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ball), #f0f56a);
  border-radius: 99px;
  transition: width .4s ease;
}

.fbtl-dash-v4 .barlab {
  display: flex;
  justify-content: space-between;
  color: var(--soft);
  font-size: 13px;
  letter-spacing: .05em;
  gap: 10px;
}

.fbtl-dash-v4 .mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.fbtl-dash-v4 .mini div {
  background: var(--panel2);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.fbtl-dash-v4 .mini b {
  display: block;
  font-weight: 800;
  font-size: 30px;
  color: var(--ink);
}

.fbtl-dash-v4 .mini span {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--soft);
}

.fbtl-dash-v4 .row2 {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  margin-top: 18px;
}

.fbtl-dash-v4 .bcard {
  perspective: 1200px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 5 / 7;
  cursor: pointer;
}

.fbtl-dash-v4 .bcin {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .7s;
  transform-style: preserve-3d;
}

.fbtl-dash-v4 .bcard.flip .bcin {
  transform: rotateY(180deg);
}

.fbtl-dash-v4 .face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
}

.fbtl-dash-v4 .front {
  background: linear-gradient(135deg, #f6f1e1, #e9dfc2);
  padding: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}

.fbtl-dash-v4 .front .frame {
  position: relative;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--court2), var(--court));
  overflow: hidden;
  border: 4px solid #0c1726;
  transition: background .4s;
}

.fbtl-dash-v4 .foil {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 45%, transparent 60%);
  background-size: 250% 100%;
  animation: fbtl-v4-shine 5s infinite;
  pointer-events: none;
}

@keyframes fbtl-v4-shine {
  0% { background-position: 150% 0; }
  60%, 100% { background-position: -60% 0; }
}

.fbtl-dash-v4 .ph-sil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 23%;
  top: 13%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.fbtl-dash-v4 .ph-sil svg {
  width: 82%;
  height: auto;
}

.fbtl-dash-v4 .rk {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--ball);
  color: var(--ballink);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .12em;
  padding: 3px 10px;
  border-radius: 6px;
  transform: rotate(-6deg);
}

.fbtl-dash-v4 .no {
  position: absolute;
  top: 10px;
  right: 12px;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  opacity: .85;
}

.fbtl-dash-v4 .nm {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0c1726;
  padding: 10px 12px 12px;
}

.fbtl-dash-v4 .nm b {
  display: block;
  font-weight: 800;
  font-size: clamp(18px, 4vw, 30px);
  line-height: 1;
  color: #fff;
  letter-spacing: .02em;
}

.fbtl-dash-v4 .nm span {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ball);
  margin-top: 4px;
}

.fbtl-dash-v4 .back {
  transform: rotateY(180deg);
  background: #f4efe0;
  color: #1a2433;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  display: flex;
  flex-direction: column;
}

.fbtl-dash-v4 .back .bt {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 3px solid #1a2433;
  padding-bottom: 6px;
  gap: 8px;
}

.fbtl-dash-v4 .back .bt b {
  font-weight: 800;
  font-size: 22px;
}

.fbtl-dash-v4 .back .bt span {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6a5a3a;
}

.fbtl-dash-v4 .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 10px 0;
  border: 2px solid #1a2433;
  border-radius: 6px;
  overflow: hidden;
}

.fbtl-dash-v4 .stats div {
  text-align: center;
  padding: 6px 2px;
  border-right: 2px solid #1a2433;
}

.fbtl-dash-v4 .stats div:last-child {
  border-right: 0;
}

.fbtl-dash-v4 .stats small {
  display: block;
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 700;
  color: #6a5a3a;
}

.fbtl-dash-v4 .stats b {
  font-weight: 800;
  font-size: 24px;
}

.fbtl-dash-v4 .facts {
  font-size: 14px;
  line-height: 1.25;
  flex: 1;
}

.fbtl-dash-v4 .facts div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed #b9ad8c;
}

.fbtl-dash-v4 .facts div span {
  color: #6a5a3a;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  flex: none;
}

.fbtl-dash-v4 .facts div b {
  text-align: right;
  font-weight: 700;
}

.fbtl-dash-v4 .hl {
  margin-top: 8px;
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 13px;
  color: #3d3420;
}

.fbtl-dash-v4 .fliphint {
  text-align: center;
  color: var(--soft);
  font-size: 13px;
  letter-spacing: .08em;
  margin-top: 10px;
}

.fbtl-dash-v4 .stickers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 12px;
}

.fbtl-dash-v4 .stk {
  background: var(--panel2);
  border-radius: 16px;
  padding: 12px 8px;
  text-align: center;
  position: relative;
  color: inherit;
}

.fbtl-dash-v4 .stk .ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: var(--c, #2a6fbd);
  box-shadow: 0 0 0 4px #fff, 0 4px 10px rgba(0, 0, 0, .4);
  transform: rotate(var(--r, -4deg));
}

.fbtl-dash-v4 .stk b {
  display: block;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.05;
}

.fbtl-dash-v4 .stk small {
  display: block;
  color: var(--soft);
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.15;
}

.fbtl-dash-v4 .stk.lock .ic {
  filter: grayscale(1);
  opacity: .28;
  box-shadow: 0 0 0 4px #3a4c66;
}

.fbtl-dash-v4 .stk.lock b {
  color: #6f83a0;
}

.fbtl-dash-v4 .stk.mz {
  grid-column: span 2;
  background: linear-gradient(135deg, #0b2a22, #10402f);
  border: 2px solid #c6ef4a;
}

.fbtl-dash-v4 .stk.mz .ic {
  background: #c6ef4a;
  width: 72px;
  height: 72px;
}

.fbtl-dash-v4 .stk.mz small {
  color: #c6ef4a;
}

.fbtl-dash-v4 .filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.fbtl-dash-v4 .filter button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--soft);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 99px;
}

.fbtl-dash-v4 .filter button.on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.fbtl-dash-v4 .row3 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.fbtl-dash-v4 .passport {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.fbtl-dash-v4 .pst {
  border: 3px solid var(--sc, #d9e021);
  color: var(--sc, #d9e021);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(var(--r, -6deg));
  padding: 10px;
  position: relative;
}

.fbtl-dash-v4 .pst:before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.5px dashed currentColor;
  border-radius: 50%;
  opacity: .6;
}

.fbtl-dash-v4 .pst b {
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  letter-spacing: .04em;
}

.fbtl-dash-v4 .pst small {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 4px;
}

.fbtl-dash-v4 .pst.empty {
  border-style: dashed;
  color: #3d5070;
  transform: none;
}

.fbtl-dash-v4 .pst.empty:before {
  display: none;
}

.fbtl-dash-v4 .bag div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.fbtl-dash-v4 .bag div:last-child {
  border-bottom: 0;
}

.fbtl-dash-v4 .bag div i {
  font-style: normal;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--panel2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.fbtl-dash-v4 .bag div span {
  color: var(--soft);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  width: 110px;
  flex: none;
}

.fbtl-dash-v4 .bag div b {
  font-weight: 700;
  font-size: 17px;
}

.fbtl-dash-v4 .bag .song b {
  color: var(--ball);
}

.fbtl-dash-v4 .trainer,
.fbtl-v4-float.trainer {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--warn, #ff7a5c);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .06em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}

.fbtl-dash-v4 .trainer .tk,
.fbtl-v4-float.trainer .tk {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.fbtl-dash-v4-page .fbtl-dash-v4 .modal,
body.fbtl-dash-v4-page .fbtl-v4-float.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 10, 18, .82);
  z-index: 19000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
}

body.fbtl-dash-v4-page .fbtl-dash-v4 .modal.open,
body.fbtl-dash-v4-page .fbtl-v4-float.modal.open {
  display: flex;
}

body.fbtl-dash-v4-page .fbtl-dash-v4 .sheet,
body.fbtl-dash-v4-page .fbtl-v4-float .sheet {
  background: #13233a;
  border: 1px solid #24406a;
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  padding: 20px;
  animation: fbtl-v4-up .3s ease;
}

@keyframes fbtl-v4-up {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}

.fbtl-dash-v4 .sheet h3,
.fbtl-v4-float .sheet h3 {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 28px;
  color: var(--ink, #f2f6fb);
}

.fbtl-dash-v4 .sheet p,
.fbtl-v4-float .sheet p {
  margin: 0 0 14px;
  color: var(--soft, #9fb4cf);
  font-family: "Newsreader", serif;
  font-size: 16px;
}

.fbtl-dash-v4 .resets,
.fbtl-v4-float .resets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fbtl-dash-v4 .resets a,
.fbtl-dash-v4 .resets button,
.fbtl-v4-float .resets a,
.fbtl-v4-float .resets button {
  background: var(--panel2, #182c49);
  border: 1px solid var(--line, #24406a);
  color: var(--ink, #f2f6fb);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  font-weight: 800;
  font-size: 18px;
}

.fbtl-dash-v4 .resets small,
.fbtl-v4-float .resets small {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--soft, #9fb4cf);
  margin-top: 3px;
}

.fbtl-dash-v4 .close,
.fbtl-v4-float .close {
  margin-top: 14px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--line, #24406a);
  color: var(--soft, #9fb4cf);
  border-radius: 12px;
  padding: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.fbtl-dash-v4 .tip,
.fbtl-v4-float.tip {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  background: var(--ink, #f2f6fb);
  color: var(--bg, #0c1726);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  z-index: 19100;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}

.fbtl-dash-v4 .tip.show,
.fbtl-v4-float.tip.show {
  opacity: 1;
}

@media (max-width: 900px) {
  .fbtl-dash-v4 .hero,
  .fbtl-dash-v4 .row2,
  .fbtl-dash-v4 .row3 {
    grid-template-columns: 1fr;
  }

  .fbtl-dash-v4 .top {
    flex-direction: column;
    align-items: flex-start;
  }

  .fbtl-dash-v4 .row {
    grid-template-columns: 1fr repeat(4, minmax(40px, 1fr));
  }

  .fbtl-dash-v4 .colh {
    grid-template-columns: 1fr repeat(4, minmax(40px, 1fr));
  }

  .fbtl-dash-v4 .row .c {
    font-size: 22px;
  }

  .fbtl-dash-v4 .resets,
  .fbtl-v4-float .resets {
    grid-template-columns: 1fr;
  }

  .fbtl-dash-v4 .trainer,
  .fbtl-v4-float.trainer {
    right: 12px;
    padding: 8px 14px 8px 8px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fbtl-dash-v4 .sq.now,
  .fbtl-dash-v4 .foil,
  .fbtl-dash-v4 .bcin,
  .fbtl-dash-v4 .sheet,
  .fbtl-v4-float .sheet {
    animation: none;
    transition: none;
  }
}
