/* Brand themes stay inside the product card. Shared site chrome uses theme.css. */
[data-catalog-stage]{position:relative;isolation:isolate}
[data-catalog-stage].catalog-motion-enabled{view-transition-name:catalog-card;overflow:hidden;border:1px solid var(--home-border);border-radius:var(--radius);background:var(--home-paper)}
.catalog-motion-enabled .account-product,.catalog-motion-enabled .plan-details-shell{border:0;border-radius:0}
.catalog-motion-enabled .loading-line{min-height:500px}
.catalog-arriving .catalog-tabs [data-main-store][hidden]{display:flex!important}
.catalog-arriving #catalog-grid>.loading-line{display:none}
.catalog-arriving [data-catalog-placeholder][hidden]{display:grid!important;grid-column:1/-1}
[data-catalog-followup]{display:flow-root}
[data-catalog-status]{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.catalog-motion-enabled [data-card-brand]{--card-bg:var(--catalog-gpt-bg);--card-glow:var(--catalog-gpt-glow);--card-ink:var(--text);--card-muted:var(--muted);--card-line:var(--line);--card-paper:var(--catalog-paper);--card-accent:var(--accent);--card-button:var(--surface);--card-selected:var(--accent-soft);--card-focus:var(--focus);min-height:500px;color:var(--card-ink);background:var(--card-bg)}
.catalog-motion-enabled [data-card-brand="grok"]{--card-bg:var(--catalog-grok-bg);--card-glow:var(--catalog-grok-glow);--card-paper:var(--surface)}
.catalog-motion-enabled [data-card-brand="gemini"]{--card-bg:var(--catalog-gemini-bg);--card-glow:var(--catalog-gemini-glow)}
.catalog-motion-enabled [data-card-brand="muse"]{--card-bg:var(--catalog-muse-bg);--card-glow:var(--catalog-muse-glow);--card-accent:var(--catalog-muse-accent)}
.catalog-motion-enabled [data-card-brand="codex"]{--card-bg:var(--catalog-codex-bg);--card-glow:var(--catalog-codex-glow);--card-accent:var(--catalog-codex-accent)}
.catalog-motion-enabled [data-card-brand] .account-product-art{position:relative;isolation:isolate;display:block;overflow:hidden;min-height:500px;padding:0;border-right:1px solid var(--card-line);background:radial-gradient(ellipse at 50% 55%,var(--card-glow),transparent 72%),var(--card-bg);color:var(--card-ink)}
.catalog-art-heading{position:absolute;left:32px;right:24px;top:32px;z-index:2;margin:0;font-size:58px;font-weight:550;line-height:1.15;letter-spacing:-3px}
.catalog-orbit{position:absolute;left:-15%;top:106px;width:130%;height:330px;pointer-events:none}
.catalog-motion-enabled .account-product-art .catalog-art-image{position:absolute;inset:auto;left:50%;top:56%;width:80%;height:280px;object-fit:contain;transform:translate(-50%,-50%);mix-blend-mode:multiply;mask-image:radial-gradient(ellipse 47% 47% at 50% 50%,#000 15%,transparent 94%)}
.catalog-motion-enabled [data-card-brand="codex"] .account-pass{position:absolute;left:50%;top:55%;width:62%;transform:translate(-50%,-50%) rotate(-5deg);z-index:1;padding:18px;gap:12px}
.catalog-motion-enabled [data-card-brand="codex"] .account-pass-center>strong{font-size:34px}
.catalog-motion-enabled [data-card-brand="codex"] .account-pass-top span:last-child{display:none}
.catalog-motion-enabled [data-card-brand] .account-product-info{display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;padding:32px;background:var(--card-paper);color:var(--card-ink)}
.catalog-motion-enabled [data-card-brand] .account-product-info h3{color:var(--card-ink);font-size:26px;margin:10px 0 14px}
.catalog-motion-enabled [data-card-brand] .account-product-description{color:var(--card-muted);max-width:none}
.catalog-motion-enabled [data-card-brand] .account-product-actions,.catalog-motion-enabled .plan-product .product-card-footer{margin-top:auto;padding-top:24px;border-color:var(--card-line);gap:18px;align-items:flex-end}
.catalog-motion-enabled [data-card-brand] .account-product-description{margin-bottom:28px}
.catalog-motion-enabled [data-card-brand] .service-price,.catalog-motion-enabled [data-card-brand] .price{color:var(--card-ink)}
.catalog-motion-enabled [data-card-brand] .service-price small,.catalog-motion-enabled [data-card-brand] .price .unit{color:var(--card-muted)}
.catalog-motion-enabled [data-card-brand] .service-plan-options{background:transparent;border-color:var(--card-line)}
.catalog-motion-enabled [data-card-brand] .service-plan-options button{color:var(--card-muted)}
.catalog-motion-enabled [data-card-brand] .service-plan-options button[aria-pressed="true"]{background:var(--card-selected);color:var(--card-ink);box-shadow:none}
.catalog-motion-enabled [data-card-brand] .account-product-actions .button,.catalog-motion-enabled [data-card-brand] .product-buy{background:var(--card-accent);color:var(--card-button)}
.catalog-motion-enabled [data-card-brand] .account-product-actions .button:hover:not(:disabled),.catalog-motion-enabled [data-card-brand] .product-buy:hover:not(:disabled){filter:brightness(.94);background:var(--card-accent)}
.catalog-motion-enabled [data-card-brand] .account-product-actions .button:disabled,.catalog-motion-enabled [data-card-brand] .product-buy:disabled{background:var(--card-line);color:var(--card-muted)}
.catalog-motion-enabled [data-card-brand] :focus-visible{outline-color:var(--card-focus)}
.catalog-motion-enabled .plan-product .account-product-info>.product-card-main{margin-bottom:0}
.catalog-motion-enabled .sms-purchase .account-product-info{padding:30px 32px}
.catalog-motion-enabled .sms-purchase .account-product-art{min-height:100%}
.catalog-motion-enabled .sms-purchase .account-product-info{padding:24px 32px}
.catalog-motion-enabled .sms-purchase .sms-heading{gap:10px;margin-bottom:12px;flex-wrap:nowrap}
.catalog-motion-enabled .sms-purchase .sms-heading h3{margin:0;white-space:nowrap}
.catalog-motion-enabled .sms-purchase .sms-heading .status-pill{margin-left:auto;font-size:10px;white-space:nowrap}
.catalog-motion-enabled .sms-purchase .sms-refresh{min-height:32px;padding:5px 9px;font-size:11px}
.catalog-motion-enabled .sms-purchase .sms-plan-description{margin:0 0 12px;line-height:1.5}
.catalog-motion-enabled .sms-purchase .sms-facts{min-height:67px;padding-bottom:12px}
.catalog-motion-enabled .sms-purchase .sms-rules{margin:12px 0;padding:0;border:0;background:transparent;color:var(--card-muted)}
.catalog-motion-enabled .sms-purchase .sms-account-actions{min-height:36px;margin-bottom:6px}
.catalog-motion-enabled .sms-purchase .sms-charge-note{margin:10px 0 0}

/* Native navigation retains /sms/ and its order polling lifecycle. Unsupported browsers navigate normally. */
@view-transition{navigation:auto;types:catalog-route}
:root{view-transition-name:none}
:root:active-view-transition-type(catalog-route) #catalog .section-heading{view-transition-name:catalog-navigation}
:root:active-view-transition-type(catalog-route) [data-site-header]{view-transition-name:catalog-header}
:root:active-view-transition-type(catalog-route) [data-catalog-followup]{view-transition-name:catalog-followup}
/* Keep the site header stable; category feedback leads the card and supporting content follows it. */
::view-transition-group(catalog-header){animation-duration:.82s}
::view-transition-old(catalog-header){animation:none;opacity:1;z-index:2}
::view-transition-new(catalog-header){animation:none;opacity:0}
::view-transition-group(catalog-navigation){animation-duration:.24s}
::view-transition-old(catalog-navigation),::view-transition-new(catalog-navigation){mix-blend-mode:normal}
::view-transition-old(catalog-navigation){animation:catalog-fade-out .12s ease-out both}
::view-transition-new(catalog-navigation){animation:catalog-fade-in .2s .04s ease-out both}
::view-transition-group(catalog-followup){animation-duration:.82s;animation-timing-function:cubic-bezier(.4,0,.2,1)}
::view-transition-old(catalog-followup),::view-transition-new(catalog-followup){height:auto;mix-blend-mode:normal;object-fit:contain;object-position:top}
::view-transition-old(catalog-followup){animation:catalog-fade-out .16s ease-out both}
::view-transition-new(catalog-followup){animation:catalog-fade-in .28s .32s ease-out both}
:root:active-view-transition-type(catalog-route)::view-transition-group(catalog-card),:root:active-view-transition-type(catalog-route)::view-transition-old(catalog-card),:root:active-view-transition-type(catalog-route)::view-transition-new(catalog-card){animation-duration:.82s}
::view-transition,::view-transition-group(*),::view-transition-image-pair(*),::view-transition-old(*),::view-transition-new(*){pointer-events:none}
.catalog-note[data-catalog-note][hidden]{display:block!important;visibility:hidden}
::view-transition-group(catalog-card){animation-duration:1.15s;animation-timing-function:cubic-bezier(.4,0,.2,1);overflow:hidden;border-radius:18px}
::view-transition-image-pair(catalog-card){isolation:isolate;overflow:hidden;border-radius:18px}
::view-transition-old(catalog-card),::view-transition-new(catalog-card){height:100%;mix-blend-mode:normal;object-fit:cover;object-position:top;transform-origin:25% 55%}
::view-transition-old(catalog-card){animation:catalog-recede 1.15s cubic-bezier(.4,0,.2,1) both}
::view-transition-new(catalog-card){animation:catalog-unveil 1.15s cubic-bezier(.4,0,.2,1) both}
@keyframes catalog-recede{to{transform:translateX(-12px) scale(.985)}}
@keyframes catalog-unveil{from{clip-path:circle(0 at 25% 55%);transform:translateX(12px) scale(1.035)}to{clip-path:circle(150% at 25% 55%);transform:none}}
@keyframes catalog-fade-out{to{opacity:0}}
@keyframes catalog-fade-in{from{opacity:0}to{opacity:1}}
@media(min-width:761px) and (max-width:1000px){.catalog-motion-enabled [data-card-brand] .account-product-info{padding:26px}.catalog-art-heading{font-size:48px;left:26px}.catalog-motion-enabled [data-card-brand] .account-product-actions,.catalog-motion-enabled .plan-product .product-card-footer{flex-wrap:wrap}.catalog-motion-enabled [data-card-brand] .account-product-actions .button,.catalog-motion-enabled .plan-product .product-buy{width:100%;justify-content:space-between}}
@media(max-width:760px){
 .catalog-motion-enabled [data-card-brand]{min-height:0}
 .catalog-motion-enabled [data-card-brand] .account-product-art,.catalog-motion-enabled .sms-purchase .account-product-art{min-height:340px;aspect-ratio:auto;border-right:0;border-bottom:1px solid var(--card-line)}
 .catalog-art-heading{top:24px;left:24px;font-size:46px;letter-spacing:-2px}
 .catalog-orbit{top:70px;height:240px;left:-10%;width:120%}
 .catalog-motion-enabled .account-product-art .catalog-art-image{height:215px;top:56%;width:78%}
 .catalog-motion-enabled [data-card-brand] .account-product-info{padding:24px;min-height:330px}
 .catalog-motion-enabled [data-card-brand] .account-product-info h3{font-size:24px}
 .catalog-motion-enabled [data-card-brand] .account-product-description{margin-bottom:24px}
 .catalog-motion-enabled [data-card-brand] .account-product-actions,.catalog-motion-enabled .plan-product .product-card-footer{align-items:center;gap:16px}
 .catalog-motion-enabled [data-card-brand="codex"] .account-pass{width:66%;max-width:250px}
 .catalog-motion-enabled .sms-purchase .account-product-info{padding:24px}
 .catalog-motion-enabled .sms-purchase .sms-heading{display:grid;grid-template-columns:1fr auto;gap:4px 10px}
 .catalog-motion-enabled .sms-purchase .sms-heading h3{grid-column:1;grid-row:1}
 .catalog-motion-enabled .sms-purchase .sms-heading .status-pill{grid-column:1;grid-row:2;justify-self:start;margin:0}
 .catalog-motion-enabled .sms-purchase .sms-refresh{grid-column:2;grid-row:1;min-height:44px;padding-inline:12px}
 ::view-transition-old(catalog-card),::view-transition-new(catalog-card){transform-origin:50% 180px}
 @keyframes catalog-unveil{from{clip-path:circle(0 at 50% 180px);transform:scale(1.025)}to{clip-path:circle(160% at 50% 180px);transform:none}}
}
@media(max-width:380px){.catalog-motion-enabled [data-card-brand] .account-product-info{padding:22px}.catalog-motion-enabled [data-card-brand] .account-product-actions .button,.catalog-motion-enabled .plan-product .product-buy{width:100%;justify-content:space-between}.catalog-motion-enabled [data-card-brand] .account-product-actions,.catalog-motion-enabled .plan-product .product-card-footer{flex-wrap:wrap}.catalog-motion-enabled [data-card-brand="codex"] .account-pass{width:74%}.catalog-motion-enabled [data-card-brand="codex"] .account-pass-center>strong{font-size:28px}}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}::view-transition-group(catalog-card),::view-transition-old(catalog-card),::view-transition-new(catalog-card),::view-transition-group(catalog-navigation),::view-transition-old(catalog-navigation),::view-transition-new(catalog-navigation),::view-transition-group(catalog-followup),::view-transition-old(catalog-followup),::view-transition-new(catalog-followup){animation:none}}
