/* Aura-only studio. The theme's navigation and other /open/ experiences retain their own styles. */

.hca-body{--hc-bg:#181c19;--hc-panel:#212622;--hc-text:#fafafa;--hc-muted:#b2bbb3;--hc-line:#343d35;--hc-soft:#2a312b;background:var(--hc-head);color:var(--hc-text);color-scheme:dark;padding:0;margin:0}

.hca-body .hc-mobile-dock{display:none}.hca-body #hc-sidebar{transform:translateX(-100%);z-index:100;top:72px}.hc-drawer-open .hca-body #hc-sidebar{transform:none}.hca-body .hc-drawer-shade{z-index:99}.hca-body .hc-popover{z-index:120;color:var(--hc-text);background:var(--hc-panel)}.hca-header .hc-drawer-toggle{display:flex}.hca-header .hc-brand img{max-width:100px;max-height:38px;object-fit:contain}

.hca-header{height:72px;padding:12px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--hc-head);border-bottom:1px solid var(--hc-line);position:sticky;top:0;z-index:80}.hca-brand,.hca-header-actions,.hca-back{display:flex;align-items:center;gap:18px;min-width:0}.hca-header .hc-logo img{max-width:108px;max-height:38px}.hca-header .hc-logo{flex-shrink:0}.hca-header a{color:var(--hc-muted);text-decoration:none}.hca-header a:hover{color:var(--hc-text)}.hca-back{font-size:13px;gap:4px}.hca-header-actions{gap:14px}.hca-header-actions>a:not(.hc-cart){font-size:13px;white-space:nowrap}.hca-header .hc-avatar{width:38px;height:38px;border:1px solid var(--hc-line);border-radius:50%;overflow:hidden}.hca-header .hc-avatar img{width:100%;height:100%;object-fit:cover}.hca-header .hc-cart{display:flex!important;position:relative}.hca-header .hc-badge{right:0;top:0}.hca-header .hc-icon-button{color:var(--hc-text)}

.hca{display:grid;grid-template-columns:minmax(300px,370px) minmax(0,1fr);min-height:calc(100dvh - 72px);margin:0!important;padding:0!important;max-width:none;width:100%;background:var(--hc-head);font-size:14px}.hca *{box-sizing:border-box}.hca [hidden]{display:none!important}.hca h1,.hca h2,.hca h3,.hca p{margin:0}.hca button,.hca input,.hca textarea{font:inherit}.hca button{cursor:pointer}.hca button:disabled{cursor:wait;opacity:.6}.hca button,.hca a{touch-action:manipulation}.hca button:focus-visible,.hca a:focus-visible,.hca input:focus-visible,.hca textarea:focus-visible{outline:2px solid var(--hc-accent);outline-offset:4px}.hca .hc-icon,.hca-header .hc-icon{width:20px;height:20px;flex-shrink:0}.hca button{color:inherit}.hca-workbench{padding:0 22px 26px;background:var(--hc-bg);border-right:1px solid var(--hc-line);min-width:0}.hca-tabs{display:flex;align-items:center;gap:5px;min-width:0}.hca-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 14px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--hc-muted);white-space:nowrap;font-size:13px}.hca-tabs button[aria-selected=true]{color:var(--hc-text);background:var(--hc-panel);border-color:var(--hc-line)}.hca-tabs button[aria-selected=true] .hc-icon{color:var(--hc-accent)}.hca-left-tabs{height:70px;gap:25px;border-bottom:1px solid var(--hc-line);margin-bottom:20px}.hca-left-tabs button{height:70px;padding:0;border:0;border-radius:0;position:relative;font-size:14px}.hca-left-tabs button[aria-selected=true]{background:transparent;border:0;font-weight:600}.hca-left-tabs button[aria-selected=true]:after{content:"";height:3px;position:absolute;bottom:-1px;left:0;right:0;background:var(--hc-accent);border-radius:2px}

.hca-mini-hero{height:100px;border:1px solid var(--hc-line);border-radius:12px;padding:18px;display:flex;flex-direction:column;justify-content:flex-end;background-size:cover;background-position:center 40%;margin-bottom:20px}.hca-mini-hero h1{font-size:19px;font-weight:750;color:var(--hc-accent);letter-spacing:-.4px}.hca-mini-hero p{color:#f1f4ee;font-size:12px;margin-top:4px}.hca-section{border-top:1px solid var(--hc-line);padding:18px 0}.hca-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.hca-section-title h2{font-size:13px;font-weight:600}.hca-section-title>span{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--hc-muted)}.hca-section-title>span .hc-icon{width:12px;height:12px}.hca-text-button{border:0;background:none;display:flex;align-items:center;gap:5px;color:var(--hc-muted)!important;padding:6px;font-size:12px!important;min-height:32px}.hca-text-button:hover{color:var(--hc-accent)!important}.hca-reference{display:block;width:100%;border:2px dotted #fff;background:var(--hc-head);padding:6px;border-radius:14px;position:relative;overflow:hidden}.hca-reference img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:9px;display:block}.hca-play{width:44px;height:44px;border-radius:50%;background:#101211bb;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;color:#fff;border:1px solid #ffffff80;transition:background .15s}.hca-reference:hover .hca-play,.hca-scene:hover .hca-play{background:#101211}.hca-reference-name{position:absolute;bottom:12px;left:12px;right:12px;background:#101211c9;border-radius:5px;padding:5px 7px;font-size:10px;text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#fff}

.hca-character-slots,.hca-selected{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hca-add,.hca-slot{width:58px;height:58px;border:1px solid var(--hc-line);border-radius:10px;background:var(--hc-head);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.hca-add{border-style:dashed;color:var(--hc-muted)!important}.hca-add:hover,.hca-slot:hover{border-color:var(--hc-accent)}.hca-slot img{width:100%;height:100%;object-fit:cover}.hca-slot span{position:absolute;bottom:0;left:0;right:0;font-size:10px;background:#101211c9;color:#fff;line-height:15px}.hca-slot.is-filled{border-color:var(--hc-accent)}.hca-slot:not(.is-filled){color:var(--hc-muted)}.hca-hint{font-size:11px!important;color:var(--hc-muted);margin-top:10px!important;line-height:1.6}.hca textarea{width:100%;resize:vertical;border:1px solid var(--hc-line);border-radius:10px;background:var(--hc-head);color:var(--hc-muted);padding:13px;font-size:12px;line-height:1.7;min-height:130px}.hca-quality{display:flex;justify-content:space-between;align-items:center;gap:15px;border:1px solid var(--hc-line);border-radius:12px;padding:14px;background:var(--hc-head)}.hca-quality span{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--hc-muted)}.hca-quality strong{display:block;font-size:14px;margin:4px 0}.hca-quality small{font-weight:400;font-size:11px;color:var(--hc-muted)}.hca-quality p{font-size:10px;line-height:1.6;color:var(--hc-muted)}

.hca-button{display:inline-flex;justify-content:center;align-items:center;gap:9px;text-decoration:none;background:var(--hc-panel);border:1px solid var(--hc-line);border-radius:10px;padding:12px 20px;min-height:46px;color:var(--hc-text);font-size:13px;font-weight:600;line-height:1.35;cursor:pointer}.hca-button:hover{border-color:var(--hc-muted)}.hca-primary{color:#20271b!important;background:var(--hc-accent)!important;border-color:var(--hc-accent)!important}.hca-light{background:#f4f5f3;color:#101211!important;border-color:#f4f5f3}.hca-generate{padding-top:23px}.hca-generate>.hca-button{width:100%;min-height:52px;font-size:14px}.hca-generate>p{font-size:10px;color:var(--hc-muted);text-align:center;margin-top:10px;line-height:1.6}.hca-generate #hca-status{font-size:12px;color:var(--hc-text)}.hca-generate #hca-revision-mode{padding:8px;color:var(--hc-accent);font-size:12px;margin:0 0 10px}

.hca-showcase{min-width:0}.hca-showcase-head{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--hc-line);padding:10px 24px}.hca-balance{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--hc-muted);white-space:nowrap}.hca-balance .hc-icon{width:15px;color:var(--hc-accent)}.hca-welcome-intro{padding:56px 24px 48px;text-align:center}.hca-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.7px;color:var(--hc-accent);font-weight:600;margin-bottom:14px!important}.hca-welcome-intro h2{font-size:clamp(32px,3.8vw,58px);font-weight:750;letter-spacing:-2px;line-height:1.08}.hca-welcome-intro>p:not(.hca-eyebrow){font-size:15px;line-height:1.7;color:var(--hc-muted);margin-top:20px}.hca-welcome-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:28px}.hca-welcome-actions .hca-button{border-radius:24px;padding:12px 23px}.hca-reference-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 30px 17px;scroll-margin-top:100px}.hca-reference-heading h2{font-size:14px}.hca-reference-heading span{font-size:11px;color:var(--hc-muted)}.hca-reference-grid{columns:4 180px;column-gap:18px;margin:0 30px}.hca-scene{display:block;break-inside:avoid;border:1px solid var(--hc-line);background:var(--hc-bg);width:100%;max-width:340px;padding:0;margin:0 0 18px;border-radius:12px;overflow:hidden;text-align:left}.hca-scene[aria-pressed=true]{border-color:var(--hc-accent)}.hca-scene-cover{display:block;position:relative}.hca-scene-cover>img{display:block;width:100%;height:auto;object-fit:cover;aspect-ratio:auto}.hca-scene-price{position:absolute;right:9px;top:9px;background:#101211dc;color:var(--hc-accent);font-size:10px;padding:4px 7px;border-radius:4px}.hca-scene>strong{display:block;padding:12px 12px 4px;font-size:13px;line-height:1.45}.hca-scene>small{display:block;padding:0 12px 13px;font-size:10px;color:var(--hc-muted);line-height:1.5}.hca-more-note{margin:12px 30px 40px!important;font-size:11px;color:var(--hc-muted);line-height:1.6}

.hca-page-heading{padding:36px 30px 24px}.hca-page-heading h2{font-size:28px;letter-spacing:-.8px}.hca-page-heading>p:not(.hca-eyebrow){color:var(--hc-muted);font-size:13px;line-height:1.7;margin-top:12px}.hca-instructions{list-style:none;counter-reset:steps;margin:0;padding:0 30px;max-width:850px}.hca-instructions li{counter-increment:steps;position:relative;padding:18px 0 22px 48px;border-top:1px solid var(--hc-line)}.hca-instructions li:before{content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:18px;color:var(--hc-accent);font-size:12px;font-weight:600}.hca-instructions h3{font-size:16px;margin-bottom:8px}.hca-instructions p,.hca-note{font-size:13px;line-height:1.8;color:var(--hc-muted)}.hca-note{margin:20px 30px 40px!important}.hca-library-heading{padding:8px 0 24px}.hca-library-heading h2{font-size:22px}.hca-library-heading p{font-size:12px;line-height:1.7;color:var(--hc-muted);margin:12px 0 18px}.hca-character-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hca-character-card{background:var(--hc-panel);border:1px solid var(--hc-line);border-radius:10px;overflow:hidden}.hca-character-card>button:first-child{background:none;padding:0;border:0;width:100%;text-align:left}.hca-character-card img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.hca-character-card strong{display:block;font-size:12px;padding:10px;overflow-wrap:anywhere}.hca-character-card .hca-text-button{font-size:10px!important}.hca-character-card.is-selected{border-color:var(--hc-accent)}.hca-empty{padding:22px;border:1px dashed var(--hc-line);border-radius:12px;font-size:13px;line-height:1.8;color:var(--hc-muted);grid-column:1/-1}.hca-history-item{margin:0 30px 18px;padding:20px;background:var(--hc-bg);border:1px solid var(--hc-line);border-radius:12px}.hca-history-item h3{font-size:16px}.hca-history-item p{font-size:12px;line-height:1.7;color:var(--hc-muted);margin-top:9px}.hca-history-item video{display:block;width:100%;max-height:420px;border-radius:10px;background:#000;margin-top:16px}.hca-history-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.hca-history-item .hca-button{min-height:40px;font-size:12px;padding:8px 13px}.hca #hca-history-more{margin:0 30px 30px}.hca #hca-history-list>.hca-empty{margin:0 30px 30px}

.hca-dialog{color:var(--hc-text);background:var(--hc-panel);border:1px solid var(--hc-line);border-radius:20px;width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 36px);padding:32px;overflow:auto;box-shadow:0 24px 90px #0008}.hca-dialog::backdrop{background:#050805bf;backdrop-filter:blur(4px)}.hca-close{position:absolute;right:14px;top:12px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;border-radius:50%;color:var(--hc-muted)!important}.hca-dialog h2{font-size:24px;line-height:1.25;letter-spacing:-.6px;padding-right:30px;margin:6px 0 14px}.hca-dialog p{font-size:13px;line-height:1.8;color:var(--hc-muted);margin:12px 0}.hca-dialog .hca-dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.hca-dialog video{width:100%;max-height:60dvh;display:block;background:#000;border-radius:10px}.hca-dialog label{display:block;margin:18px 0 7px;font-size:12px}.hca-dialog input[type=text],.hca-dialog input[type=file]{display:block;width:100%;padding:12px;border:1px solid var(--hc-line);border-radius:10px;background:var(--hc-head);color:var(--hc-text)}.hca-type-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hca-type-options label{position:relative;border:1px solid var(--hc-line);background:var(--hc-head);border-radius:10px;padding:15px;display:flex;align-items:center;gap:8px;cursor:pointer}.hca-type-options label:has(input:checked){border-color:var(--hc-accent)}.hca-type-options input{accent-color:var(--hc-accent)}.hca-credit-summary{margin:22px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hca-credit-summary>div{background:var(--hc-head);border:1px solid var(--hc-line);border-radius:12px;padding:14px 9px;text-align:center}.hca-credit-summary strong{display:block;color:var(--hc-accent);font-size:25px;margin-bottom:5px}.hca-credit-summary span{color:var(--hc-muted);font-size:10px}.hca-dialog [role=status]{color:var(--hc-text)}.hca-dialog .hca-character-library{max-height:380px;overflow:auto}.hca-header .hca-primary{padding:9px 14px;min-height:38px}

@media(min-width:1025px){.hca-body .hc-drawer-shade{position:fixed;inset:72px 0 0;background:#0008}.hca-body .hc-drawer-shade[hidden]{display:none}}

@media(max-width:1120px){.hca{grid-template-columns:330px minmax(0,1fr)}.hca-showcase-head{padding:10px 16px;flex-wrap:wrap}.hca-tabs button{padding:8px 10px}.hca-balance{margin-left:auto}.hca-welcome-intro{padding:42px 20px 35px}.hca-reference-grid{columns:2 140px}.hca-reference-heading,.hca-reference-grid{margin-left:20px;margin-right:20px}.hca-showcase-head .hca-tabs{gap:2px}.hca-workbench{padding-left:18px;padding-right:18px}}

@media(max-width:720px){.hca{display:flex;flex-direction:column}.hca-header{padding:10px 14px;gap:8px;height:64px}.hca-header .hc-logo img{max-width:72px;height:auto}.hca-brand,.hca-header-actions{gap:9px}.hca-header .hc-drawer-toggle{width:30px;min-width:30px;padding:3px}.hca-back span{display:none}.hca-back{min-height:38px}.hca-header .hca-primary{padding:9px 11px}.hca-header-actions>a:not(.hc-cart){font-size:12px}.hca-body #hc-sidebar{top:64px}.hca-workbench{padding:0 20px 25px;border-right:0;border-bottom:1px solid var(--hc-line)}.hca-left-tabs{height:62px;margin-bottom:18px}.hca-left-tabs button{height:62px}.hca-mini-hero{margin-bottom:18px}.hca-reference img{max-height:220px}.hca-reference-name{font-size:12px}.hca-section{padding:17px 0}.hca textarea{min-height:118px}.hca-generate{padding-top:20px}.hca-showcase-head{padding:12px 14px;gap:8px}.hca-showcase-head .hca-tabs{width:100%;justify-content:space-between}.hca-showcase-head .hca-tabs button{font-size:12px;gap:6px;padding:8px}.hca-showcase-head .hca-tabs .hc-icon{width:17px}.hca-balance{margin:0 0 0 auto;font-size:10px}.hca-welcome-intro{padding:36px 18px}.hca-welcome-intro h2{font-size:39px;letter-spacing:-1.4px}.hca-welcome-intro>p:not(.hca-eyebrow){font-size:14px}.hca-welcome-actions{gap:9px}.hca-welcome-actions .hca-button{font-size:11px;padding:11px 14px;gap:6px}.hca-reference-grid{columns:2;column-gap:12px}.hca-scene{max-width:none}.hca-scene-cover>img{aspect-ratio:auto}.hca-scene>strong{font-size:12px}.hca-instructions{padding:0 20px}.hca-page-heading{padding:30px 20px 24px}.hca-history-item{margin-left:20px;margin-right:20px}.hca-dialog{padding:25px 20px}.hca-dialog h2{font-size:23px}.hca-credit-summary{gap:6px}.hca-credit-summary strong{font-size:23px}.hca-type-options label{padding:12px 9px}.hca-character-library{grid-template-columns:repeat(3,minmax(0,1fr))}.hca-dialog .hca-character-library{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(prefers-reduced-motion:reduce){.hca *{scroll-behavior:auto!important;transition:none!important}}



.hca-body #hc-sidebar{visibility:hidden}.hc-drawer-open .hca-body #hc-sidebar{visibility:visible}

@media(max-width:720px){.hca-header .hc-brand img{max-width:72px}.hca-header .hc-brand{min-width:72px;width:72px}}



@media(max-width:360px){.hca-showcase-head .hca-tabs button{font-size:11px;padding:8px 5px;gap:4px}.hca-showcase-head .hca-tabs .hc-icon{width:14px;height:14px}}



/* Sequential character builder: scoped to Aura's native dialog. */

.hcc-builder{min-width:0}.hcc-builder>label{display:block;margin:20px 0 8px}.hcc-builder>input{width:100%;box-sizing:border-box}.hcc-views{display:grid;grid-template-columns:1fr 1fr;gap:24px 18px;margin:24px 0}.hcc-view{display:flex;align-items:center;gap:14px;min-width:0}.hcc-picture{width:82px;height:82px;flex:0 0 82px;border:1px dashed var(--hc-line,#42483f);border-radius:12px;background:#101310;color:#c6ccc2;display:grid;place-items:center;padding:0;overflow:hidden}.hcc-picture img{width:100%;height:100%;object-fit:cover}.hcc-view strong{display:block;font-size:19px;line-height:1.2;color:#e5ff8a}.hcc-view small{display:block;margin-top:5px}.hcc-required{color:#ff7777}.hcc-saved{color:#b9c5af}.hcc-link{display:block;padding:0;margin-top:5px;background:none;border:0;color:#c9cec5;text-decoration:underline;font-size:13px;text-align:left;cursor:pointer}.hcc-note{font-size:12px!important;line-height:1.6;color:#aeb5aa}.hcc-outfit{border:0;padding:0;margin:24px 0}.hcc-outfit legend{font-size:20px;font-weight:600;color:#e5ff8a;margin-bottom:14px}.hcc-outfit legend span{font-size:14px}.hcc-outfit label{display:flex;align-items:center;gap:10px;margin:12px 0}.hcc-outfit input[type=radio]{width:18px;height:18px;accent-color:#e5ff8a}.hcc-outfit p{font-size:13px}.hcc-new{margin-top:20px}.hcc-sheet{display:block;width:100%;height:auto;border-radius:12px;margin-top:20px}.hcc-crop canvas{display:block;max-width:100%;max-height:330px;width:auto;height:auto;margin:0 auto;background:#fff}.hcc-crop-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.hcc-crop-controls label{font-size:12px}.hcc-crop-controls input{display:block;width:100%;accent-color:#e5ff8a}#hcc-status{font-size:13px;overflow-wrap:anywhere}.hcc-builder button:disabled{opacity:.55;cursor:wait}.hcc-builder .hca-dialog-actions{margin-top:22px}@media(max-width:540px){.hcc-views{grid-template-columns:1fr;gap:20px}.hcc-view strong{font-size:19px}.hcc-crop-controls{grid-template-columns:1fr}.hcc-builder .hca-dialog-actions{flex-wrap:wrap}}


.hcc-builder>input{min-height:56px;padding:14px 16px;border:1px solid #3b4438;border-radius:14px;background:#101310;color:#f1f3ec;font:inherit;font-size:16px}.hcc-builder>input:focus-visible{outline:2px solid #e5ff8a;outline-offset:2px}

/* Personalize mine: reuse the studio controls and dialog. */
#hcp-form{display:grid;gap:16px}#hcp-form label{display:grid;gap:8px;font-weight:600}#hcp-form input:not([type=checkbox]),#hcp-form textarea{box-sizing:border-box;width:100%;min-width:0;padding:13px;border:1px solid var(--hc-line,#394039);border-radius:12px;color:inherit;background:var(--hc-bg,#101510);font:inherit}#hcp-form textarea{resize:vertical}.hcp-times{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hcp-price{display:grid;gap:8px;padding:18px 0;border-bottom:1px solid var(--hc-line,#394039)}.hcp-price strong{font-size:24px;color:var(--hc-accent,#e7ff87)}.hcp-help{font-size:13px;line-height:1.6;opacity:.75}.hcp-refs{display:flex;flex-wrap:wrap;gap:12px}.hcp-refs figure{margin:0;width:112px}.hcp-refs img{width:112px;height:100px;object-fit:contain;background:#101510;border-radius:10px}.hcp-refs button{font:inherit;font-size:12px;color:inherit;background:none;border:0;text-decoration:underline;padding:8px}.hcp-balance{display:grid;gap:6px;padding:14px;border:1px solid var(--hc-line,#394039);border-radius:12px}#hcp-form .hcp-agree{display:flex;align-items:flex-start;font-size:14px;line-height:1.6;font-weight:400}#hcp-form [type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin-top:3px;accent-color:#dfff80}#hcp-form [data-hcp-status]{margin:0;font-size:14px}#hcp-form button:disabled{opacity:.55;cursor:wait}@media(max-width:420px){.hcp-times{gap:10px}#hcp-form .hca-dialog-actions{flex-direction:column}}
