/* 60-Second Grammar Challenge: landing, play screen, results, terms. Light on purpose (no images on the quiz screen),
   works from 320 px. Type sizes come from /css/typography.css. */
.gc, .gc-pillar { --gc-ink: #1f1640; --gc-muted: #5b5675; --gc-line: rgba(124, 58, 237, .16); --gc-soft: #f6f2fe; --gc-acc: #6d28d9;
  --gc-pink: #db2777; --gc-ok: #15803d; --gc-bad: #b91c1c; }
.gc {
  /* full width of the page, like the header and footer (main is capped at 80rem) */
  max-width: none; margin: 0 auto; color: var(--gc-ink); }
.gc *, .gc *::before, .gc *::after { box-sizing: border-box; }
.gc [hidden], .gc-pillar [hidden] { display: none !important; }   /* hidden always wins over the display set on steps, lists and chips */
.gc a { color: var(--gc-acc); font-weight: 600; }
.gc-card { background: #fff; border: 1px solid var(--gc-line); border-radius: 22px; padding: 22px; margin-top: 18px;
  box-shadow: 0 18px 40px -32px rgba(76, 29, 149, .5); min-width: 0; }
.gc-card h2, .gc-h2 { margin: 0 0 10px; font-size: var(--fs-h4, 1.25rem); line-height: 1.3; font-weight: 700; }
.gc-center { text-align: center; }
.gc-kicker { margin: 0 0 6px; font-size: var(--fs-xs, .8125rem); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gc-pink); }
.gc-title, .gc-h { margin: 0 0 10px; font-family: var(--font-display, 'Bebas Neue', sans-serif); font-weight: 400;
  font-size: clamp(2rem, 7vw, var(--fs-h1, 3rem)); line-height: 1.05; letter-spacing: var(--ls-display-sm, .6px); }
.gc-lead { margin: 0 0 16px; font-size: var(--fs-lg, 1.125rem); line-height: 1.5; color: var(--gc-muted); max-width: 640px; }
.gc-note { padding: 12px 14px; border-radius: 14px; background: #fffbea; border: 1px dashed #e0b84a; }
.gc-small { font-size: var(--fs-sm, .9375rem); color: var(--gc-muted); line-height: 1.5; }
.gc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* landing */
.gc-hero { padding: 28px 22px; border-radius: 26px; background: linear-gradient(135deg, #f5efff, #fdeef6); border: 1px solid var(--gc-line); }
.gc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; margin: 0 0 14px; }
.gc-facts div { background: #fff; border-radius: 14px; padding: 10px 14px; min-width: 0; }
.gc-facts dt { font-size: var(--fs-xs, .8125rem); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--gc-muted); }
.gc-facts dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.gc-countdown { margin: 4px 0 16px; font-size: var(--fs-xl, 1.375rem); font-variant-numeric: tabular-nums; }
.gc-countdown b { font-size: 1.4em; color: var(--gc-acc); }
.gc-cd-label { display: block; font-size: var(--fs-sm, .9375rem); color: var(--gc-muted); font-weight: 600; }
.gc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.gc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px;
  font: inherit; font-weight: 700; font-size: var(--fs-base, 1rem); color: #fff !important; text-decoration: none; cursor: pointer;
  background: linear-gradient(90deg, #6d28d9, #c026d3); }
.gc-btn:disabled { opacity: .6; cursor: default; }
.gc-btn-ghost { background: #fff; color: #5b21b6 !important; border: 1.5px solid rgba(124, 58, 237, .4); }
.gc-btn-big { min-height: 56px; width: 100%; font-size: var(--fs-lg, 1.125rem); margin-top: 8px; }
.gc-btn:focus-visible, .gc-opt:focus-visible, .gc-word:focus-visible, .gc-tile:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.gc-counters { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; color: var(--gc-muted); }
.gc-counters b { color: var(--gc-ink); font-size: 1.15em; }
.gc-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; line-height: 1.55; }
.gc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 16px; }
.gc-grid p { margin: 0 0 8px; line-height: 1.55; }

/* ready screen */
.gc-rule-line { font-size: var(--fs-lg, 1.125rem); margin: 0 0 10px; }
.gc-ticks { margin: 0 0 14px; padding-left: 1.2em; line-height: 1.55; display: grid; gap: 4px; }
.gc-form { display: grid; gap: 12px; }
.gc-check, .gc-radio { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; cursor: pointer; }
.gc-check input, .gc-radio input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gc-acc); }
.gc-fieldset { border: 1px solid var(--gc-line); border-radius: 14px; padding: 10px 14px; margin: 0; display: grid; gap: 8px; min-width: 0; }
.gc-fieldset legend { font-weight: 700; padding: 0 4px; }
.gc-field { display: grid; gap: 4px; font-weight: 600; font-size: var(--fs-sm, .9375rem); min-width: 0; }
.gc-field input { font: inherit; font-weight: 400; min-height: 44px; padding: 8px 12px; border: 1.5px solid #cfc7e6; border-radius: 12px; width: 100%; }
.gc-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.gc-error { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fef2f2; color: var(--gc-bad); font-weight: 600; }

/* instructions */
.gc-intro { margin-top: 12px; }
.gc-intro-hero { padding-bottom: 22px; }
.gc-tagline { margin: 0 0 16px; color: var(--gc-muted); font-size: var(--fs-base, 1rem); line-height: 1.5; }
.gc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.gc-stats div { display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 4px; padding: 16px 10px;
  background: #fff; border-radius: 16px; text-align: center; min-width: 0; box-shadow: 0 10px 24px -22px rgba(76, 29, 149, .6); }
.gc-stats dd { margin: 0; font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 700; line-height: 1; color: var(--gc-acc); font-variant-numeric: tabular-nums; }
.gc-stats dt { font-size: var(--fs-xs, .8125rem); color: var(--gc-muted); font-weight: 600; overflow-wrap: anywhere; }
.gc-acc { padding: 0; }
.gc-acc summary { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 22px; cursor: pointer; font-weight: 700;
  font-size: var(--fs-lg, 1.125rem); list-style: none; }
.gc-acc summary::-webkit-details-marker { display: none; }
.gc-acc summary::before { content: ""; width: 0; height: 0; border-left: 7px solid var(--gc-ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  transition: transform .2s; }
.gc-acc[open] summary::before { transform: rotate(90deg); }
.gc-acc summary:focus-visible { outline: 3px solid #f59e0b; outline-offset: -3px; border-radius: 22px; }
.gc-acc .gc-howto { padding: 0 22px 22px; }
.gc-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gc-tabs button { display: grid; justify-items: center; gap: 8px; min-height: 96px; padding: 14px 8px; border-radius: 16px; cursor: pointer;
  font: inherit; font-size: var(--fs-sm, .9375rem); font-weight: 600; color: var(--gc-ink); text-align: center; line-height: 1.25;
  background: var(--gc-soft); border: 1.5px solid var(--gc-line); transition: border-color .15s, background .15s, transform .15s; }
.gc-tabs button:hover { border-color: rgba(124, 58, 237, .4); transform: translateY(-1px); }
.gc-tabs button[aria-selected="true"] { background: #ede4ff; border-color: var(--gc-acc); color: #5b21b6; }
.gc-tabs button:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.gc-tab-i { font-size: 1.75rem; line-height: 1; }
.gc-tab-panel { margin: 12px 0 0; padding: 12px 16px; border-radius: 14px; background: #faf8ff; border: 1px solid var(--gc-line); line-height: 1.5; }
.gc-tab-panel.gc-in { animation: gc-slide .25s ease-out; }
.gc-wbar { height: 8px; border-radius: 99px; background: #ebe5f8; overflow: hidden; margin: 10px 0 12px; }
.gc-wbar span { display: block; height: 100%; width: 33%; border-radius: inherit; background: linear-gradient(90deg, #6d28d9, #c026d3); transition: width .3s; }
.gc-pill { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 99px; background: #ede4ff; color: #5b21b6;
  font-size: var(--fs-xs, .8125rem); font-weight: 700; }
.gc-howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gc-howto li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.gc-howto-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--gc-soft); font-size: 1rem; }
.gc-types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.gc-types li { display: grid; gap: 4px; align-content: start; padding: 12px 14px; border-radius: 16px; background: var(--gc-soft); border: 1px solid transparent;
  transition: transform .15s, border-color .15s; min-width: 0; }
.gc-types li:hover { transform: translateY(-2px); border-color: rgba(124, 58, 237, .3); }
.gc-types b { font-size: var(--fs-sm, .9375rem); }
.gc-types span { font-weight: 600; overflow-wrap: anywhere; }
.gc-types u { text-decoration-color: var(--gc-bad); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gc-types i { font-style: normal; font-size: var(--fs-xs, .8125rem); color: var(--gc-muted); }
.gc-warm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.gc-warm-head h2 { margin: 0; }
.gc-warm-step { font-weight: 700; color: var(--gc-acc); font-variant-numeric: tabular-nums; }
.gc-warm .gc-text { margin-bottom: 12px; }
.gc-feedback { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; font-weight: 600; line-height: 1.5; animation: gc-slide .3s; }
.gc-feedback.is-good { background: rgba(21, 128, 61, .1); color: var(--gc-ok); }
.gc-feedback.is-bad { background: rgba(185, 28, 28, .08); color: var(--gc-bad); }
.gc-feedback .gc-link { margin-left: 4px; }
.gc-link { padding: 4px 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--gc-acc); text-decoration: underline; cursor: pointer; }
.gc-ready .gc-link { justify-self: center; min-height: 44px; }
.gc-intro-go { margin: 18px 0 0; }
.gc-intro-go .gc-error { margin-top: 12px; }

/* 3-2-1 */
.gc-count { margin-top: 18px; min-height: 52vh; display: grid; place-content: center; text-align: center; border-radius: 26px;
  background: linear-gradient(135deg, #f5efff, #fdeef6); border: 1px solid var(--gc-line); }
.gc-count-n { margin: 0; font-family: var(--font-display, 'Bebas Neue', sans-serif); font-size: clamp(6rem, 30vw, 10rem); line-height: 1; color: var(--gc-acc); }
.gc-count-n.is-pop { animation: gc-zoom .7s ease-out; }

/* quiz screen */
.gc-quiz { margin-top: 12px; }
.gc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.gc-progress-text { margin: 0 0 8px; font-weight: 700; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.gc-tally { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-sm, .9375rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.gc-tally span { padding: 3px 12px; border-radius: 99px; background: var(--gc-soft); }
.gc-tally .gc-t-right { background: rgba(21, 128, 61, .1); color: var(--gc-ok); }
.gc-tally .gc-t-wrong { background: rgba(185, 28, 28, .08); color: var(--gc-bad); }
.gc-tally b { font-size: 1.1em; }
.gc-streak { padding: 2px 10px; border-radius: 99px; background: #fff7ed; color: #9a3412; font-size: var(--fs-sm, .9375rem); animation: gc-pop .35s; }
.gc-dots { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gc-dots li { width: 22px; height: 10px; border-radius: 99px; background: #ebe5f8; transition: background .2s, width .2s; }
.gc-dots li.is-now { width: 34px; background: linear-gradient(90deg, #6d28d9, #c026d3); }
.gc-dots li.is-done { background: #a78bfa; }
.gc-dots li.is-right { background: var(--gc-ok); }
.gc-dots li.is-wrong { background: var(--gc-bad); }
/* the clock: a ring that empties (same conic-gradient ring as the Hindi challenge pages) */
.gc-ring { --p: 100; --c: var(--gc-acc); position: relative; width: 76px; height: 76px; border-radius: 50%; flex: none; display: grid; place-items: center; align-content: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), #ebe5f8 0); }
.gc-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.gc-ring b, .gc-ring small { position: relative; line-height: 1; font-variant-numeric: tabular-nums; }
.gc-ring b { font-size: 1.5rem; font-weight: 700; color: var(--c); }
.gc-ring small { font-size: .7rem; font-weight: 700; color: var(--gc-muted); text-transform: uppercase; letter-spacing: .5px; }
.gc-ring.is-mid { --c: #d97706; }
.gc-ring.is-low { --c: var(--gc-bad); animation: gc-pulse 1s infinite; }
.gc-under { margin: 10px 0 0; }
.gc-qcard.gc-in { animation: gc-slide .28s ease-out; }
.gc-opt.is-picked, .gc-word.is-picked { border-color: var(--gc-acc); background: #ede7fb; animation: gc-pop .25s; }
.gc-opt.is-right, .gc-word.is-right { border-color: var(--gc-ok); background: rgba(21, 128, 61, .1); animation: gc-pop .35s; }
.gc-opt.is-wrong, .gc-word.is-wrong { border-color: var(--gc-bad); background: rgba(185, 28, 28, .08); animation: gc-shake .35s; }
.gc-answer.is-right { border-color: var(--gc-ok); border-style: solid; }
.gc-answer.is-wrong { border-color: var(--gc-bad); border-style: solid; animation: gc-shake .35s; }
.gc-opt:disabled, .gc-word:disabled { cursor: default; color: var(--gc-ink); }
.gc-opt:not(:disabled):active, .gc-word:not(:disabled):active, .gc-tile:not(:disabled):active { transform: scale(.98); }
.gc-qcard { margin-top: 14px; background: #fff; border: 1px solid var(--gc-line); border-radius: 22px; padding: 20px;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.gc-prompt { margin: 0 0 6px; font-weight: 700; color: var(--gc-muted); font-size: var(--fs-sm, .9375rem); }
.gc-text { margin: 0 0 16px; font-size: clamp(1.25rem, 4.6vw, 1.625rem); line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.gc-opts { display: grid; gap: 10px; }
.gc-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; text-align: left;
  font: inherit; font-size: var(--fs-lg, 1.125rem); font-weight: 600; color: var(--gc-ink); background: var(--gc-soft);
  border: 2px solid transparent; border-radius: 16px; cursor: pointer; overflow-wrap: anywhere; }
.gc-opt:not(:disabled):hover, .gc-word:not(:disabled):hover, .gc-tile:not(:disabled):hover { border-color: rgba(124, 58, 237, .35); }
.gc-key { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #fff; color: var(--gc-acc); font-size: .9rem; }
.gc-tapError { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-word, .gc-tile { min-height: 48px; min-width: 44px; padding: 8px 14px; font: inherit; font-size: var(--fs-lg, 1.125rem); font-weight: 600;
  color: var(--gc-ink); background: var(--gc-soft); border: 2px solid transparent; border-radius: 12px; cursor: pointer; }
.gc-order { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-tile:disabled { opacity: .3; }
.gc-answer { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 52px; padding: 8px; margin-bottom: 12px;
  border: 2px dashed #cfc7e6; border-radius: 14px; }
.gc-placed { padding: 6px 10px; border-radius: 10px; background: #ede7fb; font-weight: 600; }
.gc-hint { color: var(--gc-muted); font-size: var(--fs-sm, .9375rem); }
.gc-undo { margin-left: auto; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #cfc7e6; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.gc-typed { display: flex; gap: 8px; flex-wrap: wrap; }
.gc-typed input { flex: 1 1 180px; min-width: 0; min-height: 52px; font: inherit; font-size: var(--fs-lg, 1.125rem); padding: 8px 14px; border: 2px solid #cfc7e6; border-radius: 14px; }
.gc-wait-n { font-size: var(--fs-xl, 1.375rem); font-weight: 700; font-variant-numeric: tabular-nums; }

/* result */
.gc-result { position: relative; overflow: hidden; }
.gc-score-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.gc-ring-big { width: 104px; height: 104px; }
.gc-ring-big::before { inset: 10px; }
.gc-ring-big b { font-size: 2.25rem; }
.gc-ring-big.is-perfect { --c: var(--gc-ok); }
.gc-dots-result { margin: 0 0 12px; }
.gc-score { font-size: clamp(1.75rem, 7vw, 2.5rem); margin: 0; outline: none; }
.gc-score-sub { display: block; margin-top: 4px; font-size: var(--fs-base, 1rem); font-weight: 600; color: var(--gc-muted); }
/* result charts */
.gc-rstats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); margin: 16px 0 6px; }
.gc-rstats div { background: var(--gc-soft); box-shadow: none; }
.gc-chart { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--gc-line); }
.gc-chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.gc-chart-head .gc-h2 { margin: 0; }
.gc-chart > .gc-small { margin: 4px 0 0; }
.gc-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-sm, .9375rem); color: var(--gc-muted); }
.gc-legend li { display: flex; align-items: center; gap: 6px; }
.gc-legend i { width: 12px; height: 12px; border-radius: 4px; }
.gc-legend .is-right { background: var(--gc-ok); }
.gc-legend .is-wrong { background: var(--gc-bad); }
.gc-legend .is-answered { background: var(--gc-acc); }
.gc-legend .is-none { border: 1.5px dashed #a8a2bd; }
.gc-legend .is-avg { height: 0; width: 16px; border-radius: 0; border-top: 2px dashed var(--gc-ink); }
.gc-bars { --plot: 200px; position: relative; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 4px;
  margin-top: 14px; padding-left: 38px; }
.gc-grid-y { position: absolute; left: 38px; right: 0; top: 0; height: var(--plot); pointer-events: none; }
.gc-grid-y span { position: absolute; left: -38px; right: 0; transform: translateY(50%); font-size: .75rem; color: var(--gc-muted);
  border-bottom: 1px solid rgba(124, 58, 237, .1); line-height: 0; padding-bottom: 0; font-variant-numeric: tabular-nums; }
.gc-avg { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--gc-ink); opacity: .55; z-index: 1; }
.gc-bar { display: grid; grid-template-rows: var(--plot) auto; gap: 6px; padding: 0; border: 0; background: none; font: inherit; cursor: pointer;
  min-width: 0; color: var(--gc-ink); }
.gc-bar-col { position: relative; display: flex; align-items: flex-end; justify-content: center; border-radius: 8px; transition: background .15s; }
.gc-bar:hover .gc-bar-col, .gc-bar.is-on .gc-bar-col { background: rgba(124, 58, 237, .07); }
.gc-bar-fill { width: min(70%, 44px); height: var(--h); border-radius: 4px 4px 0 0; background: var(--gc-acc); animation: gc-grow .6s ease-out both; transform-origin: bottom; }
.gc-bar.is-right .gc-bar-fill { background: var(--gc-ok); }
.gc-bar.is-wrong .gc-bar-fill { background: var(--gc-bad); }
.gc-bar.is-late .gc-bar-col::after, .gc-bar.is-skipped .gc-bar-col::after { content: ""; position: absolute; bottom: 0; width: min(70%, 44px); height: 18px;
  border: 1.5px dashed #a8a2bd; border-bottom: 0; border-radius: 4px 4px 0 0; }
.gc-bar-x { display: grid; justify-items: center; font-size: .75rem; font-weight: 700; color: var(--gc-muted); line-height: 1.2; }
.gc-bar-x b { font-size: .875rem; }
.gc-bar.is-right .gc-bar-x b { color: var(--gc-ok); }
.gc-bar.is-wrong .gc-bar-x b { color: var(--gc-bad); }
.gc-bar:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; border-radius: 8px; }
.gc-tip { position: absolute; top: -6px; transform: translate(-50%, -100%); z-index: 2; margin: 0; padding: 8px 12px; max-width: 260px; width: max-content;
  border-radius: 10px; background: var(--gc-ink); color: #fff; font-size: var(--fs-sm, .9375rem); font-weight: 600; line-height: 1.35; text-align: center;
  box-shadow: 0 10px 24px -12px rgba(31, 22, 64, .6); pointer-events: none; }
.gc-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--gc-soft); gap: 4px; }
.gc-seg button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: var(--fs-sm, .9375rem);
  font-weight: 600; color: var(--gc-muted); cursor: pointer; }
.gc-seg button[aria-pressed="true"] { background: #fff; color: #5b21b6; box-shadow: 0 2px 8px -4px rgba(76, 29, 149, .5); }
.gc-seg button:focus-visible { outline: 3px solid #f59e0b; outline-offset: 1px; }
.gc-hbars { display: grid; gap: 10px; margin-top: 14px; }
.gc-hrow { display: grid; grid-template-columns: minmax(110px, 220px) minmax(0, 1fr) 3.2em; align-items: center; gap: 12px; }
.gc-hlabel { font-weight: 600; overflow-wrap: anywhere; }
.gc-htrack { height: 14px; border-radius: 99px; background: #ebe5f8; overflow: hidden; }
.gc-hfill { display: block; height: 100%; width: var(--w); min-width: 0; border-radius: 99px; background: linear-gradient(90deg, #6d28d9, #c026d3);
  animation: gc-widen .7s ease-out both; animation-delay: var(--d, 0ms); }
.gc-hval { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.gc-table-view { margin-top: 18px; }
.gc-table-view summary { cursor: pointer; font-weight: 600; color: var(--gc-acc); min-height: 44px; display: flex; align-items: center; }
.gc-table-view .gc-table { font-size: var(--fs-sm, .9375rem); }
@keyframes gc-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes gc-widen { from { width: 0; } to { width: var(--w); } }
@media (max-width: 520px) {
  .gc-bars { --plot: 160px; padding-left: 30px; gap: 2px; }
  .gc-grid-y { left: 30px; }
  .gc-grid-y span { left: -30px; font-size: .6875rem; }
  .gc-hrow { grid-template-columns: minmax(0, 1fr) 3em; gap: 4px 10px; }
  .gc-hlabel { grid-column: 1 / -1; }
  .gc-htrack { grid-column: 1; }
}
.gc-burst { position: absolute; inset: 0 0 auto; height: 0; pointer-events: none; }
.gc-burst i { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; animation: gc-fall 2.2s ease-in forwards; }
.gc-perfect { font-size: var(--fs-lg, 1.125rem); font-weight: 700; color: var(--gc-ok); }
.gc-topics { padding-left: 1.2em; margin: 6px 0 14px; display: grid; gap: 4px; }
.gc-result .gc-h2 { margin-top: 22px; }
.gc-review { padding-left: 1.4em; display: grid; gap: 10px; }
.gc-review li { padding: 10px 12px; border-radius: 12px; background: var(--gc-soft); }
.gc-review li.is-wrong { background: #fff4f4; }
.gc-review p { margin: 2px 0; overflow-wrap: anywhere; }
.gc-rq { font-weight: 600; }
.gc-why { color: var(--gc-muted); font-size: var(--fs-sm, .9375rem); }

/* results page */
.gc-table { width: 100%; border-collapse: collapse; }
.gc-table th, .gc-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--gc-line); }
.gc-table td:last-child, .gc-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* terms */
.gc-draft { padding: 10px 14px; border-radius: 12px; background: #fff7ed; border: 1.5px solid #fdba74; font-weight: 700; color: #9a3412; }
.gc-terms ol { padding-left: 1.3em; line-height: 1.6; }
.gc-terms mark { background: #fef08a; padding: 0 3px; border-radius: 4px; }

@media (max-width: 420px) {
  .gc-card, .gc-qcard { padding: 16px; border-radius: 18px; }
  .gc-hero { padding: 20px 16px; }
  .gc-ring { width: 64px; height: 64px; }
  .gc-ring::before { inset: 7px; }
  .gc-ring b { font-size: 1.25rem; }
  .gc-dots { gap: 4px; }
  .gc-dots li { width: 16px; }
  .gc-dots li.is-now { width: 26px; }
  .gc-opt { min-height: 52px; font-size: var(--fs-base, 1rem); }
}
/* landing: How it works stepper */
.gc-how h3 { margin: 0 0 6px; font-size: var(--fs-lg, 1.125rem); line-height: 1.35; font-weight: 700; }
.gc-steplist { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; line-height: 1.6; }
.gc-steplist p { margin: 0; }
.gc-steplist.is-stepper { list-style: none; padding: 0; }
.gc-steplist.is-stepper > li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: start;
  padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, #f5efff, #fdeef6); border: 1px solid var(--gc-line); }
.gc-steplist.is-stepper > li > * { grid-column: 2; }
.gc-steplist.is-stepper > li.gc-in { animation: gc-slide .28s ease-out; }
.gc-step-ico { grid-column: 1 !important; grid-row: 1 / span 4; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: #fff; font-size: 1.75rem; box-shadow: 0 10px 24px -18px rgba(76, 29, 149, .6); }
.gc-step-of { font-size: var(--fs-xs, .8125rem) !important; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--gc-pink); margin-bottom: 2px !important; }
.gc-stepper { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 6px 0 16px; }
.gc-track { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 21px; height: 4px; border-radius: 99px; background: #ebe5f8; }
.gc-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #6d28d9, #c026d3); transition: width .35s; }
.gc-stepper [role=tab] { position: relative; display: grid; justify-items: center; gap: 6px; padding: 0 2px 4px; border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--gc-muted); min-width: 0; }
.gc-step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid #ddd3f5;
  font-weight: 700; font-size: 1.05rem; color: var(--gc-muted); transition: background .2s, border-color .2s, color .2s, transform .2s; }
.gc-step-t { font-size: var(--fs-sm, .9375rem); font-weight: 600; text-align: center; line-height: 1.25; overflow-wrap: anywhere; }
.gc-stepper [role=tab]:hover .gc-step-n { border-color: var(--gc-acc); transform: translateY(-2px); }
.gc-stepper [role=tab].is-done .gc-step-n { background: #ede4ff; border-color: #a78bfa; color: #5b21b6; }
.gc-stepper [role=tab][aria-selected=true] { color: var(--gc-ink); }
.gc-stepper [role=tab][aria-selected=true] .gc-step-n { background: linear-gradient(135deg, #6d28d9, #c026d3); border-color: transparent; color: #fff;
  box-shadow: 0 10px 22px -10px rgba(109, 40, 217, .7); }
.gc-stepper [role=tab]:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; border-radius: 12px; }
.gc-step-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.gc-step-nav .gc-btn { min-height: 44px; }
.gc-chips { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gc-chips li { padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--gc-line); font-size: var(--fs-sm, .9375rem); font-weight: 600; }

/* landing in the hub-page look (ielts-preparation.html): only what the shared hub styles don't cover */
.gc-pillar-main { padding-bottom: 32px; }
.gc-pillar .ts-sec .gc-countdown { margin: 0; font-size: var(--fs-sm, .9375rem); font-variant-numeric: tabular-nums; }
.gc-pillar .ts-sec .gc-countdown .gc-cd-label { display: inline; margin-right: 4px; color: inherit; }
.gc-pillar .ts-sec .gc-countdown b { font-size: 1em; color: var(--gc-acc); }
.gc-pillar .gc-types5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }   /* the four cards share the full width */
.gc-pillar .gc-cards3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }   /* the three cards share one height */
.gc-pillar .gc-cards3 .ts-card:hover { transform: none; }
.gc-soon { font-weight: 700; color: var(--gc-acc); }
.gc-terms-line { margin: 18px 0 0; font-size: var(--fs-sm, .9375rem); color: var(--gc-muted); line-height: 1.55; }
.gc-terms-line a { color: var(--gc-acc); font-weight: 600; }

/* landing: the three cards */
.gc-cards3 { gap: 16px; }
.gc-cards3 .gc-card { display: flex; flex-direction: column; }
.gc-mini-h { margin: 6px 0 8px !important; font-size: var(--fs-xs, .8125rem) !important; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--gc-muted); }
.gc-fair-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gc-fair-list button { min-height: 40px; padding: 6px 12px; border-radius: 99px; border: 1.5px solid var(--gc-line); background: var(--gc-soft);
  font: inherit; font-size: var(--fs-sm, .9375rem); font-weight: 600; color: var(--gc-ink); cursor: pointer; transition: transform .15s, border-color .15s; }
.gc-fair-list button:hover { border-color: rgba(124, 58, 237, .45); transform: translateY(-1px); }
.gc-fair-list button.is-ok { background: rgba(21, 128, 61, .1); border-color: rgba(21, 128, 61, .45); color: var(--gc-ok); }
.gc-fair-list button.is-no { background: rgba(185, 28, 28, .07); border-color: rgba(185, 28, 28, .4); color: var(--gc-bad); }
.gc-fair-list button.is-on { animation: gc-pop .3s; }
.gc-fair-list button:focus-visible, .gc-yn button:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.gc-fair-out, .gc-who-out { margin: 12px 0 0 !important; padding: 10px 12px; border-radius: 12px; font-weight: 600; line-height: 1.45; animation: gc-slide .25s; }
.gc-fair-out.is-ok, .gc-who-out.is-ok { background: rgba(21, 128, 61, .1); color: var(--gc-ok); }
.gc-fair-out.is-no, .gc-who-out.is-no { background: #fff7ed; color: #9a3412; }
.gc-who-q { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; padding: 8px 0; border-bottom: 1px dashed var(--gc-line); }
.gc-who-q > span:first-child { font-weight: 600; flex: 1 1 auto; min-width: 0; }
.gc-who-q { flex-wrap: nowrap; }   /* Yes / No stay beside the question; the question text wraps instead */
.gc-yn { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--gc-soft); gap: 3px; }
.gc-yn button { min-height: 38px; min-width: 56px; padding: 0 12px; border: 0; border-radius: 9px; background: none; font: inherit; font-weight: 700;
  color: var(--gc-muted); cursor: pointer; }
.gc-yn button[aria-pressed=true] { background: #fff; color: #5b21b6; box-shadow: 0 2px 8px -4px rgba(76, 29, 149, .5); }
.gc-prog { height: 8px; border-radius: 99px; background: #ebe5f8; overflow: hidden; margin: 4px 0 2px; }
.gc-prog span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #6d28d9, #c026d3); transition: width .35s; }
.gc-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gc-checklist label { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: 12px; background: var(--gc-soft);
  cursor: pointer; line-height: 1.35; transition: background .2s; }
.gc-checklist input { width: 20px; height: 20px; flex: none; accent-color: var(--gc-ok); }
.gc-checklist li.is-done label { background: rgba(21, 128, 61, .08); }
.gc-checklist li.is-done span { text-decoration: line-through; text-decoration-color: rgba(21, 128, 61, .5); }
@media (max-width: 640px) {
  .gc-stepper { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
  .gc-step-n { width: 38px; height: 38px; font-size: .95rem; }
  .gc-track { top: 17px; }
  .gc-step-t { display: none; }
  .gc-steplist.is-stepper > li { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .gc-steplist.is-stepper > li > *, .gc-step-ico { grid-column: 1 !important; grid-row: auto; }
  .gc-step-ico { width: 48px; height: 48px; margin-bottom: 8px; }
}

/* the page column (main) has 1rem padding inside the 80rem cap; the header bar uses the full 80rem, so line up with it */
@media (min-width: 1312px) { .gc { margin-inline: -1rem; } }
@media (min-width: 900px) {
  .gc-quiz .gc-mcq, .gc-quiz .gc-oddOneOut, .gc-quiz .gc-trueFalse, .gc-warm .gc-opts:not(.gc-tapError) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gc-ready .gc-form, .gc-ready .gc-rule-line { max-width: 760px; }
  .gc-terms ol, .gc-lead { max-width: 80ch; }
}
@media (max-width: 640px) {
  .gc-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gc-tabs button { min-height: 88px; padding: 12px 6px; font-size: var(--fs-xs, .8125rem); }
  .gc-stats { gap: 8px; }
  .gc-stats div { padding: 12px 6px; }
}
@keyframes gc-slide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes gc-pop { 0% { transform: scale(1); } 50% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes gc-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes gc-zoom { from { opacity: 0; transform: scale(1.6); } 30% { opacity: 1; transform: scale(1); } to { opacity: .85; transform: scale(.96); } }
@keyframes gc-pulse { 50% { transform: scale(1.06); } }
@keyframes gc-fall { from { opacity: 1; transform: translate(0, 0) rotate(0); } to { opacity: 0; transform: translate(var(--x, 0), 420px) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) {
  .gc-bar-fill, .gc-hfill, .gc-steplist > li.gc-in, .gc-track span, .gc-prog span, .gc-fair-list button, .gc-fair-out, .gc-who-out, .gc-qcard.gc-in, .gc-tab-panel.gc-in, .gc-wbar span, .gc-tabs button, .gc-count-n.is-pop, .gc-ring.is-low, .gc-opt, .gc-word, .gc-answer, .gc-feedback, .gc-streak, .gc-types li { animation: none !important; transition: none !important; }
}
