:root {
  --icing: #fff8ee;
  --pastry: #ffe7c6;
  --pastry-deep: #f4c890;
  --cookie: #b96f42;
  --cookie-dark: #7c4329;
  --choc: #493024;
  --blue: #38a9d5;
  --blue-dark: #1e7fa6;
  --cream-card: #fffaf2;
  --ink: #432d24;
  --muted: #7d675a;
  --line: #e8caa6;
  --green: #2d875e;
  --red: #b94b42;
  --shadow: 0 12px 0 rgba(109, 67, 39, 0.12), 0 20px 36px rgba(81, 50, 26, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", Verdana, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18px 18px, rgba(185, 111, 66, 0.14) 0 3px, transparent 4px),
    radial-gradient(circle at 74px 54px, rgba(56, 169, 213, 0.08) 0 3px, transparent 4px),
    linear-gradient(180deg, var(--icing) 0%, #fff1dc 52%, #ffe5c0 100%);
  background-size: 108px 86px, 138px 98px, auto;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/assets/cookies-decor.png");
  background-position: 50% 34px;
  background-repeat: repeat;
  background-size: min(900px, 130vw) auto;
  opacity: 0.12;
  mix-blend-mode: multiply;
}

body[data-theme="dark"] {
  --icing: #1f1411;
  --pastry: #3a241d;
  --pastry-deep: #513022;
  --cookie: #c77b4d;
  --cookie-dark: #f0b27e;
  --choc: #fff1df;
  --blue: #42b8dd;
  --blue-dark: #78d4ef;
  --cream-card: #2a1c17;
  --ink: #fff3e4;
  --muted: #d7b99e;
  --line: #70442e;
  --green: #75d49d;
  --red: #ff8d7f;
  --shadow: 0 12px 0 rgba(0, 0, 0, 0.18), 0 20px 36px rgba(0, 0, 0, 0.28);
  background:
    radial-gradient(circle at 18px 18px, rgba(199, 123, 77, 0.18) 0 3px, transparent 4px),
    radial-gradient(circle at 74px 54px, rgba(66, 184, 221, 0.1) 0 3px, transparent 4px),
    linear-gradient(180deg, #19100e 0%, #251713 54%, #352119 100%);
  background-size: 108px 86px, 138px 98px, auto;
}

body[data-theme="dark"]::before {
  opacity: 0.08;
  mix-blend-mode: screen;
  filter: saturate(0.9) brightness(1.25);
}

button,
input {
  font: inherit;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 88px 0 44px;
}

.screen-controls {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  gap: 8px;
  align-items: center;
}

.switch-control {
  min-height: 42px;
  min-width: 118px;
  flex: 0 0 auto;
  gap: 8px;
  padding: 5px 7px 5px 10px;
  border: 2px solid rgba(124, 67, 41, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(81, 50, 26, 0.16);
  backdrop-filter: blur(8px);
}

body[data-theme="dark"] .switch-control {
  border-color: rgba(240, 178, 126, 0.25);
  background: rgba(42, 28, 23, 0.9);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.switch-control:hover {
  transform: translateY(1px);
  box-shadow: 0 7px 16px rgba(81, 50, 26, 0.14);
}

body[data-theme="dark"] .switch-control:hover {
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);
}

.switch-control[aria-pressed="true"] {
  background: rgba(255, 250, 242, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(81, 50, 26, 0.16);
}

body[data-theme="dark"] .switch-control[aria-pressed="true"] {
  background: rgba(42, 28, 23, 0.9);
  color: var(--ink);
}

.switch-copy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-width: 58px;
  gap: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.theme-switch .switch-copy {
  min-width: 68px;
}

.switch-copy span:first-child,
.switch-control[aria-pressed="true"] .switch-copy span:last-child {
  color: var(--blue-dark);
}

.switch-control[aria-pressed="true"] .switch-copy span:first-child {
  color: var(--muted);
}

.theme-switch .switch-copy span:first-child {
  color: var(--blue-dark);
}

.theme-switch[aria-pressed="true"] .switch-copy span:first-child {
  color: var(--muted);
}

.theme-switch[aria-pressed="true"] .switch-copy span:last-child {
  color: var(--blue-dark);
}

.switch-track {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f1d0a8;
  box-shadow: inset 0 2px 0 rgba(124, 67, 41, 0.16);
}

body[data-theme="dark"] .switch-track {
  background: #513022;
}

.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 6px 6px, rgba(73, 48, 36, 0.18) 0 2px, transparent 3px),
    linear-gradient(180deg, #fff8ee, #f4c890);
  box-shadow: 0 2px 0 rgba(124, 67, 41, 0.2);
  transition: transform 160ms ease;
}

.switch-control[aria-pressed="true"] .switch-thumb {
  transform: translateX(18px);
}

.cookie-decorations {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cookie-sticker {
  position: absolute;
  display: block;
  width: 132px;
  height: 92px;
  border-radius: 48%;
  background-image: url("/assets/cookies-decor.png");
  background-repeat: no-repeat;
  background-size: 760px auto;
  opacity: 0.38;
  filter: drop-shadow(0 10px 12px rgba(81, 50, 26, 0.1));
  mix-blend-mode: multiply;
  transform: rotate(var(--tilt, 0deg));
}

body[data-theme="dark"] .cookie-sticker {
  opacity: 0.18;
  filter: saturate(0.9) brightness(1.2) drop-shadow(0 10px 12px rgba(0, 0, 0, 0.16));
  mix-blend-mode: screen;
}

.cookie-one {
  --tilt: -8deg;
  top: 136px;
  left: max(16px, calc((100vw - 1240px) / 2 - 98px));
  background-position: -34px -42px;
}

.cookie-two {
  --tilt: 7deg;
  top: 214px;
  right: max(16px, calc((100vw - 1240px) / 2 - 88px));
  background-position: -532px -52px;
}

.cookie-three {
  --tilt: 10deg;
  bottom: 170px;
  left: max(20px, calc((100vw - 1240px) / 2 - 72px));
  background-position: -52px -280px;
}

.cookie-four {
  --tilt: -5deg;
  bottom: 80px;
  right: max(18px, calc((100vw - 1240px) / 2 - 76px));
  background-position: -514px -314px;
}

.cookie-five {
  --tilt: 4deg;
  top: 58%;
  right: max(24px, calc((100vw - 1240px) / 2 - 120px));
  background-position: -320px -304px;
}

.dashboard-head,
.toolbar,
.stat-card,
.table-shell,
.pnl-card-background-picker,
.my-bakery-search,
.my-bakery-card {
  border: 2px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20px 18px, rgba(185, 111, 66, 0.12) 0 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 26px) 28px, rgba(185, 111, 66, 0.1) 0 3px, transparent 4px),
    var(--cream-card);
  box-shadow: var(--shadow);
}

body[data-theme="dark"] .dashboard-head,
body[data-theme="dark"] .toolbar,
body[data-theme="dark"] .stat-card,
body[data-theme="dark"] .table-shell,
body[data-theme="dark"] .pnl-card-background-picker,
body[data-theme="dark"] .my-bakery-search,
body[data-theme="dark"] .my-bakery-card {
  background:
    radial-gradient(circle at 20px 18px, rgba(199, 123, 77, 0.16) 0 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 26px) 28px, rgba(199, 123, 77, 0.14) 0 3px, transparent 4px),
    var(--cream-card);
}

.dashboard-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  margin-bottom: 16px;
  position: relative;
}

.brand-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.number-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4bb9df, var(--blue));
  color: white;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: inset 0 -5px 0 rgba(30, 127, 166, 0.28), 0 6px 0 rgba(30, 127, 166, 0.18);
}

.brand-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-plank {
  display: inline-block;
  max-width: 100%;
  padding: 12px 20px 14px;
  border-radius: 8px;
  border: 2px solid rgba(124, 67, 41, 0.36);
  background:
    radial-gradient(circle at 20px 18px, rgba(73, 48, 36, 0.28) 0 3px, transparent 4px),
    radial-gradient(circle at 64px 8px, rgba(73, 48, 36, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 34px) 20px, rgba(73, 48, 36, 0.2) 0 3px, transparent 4px),
    linear-gradient(180deg, #ca8050, var(--cookie));
  box-shadow: inset 0 -6px 0 rgba(124, 67, 41, 0.24), 0 8px 0 rgba(124, 67, 41, 0.14);
}

h1 {
  margin: 0;
  color: white;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 3px 0 rgba(73, 48, 36, 0.28);
}

.status-text {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
}

.logo-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 760px);
  margin-bottom: 10px;
}

.rules-poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  border: 2px solid #f4d5ad;
  background: var(--pastry);
  display: block;
}

body[data-theme="dark"] .rules-poster {
  border-color: #70442e;
  background: #1f1411;
}

.logo-character {
  position: absolute;
  z-index: 2;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 10px 10px rgba(73, 48, 36, 0.16));
}

.logo-character-left {
  left: 1%;
  bottom: -6px;
  width: clamp(118px, 24%, 190px);
}

.logo-character-right {
  right: -1%;
  bottom: -10px;
  width: clamp(132px, 28%, 228px);
}

.logo-character-robot {
  filter: drop-shadow(0 14px 20px rgba(22, 22, 30, 0.18));
}

body[data-theme="dark"] .logo-character {
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.26));
}

.link-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.view-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.tab-button {
  min-height: 48px;
  flex-direction: column;
  gap: 3px;
  line-height: 1.05;
  white-space: normal;
}

.tab-button small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.05;
}

.view-panel[hidden] {
  display: none;
}

.link-row a,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 0;
  background: linear-gradient(180deg, #4bb9df, var(--blue));
  color: white;
  text-decoration: none;
  font-weight: 900;
  box-shadow: inset 0 -5px 0 rgba(30, 127, 166, 0.28), 0 5px 0 rgba(30, 127, 166, 0.18);
  cursor: pointer;
}

button:hover,
.link-row a:hover {
  transform: translateY(1px);
  box-shadow: inset 0 -4px 0 rgba(30, 127, 166, 0.28), 0 4px 0 rgba(30, 127, 166, 0.16);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.tab-button-disabled:disabled {
  opacity: 0.82;
  background: linear-gradient(180deg, #9e8878, #755846);
  box-shadow: inset 0 -5px 0 rgba(72, 51, 38, 0.24), 0 5px 0 rgba(72, 51, 38, 0.13);
}

button[aria-pressed="true"] {
  background: linear-gradient(180deg, #ca8050, var(--cookie));
  box-shadow: inset 0 -5px 0 rgba(124, 67, 41, 0.28), 0 5px 0 rgba(124, 67, 41, 0.18);
}

.toggle-button {
  min-width: 82px;
}

.toolbar {
  display: grid;
  grid-template-columns:
    minmax(150px, 0.8fr)
    minmax(170px, 0.95fr)
    minmax(180px, 1.25fr)
    minmax(180px, 1fr)
    minmax(150px, 0.8fr)
    repeat(2, auto);
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  align-items: end;
}

.price-status {
  min-height: 44px;
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 6px 12px;
  border: 2px solid #efc99c;
  border-radius: 8px;
  background: #fffefe;
  box-shadow: inset 0 3px 0 rgba(185, 111, 66, 0.06);
}

body[data-theme="dark"] .price-status {
  border-color: #70442e;
  background: #1f1411;
}

.price-status span {
  color: var(--cookie-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-status strong {
  color: var(--blue-dark);
  font-size: 0.95rem;
  line-height: 1;
}

.field {
  display: grid;
  gap: 6px;
}

.field span,
.stat-card span,
.table-meta span {
  color: var(--cookie-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  border: 2px solid #efc99c;
  background: #fffefe;
  color: var(--ink);
  box-shadow: inset 0 3px 0 rgba(185, 111, 66, 0.06);
}

body[data-theme="dark"] input,
body[data-theme="dark"] select {
  border-color: #70442e;
  background: #1f1411;
  color: var(--ink);
  box-shadow: inset 0 3px 0 rgba(0, 0, 0, 0.12);
}

input:focus,
select:focus {
  outline: 3px solid rgba(56, 169, 213, 0.22);
  border-color: var(--blue);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
  counter-reset: stat;
}

.simulator-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 320px) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20px 18px, rgba(185, 111, 66, 0.12) 0 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 26px) 28px, rgba(185, 111, 66, 0.1) 0 3px, transparent 4px),
    var(--cream-card);
  box-shadow: var(--shadow);
}

body[data-theme="dark"] .simulator-toolbar {
  background:
    radial-gradient(circle at 20px 18px, rgba(199, 123, 77, 0.16) 0 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 26px) 28px, rgba(199, 123, 77, 0.14) 0 3px, transparent 4px),
    var(--cream-card);
}

.simulator-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rug-stats,
.rugged-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.my-bakery-panel {
  display: grid;
  gap: 16px;
}

.my-bakery-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
}

.pnl-card-background-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.pnl-card-background-button {
  position: relative;
  width: 100%;
  display: block;
  min-height: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.pnl-card-background-button:hover,
.pnl-card-background-button:focus-visible {
  transform: none;
  box-shadow: none;
}

.pnl-card-background-button[aria-pressed="true"] {
  border-color: var(--cookie);
  box-shadow: 0 0 0 3px rgba(185, 111, 66, 0.2);
}

.pnl-card-background-button:focus-visible {
  outline: 2px solid rgba(55, 159, 199, 0.7);
  outline-offset: 3px;
}

.pnl-card-background-thumb {
  width: 100%;
  aspect-ratio: 1.28;
  display: block;
  object-fit: cover;
}

.pnl-card-background-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(38, 26, 21, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.my-bakery-card {
  min-height: 280px;
  padding: 12px;
  display: grid;
  gap: 10px;
  overflow: hidden;
  position: relative;
  color: #f3dfca;
  border-color: #6b432d;
  background:
    linear-gradient(180deg, rgba(63, 40, 29, 0.98), rgba(38, 24, 18, 0.98)),
    #291a13;
  box-shadow: 0 16px 34px rgba(22, 12, 9, 0.34);
}

.my-bakery-hero {
  position: relative;
  min-height: 240px;
  border: 1px solid rgba(195, 129, 72, 0.48);
  border-radius: 8px;
  overflow: hidden;
  background-image: var(--pnl-card-bg-image);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #603827;
}

.my-bakery-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 17, 12, 0.06) 0%, rgba(28, 17, 12, 0.1) 58%, rgba(28, 17, 12, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 240, 220, 0.04), rgba(255, 240, 220, 0));
  pointer-events: none;
}

.my-bakery-body {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 1fr);
  gap: 12px;
  align-items: stretch;
}

.my-bakery-details {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
}

.my-bakery-empty {
  min-height: 180px;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.my-bakery-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 2px 0;
}

.my-bakery-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.my-bakery-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 2px solid #8d5a39;
  border-radius: 999px;
  background: #4d3023;
  object-fit: cover;
}

.my-bakery-title {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.my-bakery-title strong {
  overflow-wrap: anywhere;
  color: #f7e7d7;
  font-size: clamp(1.2rem, 2.1vw, 2rem);
  line-height: 1.05;
}

.my-bakery-title span,
.my-bakery-footnote,
.share-status {
  color: #b99b85;
  line-height: 1.35;
}

.my-bakery-rank {
  min-width: 72px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #54c4ec, #35a8d6);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: inset 0 -4px 0 rgba(30, 127, 166, 0.34);
}

.my-bakery-pnl {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(195, 129, 72, 0.46);
  border-radius: 8px;
  background: rgba(51, 31, 23, 0.96);
}

.my-bakery-pnl span {
  color: #d8ad70;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.my-bakery-pnl strong {
  overflow-wrap: anywhere;
  font-size: clamp(2rem, 4.1vw, 3.5rem);
  line-height: 1;
}

.my-bakery-profit .my-bakery-pnl strong {
  color: #7fe2a7;
}

.my-bakery-loss .my-bakery-pnl strong {
  color: #ff8687;
}

.my-bakery-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.my-bakery-metric {
  min-height: 72px;
  display: grid;
  align-content: space-between;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(195, 129, 72, 0.46);
  border-radius: 8px;
  background: rgba(51, 31, 23, 0.92);
}

.my-bakery-metric span {
  color: #d8ad70;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.my-bakery-metric strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #73d8ff;
  font-size: 1.08rem;
  line-height: 1.05;
}

.my-bakery-metric-primary strong {
  color: #73d8ff;
}

.my-bakery-footnote {
  margin: 0;
  padding: 2px 2px 0;
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .my-bakery-body {
    grid-template-columns: 1fr;
  }

  .my-bakery-hero {
    min-height: 220px;
  }
}

.share-status {
  min-height: 20px;
  margin: -6px 2px 0;
  font-size: 0.92rem;
}

.hall-pain-shell {
  overflow: hidden;
}

.fail-shell {
  overflow: hidden;
}

.fail-streak-banner {
  display: grid;
  gap: 4px;
  padding: 14px 18px 0;
}

.fail-streak-banner strong {
  color: #d65a3f;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1;
}

.fail-streak-banner span {
  color: var(--cookie-dark);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fail-streak-banner small {
  color: var(--muted);
  line-height: 1.35;
}

.hall-pain-podium {
  min-height: 430px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  padding: 18px;
}

.pain-podium-card {
  min-height: 300px;
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 8px;
  padding: 18px 12px;
  border: 2px solid #e8caa6;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(255, 235, 207, 0.94)),
    var(--cream-card);
  box-shadow: inset 0 -8px 0 rgba(185, 111, 66, 0.14);
  text-align: center;
}

body[data-theme="dark"] .pain-podium-card {
  border-color: #5b3827;
  background:
    linear-gradient(180deg, rgba(56, 37, 29, 0.96), rgba(38, 26, 21, 0.94)),
    var(--cream-card);
}

.fail-podium {
  min-height: 360px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  padding: 18px;
}

.fail-podium-card {
  min-height: 270px;
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 8px;
  padding: 18px 12px;
  border: 2px solid #efbf8b;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(255, 236, 214, 0.95)),
    var(--cream-card);
  box-shadow: inset 0 -8px 0 rgba(205, 108, 67, 0.12);
  text-align: center;
}

tbody[data-theme="dark"] .fail-podium-card {
  border-color: #6a4127;
  background:
    linear-gradient(180deg, rgba(60, 39, 32, 0.98), rgba(42, 28, 22, 0.95)),
    var(--cream-card);
}

.fail-place-1 {
  min-height: 340px;
  border-color: #d87a48;
  box-shadow: inset 0 -12px 0 rgba(216, 122, 72, 0.22), 0 12px 28px rgba(124, 67, 41, 0.14);
}

.fail-place-2 {
  min-height: 295px;
}

.fail-place-3 {
  min-height: 255px;
}

.fail-place {
  min-width: 46px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff9d67, #dd6941);
  color: #fff;
  font-weight: 900;
}

.fail-profile {
  position: relative;
  display: inline-grid;
  justify-items: center;
  color: inherit;
  text-decoration: none;
}

.fail-crown {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd98c, #ee9b3e);
  color: #6d3418;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(109, 52, 24, 0.24);
}

.fail-avatar {
  width: 92px;
  height: 92px;
  border: 4px solid #f0d3ae;
  border-radius: 999px;
  background: #ffe1b9;
  object-fit: cover;
  box-shadow: 0 7px 0 rgba(124, 67, 41, 0.11);
}

.fail-place-1 .fail-avatar {
  width: 112px;
  height: 112px;
  border-color: #d87a48;
}

.fail-avatar-fallback {
  display: grid;
  place-items: center;
  color: var(--cookie-dark);
  font-weight: 900;
}

.fail-name {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--choc);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.05;
}

.fail-bakery,
.fail-meta {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.fail-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.fail-meta .rank-move {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  font-size: 0.66rem;
}

.fail-count {
  color: #d65a3f;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1;
}

.top-fail-table {
  min-width: 980px;
}

.pain-place-1 {
  min-height: 390px;
  border-color: #d5a449;
  box-shadow: inset 0 -12px 0 rgba(213, 164, 73, 0.24), 0 12px 28px rgba(124, 67, 41, 0.14);
}

.pain-place-2 {
  min-height: 330px;
}

.pain-place-3 {
  min-height: 285px;
}

.pain-place {
  min-width: 46px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.pain-profile {
  position: relative;
  display: inline-grid;
  justify-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
}

.pain-crown {
  height: 34px;
  display: grid;
  place-items: center;
  color: #d5a449;
  font-size: 2.1rem;
  line-height: 1;
  text-shadow: 0 3px 0 rgba(124, 67, 41, 0.15);
}

.pain-avatar {
  width: 96px;
  height: 96px;
  border: 4px solid #f0d3ae;
  border-radius: 999px;
  background: #ffe1b9;
  object-fit: cover;
  box-shadow: 0 7px 0 rgba(124, 67, 41, 0.11);
}

.pain-place-1 .pain-avatar {
  width: 118px;
  height: 118px;
  border-color: #d5a449;
}

.pain-avatar-fallback {
  display: grid;
  place-items: center;
  color: var(--cookie-dark);
  font-weight: 900;
}

.pain-name {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--choc);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.05;
}

.pain-bakery,
.pain-meta {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.pain-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.pain-meta .rank-move {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  font-size: 0.66rem;
}

.pain-roi {
  color: var(--red);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
}

.pain-pnl {
  color: var(--muted);
  font-weight: 900;
}

.pain-pnl.positive {
  color: var(--green);
}

.pain-pnl.negative {
  color: var(--red);
}

.stat-card {
  min-height: 132px;
  padding: 14px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  counter-increment: stat;
  content: counter(stat, decimal-leading-zero);
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-weight: 900;
  box-shadow: inset 0 -4px 0 rgba(30, 127, 166, 0.22);
}

.stat-card strong {
  min-width: 0;
  padding-right: 38px;
  overflow-wrap: anywhere;
  color: var(--blue-dark);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.stat-card small {
  color: var(--muted);
  line-height: 1.35;
}

.stat-card:nth-child(3) strong,
.stat-card:nth-child(5) strong {
  color: var(--green);
}

.table-shell {
  overflow: hidden;
}

.secondary-table-shell {
  margin-top: 16px;
}

.table-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 2px dashed #efc99c;
}

body[data-theme="dark"] .table-meta {
  border-bottom-color: #70442e;
}

.table-meta strong {
  display: inline-block;
  padding: 8px 14px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ca8050, var(--cookie));
  color: white;
  box-shadow: inset 0 -4px 0 rgba(124, 67, 41, 0.22);
}

.table-note {
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.table-scroll {
  width: 100%;
  overflow: auto;
}

table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}

.simulator-table {
  min-width: 920px;
}

.rug-table {
  min-width: 980px;
}

.rugged-table {
  min-width: 1180px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0d3ae;
  text-align: left;
  vertical-align: middle;
}

body[data-theme="dark"] th,
body[data-theme="dark"] td {
  border-bottom-color: #5b3827;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #ffefd8;
  color: var(--cookie-dark);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body[data-theme="dark"] th {
  background: #38251d;
  color: #f0b27e;
}

th .sort-button {
  width: 100%;
  min-height: 0;
  justify-content: flex-start;
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  line-height: 1.2;
  text-align: left;
  text-transform: inherit;
}

th .sort-button:hover,
th .sort-button:focus-visible {
  background: transparent;
  box-shadow: none;
  transform: none;
}

th .sort-button:focus-visible {
  outline: 2px solid rgba(55, 159, 199, 0.7);
  outline-offset: 3px;
}

.sort-arrow {
  width: 0;
  height: 0;
  flex: 0 0 auto;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  opacity: 0.34;
  transform: translateY(1px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.sort-button.sort-active .sort-arrow {
  opacity: 1;
}

.sort-button[data-direction="asc"] .sort-arrow {
  transform: rotate(180deg) translateY(-1px);
}

td {
  background: rgba(255, 253, 249, 0.92);
}

body[data-theme="dark"] td {
  background: rgba(38, 26, 21, 0.94);
}

tbody tr:nth-child(even) td {
  background: rgba(252, 243, 230, 0.96);
}

body[data-theme="dark"] tbody tr:nth-child(even) td {
  background: rgba(47, 32, 26, 0.96);
}

tr:last-child td {
  border-bottom: 0;
}

.rank-cell {
  color: var(--blue-dark);
  font-weight: 900;
}

.rank-cell-inner,
.my-bakery-rank,
.mobile-summary-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.rank-move {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  border-radius: 999px;
  background: rgba(125, 103, 90, 0.12);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.rank-move-up {
  background: rgba(45, 135, 94, 0.14);
  color: var(--green);
}

.rank-move-down {
  background: rgba(185, 75, 66, 0.14);
  color: var(--red);
}

.my-bakery-rank .rank-move {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.mobile-summary-cell {
  display: none;
}

.name-cell {
  max-width: 230px;
  overflow-wrap: anywhere;
}

.player-profile {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
}

.player-profile-link {
  color: inherit;
  text-decoration: none;
}

.player-profile-link:hover .player-name {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.player-profile-link:focus-visible {
  border-radius: 8px;
  outline: 2px solid rgba(55, 159, 199, 0.7);
  outline-offset: 3px;
}

.player-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 2px solid #f0d3ae;
  border-radius: 999px;
  background: #ffe1b9;
  object-fit: cover;
}

body[data-theme="dark"] .player-avatar {
  border-color: #70442e;
  background: #38251d;
}

.player-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mobile-toggle-cell {
  display: none;
}

.number-cell {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.profit-row .pnl-cell {
  color: var(--green);
  font-weight: 900;
}

.loss-row .pnl-cell {
  color: var(--red);
  font-weight: 900;
}

.empty-cell {
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 1060px) {
  .dashboard-head {
    grid-template-columns: 1fr;
  }

  .rules-poster {
    max-height: 320px;
  }

  .link-row {
    justify-content: flex-start;
  }

  .toolbar,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simulator-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rug-stats,
  .rugged-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hall-pain-podium {
    min-height: 380px;
    gap: 10px;
    padding: 14px;
  }

  .fail-podium {
    min-height: 320px;
    gap: 10px;
    padding: 14px;
  }

  .my-bakery-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .app-shell {
    width: min(100% - 18px, 1240px);
    padding-top: 76px;
  }

  .brand-block {
    grid-template-columns: 50px 1fr;
  }

  .number-badge {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
  }

  .cookie-plank {
    padding: 10px 14px 12px;
  }

  .toolbar,
  .stat-grid,
  .simulator-toolbar,
  .simulator-stats,
  .rug-stats,
  .rugged-stats {
    grid-template-columns: 1fr;
  }

  .view-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .tab-button {
    min-height: 52px;
    padding: 4px;
    font-size: 0.66rem;
  }

  .tab-button small {
    font-size: 0.5rem;
  }

  .link-row a,
  button {
    flex: 1 1 auto;
  }

  .my-bakery-panel {
    gap: 10px;
  }

  .pnl-card-background-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .my-bakery-search {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .my-bakery-search input {
    min-height: 42px;
  }

  .my-bakery-search button {
    width: 100%;
    min-height: 42px;
  }

  .my-bakery-card {
    min-height: 0;
    gap: 10px;
    padding: 10px;
  }

  .my-bakery-body {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .my-bakery-hero {
    min-height: 180px;
  }

  .my-bakery-details {
    gap: 8px;
  }

  .my-bakery-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .my-bakery-identity {
    gap: 9px;
  }

  .my-bakery-avatar {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-width: 2px;
  }

  .my-bakery-title {
    gap: 2px;
  }

  .my-bakery-title strong {
    font-size: clamp(1.08rem, 6vw, 1.45rem);
    line-height: 1.05;
  }

  .my-bakery-title span {
    font-size: 0.78rem;
    overflow-wrap: anywhere;
  }

  .my-bakery-rank {
    min-width: 64px;
    min-height: 40px;
    gap: 5px;
    padding: 0 10px;
    font-size: 0.98rem;
  }

  .my-bakery-rank .rank-move {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
    font-size: 0.64rem;
  }

  .my-bakery-pnl {
    gap: 6px;
    padding: 10px;
    border-width: 1px;
  }

  .my-bakery-pnl span {
    font-size: 0.68rem;
  }

  .my-bakery-pnl strong {
    font-size: clamp(1.85rem, 12vw, 3rem);
    line-height: 0.95;
  }

  .my-bakery-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .my-bakery-metric {
    min-height: 66px;
    gap: 5px;
    padding: 9px;
  }

  .my-bakery-metric span {
    font-size: 0.58rem;
    line-height: 1.1;
  }

  .my-bakery-metric strong {
    font-size: 0.9rem;
  }

  .my-bakery-metric-primary strong {
    font-size: 1rem;
  }

  .my-bakery-metric-source {
    grid-column: 1 / -1;
    min-height: 52px;
  }

  .my-bakery-metric-source strong {
    font-size: 0.82rem;
  }

  .my-bakery-footnote,
  .share-status {
    font-size: 0.78rem;
  }

  .share-status {
    margin-top: -4px;
  }

  .hall-pain-podium {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fail-podium {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pain-podium-card,
  .pain-place-1,
  .pain-place-2,
  .pain-place-3 {
    min-height: 0;
    border-radius: 8px;
  }

  .fail-podium-card,
  .fail-place-1,
  .fail-place-2,
  .fail-place-3 {
    min-height: 0;
    border-radius: 8px;
  }

  .pain-place-1 {
    order: 1;
  }

  .pain-place-2 {
    order: 2;
  }

  .pain-place-3 {
    order: 3;
  }

  .fail-place-1 {
    order: 1;
  }

  .fail-place-2 {
    order: 2;
  }

  .fail-place-3 {
    order: 3;
  }
}

@media (max-width: 760px) {
  .screen-controls {
    top: 8px;
    right: 8px;
    gap: 6px;
  }

  .switch-control {
    min-width: 104px;
    min-height: 40px;
    gap: 6px;
    padding: 5px 6px 5px 8px;
  }

  .switch-copy {
    min-width: 52px;
    font-size: 0.62rem;
  }

  .theme-switch .switch-copy {
    min-width: 62px;
  }

  .cookie-sticker {
    width: 92px;
    height: 66px;
    background-size: 560px auto;
    opacity: 0.2;
  }

  .cookie-one,
  .cookie-three,
  .cookie-five {
    display: none;
  }

  .cookie-two {
    top: 108px;
    right: -34px;
  }

  .cookie-four {
    right: -28px;
    bottom: 42px;
  }

  .dashboard-head {
    padding: 12px;
  }

  .rules-poster {
    max-height: 220px;
  }

  .logo-stage {
    margin-bottom: 4px;
  }

  .logo-character-left {
    left: -2px;
    bottom: -2px;
    width: clamp(86px, 26%, 112px);
  }

  .logo-character-right {
    right: -8px;
    bottom: -6px;
    width: clamp(92px, 28%, 122px);
  }

  .toolbar {
    gap: 8px;
  }

  .table-scroll {
    overflow: visible;
  }

  table,
  .simulator-table,
  .rug-table,
  .rugged-table,
  .top-fail-table {
    min-width: 0;
  }

  table,
  thead,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 10px;
    padding: 10px;
  }

  tr {
    border: 2px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--cream-card);
  }

  td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
    padding: 10px 12px;
    text-align: right;
    white-space: normal;
  }

  td::before {
    content: attr(data-label);
    flex: 0 0 112px;
    color: var(--cookie-dark);
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
  }

  .mobile-summary-cell {
    display: grid;
    gap: 10px;
    min-height: 0;
    padding: 12px;
    text-align: left;
  }

  .mobile-summary-cell::before {
    content: "";
    display: none;
  }

  .mobile-summary-profile {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
  }

  .mobile-summary-profile-no-avatar {
    grid-template-columns: minmax(0, 1fr);
  }

  .mobile-summary-avatar {
    width: 44px;
    height: 44px;
    border: 2px solid #f0d3ae;
    border-radius: 999px;
    background: #ffe1b9;
    object-fit: cover;
  }

  .mobile-summary-title {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  .mobile-summary-title strong,
  .mobile-summary-title span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .mobile-summary-title strong {
    color: var(--choc);
    line-height: 1.05;
  }

  .mobile-summary-title span {
    color: var(--muted);
    font-size: 0.82rem;
  }

  .mobile-summary-rank {
    justify-self: start;
    min-height: 30px;
    padding: 0 9px;
    border-radius: 8px;
    background: rgba(75, 185, 223, 0.12);
    color: var(--blue-dark);
    font-weight: 900;
  }

  .mobile-summary-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .mobile-summary-stat {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 239, 216, 0.68);
  }

  body[data-theme="dark"] .mobile-summary-stat {
    background: rgba(56, 37, 29, 0.86);
  }

  .mobile-summary-stat small {
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-summary-stat strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--blue-dark);
    font-size: 0.82rem;
    line-height: 1.05;
  }

  .mobile-summary-stat.positive strong {
    color: var(--green);
  }

  .mobile-summary-stat.negative strong {
    color: var(--red);
  }

  .mobile-detail-cell {
    display: none;
  }

  .mobile-row-expanded .mobile-detail-cell {
    display: flex;
  }

  .mobile-toggle-cell {
    display: flex;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px 12px;
    border-bottom: 0;
  }

  .mobile-toggle-cell::before {
    content: "";
    display: none;
  }

  .mobile-detail-button {
    width: 100%;
    min-height: 30px;
    padding: 0;
    border: 1px solid rgba(185, 111, 66, 0.32);
    background: rgba(255, 239, 216, 0.74);
    box-shadow: none;
    color: var(--cookie-dark);
  }

  body[data-theme="dark"] .mobile-detail-button {
    border-color: rgba(199, 123, 77, 0.34);
    background: rgba(56, 37, 29, 0.86);
    color: #f0b27e;
  }

  .mobile-detail-chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.18s ease;
  }

  .mobile-row-expanded .mobile-detail-chevron {
    transform: rotate(225deg) translateY(-2px);
  }

  .player-profile {
    justify-content: flex-end;
    text-align: right;
  }

  .name-cell {
    max-width: none;
  }

  .empty-cell {
    display: block;
    text-align: center;
  }

  .empty-cell::before {
    content: "";
  }
}
