*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  transition: background 0.6s ease;
}
body.dark-bg {
  background: #111;
}
body.dark-bg .navbar .nav-title {
  color: #fff;
}
body.dark-bg .nav-btn img {
  filter: invert(1);
}
body.dark-bg .footer a {
  color: rgba(255, 255, 255, 0.28);
}
body.dark-bg .footer a:hover {
  color: rgba(255, 255, 255, 0.6);
}
body.dark-bg .footer-sep {
  color: rgba(255, 255, 255, 0.12);
}
body.no-transition, body.no-transition .nav-title, body.no-transition .nav-btn img {
  transition: none !important;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
}

.nav-title {
  font-family: "Figtree", sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #000;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: color 0.6s ease;
}

.nav-right {
  margin-right: 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-btn {
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
  margin-top: 10px;
  opacity: 0.8;
  transition: filter 0.6s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}
.nav-btn:hover {
  transform: scale(1.15);
  opacity: 1;
}
.nav-btn:active {
  transform: scale(0.9);
  opacity: 1;
  transition: transform 0.1s ease, opacity 0.1s ease;
}
.nav-btn img {
  width: 25px;
  height: 25px;
  -o-object-fit: contain;
     object-fit: contain;
}

#helpBtn img {
  width: 30px;
  height: 30px;
}

#muteBtn img {
  width: 22px;
  height: 22px;
}

.card {
  width: 500px;
  height: 430px;
  background: #0c0c0e;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 8px 30px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 2.2rem 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.card > * {
  position: relative;
  z-index: 1;
}

.card-top {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-bottom: 1.5rem;
}

.title {
  font-family: "Figtree", sans-serif;
  font-size: 88px;
  font-weight: 800;
  letter-spacing: -3px;
  color: #fff;
  line-height: 1;
  margin-bottom: 20px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.description-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.description {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.description.secondary {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.478);
  line-height: 1.6;
}
.description.game-mode-hint {
  font-size: 13px;
  font-weight: 600;
  max-width: 330px;
  color: rgba(255, 255, 255, 0.337);
  line-height: 1.6;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.051);
}

.card-footer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 4px;
}

.game-mode-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.122);
  background: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: border-color 0.2s, background 0.2s;
}
.game-mode-circle:hover {
  border-color: rgba(255, 255, 255, 0.137);
  background: #1b1b1f;
}
.game-mode-circle img {
  width: 27px;
  height: 27px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: invert(1);
  opacity: 0.75;
}

.game-mode-popup {
  position: fixed;
  background: #1b1b1f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 16px 18px;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.game-mode-popup.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.popup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.popup-value {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  min-width: 16px;
  text-align: right;
  transition: opacity 0.2s;
}

.attempts-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.attempts-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
.attempts-slider:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.no-limits-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.no-limits-row span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.custom-checkbox {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.custom-checkbox::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: left 0.2s, background 0.2s;
}
.custom-checkbox.checked {
  background: #fff;
  border-color: #fff;
}
.custom-checkbox.checked::after {
  left: 17px;
  background: #111;
}

.training-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.122);
  background: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: border-color 0.2s, background 0.2s;
}
.training-circle:hover {
  border-color: rgba(255, 255, 255, 0.137);
  background: #1b1b1f;
}
.training-circle img {
  width: 27px;
  height: 27px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: invert(1);
  opacity: 0.75;
}

.difficulty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.difficulty-track {
  position: relative;
  display: flex;
  align-items: center;
  background: #18181b;
  border-radius: 999px;
  padding: 4px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  height: 24px;
  width: 60px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}
.difficulty-track:hover {
  background: #1b1b1f;
}

.difficulty-thumb {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transition: left 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.difficulty-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  z-index: 1;
  transition: opacity 0.4s ease 0.1s;
}
.difficulty-dot:nth-child(2) {
  left: 12px;
}
.difficulty-dot:nth-child(3) {
  left: 28px;
}
.difficulty-dot:nth-child(4) {
  left: 44px;
}

.difficulty-label {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.footer-right {
  margin-left: auto;
}

.arrow-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1b1b1f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.arrow-btn img {
  width: 22px;
  height: 22px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.arrow-btn:hover {
  border-color: rgba(255, 255, 255, 0.137);
  background: #1b1b1f;
  transform: scale(1.04);
}
.arrow-btn:hover img {
  opacity: 1;
}
.arrow-btn:active {
  transform: scale(0.97);
}

.countdown-word {
  font-family: "Figtree", sans-serif;
  font-size: 80px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -4px;
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.countdown-word.visible {
  opacity: 1;
  transform: scale(1);
}

.corner-timer {
  position: absolute;
  top: 22px;
  right: 26px;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.corner-timer .seconds {
  font-family: "Figtree", sans-serif;
  font-size: 82px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  position: absolute;
  right: 103px;
  top: 0;
  will-change: transform, opacity;
}
.corner-timer .millis {
  font-family: "Figtree", sans-serif;
  font-size: 82px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -2px;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
  text-align: left;
}

.round-counter {
  position: absolute;
  top: 26px;
  left: 26px;
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  z-index: 10;
  transition: left 0.4s ease;
}
.round-counter.shifted {
  left: 160px;
}

.hsl-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: opacity 0.4s ease;
}

.slider-wrap {
  flex: 0 0 42px;
  position: relative;
  height: 100%;
  overflow: visible;
}
.slider-wrap:first-child {
  border-radius: 20px 0 0 20px;
}
.slider-wrap:first-child .track-clip {
  border-radius: 20px 0 0 20px;
}

.track-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.track-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

input.vr {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  position: absolute;
  width: 430px;
  height: 42px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center center;
  background: transparent;
  outline: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  margin: 0;
  padding: 0;
}
input.vr::-webkit-slider-runnable-track {
  background: transparent;
  height: 42px;
}
input.vr::-webkit-slider-thumb {
  -webkit-appearance: none;
  opacity: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  border: none;
  margin-top: 11px;
}
input.vr::-moz-range-track {
  background: transparent;
}
input.vr::-moz-range-thumb {
  opacity: 0;
  width: 20px;
  height: 20px;
  border: none;
}

.custom-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 10;
}

.panel-right {
  flex: 1;
  position: relative;
}

#sliderLabel {
  position: absolute;
  left: 150px;
  bottom: 24px;
  font-family: "Figtree", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  opacity: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: opacity 0.6s ease;
}

.training-exit-btn {
  position: absolute;
  top: 22px;
  right: 26px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: transform 0.3s ease-in-out;
}
.training-exit-btn:hover {
  transform: scale(1.1);
}
.training-exit-btn img {
  width: 13px;
  height: 13px;
  filter: invert(1);
  opacity: 0.7;
}

.toggle-view-btn {
  position: absolute;
  bottom: 26px;
  right: 88px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background 0.2s, transform 0.2s, opacity 0.3s ease;
}
.toggle-view-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}
.toggle-view-btn:active {
  transform: scale(0.95);
}
.toggle-view-btn img {
  width: 16px;
  height: 16px;
  filter: invert(1);
  opacity: 0.9;
}

.submit-btn {
  position: absolute;
  bottom: 26px;
  right: 26px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background 0.2s, transform 0.2s, opacity 0.3s ease;
}
.submit-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}
.submit-btn:active {
  transform: scale(0.95);
}
.submit-btn img {
  width: 23px;
  height: 23px;
  filter: invert(1);
  opacity: 0.9;
}

.result-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  z-index: 30;
  transition: opacity 0.4s ease;
}

.result-half {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 24px;
}
.result-half.result-top {
  border-radius: 20px 20px 0 0;
}
.result-half.result-bottom {
  border-radius: 0 0 20px 20px;
}

.result-score-block {
  position: absolute;
  bottom: 20px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.result-score {
  font-family: "Figtree", sans-serif;
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  color: #fff;
  opacity: 0.95;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.result-color-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-color-sublabel {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.443);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.result-color-values {
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.result-next-btn {
  position: absolute;
  bottom: 20px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background 0.2s, transform 0.2s;
}
.result-next-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}
.result-next-btn:active {
  transform: scale(0.95);
}
.result-next-btn img {
  width: 18px;
  height: 18px;
  filter: invert(1);
  opacity: 0.9;
}

.result-phrase {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  margin-top: 4px;
  display: block;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transform: translateY(-8px);
  transition: opacity 0.5s ease, transform 0.8s ease;
}

#summaryPanel {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #0c0c0e;
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  opacity: 0;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: opacity 0.4s ease;
}
#summaryPanel .summary-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
#summaryPanel .summary-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
#summaryPanel .summary-close-btn img {
  width: 12px;
  height: 12px;
  filter: invert(1);
  opacity: 0.8;
}
#summaryPanel .summary-score-row {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-top: 8px;
}
#summaryPanel .summary-score-total {
  font-family: "Figtree", sans-serif;
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  color: #fff;
}
#summaryPanel .summary-score-max {
  font-family: "Figtree", sans-serif;
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.25);
}
#summaryPanel .summary-phrase {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
  letter-spacing: 0.01em;
}
#summaryPanel .summary-colors-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
#summaryPanel .summary-color-cell {
  width: var(--cell-size, 60px);
  height: var(--cell-size, 60px);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: default;
  flex-shrink: 0;
}
#summaryPanel .summary-color-cell .orig-half {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
#summaryPanel .summary-color-cell .guess-half {
  position: absolute;
  inset: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
#summaryPanel .summary-color-cell .cell-score {
  position: absolute;
  top: 6px;
  left: 8px;
  font-family: "Figtree", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.3px;
  z-index: 2;
}
#summaryPanel .summary-play-again-btn {
  margin-top: 16px;
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#summaryPanel .summary-play-again-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hint-bar {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  height: 5px;
  margin-top: auto;
  transition: opacity 150ms ease;
}
.hint-bar.visible {
  opacity: 1;
  transition: opacity 500ms ease;
}

.help-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: opacity 0.3s ease;
}
.help-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.help-overlay.visible .help-modal {
  transform: translateY(0);
}

.help-modal {
  width: 420px;
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 28px 24px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.help-close-btn {
  position: absolute;
  top: 26px;
  right: 26px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.help-close-btn:hover {
  transform: scale(1.1);
}
.help-close-btn img {
  width: 11px;
  height: 11px;
  filter: invert(1);
  opacity: 0.7;
}

.help-pages {
  min-height: 310px;
}

.help-page {
  display: none;
  flex-direction: column;
  gap: 0;
  animation: helpPageIn 0.25s ease;
}
.help-page.active {
  display: flex;
}
.help-page.back {
  animation: helpPageBack 0.25s ease;
}

@keyframes helpPageIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes helpPageBack {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.help-page-label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.help-heading {
  font-family: "Figtree", sans-serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 14px;
}

.help-body {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 12px;
}
.help-body:last-child {
  margin-bottom: 0;
}
.help-body.secondary {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}
.help-body strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.help-color-demo {
  width: 100%;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  position: relative;
  margin: 4px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.help-demo-original {
  flex: 1;
  background: hsl(210, 70%, 55%);
}

.help-demo-divider {
  width: 1px;
  background: rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.help-demo-guess {
  flex: 1;
  background: hsl(230, 60%, 62%);
}

.help-demo-label {
  position: absolute;
  bottom: 7px;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.help-demo-label.help-demo-label--left {
  left: 10px;
}
.help-demo-label.help-demo-label--right {
  right: 10px;
}

.help-difficulty-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 0;
}

.help-diff-row {
  display: grid;
  grid-template-columns: 56px 72px 1fr;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
}

.help-diff-name {
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.help-diff-time {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.help-diff-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.help-score-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.help-score-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
}

.help-score-val {
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.5px;
  width: 36px;
  flex-shrink: 0;
}
.help-score-val.high {
  color: #7defa1;
}
.help-score-val.mid {
  color: #f0c96e;
}
.help-score-val.low {
  color: #f09a4e;
}
.help-score-val.bad {
  color: #f06e6e;
}

.help-score-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.help-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.help-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.help-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.2s, transform 0.2s;
}
.help-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.help-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.help-nav-btn img {
  width: 16px;
  height: 16px;
  filter: invert(1);
  opacity: 0.4;
  transition: opacity 0.2s;
}
.help-nav-btn:hover {
  transform: scale(1.1);
}
.help-nav-btn:hover img {
  opacity: 0.85;
}
.help-nav-btn:active {
  transform: scale(0.9);
  transition: transform 0.1s ease;
}
.help-nav-btn:disabled {
  opacity: 0;
  pointer-events: none;
}
.help-nav-btn.got-it {
  width: auto;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  padding: 0 18px;
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.2px;
}
.help-nav-btn.got-it:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.18);
}
.help-nav-btn.got-it img {
  display: none;
}

.records-icon-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.records-icon-btn:hover img {
  opacity: 1;
}
.records-icon-btn:active {
  transform: scale(1.1);
}
.records-icon-btn img {
  width: 30px;
  height: 30px;
  filter: invert(1);
  opacity: 0.45;
  transition: opacity 0.2s;
}

.records-panel {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #0c0c0e;
  z-index: 35;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: opacity 0.35s ease;
}

.records-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 22px 16px;
  overflow: hidden;
  gap: 14px;
}

.records-toast {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.records-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.records-toast.success {
  background: #1a6640;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.records-toast.error {
  background: #6b2020;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.records-attempts-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}

.records-attempts-label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
  padding: 4px 2px 6px;
}

.records-tabs-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  flex-shrink: 0;
}

.records-tabs-left {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}
.records-tabs-left::-webkit-scrollbar {
  display: none;
}

.records-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.records-search-input {
  height: 26px;
  width: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  padding: 0;
  outline: none;
  caret-color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: width 0.2s ease, padding 0.2s ease;
}
.records-search-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.records-search-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.records-search-input:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.09);
}
.records-search-input.visible {
  width: 52px;
  padding: 0 10px;
  pointer-events: all;
  opacity: 1;
}

.records-search-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.records-search-btn:hover {
  opacity: 0.7;
}
.records-search-btn:active {
  opacity: 0.5;
}
.records-search-btn img {
  width: 13px;
  height: 13px;
  filter: invert(1);
  opacity: 0.4;
  transition: opacity 0.15s;
}
.records-search-btn.active img {
  opacity: 0.85;
}

.records-tab {
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.records-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.6);
}
.records-tab.active {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.records-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  flex: 1;
}
.records-list::-webkit-scrollbar {
  width: 3px;
}
.records-list::-webkit-scrollbar-track {
  background: transparent;
}
.records-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.records-empty {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 32px 0;
}

.records-row {
  display: grid;
  grid-template-columns: 28px 1fr auto 28px;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.15s, transform 0.15s;
}
.records-row:hover {
  background: rgba(255, 255, 255, 0.055);
}
.records-row:active {
  transform: scale(0.985);
}

.records-row-rank {
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: -0.2px;
}

.records-row-name {
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
}

.records-row-score {
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.3px;
}

.records-row-del {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, background 0.15s;
}
.records-row-del img {
  width: 9px;
  height: 9px;
  filter: invert(1);
  opacity: 0.45;
}
.records-row-del:hover {
  background: rgba(255, 255, 255, 0.08);
}
.records-row-del:hover img {
  opacity: 0.9;
}

.records-row:hover .records-row-del {
  opacity: 1;
}

.records-delete-confirm {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 14, 0.92);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  backdrop-filter: blur(4px);
}

.records-delete-msg {
  font-family: "Figtree", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.records-delete-actions {
  display: flex;
  gap: 10px;
}

.records-delete-yes {
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(220, 80, 80, 0.35);
  background: rgba(180, 50, 50, 0.18);
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #f08080;
  cursor: pointer;
  transition: background 0.2s;
}
.records-delete-yes:hover {
  background: rgba(180, 50, 50, 0.3);
}

.records-delete-no {
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s;
}
.records-delete-no:hover {
  background: rgba(255, 255, 255, 0.12);
}

.summary-save-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 0 2px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.summary-name-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 96px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  outline: none;
  flex-shrink: 0;
  caret-color: rgba(255, 255, 255, 0.5);
  transition: border-color 0.2s;
}
.summary-name-pill::-moz-placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.summary-name-pill::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.summary-name-pill:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.summary-save-btn {
  flex: 1;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #fff;
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #111;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.summary-save-btn:hover {
  background: #e8e8e8;
}
.summary-save-btn:disabled {
  opacity: 0.35;
  cursor: default;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
}

.summary-error-bar {
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(180, 50, 50, 0.18);
  border: 1px solid rgba(200, 60, 60, 0.25);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #f08080;
  display: none;
  margin-top: 6px;
}

.records-back-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.records-back-btn:hover {
  opacity: 0.8;
}
.records-back-btn img {
  width: 12px;
  height: 12px;
  filter: invert(1);
  opacity: 0.8;
}

.record-detail-panel {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #0c0c0e;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  opacity: 0;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: opacity 0.3s ease;
}

.record-detail-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.record-detail-back-btn {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.record-detail-back-btn:hover {
  transform: scale(1.1);
}
.record-detail-back-btn:active {
  transform: scale(0.9);
}
.record-detail-back-btn img {
  width: 15px;
  height: 15px;
  filter: invert(1);
  opacity: 0.7;
}

.record-detail-name {
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
}

.record-detail-score-row {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 4px;
}

.record-detail-score-total {
  font-family: "Figtree", sans-serif;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  color: #fff;
}

.record-detail-score-max {
  font-family: "Figtree", sans-serif;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.22);
}

.record-detail-meta {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.record-detail-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  gap: 6px;
  margin-top: 20px;
}

.record-detail-cell {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.record-detail-no-data {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.18);
  text-align: left;
  padding: 12px 0 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 4px;
}

.about-overlay {
  position: fixed;
  inset: 0;
  background: #0c0c0e;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  transition: opacity 0.3s ease;
}
.about-overlay::-webkit-scrollbar {
  width: 4px;
}
.about-overlay::-webkit-scrollbar-track {
  background: transparent;
}
.about-overlay::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}
.about-overlay::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}
.about-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.about-modal {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.about-close {
  position: static;
  top: unset;
  left: unset;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  margin: 24px 0 0 24px;
  gap: 6px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.about-close img {
  width: 14px;
  height: 14px;
  filter: invert(1);
  opacity: 0.4;
}
.about-close span {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}
.about-close:hover img,
.about-close:hover span {
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.8);
}

.about-inner {
  flex: 1;
  padding: 60px 40px 48px;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  overflow: visible;
  scrollbar-width: none;
}
.about-inner::-webkit-scrollbar {
  display: none;
}

.about-title {
  font-family: "Figtree", sans-serif;
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -3px;
  color: #fff;
  line-height: 1;
  margin-bottom: 40px;
}

.about-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.about-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.about-heading {
  font-family: "Figtree", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #fff;
  margin-bottom: 8px;
}

.about-body {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-bottom: 12px;
}
.about-body:last-child {
  margin-bottom: 0;
}
.about-body.secondary {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}
.about-body a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.about-body a:hover {
  color: #fff;
}

.about-example-row {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}

.about-color-chip {
  flex: 1;
  height: 64px;
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  padding: 8px 10px;
}
.about-color-chip span {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}

.about-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.about-compare-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
}

.about-compare-chips {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}
.about-compare-chips div {
  flex: 1;
  height: 40px;
  border-radius: 6px;
}

.about-compare-label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.about-compare-sub {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
}

.about-step {
  display: flex;
  gap: 16px;
  margin: 20px 0;
  align-items: flex-start;
}

.about-step-num {
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-step-title {
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.about-formula {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 12px 0;
  letter-spacing: 0.02em;
}
.about-formula sup {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.about-delta-examples {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.about-delta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
}

.about-delta-chips {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.about-delta-chips div {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.about-delta-val {
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.3px;
  min-width: 60px;
}
.about-delta-val.high {
  color: #7defa1;
}
.about-delta-val.mid {
  color: #f0c96e;
}
.about-delta-val.bad {
  color: #f06e6e;
}

.about-delta-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.about-diff-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 12px;
}

.about-diff-row {
  display: grid;
  grid-template-columns: 70px 90px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
}

.about-diff-name {
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.about-diff-time {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.about-diff-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.scoring-overlay {
  position: fixed;
  inset: 0;
  background: #0c0c0e;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  transition: opacity 0.3s ease;
}
.scoring-overlay::-webkit-scrollbar {
  width: 4px;
}
.scoring-overlay::-webkit-scrollbar-track {
  background: transparent;
}
.scoring-overlay::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}
.scoring-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.scoring-modal {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.scoring-close {
  position: static;
  top: unset;
  left: unset;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  margin: 24px 0 0 24px;
  gap: 6px;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.15s;
}
.scoring-close img {
  width: 14px;
  height: 14px;
  filter: invert(1);
  opacity: 0.4;
}
.scoring-close span {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}
.scoring-close:hover img,
.scoring-close:hover span {
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.8);
}

.privacy-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: block;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  overflow-y: auto;
  transition: opacity 0.3s ease;
}
.privacy-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.privacy-modal {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: auto;
  background: #0c0c0e;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.privacy-close {
  position: static;
  top: unset;
  left: unset;
  margin: 24px 0 0 24px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.privacy-close img {
  width: 14px;
  height: 14px;
  filter: invert(1);
  opacity: 0.4;
}
.privacy-close span {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}
.privacy-close:hover img,
.privacy-close:hover span {
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.8);
}

.privacy-inner {
  flex: 1;
  overflow-y: visible;
  padding: 60px 40px 48px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  scrollbar-width: none;
}
.privacy-inner::-webkit-scrollbar {
  display: none;
}

.privacy-title {
  font-family: "Figtree", sans-serif;
  font-size: 69px;
  font-weight: 900;
  letter-spacing: -3px;
  color: #fff;
  line-height: 1;
  margin-bottom: 50px;
}

.privacy-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.privacy-heading {
  font-family: "Figtree", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #fff;
  margin-bottom: 8px;
}

.privacy-body {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
}
.privacy-body a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.privacy-body a:hover {
  color: #fff;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 24px 20px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.footer a {
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: rgba(0, 0, 0, 0.38);
  text-decoration: none;
  transition: color 0.15s;
}
.footer a:hover {
  color: rgba(0, 0, 0, 0.65);
}
.footer-sep {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.18);
}/*# sourceMappingURL=style.css.map */