:root {
  --app-bg: #eefbf8;
  --app-surface: rgba(255, 255, 255, 0.94);
  --app-border: rgba(190, 232, 222, 0.9);
  --app-text: #122033;
  --app-muted: #516076;
  --app-faint: #7a8597;
  --app-primary: #079678;
  --app-primary-hover: #057a62;
  --app-blue: #4c7dff;
  --app-danger: #ef4444;
  --app-shadow: 0 18px 44px rgba(21, 128, 105, 0.11);
  --display-font: "Playfair Display", "Times New Roman", Georgia, serif;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--app-text);
  background:
    linear-gradient(180deg, rgba(228, 252, 246, 0.96), rgba(242, 253, 251, 0.96) 52%, #ecfbf8 100%);
  font-size: 14px;
  line-height: 1.65;
}

body[data-view="claude"] {
  --app-primary: #cc6642;
  --app-primary-hover: #a95034;
  --app-border: rgba(232, 200, 183, 0.85);
  --app-shadow: 0 18px 44px rgba(179, 91, 49, 0.1);
  background: linear-gradient(180deg, #fff1e8 0%, #fff8f2 46%, #fff1e8 100%);
}

body[data-view="grok"] {
  --app-primary: #159bd5;
  --app-primary-hover: #0c87bf;
  --app-border: rgba(48, 62, 84, 0.92);
  --app-shadow: 0 22px 52px rgba(0, 0, 0, 0.36);
  color: #f4f7fb;
  background: #000;
}

a {
  color: var(--app-blue);
  text-decoration: none;
}

a:hover {
  color: var(--app-primary-hover);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: fixed;
  inset: 14px 18px auto;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.platform-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
  pointer-events: auto;
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 118px;
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #334155;
  font-weight: 800;
  white-space: nowrap;
}

.platform-tab.active {
  color: #fff;
  background: var(--app-primary);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.28);
}

.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-weight: 900;
}

.top-actions {
  position: fixed;
  top: 14px;
  right: 18px;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.lang-pill,
.api-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #334155;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  font-weight: 700;
}

.api-pill {
  min-width: 98px;
  justify-content: center;
}

.api-pill.is-hidden {
  display: none;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.api-pill.ready .status-dot {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}

.chevron {
  color: #94a3b8;
}

main {
  min-height: 100vh;
  padding-top: 88px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.redeem-shell,
.claude-shell,
.grok-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 64px;
}

.hero-card {
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--app-border);
  border-radius: 24px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.96), rgba(213, 250, 239, 0.82) 56%, rgba(176, 236, 221, 0.72));
  box-shadow: var(--app-shadow);
}

.hero-content {
  padding: 54px 58px 58px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-content h1 {
  display: inline-block;
  margin: 0 0 20px;
  color: #05785e;
  font-family: var(--display-font);
  font-size: 38px;
  line-height: 1.15;
  border-bottom: 4px solid #10b981;
}

.hero-content p {
  max-width: 560px;
  margin-bottom: 12px;
  color: #405166;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.stock-line {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 8px;
  border: 1px solid #79dcbf;
  color: #009a76;
  background: rgba(236, 253, 245, 0.86);
  font-weight: 700;
}

.auto-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(520px, 100%);
  margin: 16px auto 26px;
  padding: 12px 18px;
  border: 1px solid #b7f2ce;
  border-radius: 12px;
  color: #086a45;
  background: rgba(240, 253, 244, 0.74);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(76, 125, 255, 0.18);
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.metric-card {
  display: grid;
  grid-template-columns: 42px auto;
  grid-template-rows: auto auto;
  align-items: center;
  min-width: 138px;
  padding: 14px 16px;
  border: 1px solid rgba(190, 232, 222, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.metric-icon {
  display: inline-flex;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  background: #079678;
}

.metric-card b {
  font-size: 18px;
  line-height: 1.1;
}

.metric-card small {
  color: #42556c;
  font-weight: 700;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.panel {
  border: 1px solid var(--app-border);
  border-radius: 24px;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

.guide-panel,
.form-panel {
  padding: 24px 28px 30px;
}

.guide-panel h2,
.claude-form-panel h2,
.grok-panel h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--app-text);
  font-size: 18px;
}

.guide-panel h2 span,
.claude-form-panel h2 span,
.grok-panel h2 span {
  display: inline-block;
  width: 4px;
  height: 20px;
  border-radius: 99px;
  background: var(--app-primary);
}

.guide-list {
  display: grid;
  gap: 18px;
}

.guide-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  min-height: 118px;
  padding: 20px 22px;
  border: 1px solid rgba(190, 232, 222, 0.92);
  border-left: 4px solid #4c7dff;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.guide-green {
  border-left-color: #10b981;
}

.guide-amber {
  border-left-color: #f59e0b;
}

.guide-red {
  border-left-color: #ef4444;
}

.guide-num,
.field b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #89e8ce;
  border-radius: 999px;
  color: #079678;
  background: #dffcf3;
  font-size: 12px;
  font-weight: 800;
}

.guide-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.guide-item p {
  margin: 0;
  color: #40516a;
  overflow-wrap: anywhere;
}

.guide-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 38px;
  margin-top: 12px;
  border-radius: 10px;
  color: #08785f;
  background: #ccfae9;
  font-weight: 800;
}

.gpt-form-shell {
  padding: 12px 14px 14px;
  border: 1px solid #b9cdfd;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(235, 241, 255, 0.98), rgba(244, 247, 255, 0.98));
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px;
  border: 1px solid rgba(76, 125, 255, 0.16);
  border-radius: 10px;
  background: #e7efff;
}

.mode-tab {
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  color: #64748b;
  background: transparent;
  font-weight: 900;
}

.mode-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #4c7dff, #7b5cff);
  box-shadow: 0 5px 14px rgba(76, 125, 255, 0.32);
}

.redeem-form,
.claude-form,
.grok-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #4b5b70;
  font-size: 13px;
  font-weight: 800;
}

.field span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.field em {
  padding: 3px 10px;
  border-radius: 999px;
  color: #94600f;
  background: #fff2d8;
  font-style: normal;
  font-size: 12px;
}

input,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  color: #253247;
  background: rgba(255, 255, 255, 0.98);
  outline: 0;
}

input {
  height: 42px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 14px;
}

input:focus,
textarea:focus {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.account-helper {
  padding: 12px 14px;
  border: 1px solid #f3c36b;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8e9, #fff6f0);
}

.inline-apply {
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 8px;
}

.inline-apply button {
  height: 42px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #f59e0b;
  font-weight: 900;
}

.account-helper small,
.form-hint,
.claude-form small,
.grok-form p,
.check-bar p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.check-row input {
  width: 16px;
  height: 16px;
  padding: 0;
}

.primary-btn,
.secondary-btn,
.check-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  border: 0;
  font-weight: 900;
}

.primary-btn {
  color: #fff;
  background: var(--app-primary);
  box-shadow: 0 8px 18px rgba(7, 150, 120, 0.2);
}

.primary-btn:hover {
  background: var(--app-primary-hover);
}

.primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: saturate(0.5);
}

.secondary-btn {
  min-width: 98px;
  border: 1px solid #d2dbe8;
  color: #475569;
  background: #fff;
}

.gpt-submit {
  background: #c7cfdf;
  box-shadow: none;
}

.gpt-submit.ready {
  background: linear-gradient(135deg, #4c7dff, #7b5cff);
  box-shadow: 0 8px 18px rgba(76, 125, 255, 0.28);
}

.task-result {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.08);
  color: #0f513c;
  word-break: break-word;
}

.task-result.err {
  border-color: rgba(239, 68, 68, 0.32);
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
}

.task-result pre,
.query-results pre {
  overflow: auto;
  margin: 8px 0 0;
  padding: 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 12px;
}

.check-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  background: rgba(250, 251, 255, 0.96);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.check-btn {
  min-width: 160px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.check-btn + .check-btn {
  background: linear-gradient(135deg, #10a37f, #0d8a6b);
}

.check-bar p {
  width: 100%;
  text-align: center;
  color: #94a3b8;
}

.claude-shell {
  width: min(1040px, calc(100% - 32px));
}

.claude-hero {
  margin: 8px 0 22px;
  padding: 40px 42px 34px;
  border: 1px solid #edd2c2;
  border-radius: 24px;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.94), rgba(255, 240, 231, 0.9));
  box-shadow: var(--app-shadow);
}

.claude-hero h1 {
  display: inline-block;
  margin: 0 0 24px;
  color: #a94725;
  border-bottom: 3px solid #d47b58;
  font-size: 38px;
  line-height: 1.1;
}

.claude-hero > p {
  color: #563d33;
  font-weight: 900;
}

.claude-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ead4c8;
}

.claude-badges span,
.stock-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #edd8cc;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #3b2d27;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(179, 91, 49, 0.07);
}

.claude-faqs {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.claude-faqs article {
  padding: 14px 18px;
  border: 1px solid #f2ded3;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
}

.claude-faqs b {
  display: block;
  margin-bottom: 8px;
}

.claude-faqs p {
  margin: 0;
  color: #5f504a;
}

.stock-chip span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.claude-metrics .metric-card {
  border-color: #efd9cd;
  background: rgba(255, 255, 255, 0.82);
}

.claude-metrics .metric-icon {
  background: #cc6642;
}

.claude-form-panel {
  padding: 26px 28px;
  border: 2px solid #cf6b49;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--app-shadow);
}

.claude-form-panel h2 span {
  background: #cf6b49;
}

.benefit-box {
  padding: 20px 24px;
  border: 1px solid #f1cdb9;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff9ef, #fffaf5);
}

.benefit-box p {
  margin: 10px 0 0;
}

.claude-submit {
  margin-top: 14px;
  background: #cc704d;
  box-shadow: 0 8px 18px rgba(204, 112, 77, 0.24);
}

.claude-query {
  width: 100%;
  min-height: 56px;
  margin: 22px 0;
  padding: 0 18px;
  border: 1px solid #f1d6c4;
  border-radius: 14px;
  color: #4a342c;
  background: rgba(255, 250, 245, 0.9);
  text-align: left;
  font-weight: 800;
}

.claude-footer {
  padding-top: 26px;
  border-top: 1px dashed #efd6c7;
  text-align: center;
  color: #7b6559;
}

.claude-footer p {
  margin: 4px 0 0;
}

.grok-shell {
  width: min(730px, calc(100% - 32px));
}

.grok-hero {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 40px 38px 34px;
  border: 1px solid #1d2836;
  border-radius: 28px;
  background:
    linear-gradient(125deg, rgba(18, 18, 28, 0.96), rgba(8, 12, 18, 0.96) 54%, rgba(4, 32, 50, 0.96));
  box-shadow: var(--app-shadow);
}

.grok-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 26px;
  color: #fff;
  background: #030303;
  border: 1px solid #263245;
  font-size: 64px;
  line-height: 1;
}

.grok-hero h1 {
  display: inline-block;
  margin: 42px 0 22px;
  border-bottom: 3px solid #1ea8ff;
  color: #fff;
  font-size: 38px;
  line-height: 1.08;
}

.grok-hero p {
  grid-column: 1 / -1;
  margin-bottom: 16px;
  color: #7c8492;
  font-weight: 800;
}

.grok-metrics {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.grok-metrics div {
  display: grid;
  grid-template-columns: 38px auto;
  grid-template-rows: auto auto;
  align-items: center;
  min-width: 124px;
  padding: 12px 14px;
  border: 1px solid #243145;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.grok-metrics span {
  display: inline-flex;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #159bd5;
}

.grok-metrics b {
  color: #fff;
  font-size: 18px;
}

.grok-metrics small,
.grok-form p,
.grok-guide p {
  color: #7d8491;
}

.grok-tabbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 28px 0 14px;
  padding: 6px;
  border: 1px solid #1e293b;
  border-radius: 14px;
  background: #05070b;
}

.grok-tabbar button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  color: #949ca9;
  background: transparent;
  font-weight: 900;
}

.grok-tabbar button.active {
  color: #fff;
  background: linear-gradient(135deg, #19a8df, #0d8eca);
}

.grok-panel {
  margin-top: 14px;
  padding: 28px 30px;
  border: 1px solid #1e293b;
  border-radius: 22px;
  background: #14161b;
  box-shadow: var(--app-shadow);
}

.grok-panel h2 {
  color: #fff;
}

.grok-panel h2 em {
  margin-left: 12px;
  padding: 5px 13px;
  border: 1px solid #159bd5;
  border-radius: 999px;
  color: #2bb9ff;
  font-style: normal;
  font-size: 12px;
}

.dark-field {
  color: #f7fafc;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dark-field input {
  border-color: #242b36;
  color: #f8fafc;
  background: #000;
}

.dark-check {
  color: #8a93a2;
}

.grok-submit {
  margin-top: 8px;
  border-radius: 999px;
  background: #22272e;
  box-shadow: none;
}

.grok-submit.ready {
  background: linear-gradient(135deg, #19a8df, #0d8eca);
  box-shadow: 0 10px 22px rgba(25, 168, 223, 0.22);
}

.dark-result {
  border-color: #263145;
  color: #d9e8f7;
  background: #0b111a;
}

.grok-guide {
  border-top: 3px solid #159bd5;
}

.grok-guide article + article {
  margin-top: 22px;
}

.grok-guide b {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(620px, 100%);
  max-height: min(820px, calc(100vh - 40px));
  overflow: auto;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  color: #172033;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.query-card {
  width: min(760px, 100%);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 24px;
  line-height: 1;
}

.modal-card h2 {
  margin-bottom: 10px;
}

.modal-card code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #eef2ff;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.query-results {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.query-card-item {
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.query-card-item b {
  display: block;
  margin-bottom: 8px;
  word-break: break-all;
}

.query-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 800;
  font-size: 12px;
}

.tag.used {
  background: #fef3c7;
  color: #92400e;
}

.tag.unused {
  background: #dcfce7;
  color: #166534;
}

.tag.err {
  background: #fee2e2;
  color: #b91c1c;
}

.loading {
  opacity: 0.72;
}

@media (max-width: 960px) {
  .topbar {
    inset: 14px 10px auto;
  }

  .top-actions {
    top: 62px;
    right: 10px;
  }

  main {
    padding-top: 116px;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .claude-hero,
  .grok-hero {
    padding: 36px 32px;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: clip;
  }

  .platform-tabs {
    max-width: calc(100vw - 22px);
    overflow-x: auto;
    justify-content: flex-start;
  }

  .platform-tab {
    min-width: 42px;
    width: 42px;
    padding: 0;
  }

  .platform-tab .tab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .top-actions {
    left: auto;
    right: 8px;
    gap: 6px;
  }

  .api-pill {
    min-width: 42px;
    width: 42px;
    padding: 0;
  }

  #apiKeyLabel {
    display: none;
  }

  .lang-pill {
    width: 42px;
    min-width: 42px;
    padding: 0 8px;
    justify-content: center;
  }

  .lang-pill span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .lang-pill .chevron {
    display: none;
  }

  .redeem-shell,
  .claude-shell,
  .grok-shell {
    width: calc(100% - 16px);
  }

  .hero-content h1,
  .claude-hero h1,
  .grok-hero h1 {
    font-size: 30px;
  }

  .hero-content,
  .claude-hero,
  .guide-panel,
  .form-panel,
  .claude-form-panel,
  .grok-panel {
    padding: 24px 20px;
  }

  .hero-card,
  .panel,
  .claude-hero,
  .claude-form-panel,
  .grok-hero,
  .grok-panel,
  .check-bar {
    border-radius: 18px;
  }

  .auto-notice {
    align-items: flex-start;
  }

  .gpt-form-shell {
    padding: 10px;
  }

  .metric-row,
  .grok-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card,
  .grok-metrics div {
    min-width: 0;
  }

  .mode-tabs,
  .grok-tabbar {
    grid-template-columns: 1fr;
  }

  .guide-item {
    min-height: 0;
    padding: 18px 16px;
  }

  .inline-apply {
    grid-template-columns: 1fr;
  }

  .grok-hero {
    grid-template-columns: 1fr;
  }

  .grok-logo {
    width: 76px;
    height: 76px;
    font-size: 54px;
  }

  .grok-hero h1 {
    margin-top: 4px;
  }

  .modal-card {
    padding: 20px;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-actions .primary-btn,
  .modal-actions .secondary-btn {
    width: 100%;
  }
}
