.exp-sim {
  --exp-ink: #070b12;
  --exp-ink-2: #0c1424;
  --exp-ember: #ff8a3d;
  --exp-cyan: #59e0ff;
  --exp-blue: #6c8cff;
  --exp-mint: #55f5b0;
  --exp-glow: rgba(89, 224, 255, 0.35);
  background-color: var(--exp-ink);
  color: #e8f1ff;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

.exp-main {
  position: relative;
  padding-bottom: 5rem;
  font-family: 'Minecraftia', 'Segoe UI', sans-serif;
}

.exp-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.exp-stage::before {
  content: '';
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 10% 20%, rgba(89, 224, 255, 0.2), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(255, 138, 61, 0.18), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(108, 140, 255, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 28px);
  opacity: 0.9;
}

.exp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  opacity: 0.6;
  animation: exp-float 12s ease-in-out infinite;
}

.exp-orb-one {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(89, 224, 255, 0.35), transparent 70%);
}

.exp-orb-two {
  width: 280px;
  height: 280px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.3), transparent 70%);
  animation-delay: -3s;
}

.exp-orb-three {
  width: 220px;
  height: 220px;
  top: 45%;
  right: 10%;
  background: radial-gradient(circle, rgba(108, 140, 255, 0.25), transparent 70%);
  animation-delay: -6s;
}

.exp-layer {
  position: relative;
  z-index: 1;
}

.exp-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.exp-section {
  margin-top: 3.5rem;
}

.exp-hero {
  padding-top: 2rem;
}

.exp-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  padding: 2.5rem;
  border-radius: 28px;
  border: 1px solid rgba(89, 224, 255, 0.25);
  background: linear-gradient(135deg, rgba(12, 20, 36, 0.95), rgba(7, 12, 22, 0.98));
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.exp-hero-shell::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

.exp-hero-shell::after {
  content: '';
  position: absolute;
  left: -20%;
  top: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.22), transparent 65%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.exp-hero-content,
.exp-hero-art {
  position: relative;
  z-index: 1;
}

.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 224, 255, 0.4);
  background: rgba(10, 16, 28, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.6rem;
  color: #9cecff;
}

.exp-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--exp-ember);
  box-shadow: 0 0 12px rgba(255, 138, 61, 0.6);
}

.exp-hero-title {
  margin-top: 1.1rem;
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
  line-height: 1.1;
  text-shadow: 0 0 25px rgba(89, 224, 255, 0.2);
}

.exp-hero-text {
  margin-top: 0.8rem;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cfe0ff;
}

.exp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.exp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  background: rgba(10, 16, 28, 0.7);
  color: #e8f1ff;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.exp-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(89, 224, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 28px rgba(0, 0, 0, 0.5);
}

.exp-btn-primary {
  background: linear-gradient(135deg, #ffb347, #ff8a3d);
  color: #1a0e05;
  border-color: transparent;
  box-shadow: 0 18px 35px rgba(255, 138, 61, 0.4);
}

.exp-btn-primary:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.exp-btn-outline {
  color: #9cecff;
  border-color: rgba(89, 224, 255, 0.35);
}

.exp-btn-reset {
  font-size: 0.6rem;
  padding: 0.6rem 1.1rem;
}

.exp-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.exp-kpi {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 14, 24, 0.7);
  padding: 0.8rem 1rem;
  box-shadow: inset 0 0 25px rgba(89, 224, 255, 0.08);
}

.exp-kpi-label {
  display: block;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #9db5d9;
}

.exp-kpi-value {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: #e8f1ff;
}

.exp-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-rune-ring {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(89, 224, 255, 0.15), rgba(10, 16, 28, 0.9) 70%);
  box-shadow: 0 0 35px rgba(89, 224, 255, 0.2);
  animation: exp-pulse 6s ease-in-out infinite;
}

.exp-rune-ring::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(89, 224, 255, 0.35);
}

.exp-rune-ring::after {
  content: '';
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  animation: exp-spin 12s linear infinite;
}

.exp-rune-core {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(13, 20, 33, 0.95), rgba(8, 12, 22, 0.98));
  border: 1px solid rgba(89, 224, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(89, 224, 255, 0.15);
}

.exp-rune-core img {
  width: 70%;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(89, 224, 255, 0.45));
}

.exp-rune-caption {
  position: absolute;
  bottom: -1.2rem;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #9cecff;
}

.exp-rune-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 138, 61, 0.9);
  box-shadow: 0 0 12px rgba(255, 138, 61, 0.6);
}

.exp-rune-dot-one {
  top: 22px;
  right: 50px;
}

.exp-rune-dot-two {
  bottom: 30px;
  left: 55px;
}

.exp-rune-dot-three {
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.exp-notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.exp-note-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(11, 18, 30, 0.92), rgba(8, 12, 22, 0.98));
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.exp-note-card-alt {
  background: linear-gradient(135deg, rgba(14, 25, 42, 0.95), rgba(9, 15, 26, 0.98));
}

.exp-note-tag {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #9db5d9;
  background: rgba(9, 14, 24, 0.8);
}

.exp-note-title {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.exp-note-text {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #c7d7f5;
}

.exp-note-list {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
  color: #c7d7f5;
  font-size: 0.9rem;
  line-height: 1.6;
  list-style: disc;
}

.exp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.exp-section-title {
  font-size: 1.4rem;
  margin: 0;
}

.exp-section-sub {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #b9cbe8;
}

.exp-section-chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 224, 255, 0.3);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #9cecff;
  background: rgba(8, 13, 24, 0.75);
}

.exp-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
}

.exp-sigil {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(11, 18, 30, 0.92), rgba(8, 12, 22, 0.98));
  padding: 1.2rem 1rem 1.4rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.exp-sigil::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  border: 1px solid rgba(89, 224, 255, 0.18);
  pointer-events: none;
}

.exp-sigil:hover {
  transform: translateY(-4px);
  border-color: rgba(89, 224, 255, 0.45);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
}

.exp-sigil img {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.exp-sigil-label {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #d5e6ff;
}

.exp-console {
  border-radius: 24px;
  border: 1px solid rgba(89, 224, 255, 0.2);
  background: linear-gradient(145deg, rgba(12, 20, 36, 0.95), rgba(8, 12, 22, 0.98));
  padding: 2.2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.exp-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.exp-console-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.exp-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.exp-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #9db5d9;
}

.exp-input {
  border-radius: 14px;
  border: 1px solid rgba(89, 224, 255, 0.25);
  background: rgba(9, 14, 24, 0.8);
  color: #e8f1ff;
  padding: 0.65rem 0.8rem;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.exp-input:focus {
  border-color: rgba(255, 138, 61, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.2);
}

.exp-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.exp-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 14, 24, 0.85);
  box-shadow: inset 0 0 20px rgba(89, 224, 255, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.exp-toggle:hover {
  border-color: rgba(89, 224, 255, 0.4);
  transform: translateY(-2px);
}

.exp-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.exp-toggle-control {
  width: 46px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.exp-toggle-control::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8f1ff;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 12px rgba(89, 224, 255, 0.3);
}

.exp-toggle-input:checked + .exp-toggle-control {
  background: rgba(85, 245, 176, 0.4);
  border-color: rgba(85, 245, 176, 0.7);
}

.exp-toggle-input:checked + .exp-toggle-control::after {
  transform: translateX(22px);
  background: #d9ffe9;
}

.exp-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.exp-toggle-title {
  font-size: 0.75rem;
  color: #e8f1ff;
}

.exp-toggle-sub {
  font-size: 0.65rem;
  color: #a7bddb;
}

.exp-board-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.exp-board {
  background: linear-gradient(145deg, rgba(12, 20, 36, 0.95), rgba(8, 12, 22, 0.98));
  border: 1px solid rgba(89, 224, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.exp-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.exp-board-head h2 {
  margin: 0;
  color: #d9f2ff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.exp-board-reset {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 14, 24, 0.8);
  color: #69e1ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.exp-board-reset:hover {
  transform: translateY(-2px);
  color: #ff9a47;
  border-color: rgba(255, 154, 71, 0.6);
}

.exp-ledger {
  border-radius: 26px;
  border: 1px solid rgba(89, 224, 255, 0.2);
  background: linear-gradient(145deg, rgba(11, 18, 30, 0.95), rgba(8, 12, 22, 0.98));
  padding: 2.4rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.exp-ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.exp-ledger-tag {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 14, 24, 0.8);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #9cecff;
}

.exp-ledger-title {
  margin-top: 0.8rem;
  font-size: 1.5rem;
}

.exp-ledger-sub {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #b9cbe8;
}

.exp-ledger-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2rem;
}

.exp-summary {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 14, 24, 0.85);
  padding: 1.6rem;
  box-shadow: inset 0 0 20px rgba(89, 224, 255, 0.08);
}

.exp-summary-title {
  margin: 0;
  font-size: 1rem;
}

.exp-summary-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.exp-summary-item {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 22, 0.9);
  padding: 0.6rem 0.75rem;
  font-size: 0.75rem;
  color: #d5e6ff;
}

.exp-log-entry {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 14, 24, 0.85);
  padding: 1rem;
  box-shadow: inset 0 0 18px rgba(89, 224, 255, 0.08);
}

.exp-log-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.exp-log-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 22, 0.9);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #d5e6ff;
}

.exp-log-title {
  font-size: 0.8rem;
  color: #f0f6ff;
}

.exp-log-price {
  font-size: 0.65rem;
  color: #bcd1ef;
}

.exp-log-xp {
  font-size: 0.65rem;
  color: #7fffb9;
}

.exp-log-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.exp-log-placeholder {
  grid-column: 1 / -1;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(9, 14, 24, 0.75);
  padding: 1rem;
  font-size: 0.8rem;
  color: #a7bddb;
}

.superpairs-container {
  width: 100%;
  max-width: 780px;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  margin: 40px auto;
}

.superpairs-container table {
  width: 100%;
  max-width: 600px;
  display: block;
  border-collapse: collapse;
  margin: 15px auto 0;
}

.superpairs-container tbody {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #34495e;
  box-shadow: 0 1px 4px #3b444b;
  opacity: 0.9;
  margin-bottom: 10px;
  margin-top: 30px;
}

.superpairs-container td {
  position: relative;
  overflow: hidden;
  border: 1px solid #2c3e50;
  transition: transform 0.3s;
  width: calc(100% / 9 - 2px);
  aspect-ratio: 1 / 1;
  display: inline-block;
  box-sizing: border-box;
  margin: 1px;
  box-shadow: 0 2px 5px #0000001a;
  cursor: pointer;
}

.superpairs-container td img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.superpairs-container td:not(.no-behavior):not(.revealed) {
  background: image-set(url(/images/exp-table/tile.webp) 1x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-image-source: linear-gradient(to right, #3498db, #1abc9c);
  border-image-slice: 1;
  border-width: 3px;
}

.superpairs-container td.no-behavior {
  background: image-set(url(/images/exp-table/tile2.webp) 1x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.superpairs-container td:nth-child(4):nth-last-child(6) {
  background: image-set(url(/images/exp-table/hopper.png) 1x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.popup {
  display: block;
  position: fixed;
  padding: 20px;
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 8px #0003;
  color: #fff;
  pointer-events: none;
  max-width: 300px;
  z-index: 10001 !important;
  opacity: 0.9;
}

.superpairs-container .popup {
  background-color: #3498db;
  display: none;
}

.popup h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.popup p {
  margin: 0;
  font-size: 16px;
}

.popup-visible:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px #0003;
}

.no-behavior {
  cursor: default;
}

.clicks {
  font-size: 2em;
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.superpairs-container td.popup-visible:hover .popup,
.superpairs-container td.revealed:hover .popup {
  display: block;
}

.message {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: #333;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  max-width: 300px;
  word-wrap: break-word;
  z-index: 9999999;
  animation: fadeIn 0.5s ease-in-out;
}

.message h3 {
  margin: 0 0 5px;
}

.message p {
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.message:hover {
  background-color: #444;
}

.overlay2 {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 2rem;
  color: #fff;
  background-color: transparent;
  border-radius: 0.25rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

#priceText span {
  background: linear-gradient(to right, #ffd700, #ffa500, #ff6347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-align: center;
  margin: 20px 0;
}

.solver-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  opacity: 0.1;
  z-index: 10000;
  pointer-events: none;
}

.ultra {
  background: linear-gradient(
    90deg,
    rgba(0, 202, 255, 1) 33%,
    rgba(0, 105, 255, 1) 33%,
    rgba(132, 0, 255, 1) 66%,
    rgba(255, 88, 88, 1) 66%
  );
}

.rare {
  background: linear-gradient(
    90deg,
    rgba(222, 164, 255, 1) 4%,
    rgba(156, 171, 219, 1) 31%,
    rgba(175, 155, 224, 1) 55%,
    rgba(149, 237, 255, 1) 89%
  );
}

.advanced {
  background: linear-gradient(117deg, rgba(0, 136, 89, 1) 0%, rgba(0, 31, 205, 1) 100%);
}

.basic {
  background: linear-gradient(45deg, #ff6b6b, #58d68d);
}

@keyframes exp-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes exp-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes exp-pulse {
  0%, 100% {
    box-shadow: 0 0 25px rgba(89, 224, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(89, 224, 255, 0.35);
  }
}

@media (max-width: 900px) {
  .exp-hero-shell {
    grid-template-columns: 1fr;
  }

  .exp-ledger-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .exp-wrap {
    padding: 0 1rem;
  }

  .exp-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .exp-board-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .superpairs-container {
    margin-left: 10px;
    margin-right: 10px;
    max-width: calc(100% - 20px);
    width: auto;
    height: auto;
  }

  .clicks,
  .overlay2 {
    font-size: 1em;
  }

  .superpairs-container td {
    width: calc(100% / 9 - 2px);
    aspect-ratio: 1 / 1;
    margin: 1px;
    padding: 0;
  }

  .superpairs-container td:not(.no-behavior):not(.revealed) {
    border-image-source: linear-gradient(to right, #3498db, #1abc9c);
    border-image-slice: 1;
    border-width: 1px;
  }

  .superpairs-container table,
  .superpairs-container tbody {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    padding: 0;
  }
}
