.beta-hidden,
.reward-card-preview,
.sponsor-preview,
#coin-shop { display: none !important; }

.beta-home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #d8ccb14a;
  border-radius: 8px;
  color: #e8e0c9;
  background: #071411cc;
  font: 700 .68rem/1.2 system-ui, sans-serif;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.beta-home:hover,
.beta-home:focus-visible { border-color: #f2d68f; color: #fff4cf; outline: none; }
.beta-home-cover { position: absolute; z-index: 3; top: max(14px, env(safe-area-inset-top)); left: max(14px, env(safe-area-inset-left)); }
.beta-badge {
  position: absolute;
  z-index: 3;
  top: max(16px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  padding: 10px 13px;
  border: 1px solid #f4d98c66;
  border-radius: 999px;
  color: #f7e6b5;
  background: #071411d9;
  font: 800 .65rem/1 system-ui, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.beta-feedback-button { margin-left: auto; cursor: pointer; }
.beta-dialog { width: min(92vw, 560px); padding: clamp(22px, 5vw, 38px); border: 1px solid #e7c66f66; border-radius: 18px; color: #f4eedc; background: #071512; box-shadow: 0 30px 100px #000b; }
.beta-dialog::backdrop { background: #020705d9; backdrop-filter: blur(5px); }
.beta-dialog h2 { margin: .3rem 0 .7rem; color: #fff3cf; font: clamp(1.8rem, 6vw, 2.8rem)/1.05 Georgia, serif; }
.beta-dialog p { color: #c1ccc6; }
.beta-dialog label { display: grid; gap: 7px; margin: 16px 0; color: #f2d68f; font: 800 .74rem/1.2 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.beta-dialog label span { color: #8fa198; font-weight: 500; text-transform: none; }
.beta-dialog input, .beta-dialog select, .beta-dialog textarea { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid #d8ccb14a; border-radius: 8px; color: #fff; background: #020a08; font: 1rem/1.4 system-ui, sans-serif; letter-spacing: normal; text-transform: none; }
.beta-dialog textarea { resize: vertical; }
.beta-dialog button { min-height: 44px; padding: 11px 16px; border: 1px solid #e2bb61; border-radius: 8px; color: #07110e; background: #e2bb61; font-weight: 800; cursor: pointer; }
.beta-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.beta-dialog-actions #tester-skip { color: #e8e0c9; background: transparent; }
.dialog-x { position: absolute; top: 12px; right: 12px; min-width: 44px; padding: 0 !important; border-color: #ffffff22 !important; color: #fff !important; background: transparent !important; font-size: 1.5rem; }
#feedback-status { min-height: 1.5em; margin-bottom: 0; color: #a9dbbd; }

@media (max-width: 620px) {
  .beta-home-cover { font-size: 0; }
  .beta-home-cover::after { content: "← 606"; font-size: .68rem; }
  .beta-badge { font-size: .56rem; letter-spacing: .07em; }
  .masthead .beta-home { flex-basis: 100%; justify-content: center; }
  .masthead .beta-feedback-button { flex-basis: auto; margin-left: 0; }
}
