#geminiRedemptionPanel [hidden] { display: none !important; }
/* The Gemini hero uses the same shared layout and interactive cards as GPT. */
.gemini-art { margin:0; text-align:center; }
.gemini-art img { display:block; width:min(100%,340px); height:auto; margin:auto; border-radius:22px; filter:drop-shadow(0 20px 32px #0002); }
.gemini-art figcaption { margin-top:18px; font-size:14px; color:var(--ui-text-muted); }
#geminiEntryCard form { margin:20px 0 0; }
#geminiEntryCard .claude-step-label>span { position:static; transform:none; flex:0 0 30px; }
#geminiAccountForm { padding-top:28px; border-top:1px solid var(--ui-border); }
.gemini-fields { border:0; padding:0; margin:0; min-width:0; display:grid; gap:14px; }
.gemini-fields legend { margin-bottom:18px; }
.gemini-fields textarea { width:100%; resize:vertical; font-family:inherit; line-height:1.6; }
.gemini-fields>.primary-button { justify-self:start; }
.gemini-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:16px; }
.gemini-actions p { margin:0; }
.gemini-help { color:var(--ui-text-muted); font-size:13px; line-height:1.8; margin:0; }
.gemini-plan-label { font-weight:650; font-size:18px; }
.gemini-auth-box { padding:22px; border:1px solid var(--ui-border); border-radius:16px; background:var(--ui-surface); }
.gemini-auth-box h3 { font-size:19px; margin:0 0 12px; }
.gemini-auth-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.gemini-auth-status { margin:16px 0; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.gemini-helper-toolbar { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.gemini-helper-connection { color:var(--ui-text-muted); font-size:13px; display:inline-flex; align-items:center; gap:8px; }
.gemini-helper-connection::before { content:''; width:8px; height:8px; border-radius:50%; background:currentColor; flex:none; }
.gemini-helper-dialog { box-sizing:border-box; width:min(720px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); margin:auto; padding:32px 36px; border:1px solid var(--ui-border); border-radius:26px; background:var(--ui-surface); color:var(--ui-text); box-shadow:0 24px 80px #0003; overflow-y:auto; overscroll-behavior:contain; }
.gemini-helper-dialog::backdrop { background:#11182066; backdrop-filter:blur(3px); }
.gemini-helper-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.gemini-helper-heading h2 { margin:0; font-size:25px; line-height:1.4; letter-spacing:-.02em; }
.gemini-helper-close { display:grid; place-items:center; flex:none; width:38px; height:38px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--ui-text-muted); font-size:28px; cursor:pointer; }
.gemini-helper-close:hover { background:var(--ui-surface-muted); color:var(--ui-text); }
.gemini-helper-intro { margin:22px 0 24px; color:var(--ui-text-muted); font-size:16px; line-height:1.9; }
.gemini-helper-steps { list-style:none; counter-reset:none; display:grid; gap:14px; padding:0; margin:0; }
.gemini-helper-steps li { display:flex; gap:16px; align-items:center; padding:18px 20px; border:1px solid var(--ui-border); border-radius:18px; background:var(--ui-surface-soft); }
.gemini-helper-number { display:grid; place-items:center; flex:none; width:34px; height:34px; border-radius:50%; background:var(--ui-primary); color:var(--ui-surface); font-size:16px; font-weight:650; }
.gemini-helper-steps p { flex:1; min-width:0; margin:0; font-size:15px; line-height:1.8; overflow-wrap:anywhere; }
.gemini-helper-steps strong { font-weight:600; }
.gemini-helper-steps code { font-size:14px; overflow-wrap:anywhere; user-select:all; }
.gemini-helper-action { flex:none; padding:9px 16px; border:1px solid var(--ui-border-strong); border-radius:999px; background:var(--ui-success-soft); color:var(--ui-accent); font:inherit; font-size:14px; text-decoration:none; cursor:pointer; white-space:nowrap; }
.gemini-helper-action:hover { filter:brightness(.96); }
.gemini-helper-note { margin:20px 0 0; color:var(--ui-text-muted); font-size:14px; line-height:1.8; }
.gemini-helper-mobile-note { display:none; }
.gemini-helper-copy-feedback { min-height:0; margin:8px 0 0; color:var(--ui-accent); font-size:13px; line-height:1.6; }
.gemini-helper-copy-feedback:empty { display:none; }
.gemini-helper-footer { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-top:26px; }
.gemini-helper-status { flex:1; margin:0; font-size:14px; line-height:1.75; overflow-wrap:anywhere; }
.gemini-helper-footer button { min-width:132px; flex:none; }
.gemini-helper-status[data-state=error],.gemini-helper-connection[data-state=error] { color:var(--ui-danger,#bf493b); }
.gemini-helper-status[data-state=success],.gemini-helper-connection[data-state=success] { color:var(--ui-success); }
.gemini-helper-status[data-state=checking] { color:var(--ui-accent); }
.gemini-helper-reload { margin-top:18px; padding:0; border:0; background:transparent; color:var(--ui-text-muted); font:inherit; font-size:13px; text-decoration:underline; cursor:pointer; text-align:left; }
.gemini-helper-dialog :focus-visible { outline:2px solid var(--ui-accent); outline-offset:3px; }
html.gemini-helper-modal-open { overflow:hidden; }
@media(max-width:600px) { .gemini-helper-dialog { padding:24px 20px; border-radius:22px; } .gemini-helper-heading h2 { font-size:22px; } .gemini-helper-intro { font-size:14px; margin:18px 0; } .gemini-helper-steps li { padding:15px 14px; gap:12px; flex-wrap:wrap; } .gemini-helper-steps p { flex-basis:calc(100% - 48px); font-size:14px; } .gemini-helper-action { margin-left:46px; } .gemini-helper-footer { align-items:stretch; flex-direction:column; gap:14px; margin-top:22px; } .gemini-helper-footer button { width:100%; } .gemini-helper-mobile-note { display:block; } }
.gemini-auth-guide { margin-top:14px; font-size:14px; line-height:1.8; }
.gemini-auth-guide summary { cursor:pointer; font-weight:650; padding:10px 0; }
.gemini-auth-guide ol { padding-left:22px; }
.gemini-auth-guide li { margin:10px 0; }
.gemini-auth-guide a { color:var(--ui-accent); text-decoration:underline; }
.gemini-auth-guide code { overflow-wrap:anywhere; }
#geminiManualAuthorization textarea { margin:10px 0; }
@media(max-width:720px) { .gemini-auth-box { padding:16px; } .gemini-auth-actions>button { width:100%; } }
.gemini-confirmation { margin-top:28px; padding:24px; border:1px solid var(--ui-border); border-radius:18px; background:var(--ui-surface); }
#geminiEligibility[data-state=subscribed] { display:flex; align-items:flex-start; gap:12px; margin:24px 0; padding:18px 20px; border:1px solid #e5b49b; border-left:5px solid #c55b30; border-radius:12px; background:#fff1e8; color:#8a2c13; font-size:clamp(17px,1.6vw,19px); font-weight:750; line-height:1.7; }
:root[data-theme=black] #geminiEligibility[data-state=subscribed] { background:#38271f; color:#ffcfaf; border-color:#985b3b; border-left-color:#f0a16d; }
.gemini-subscription-warning-icon { display:inline-flex; align-items:center; justify-content:center; flex:none; width:25px; height:25px; margin-top:3px; border:2px solid currentColor; border-radius:50%; font-size:17px; font-weight:800; line-height:1; }
.gemini-details { margin:18px 0; display:grid; gap:0; }
.gemini-details>div { display:grid; grid-template-columns:100px minmax(0,1fr); gap:18px; padding:12px 0; border-bottom:1px solid var(--ui-border); }
.gemini-details dt { color:var(--ui-text-muted); }
.gemini-details dd { margin:0; overflow-wrap:anywhere; font-weight:600; }
.gemini-confirm-check { display:flex; align-items:flex-start; gap:10px; line-height:1.7; margin:24px 0; }
.gemini-confirm-check input { width:18px; height:18px; margin-top:4px; accent-color:var(--ui-accent); }
.gemini-error { color:var(--ui-danger,#d45252); padding:14px 0; line-height:1.7; }
#geminiOrderCard[data-state=success] h2 { color:var(--ui-success); }
.gemini-order-heading { margin-bottom:24px; }
.gemini-order-heading h2 { margin:6px 0; }
.gemini-order-icon svg { display:block; width:30px; height:30px; flex:none; }
.gemini-status-spinner { animation:claude-status-spin .9s linear infinite; }
#geminiOrderCard[data-state=success] .gemini-order-icon { color:var(--ui-success-text,var(--ui-success)); background:var(--ui-success-soft); }
#geminiOrderCard[data-state=failed] :is(h2,.gemini-order-icon) { color:var(--holo-error-text,var(--ui-danger)); }
#geminiOrderCard[data-state=failed] .gemini-order-icon { background:var(--ui-danger-soft); }
#geminiOrderCard[data-state=review] { --gemini-review:#a16207; }
:root:is([data-theme=black],[data-theme=classic]) #geminiOrderCard[data-state=review] { --gemini-review:#f3c474; }
#geminiOrderCard[data-state=review] :is(h2,.gemini-order-icon) { color:var(--gemini-review); }
#geminiOrderCard[data-state=review] .gemini-order-icon { background:color-mix(in srgb,var(--gemini-review) 13%,transparent); }
#geminiOrderProgress[data-status=review] .customer-order-progress-copy>span { color:var(--gemini-review); background:color-mix(in srgb,var(--gemini-review) 13%,transparent); }
#geminiOrderProgress[data-status=review] .customer-order-progress-track>span { background:var(--gemini-review); }
#geminiOrderProgress .customer-order-progress-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
#geminiOrderProgress .customer-order-progress-steps li.failed { color:var(--holo-error-text,var(--ui-danger)); }
#geminiOrderProgress .customer-order-progress-steps li.failed>span { color:var(--holo-error-text,var(--ui-danger)); border-color:currentColor; background:var(--ui-danger-soft); }
@media(max-width:640px) { .gemini-order-heading { gap:12px; align-items:flex-start; } .gemini-order-icon { width:48px; height:48px; flex-basis:48px; } .gemini-order-icon svg { width:26px; height:26px; } }
@media(prefers-reduced-motion:reduce) { .gemini-status-spinner { animation:none; } #geminiProgressFill { transition:none; } }
@media(max-width:720px) { .gemini-confirmation { padding:18px 14px; } .gemini-details>div { grid-template-columns:76px minmax(0,1fr); gap:12px; font-size:14px; } .gemini-actions>button { flex:1; } }
