/*
 * Gamers & Collectors — Closed Beta V1
 * Member reporting, coverage checklist and Admin triage UI.
 */

:root{
  --gc-beta-bg:#061218;
  --gc-beta-surface:#0c222b;
  --gc-beta-surface-2:#102c36;
  --gc-beta-line:rgba(91,224,237,.16);
  --gc-beta-line-strong:rgba(91,224,237,.32);
  --gc-beta-cyan:#5be0ed;
  --gc-beta-cyan-2:#2bb9ca;
  --gc-beta-purple:#9d7cff;
  --gc-beta-text:#f5fbfc;
  --gc-beta-muted:#93aeb8;
  --gc-beta-danger:#ff8798;
  --gc-beta-warning:#ffd27a;
  --gc-beta-success:#62db9f;
  --gc-beta-radius:24px;
  --gc-beta-shadow:0 26px 70px rgba(0,0,0,.34);
}

.gcBetaPage,
.gcBetaAdminPage{
  min-height:100vh;
  min-height:100dvh;
  background:
    radial-gradient(circle at 10% 0%,rgba(21,133,148,.23),transparent 34%),
    radial-gradient(circle at 92% 8%,rgba(111,73,200,.14),transparent 30%),
    linear-gradient(180deg,#07161c 0%,#041014 100%);
  color:var(--gc-beta-text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

.gcBetaPage *,
.gcBetaAdminPage *{box-sizing:border-box}

.gcBetaPage button,
.gcBetaPage input,
.gcBetaPage select,
.gcBetaPage textarea,
.gcBetaAdminPage button,
.gcBetaAdminPage input,
.gcBetaAdminPage select,
.gcBetaAdminPage textarea{
  font:inherit;
}

.gcBetaShell{
  width:min(980px,100%);
  margin:0 auto;
  padding:calc(18px + env(safe-area-inset-top)) 16px calc(118px + env(safe-area-inset-bottom));
}

.gcBetaAdminPage .gcBetaShell{width:min(1260px,100%)}

.gcBetaTopbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}

.gcBetaBack,
.gcBetaIconButton{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border:1px solid var(--gc-beta-line);
  border-radius:15px;
  background:rgba(8,28,35,.8);
  color:var(--gc-beta-text);
  cursor:pointer;
}

.gcBetaBack svg,
.gcBetaIconButton svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.gcBetaTopIdentity{min-width:0;flex:1}
.gcBetaEyebrow{
  color:var(--gc-beta-cyan);
  font-size:11px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.gcBetaTopIdentity strong{display:block;margin-top:5px;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.gcBetaHero,
.gcBetaCard,
.gcBetaAdminPanel{
  border:1px solid var(--gc-beta-line);
  border-radius:var(--gc-beta-radius);
  background:linear-gradient(155deg,rgba(16,47,58,.96),rgba(7,26,33,.98));
  box-shadow:var(--gc-beta-shadow);
}

.gcBetaHero{
  position:relative;
  overflow:hidden;
  padding:30px;
  margin-bottom:18px;
}
.gcBetaHero::after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  right:-100px;
  top:-120px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(90,224,237,.23),transparent 68%);
  pointer-events:none;
}
.gcBetaHero h1{margin:8px 0 10px;font-size:clamp(32px,6vw,56px);line-height:.98;letter-spacing:-.045em;max-width:760px}
.gcBetaHero p{margin:0;color:#b4c8ce;line-height:1.65;max-width:760px;font-size:15px}

.gcBetaHeroMeta{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.gcBetaPill{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid var(--gc-beta-line);
  border-radius:999px;
  background:rgba(6,21,28,.68);
  color:#cfe8ec;
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
}
.gcBetaPill.isLive{color:#d9fff0;border-color:rgba(98,219,159,.34);background:rgba(36,129,86,.13)}
.gcBetaPill.isScheduled{color:#fff0c7;border-color:rgba(255,210,122,.34);background:rgba(151,112,31,.13)}
.gcBetaPill.isPaused,.gcBetaPill.isClosed{color:#ffd7de;border-color:rgba(255,135,152,.34);background:rgba(154,52,67,.13)}
.gcBetaPill.isXp{color:#dffcff;border-color:rgba(91,224,237,.32);background:rgba(43,185,202,.12)}

.gcBetaCountdown{margin-top:18px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.gcBetaCountdownValue{font-size:18px;font-weight:900;color:#fff}
.gcBetaCountdownLabel{color:var(--gc-beta-muted);font-size:12px}

.gcBetaNotice{
  padding:14px 16px;
  border:1px solid var(--gc-beta-line);
  border-radius:16px;
  background:rgba(91,224,237,.07);
  color:#d9f9fc;
  line-height:1.55;
  font-size:13px;
  margin-bottom:16px;
}
.gcBetaNotice.isError{border-color:rgba(255,135,152,.3);background:rgba(255,90,111,.08);color:#ffd4dc}
.gcBetaNotice.isSuccess{border-color:rgba(98,219,159,.3);background:rgba(98,219,159,.08);color:#d6ffea}
.gcBetaNotice[hidden]{display:none!important}

.gcBetaGrid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.gcBetaGrid.two{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}

.gcBetaCard{padding:22px;margin-bottom:18px}
.gcBetaCardHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.gcBetaCardHeader h2,.gcBetaAdminPanel h2{margin:4px 0 0;font-size:23px;line-height:1.1;letter-spacing:-.025em}
.gcBetaCardHeader p{margin:7px 0 0;color:var(--gc-beta-muted);font-size:13px;line-height:1.5}

.gcBetaProgressSummary{display:flex;align-items:center;gap:12px}
.gcBetaProgressRing{
  --value:0;
  width:62px;height:62px;border-radius:50%;display:grid;place-items:center;
  background:conic-gradient(var(--gc-beta-cyan) calc(var(--value)*1%),rgba(255,255,255,.07) 0);
  position:relative;
}
.gcBetaProgressRing::after{content:"";position:absolute;inset:6px;border-radius:50%;background:#0c242d}
.gcBetaProgressRing strong{position:relative;z-index:1;font-size:13px}
.gcBetaProgressCopy strong{display:block;font-size:18px}.gcBetaProgressCopy span{display:block;color:var(--gc-beta-muted);font-size:11px;margin-top:3px}

.gcBetaChecklist{display:grid;gap:10px}
.gcBetaChecklistItem{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:15px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:17px;
  background:rgba(4,18,24,.45);
}
.gcBetaChecklistItem.isTested{border-color:rgba(98,219,159,.23)}
.gcBetaChecklistItem.isIssue{border-color:rgba(255,135,152,.28);background:rgba(107,31,45,.09)}
.gcBetaChecklistTitle{font-size:14px;font-weight:850}.gcBetaChecklistDescription{margin-top:4px;color:var(--gc-beta-muted);font-size:11px;line-height:1.45}
.gcBetaChecklistActions{display:flex;align-items:center;gap:7px}
.gcBetaChecklistActions select{min-width:126px}

.gcBetaFormGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gcBetaField{display:grid;gap:7px}
.gcBetaField.full{grid-column:1/-1}
.gcBetaField label{color:#d7eaee;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.gcBetaField small{color:var(--gc-beta-muted);font-size:10px;line-height:1.45}
.gcBetaInput,
.gcBetaSelect,
.gcBetaTextarea{
  width:100%;
  min-height:48px;
  border:1px solid rgba(101,216,229,.16);
  border-radius:14px;
  background:#0a2028;
  color:var(--gc-beta-text);
  padding:13px 14px;
  outline:none;
  font-size:16px;
}
.gcBetaTextarea{min-height:118px;resize:vertical;line-height:1.5}
.gcBetaInput:focus,.gcBetaSelect:focus,.gcBetaTextarea:focus{border-color:rgba(91,224,237,.55);box-shadow:0 0 0 3px rgba(91,224,237,.1)}

.gcBetaAttachmentBox{
  padding:16px;
  border:1px dashed rgba(91,224,237,.25);
  border-radius:16px;
  background:rgba(5,21,27,.5);
}
.gcBetaAttachmentList{display:grid;gap:7px;margin-top:10px}
.gcBetaAttachmentItem{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.04);font-size:11px;color:#d8ebee}

.gcBetaButton,
.gcBetaSecondaryButton,
.gcBetaDangerButton{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 17px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  text-decoration:none;
}
.gcBetaButton{background:linear-gradient(135deg,#55dfeb,#23adbd);color:#041216;box-shadow:0 12px 28px rgba(35,173,189,.2)}
.gcBetaSecondaryButton{border-color:var(--gc-beta-line);background:rgba(12,42,51,.85);color:#cfe9ed}
.gcBetaDangerButton{border-color:rgba(255,135,152,.28);background:rgba(255,80,105,.09);color:#ffc4cd}
.gcBetaButton:disabled,.gcBetaSecondaryButton:disabled,.gcBetaDangerButton:disabled{opacity:.45;cursor:not-allowed}
.gcBetaButtonRow{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:18px}

.gcBetaReportList{display:grid;gap:10px}
.gcBetaReportCard{
  padding:15px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:17px;
  background:rgba(4,18,24,.48);
}
.gcBetaReportTop{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.gcBetaReportId{color:var(--gc-beta-cyan);font-size:10px;font-weight:950;letter-spacing:.12em}.gcBetaReportTitle{margin-top:5px;font-size:15px;font-weight:850}.gcBetaReportMeta{margin-top:7px;color:var(--gc-beta-muted);font-size:11px;line-height:1.45}
.gcBetaStatus{display:inline-flex;align-items:center;padding:6px 8px;border-radius:999px;border:1px solid var(--gc-beta-line);font-size:9px;font-weight:950;letter-spacing:.06em;text-transform:uppercase;color:#cce9ed;white-space:nowrap}
.gcBetaStatus[data-status="FIXED"],.gcBetaStatus[data-status="CLOSED"]{color:#c9ffe4;border-color:rgba(98,219,159,.3)}
.gcBetaStatus[data-status="NEEDS_INFO"]{color:#ffedbd;border-color:rgba(255,210,122,.3)}
.gcBetaStatus[data-status="P0"],.gcBetaStatus[data-status="BLOCKING"]{color:#ffd2d9;border-color:rgba(255,135,152,.35)}
.gcBetaReportResponse{margin-top:12px;padding:12px;border-radius:12px;background:rgba(91,224,237,.07);color:#d5f7fa;font-size:12px;line-height:1.5}

.gcBetaEmpty{padding:28px 14px;text-align:center;color:var(--gc-beta-muted);font-size:13px}
.gcBetaLoading{min-height:220px;display:grid;place-items:center;text-align:center;color:var(--gc-beta-muted)}
.gcBetaSpinner{width:30px;height:30px;border:3px solid rgba(91,224,237,.16);border-top-color:var(--gc-beta-cyan);border-radius:50%;animation:gcBetaSpin .8s linear infinite;margin:0 auto 12px}
@keyframes gcBetaSpin{to{transform:rotate(360deg)}}

/* Global beta entry points */
.gcBetaQuickReport{
  position:fixed;
  right:16px;
  bottom:calc(88px + env(safe-area-inset-bottom));
  z-index:88;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 14px;
  border:1px solid rgba(91,224,237,.34);
  border-radius:999px;
  background:linear-gradient(145deg,rgba(11,48,59,.98),rgba(20,37,65,.98));
  color:#e6fdff;
  box-shadow:0 14px 36px rgba(0,0,0,.38);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.gcBetaQuickReport svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gcBetaHomeBanner{
  margin:16px 0 20px;
  padding:17px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border:1px solid rgba(91,224,237,.22);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(13,53,63,.95),rgba(27,28,57,.92));
  box-shadow:0 16px 38px rgba(0,0,0,.24);
}
.gcBetaHomeBanner strong{display:block;font-size:16px}.gcBetaHomeBanner span{display:block;margin-top:4px;color:#a9c0c8;font-size:11px;line-height:1.4}
.gcBetaAdminEntry{
  margin:16px 0;
  padding:20px;
  border:1px solid rgba(91,224,237,.2);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(14,48,59,.96),rgba(24,28,53,.96));
}
.gcBetaAdminEntryTop{display:flex;align-items:center;justify-content:space-between;gap:16px}.gcBetaAdminEntry h3{margin:4px 0;font-size:22px}.gcBetaAdminEntry p{margin:0;color:#9fb8c0;line-height:1.5;font-size:12px}


/* Keep the beta shortcut clear of the existing Profile/Settings return-to-top control. */
.gcPhase4ProfilePage .gcBetaQuickReport,
.gcPhase4SettingsPage .gcBetaQuickReport{
  bottom:calc(142px + env(safe-area-inset-bottom));
}

/* Do not place the global shortcut above an open G&C modal. */
body.gcSettingsModalOpen .gcBetaQuickReport,
body.gcCollectionModalOpen .gcBetaQuickReport,
body.gcProfileCollectionModalOpen .gcBetaQuickReport{
  display:none;
}

/* Admin */
.gcBetaAdminToolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.gcBetaMetric{padding:16px;border:1px solid var(--gc-beta-line);border-radius:17px;background:rgba(7,27,34,.72)}
.gcBetaMetric strong{display:block;font-size:27px}.gcBetaMetric span{display:block;margin-top:4px;color:var(--gc-beta-muted);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.gcBetaAdminPanel{padding:20px;margin-bottom:18px}
.gcBetaAdminFilters{display:grid;grid-template-columns:minmax(170px,1.4fr) repeat(3,minmax(130px,.7fr)) auto;gap:10px;align-items:end;margin-top:16px}
.gcBetaAdminReports{display:grid;gap:10px}
.gcBetaAdminReport{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  padding:16px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:17px;
  background:rgba(4,18,24,.48);
  cursor:pointer;
}
.gcBetaAdminReport:hover{border-color:rgba(91,224,237,.28)}
.gcBetaAdminTags{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.gcBetaAdminTag{padding:5px 7px;border-radius:999px;background:rgba(255,255,255,.045);color:#adc2c8;font-size:9px;font-weight:850}

.gcBetaModal{
  position:fixed;
  inset:0;
  z-index:300;
  display:grid;
  place-items:center;
  padding:16px;
  background:rgba(0,5,8,.76);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.gcBetaModal[hidden]{display:none!important}
.gcBetaModalCard{
  width:min(980px,100%);
  max-height:calc(100dvh - 32px);
  overflow:auto;
  border:1px solid var(--gc-beta-line-strong);
  border-radius:24px;
  background:#081b22;
  box-shadow:0 30px 100px rgba(0,0,0,.58);
}
.gcBetaModalHeader{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:20px;border-bottom:1px solid var(--gc-beta-line);background:rgba(8,27,34,.97)}
.gcBetaModalBody{padding:20px}
.gcBetaDetailGrid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:18px}
.gcBetaDetailSection{margin-bottom:18px}.gcBetaDetailSection h3{margin:0 0 8px;color:var(--gc-beta-cyan);font-size:11px;text-transform:uppercase;letter-spacing:.14em}.gcBetaDetailSection p,.gcBetaDetailSection pre{margin:0;white-space:pre-wrap;color:#d6e6e9;line-height:1.6;font-size:13px}.gcBetaDetailSection pre{padding:12px;border-radius:12px;background:#061319;overflow:auto;font-size:10px}
.gcBetaAdminEdit{display:grid;gap:12px;padding:16px;border:1px solid var(--gc-beta-line);border-radius:17px;background:rgba(14,40,49,.6)}

.gcBetaToast{
  position:fixed;
  left:50%;
  bottom:calc(96px + env(safe-area-inset-bottom));
  z-index:400;
  transform:translate(-50%,20px);
  max-width:calc(100% - 30px);
  padding:12px 16px;
  border:1px solid var(--gc-beta-line);
  border-radius:999px;
  background:#0a242c;
  color:#e7fbfd;
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
  font-size:12px;
  font-weight:800;
  text-align:center;
}
.gcBetaToast.isVisible{opacity:1;transform:translate(-50%,0)}
.gcBetaToast.isError{border-color:rgba(255,135,152,.35);color:#ffd5dc}

@media(max-width:820px){
  .gcBetaGrid.two,.gcBetaDetailGrid{grid-template-columns:1fr}
  .gcBetaAdminToolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gcBetaAdminFilters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gcBetaAdminFilters .gcBetaField:first-child{grid-column:1/-1}
}

@media(max-width:620px){
  .gcBetaShell{padding-inline:12px}
  .gcBetaHero{padding:22px 18px}
  .gcBetaCard,.gcBetaAdminPanel{padding:17px}
  .gcBetaFormGrid{grid-template-columns:1fr}
  .gcBetaField.full{grid-column:auto}
  .gcBetaChecklistItem{grid-template-columns:1fr}
  .gcBetaChecklistActions{justify-content:space-between}
  .gcBetaChecklistActions select{flex:1}
  .gcBetaHomeBanner{align-items:flex-start;flex-direction:column}
  .gcBetaQuickReport{right:12px;padding:11px;width:46px;height:46px;justify-content:center}
  .gcBetaQuickReport span{display:none}
  .gcBetaAdminFilters{grid-template-columns:1fr}
  .gcBetaAdminFilters .gcBetaField:first-child{grid-column:auto}
  .gcBetaAdminReport{grid-template-columns:1fr}
  .gcBetaModal{padding:0}
  .gcBetaModalCard{max-height:100dvh;height:100dvh;border-radius:0}
}

@media(prefers-reduced-motion:reduce){
  .gcBetaSpinner{animation:none}
  .gcBetaToast{transition:none}
}


/* ==========================================================
 * G&C Closed Beta V1.1 — responsive/mobile polish
 * - hard-fixes hidden loading/content states;
 * - keeps every control inside narrow iPhone/Android widths;
 * - improves checklist, report form and Admin layouts;
 * - preserves accessibility zoom and 44px touch targets.
 * ========================================================== */

html,
body{
  width:100%;
  min-width:0;
  margin:0;
  overflow-x:hidden;
  background:#041014;
}

.gcBetaPage,
.gcBetaAdminPage{
  width:100%;
  min-width:0;
  overflow-x:clip;
  color-scheme:dark;
}

/* The V1 loader remained visible because its display:grid rule could
 * override the browser's default hidden styling. Hidden always wins. */
.gcBetaPage [hidden],
.gcBetaAdminPage [hidden],
#betaLoading[hidden],
#betaContent[hidden]{
  display:none !important;
}

.gcBetaShell{
  width:min(1080px,100%);
  padding:
    calc(16px + env(safe-area-inset-top))
    clamp(12px,2.3vw,22px)
    calc(124px + env(safe-area-inset-bottom));
}

.gcBetaAdminPage .gcBetaShell{
  width:min(1260px,100%);
}

.gcBetaGrid,
.gcBetaGrid > *,
.gcBetaCard,
.gcBetaCardHeader,
.gcBetaCardHeader > *,
.gcBetaChecklistItem,
.gcBetaChecklistItem > *,
.gcBetaFormGrid,
.gcBetaField,
.gcBetaReportTop,
.gcBetaAdminToolbar,
.gcBetaAdminFilters{
  min-width:0;
}

.gcBetaHero{
  padding:28px;
}

.gcBetaHero h1{
  max-width:15ch;
  overflow-wrap:anywhere;
}

.gcBetaHero p,
.gcBetaCardHeader p,
.gcBetaChecklistDescription,
.gcBetaNotice,
.gcBetaReportMeta,
.gcBetaDetailSection p{
  overflow-wrap:anywhere;
}

.gcBetaGrid.two{
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
  align-items:start;
}

.gcBetaLoading{
  min-height:156px;
  margin-bottom:18px;
}

.gcBetaLoading strong{
  display:block;
  color:#d9eff2;
}

.gcBetaLoading p{
  margin:7px 0 0 !important;
  line-height:1.5;
}

.gcBetaCardHeader{
  align-items:flex-start;
}

.gcBetaProgressSummary{
  flex:0 0 auto;
}

.gcBetaProgressCopy{
  min-width:116px;
}

.gcBetaProgressCopy strong{
  font-size:16px;
  line-height:1.22;
}

.gcBetaChecklistActions > *{
  min-height:46px;
}

.gcBetaChecklistActions .gcBetaSecondaryButton{
  min-width:86px;
}

.gcBetaChecklistActions select,
.gcBetaInput,
.gcBetaSelect,
.gcBetaTextarea{
  font-size:16px !important;
}

.gcBetaButton,
.gcBetaSecondaryButton,
.gcBetaDangerButton,
.gcBetaBack,
.gcBetaIconButton{
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

.gcBetaAttachmentBox input[type="file"]{
  display:block;
  width:100%;
  max-width:100%;
  color:var(--gc-beta-muted);
}

.gcBetaReportTitle,
.gcBetaReportId{
  overflow-wrap:anywhere;
}

.gcBetaAdminEntryTop > *,
.gcBetaHomeBanner > *{
  min-width:0;
}

/* Tablet and all phone layouts: one calm vertical flow. */
@media(max-width:900px){

  .gcBetaGrid.two,
  .gcBetaDetailGrid{
    grid-template-columns:1fr;
  }

  .gcBetaGrid.two > .gcBetaCard{
    margin-bottom:0;
  }

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

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

  .gcBetaAdminFilters .gcBetaField:first-child{
    grid-column:1/-1;
  }
}

@media(max-width:680px){

  :root{
    --gc-beta-radius:20px;
  }

  .gcBetaShell{
    padding:
      calc(10px + env(safe-area-inset-top))
      clamp(10px,3.4vw,16px)
      calc(128px + env(safe-area-inset-bottom));
  }

  .gcBetaTopbar{
    gap:10px;
    margin:0 2px 14px;
  }

  .gcBetaBack,
  .gcBetaIconButton{
    width:44px;
    height:44px;
    border-radius:14px;
  }

  .gcBetaTopIdentity strong{
    margin-top:4px;
    font-size:16px;
  }

  .gcBetaHero{
    padding:20px 17px;
    margin-bottom:14px;
    border-radius:20px;
  }

  .gcBetaHero::after{
    width:190px;
    height:190px;
    right:-82px;
    top:-96px;
  }

  .gcBetaHero h1{
    margin:8px 0 10px;
    max-width:13ch;
    font-size:clamp(30px,10vw,40px);
    line-height:1.01;
    letter-spacing:-.04em;
  }

  .gcBetaHero p{
    font-size:14px;
    line-height:1.55;
  }

  .gcBetaHeroMeta{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    margin-top:18px;
  }

  .gcBetaPill{
    width:100%;
    min-height:38px;
    justify-content:flex-start;
    padding:9px 12px;
    border-radius:14px;
    white-space:normal;
    line-height:1.35;
  }

  .gcBetaCountdown{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:8px 10px;
    margin-top:16px;
  }

  .gcBetaCountdownValue{
    font-size:18px;
  }

  .gcBetaCard,
  .gcBetaAdminPanel{
    padding:16px;
    margin-bottom:14px;
    border-radius:20px;
  }

  .gcBetaLoading{
    min-height:138px;
    padding-block:22px;
  }

  .gcBetaCardHeader{
    flex-direction:column;
    gap:13px;
    margin-bottom:15px;
  }

  .gcBetaCardHeader h2,
  .gcBetaAdminPanel h2{
    font-size:22px;
  }

  .gcBetaProgressSummary{
    width:100%;
    justify-content:flex-start;
    padding:11px 12px;
    border:1px solid rgba(91,224,237,.12);
    border-radius:16px;
    background:rgba(4,18,24,.34);
  }

  .gcBetaProgressRing{
    width:54px;
    height:54px;
  }

  .gcBetaProgressCopy{
    min-width:0;
    flex:1;
  }

  .gcBetaProgressCopy strong{
    font-size:15px;
  }

  .gcBetaChecklist{
    gap:10px;
  }

  .gcBetaChecklistItem{
    grid-template-columns:1fr;
    gap:12px;
    padding:14px;
    border-radius:16px;
  }

  .gcBetaChecklistTitle{
    font-size:15px;
    line-height:1.3;
  }

  .gcBetaChecklistDescription{
    margin-top:5px;
    font-size:12px;
  }

  .gcBetaChecklistActions{
    display:grid;
    grid-template-columns:minmax(88px,.72fr) minmax(0,1.28fr);
    width:100%;
    gap:8px;
  }

  .gcBetaChecklistActions .gcBetaSecondaryButton,
  .gcBetaChecklistActions select{
    width:100%;
    min-width:0;
  }

  .gcBetaFormGrid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .gcBetaField.full{
    grid-column:auto;
  }

  .gcBetaInput,
  .gcBetaSelect{
    min-height:48px;
  }

  .gcBetaTextarea{
    min-height:108px;
  }

  .gcBetaAttachmentBox{
    padding:14px;
  }

  .gcBetaAttachmentItem{
    align-items:flex-start;
    flex-wrap:wrap;
  }

  .gcBetaButtonRow{
    display:grid;
    grid-template-columns:1fr;
    margin-top:16px;
  }

  .gcBetaButtonRow > *{
    width:100%;
  }

  .gcBetaReportTop{
    gap:10px;
  }

  .gcBetaAdminToolbar,
  .gcBetaAdminFilters{
    grid-template-columns:1fr;
  }

  .gcBetaAdminFilters .gcBetaField:first-child{
    grid-column:auto;
  }

  .gcBetaAdminReport{
    grid-template-columns:1fr;
  }

  .gcBetaHomeBanner,
  .gcBetaAdminEntryTop{
    align-items:stretch;
    flex-direction:column;
  }

  .gcBetaHomeBanner .gcBetaButton,
  .gcBetaAdminEntryTop .gcBetaButton{
    width:100%;
  }

  .gcBetaModal{
    padding:0;
  }

  .gcBetaModalCard{
    width:100%;
    height:100dvh;
    max-height:100dvh;
    border-radius:0;
  }

  .gcBetaModalHeader,
  .gcBetaModalBody{
    padding:16px;
  }
}

@media(max-width:430px){

  .gcBetaEyebrow{
    font-size:10px;
    letter-spacing:.16em;
  }

  .gcBetaHero h1{
    font-size:clamp(30px,9.4vw,36px);
  }

  .gcBetaCardHeader h2,
  .gcBetaAdminPanel h2{
    font-size:21px;
  }

  .gcBetaReportTop{
    flex-direction:column;
  }

  .gcBetaStatus{
    align-self:flex-start;
  }

  .gcBetaToast{
    width:calc(100% - 24px);
    max-width:none;
    border-radius:16px;
  }
}

@media(max-width:340px){

  .gcBetaShell{
    padding-inline:9px;
  }

  .gcBetaHero,
  .gcBetaCard,
  .gcBetaAdminPanel{
    padding-inline:14px;
  }

  .gcBetaHero h1{
    font-size:29px;
  }

  .gcBetaChecklistActions{
    grid-template-columns:1fr;
  }

  .gcBetaProgressSummary{
    align-items:center;
  }
}

/* Landscape phones: keep the fixed dock clear without wasting space. */
@media(max-height:520px) and (orientation:landscape){

  .gcBetaShell{
    padding-top:calc(8px + env(safe-area-inset-top));
  }

  .gcBetaHero{
    padding-block:16px;
  }

  .gcBetaHero h1{
    font-size:32px;
  }
}



/* ==========================================================
 * G&C Closed Beta V1.2 — member flow and narrow-form polish
 * - How to Test appears before coverage;
 * - coverage is a native collapsed disclosure;
 * - report controls cannot escape their cards;
 * - hero keeps only the concise beta-status pill.
 * ========================================================== */

.gcBetaHeroMeta{
  align-items:flex-start;
}

.gcBetaHeroMeta .gcBetaPill{
  width:auto;
  max-width:100%;
}

.gcBetaHowToCard{
  position:relative;
}

.gcBetaHowToCard .gcBetaButton{
  min-width:170px;
}

.gcBetaCoverageDisclosure{
  padding:0;
  overflow:hidden;
}

.gcBetaCoverageDisclosure > summary{
  list-style:none;
}

.gcBetaCoverageDisclosure > summary::-webkit-details-marker{
  display:none;
}

.gcBetaCoverageSummary{
  width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:20px 22px;
  cursor:pointer;
  user-select:none;
  -webkit-user-select:none;
  -webkit-tap-highlight-color:transparent;
}

.gcBetaCoverageSummary:focus-visible{
  outline:3px solid rgba(91,224,237,.3);
  outline-offset:-3px;
}

.gcBetaCoverageIntro{
  min-width:0;
  flex:1;
}

.gcBetaCoverageIntro h2{
  margin:4px 0 0;
  font-size:23px;
  line-height:1.1;
  letter-spacing:-.025em;
}

.gcBetaCoverageIntro p{
  margin:7px 0 0;
  color:var(--gc-beta-muted);
  font-size:13px;
  line-height:1.5;
  overflow-wrap:anywhere;
}

.gcBetaCoverageSummaryRight{
  min-width:0;
  display:flex;
  align-items:center;
  gap:13px;
  flex:0 0 auto;
}

.gcBetaCoverageChevron{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border:1px solid var(--gc-beta-line);
  border-radius:14px;
  background:rgba(8,31,39,.78);
  color:var(--gc-beta-cyan);
  transition:transform .18s ease,background .18s ease;
}

.gcBetaCoverageChevron svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.gcBetaCoverageDisclosure[open] .gcBetaCoverageChevron{
  transform:rotate(180deg);
  background:rgba(42,157,174,.14);
}

.gcBetaCoverageBody{
  min-width:0;
  padding:0 22px 22px;
  border-top:1px solid rgba(91,224,237,.1);
}

.gcBetaCoverageHelp{
  margin:16px 0;
  color:var(--gc-beta-muted);
  font-size:12px;
  line-height:1.55;
}

#betaReportCard{
  width:100%;
  max-width:100%;
  overflow:hidden;
  scroll-margin-top:14px;
}

#betaReportForm,
.gcBetaFormGrid,
.gcBetaField{
  width:100%;
  max-width:100%;
  min-width:0;
}

.gcBetaInput,
.gcBetaSelect,
.gcBetaTextarea{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}

.gcBetaSelect{
  -webkit-appearance:none;
  appearance:none;
  padding-right:44px;
  background-color:#0a2028;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235be0ed' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 15px center;
  background-size:16px 16px;
}

.gcBetaSelect::-ms-expand{
  display:none;
}

@media(max-width:680px){

  .gcBetaHeroMeta{
    display:flex;
    flex-wrap:wrap;
  }

  .gcBetaHeroMeta .gcBetaPill{
    width:auto;
    min-height:36px;
    border-radius:999px;
  }

  .gcBetaHowToCard .gcBetaButton{
    width:100%;
  }

  .gcBetaCoverageSummary{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:13px;
    padding:17px 16px;
  }

  .gcBetaCoverageIntro{
    grid-column:1/-1;
  }

  .gcBetaCoverageIntro h2{
    font-size:21px;
  }

  .gcBetaCoverageSummaryRight{
    grid-column:1/-1;
    width:100%;
    justify-content:space-between;
  }

  .gcBetaCoverageSummaryRight .gcBetaProgressSummary{
    width:auto;
    min-width:0;
    flex:1;
    padding:10px;
  }

  .gcBetaCoverageChevron{
    width:44px;
    height:44px;
  }

  .gcBetaCoverageBody{
    padding:0 16px 16px;
  }

  .gcBetaField{
    overflow:hidden;
  }

  .gcBetaSelect{
    background-position:right 13px center;
    padding-left:14px;
    padding-right:42px;
  }
}

@media(max-width:360px){

  .gcBetaCoverageSummary{
    padding-inline:14px;
  }

  .gcBetaCoverageBody{
    padding-inline:14px;
  }

  .gcBetaCoverageSummaryRight{
    align-items:center;
  }

  .gcBetaCoverageSummaryRight .gcBetaProgressRing{
    width:48px;
    height:48px;
  }

  .gcBetaCoverageSummaryRight .gcBetaProgressCopy strong{
    font-size:14px;
  }
}

@media(prefers-reduced-motion:reduce){
  .gcBetaCoverageChevron{
    transition:none;
  }
}
