:root,:root[data-pet-theme=apricot]{--pet-bg:#fff5eb;--pet-surface:#fffdf9;--pet-text:#493126;--pet-muted:#796052;--pet-accent:#a94b1c;--pet-soft:#ffead7;--pet-line:#ecd1bc;--pet-top:#fbd2ad;--pet-focus:#924013;--pet-overlay:#fff7eef5}:root[data-pet-theme=lavender]{--pet-bg:#f5f0ff;--pet-surface:#fefcff;--pet-text:#382d4e;--pet-muted:#6c5c80;--pet-accent:#7050ad;--pet-soft:#ece2ff;--pet-line:#daceeb;--pet-top:#dcd0f7;--pet-focus:#573187;--pet-overlay:#f6f0fff5}html[data-pet-surface]{color:var(--pet-text);background:var(--pet-bg);--green:var(--pet-accent);--muted:var(--pet-muted);--line:var(--pet-line)}html[data-pet-surface] body{background:linear-gradient(180deg,var(--pet-top),var(--pet-bg) 460px);color:var(--pet-text)}.appearance-trigger{font:inherit;font-size:14px;min-height:40px;padding:8px 14px;border:1px solid var(--pet-line);border-radius:22px;background:var(--pet-surface);color:var(--pet-accent);cursor:pointer;white-space:nowrap;flex-shrink:0}html #appearance-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 24px));max-height:90dvh;padding:24px;border:1px solid var(--pet-line);border-radius:24px;background:var(--pet-surface);color:var(--pet-text);overflow:auto}#appearance-dialog::backdrop{background:#211a2e88}#appearance-dialog .appearance-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}#appearance-dialog h2{margin:0;font-size:24px}#appearance-dialog p{font-size:16px;line-height:1.6;margin:16px 0;color:var(--pet-muted)}#appearance-dialog button{font:inherit;font-size:14px;min-height:40px;padding:8px 14px;border:1px solid var(--pet-line);border-radius:12px;background:var(--pet-surface);color:var(--pet-text);cursor:pointer}#appearance-dialog .appearance-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0;padding:0;border:0;min-width:0}#appearance-dialog legend{font-size:14px;margin-bottom:12px}#appearance-dialog .appearance-choice{display:block;position:relative;min-width:0;margin:0;padding:12px;border:2px solid var(--pet-line);border-radius:16px;cursor:pointer;background:var(--pet-surface)}#appearance-dialog .appearance-choice:has(:checked){border-color:var(--pet-accent);background:var(--pet-soft)}#appearance-dialog input{position:absolute;right:18px;top:18px;width:20px;height:20px;min-height:0;margin:0;accent-color:var(--pet-accent)}#appearance-dialog strong,#appearance-dialog small{display:block;margin-top:10px;font-size:16px;line-height:1.5}#appearance-dialog small{font-size:14px;color:var(--pet-muted)}.appearance-preview{display:block;height:90px;border-radius:9px;padding:18px;background:linear-gradient(#fbd2ad,#fff5eb)}[data-choice=lavender] .appearance-preview{background:linear-gradient(#dcd0f7,#f5f0ff)}.appearance-preview span{display:block;width:60%;height:10px;border-radius:6px;background:#fff}.appearance-preview i{display:block;width:50%;height:18px;margin-top:18px;border-radius:12px;background:#a94b1c}[data-choice=lavender] .appearance-preview i{background:#7050ad}.appearance-selected{display:block;margin-top:12px;min-height:24px;font-size:14px;color:var(--pet-accent);visibility:hidden}.appearance-choice:has(:checked) .appearance-selected{visibility:visible}html [data-choice]:focus-within,html .appearance-trigger:focus-visible,html #appearance-dialog button:focus-visible{outline:3px solid var(--pet-focus);outline-offset:3px}html[data-pet-surface=webar] :is(button,.button,input:not([type=checkbox]),select,textarea,dialog){color:var(--pet-text);border-color:var(--pet-line);background:var(--pet-surface)}html[data-pet-surface=webar] :is(.primary,.journeys span){background:var(--pet-accent);border-color:var(--pet-accent);color:#fff}html[data-pet-surface=webar] :is(.gift,.journeys button,.empty){background:var(--pet-soft);border-color:var(--pet-line)}html[data-pet-surface=webar] :is(.brand span,.eyebrow,.intro>p:last-child,.help,.gift span,#cloud-status,.cat-card p,footer){color:var(--pet-muted)}html[data-pet-surface=webar] :is(a,#generate-status,#library-note,#manage-status,#location-status){color:var(--pet-accent)}html[data-pet-surface=webar] :is(.badge,.cat-card,details,#handoff-cat,#shared-encounter){border-color:var(--pet-line)}html[data-pet-surface=webar] input[type=checkbox]{accent-color:var(--pet-accent)}html[data-pet-surface=webar] .danger{color:#9c4133;border-color:#c99d93}html[data-pet-surface=webar] body.in-ar .controls{background:var(--pet-overlay)}html[data-pet-surface=webar] body.in-ar .appearance-trigger{display:none}html[data-pet-surface=studio] :is(header,.presets,.customize,.sheet-panel,.record-panel,.health-panel,.photo-panel){background:var(--pet-surface);border-color:var(--pet-line)}html[data-pet-surface=studio] :is(.brand-mark,.preset-check,.button.primary){background:var(--pet-accent);border-color:var(--pet-accent);color:#fff}html[data-pet-surface=studio] :is(.button,.preset,.action-card,.context-chip,.nav-link,.segmented button,.scene-option,.time-option,.component-option){color:var(--pet-text);border-color:var(--pet-line)}html[data-pet-surface=studio] :is(.preset.selected,.nav-link.active,.segmented button.active,.action-card.active,.stage-tools button[aria-pressed=true],.scene-option.selected,.time-option.selected,.component-option.selected){background:var(--pet-soft);border-color:var(--pet-accent);color:var(--pet-accent)}html[data-pet-surface=studio] :is(.brand b span,.eyebrow,.intro,.preset small,.preset-note,.section-label,.stage-top,.stage-tag,.save-status,.button.quiet,footer){color:var(--pet-muted)}html[data-pet-surface=studio] :is(.custom-tabs button.active,.tab.active,.stage-tools button,.stage-bottom .button){color:var(--pet-accent);border-color:var(--pet-line)}html[data-pet-surface=studio] :is(.stage-tools,.stage-bottom .button,.control-value,.tip){background:var(--pet-surface)}html[data-pet-surface=studio] .stage{background:linear-gradient(155deg,var(--pet-top),var(--pet-bg) 60%)}html[data-pet-surface=studio] input[type=range]{accent-color:var(--pet-accent);background:linear-gradient(to right,var(--pet-accent) 0 var(--range,50%),var(--pet-line) var(--range,50%) 100%)}html[data-pet-surface=studio] input[type=range]::-webkit-slider-thumb{border-color:var(--pet-accent)}html[data-pet-surface=studio] input[type=range]::-moz-range-thumb{border-color:var(--pet-accent)}html[data-pet-surface=studio] #app>header{gap:12px;flex-wrap:wrap;height:auto;min-height:92px;padding-top:12px;padding-bottom:12px}html[data-pet-surface=studio] #studio-handoff{background:var(--pet-surface);color:var(--pet-text);border-color:var(--pet-line)}html[data-pet-surface=studio] :is(.tabs button,.interaction-bar button,.action-panel-head,.text-button,.soft-note,.range-block output){color:var(--pet-muted)}html[data-pet-surface=studio] .tabs button[aria-selected=true]{color:var(--pet-accent);border-bottom-color:var(--pet-accent)}html[data-pet-surface=studio] :is(.photo-button,.soft-note,.range-block output){background:var(--pet-soft);border-color:var(--pet-line)}html[data-pet-surface=studio] :is(.action-panel,.interaction-bar){background:var(--pet-overlay);border-color:var(--pet-line)}html[data-pet-surface=studio] .interaction-bar button{background:var(--pet-surface);border-color:var(--pet-line)}@media(max-width:800px){html[data-pet-surface=studio] #app>header{display:grid;grid-template-columns:1fr 1fr;align-items:center}html[data-pet-surface=studio] #app>header .brand{grid-column:1;grid-row:1}html[data-pet-surface=studio] #app>header .appearance-trigger{grid-column:2;grid-row:1;justify-self:end}html[data-pet-surface=studio] #app>header .main-nav{position:static;grid-column:1/-1;grid-row:3;width:100%;min-width:0}html[data-pet-surface=studio] #app>header #save{grid-column:1;grid-row:2}html[data-pet-surface=studio] #app>header #bring-to-ar{grid-column:2;grid-row:2}}@media(max-width:600px){html[data-pet-surface=webar] main>header{flex-wrap:wrap}#appearance-dialog .appearance-options{gap:8px}html #appearance-dialog{padding:18px}#appearance-dialog .appearance-choice{padding:10px}html[data-pet-surface=studio] #app>header .appearance-trigger{font-size:14px;padding:6px 12px}}html body.pet-consumer{font:16px/1.65 system-ui,-apple-system,PingFang SC,Microsoft YaHei,sans-serif;min-height:100dvh}.pet-consumer main{max-width:1040px;padding:22px 24px 118px}.pet-consumer header{min-height:48px}.pet-consumer .brand{font-size:23px}.pet-consumer .brand span{font-size:13px}.pet-consumer .intro{text-align:center;margin:25px 0 22px}.pet-consumer .intro .eyebrow{color:var(--pet-accent);opacity:.55;letter-spacing:5px;font-size:14px}.pet-consumer .intro h1{font-size:30px;letter-spacing:1px;font-weight:600;margin:8px 0}.pet-consumer .intro p:last-child{font-size:15px}.pet-consumer #cloud-status{font-size:13px;text-align:center;margin:12px 0}.pet-consumer .studio-tools{justify-content:center;margin:12px 0 20px;gap:12px}.pet-consumer .studio-tools .button{border-radius:24px}.pet-consumer .studio-tools label{font-size:14px}.pet-consumer .experience{height:560px;border-radius:32px;border:1px solid var(--pet-line)}.pet-consumer .park-caption{position:absolute;top:24px;left:24px;z-index:2;pointer-events:none}.pet-consumer .park-caption>span{font:italic 28px Georgia,serif;color:var(--pet-accent);opacity:.55}.pet-consumer .park-caption p{font-size:14px;color:var(--pet-muted);margin:2px 0}.pet-consumer .view-hint{top:108px;left:20px;font-size:12px}.pet-consumer .bottom-ui{padding:20px}.pet-consumer #start{border-radius:28px;min-width:230px}.pet-consumer .gift{padding:20px 24px;border-radius:24px;margin-top:18px}.pet-consumer .gift strong{font-size:21px}.pet-consumer .gift button{border-radius:24px}.pet-consumer .controls>.actions button{border-radius:16px;min-height:52px}.pet-consumer .photo-actions{margin-top:12px}.pet-consumer .journeys{margin:24px 0;grid-template-columns:repeat(3,1fr)}.pet-consumer .journeys button{border-radius:18px;min-height:65px}.pet-consumer footer{display:none}.pet-bottom-nav{position:fixed;z-index:15;bottom:0;left:50%;transform:translate(-50%);width:min(1040px,100%);display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:8px 12px calc(10px + env(safe-area-inset-bottom));background:var(--pet-surface);border-top:1px solid var(--pet-line);box-shadow:0 -6px 24px #49312608}html[data-pet-surface=webar] .pet-bottom-nav a,html[data-pet-surface=webar] .pet-bottom-nav button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:13px;min-height:55px;padding:5px;border:0;background:transparent;color:var(--pet-muted);text-decoration:none;border-radius:14px}.pet-bottom-nav span{font-size:24px;line-height:1.2}html[data-pet-surface=webar] .pet-bottom-nav [aria-current=page]{color:var(--pet-accent);background:var(--pet-soft)}.pet-consumer dialog{width:620px;border:1px solid var(--pet-line);border-radius:28px;padding:26px;max-height:90dvh}.pet-consumer dialog h2{font-size:24px}.pet-consumer dialog p{font-size:14px;line-height:1.8}.pet-consumer .dialog-top{position:sticky;top:-26px;background:var(--pet-surface);z-index:3;padding:12px 0 16px;border-bottom:1px solid var(--pet-line);margin-bottom:20px}.pet-consumer dialog label{font-size:15px;font-weight:500}.pet-consumer dialog input,.pet-consumer dialog select,.pet-consumer dialog textarea{font-size:16px}.pet-consumer .cat-card{display:grid;grid-template-columns:100px 1fr;gap:16px;padding:18px;border:1px solid var(--pet-line);border-radius:24px;background:var(--pet-surface);margin-bottom:14px}.pet-consumer .cat-card img{width:100px;height:116px;object-fit:contain;border-radius:16px;background:var(--pet-soft)}.pet-consumer .cat-card h3{font-size:21px;margin:4px 0}.pet-consumer .cat-card .actions{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.pet-consumer .cat-card .actions button{font-size:14px;padding:10px;min-height:44px;border-radius:22px}.pet-consumer .cat-card .actions button:first-child{background:var(--pet-accent);color:#fff}.pet-consumer .capture-stages{display:flex;justify-content:space-between;gap:8px;margin:0 0 22px;font-size:13px;color:var(--pet-muted)}.pet-consumer .capture-stages [aria-current=step]{color:var(--pet-accent);font-weight:650;border-bottom:2px solid var(--pet-accent);padding-bottom:8px}.pet-consumer #capture-video:empty{min-height:180px}.pet-consumer #capture-preview{background:var(--pet-soft);padding:8px;width:100%;object-fit:contain}.pet-consumer .capture-busy{text-align:center;padding:26px 12px;margin:16px 0;border-radius:22px;background:var(--pet-soft)}.pet-consumer .capture-busy strong{display:block;font-size:20px;margin-top:15px}.capture-spinner{display:inline-block;width:46px;height:46px;border:4px solid var(--pet-line);border-top-color:var(--pet-accent);border-radius:50%;animation:pet-spin 1s linear infinite}@keyframes pet-spin{to{transform:rotate(360deg)}}.pet-consumer #generate-cat{border-radius:28px;padding:14px}.pet-consumer #capture-dialog[data-capture-step=saving] :is(video,img,.actions,.upload-label){display:none}.pet-consumer .in-ar .park-caption,.pet-consumer.in-ar .park-caption,.pet-consumer.in-ar .pet-bottom-nav{display:none}.pet-consumer.in-ar .experience{height:100dvh;border:0;border-radius:0}.pet-consumer.in-ar .view-hint{top:calc(18px + env(safe-area-inset-top));left:18px}.pet-consumer.in-ar .gift{padding:8px 10px;border-radius:16px;margin:0 0 8px}.pet-consumer.in-ar .gift strong{font-size:17px}.pet-consumer.in-ar .controls .actions button{min-height:40px}@media(max-width:600px){.pet-consumer main{padding:14px 14px 112px}.pet-consumer .brand{font-size:20px}.pet-consumer .brand span{font-size:12px}.pet-consumer .intro{margin:20px 0 16px}.pet-consumer .intro h1{font-size:26px}.pet-consumer .studio-tools{gap:8px}.pet-consumer .studio-tools .button{font-size:14px;padding:8px 14px;min-height:40px}.pet-consumer .studio-tools label{font-size:13px}.pet-consumer .studio-tools select{font-size:14px;min-height:40px;padding:7px}.pet-consumer .experience{height:490px;border-radius:26px}.pet-consumer .park-caption{top:20px;left:20px}.pet-consumer .park-caption>span{font-size:25px}.pet-consumer .gift{padding:16px}.pet-consumer .gift strong{font-size:19px}.pet-consumer .gift span{font-size:12px}.pet-consumer .controls>.actions{gap:6px}.pet-consumer .controls>.actions button{font-size:14px;padding:8px 6px}.pet-consumer .journeys{grid-template-columns:1fr;gap:9px}.pet-consumer .journeys button{min-height:50px}.pet-consumer dialog{position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:18px 18px calc(28px + env(safe-area-inset-bottom));border-radius:0;border:0;background:linear-gradient(var(--pet-top),var(--pet-surface) 260px)}.pet-consumer .dialog-top{top:-18px;padding-top:16px}.pet-consumer dialog h2{font-size:23px}.pet-consumer #appearance-dialog{inset:0;margin:auto;height:auto;max-height:90dvh;border-radius:24px}.pet-consumer .cat-card{grid-template-columns:82px 1fr;padding:14px;gap:12px}.pet-consumer .cat-card img{width:82px;height:104px}.pet-consumer .cat-card h3{font-size:20px}.pet-consumer .cat-card p{font-size:13px}.pet-consumer .capture-stages{font-size:12px;gap:5px}}@media(prefers-reduced-motion:reduce){.capture-spinner{animation:none}}html.direct-ar body{background:#191727}html.direct-ar body>main,html.direct-ar .pet-bottom-nav{visibility:hidden}html.direct-ar body.in-ar>main{visibility:visible}.ar-entry-panel{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:32px 24px;background:radial-gradient(ellipse at 30% 10%,#534277,transparent 65%),#191727;color:#fff;text-align:center}.ar-entry-panel[hidden]{display:none}.ar-entry-panel>div{width:min(100%,380px)}.ar-entry-panel h1{color:#fff;font-size:26px;margin:24px 0 16px}.ar-entry-panel p{color:#ded7ef;font-size:16px;line-height:1.7;white-space:pre-line}.ar-entry-panel button{margin-top:24px;width:100%;background:linear-gradient(110deg,#d987ee,#795bf0,#639ff1);border:0;color:#fff;min-height:52px;border-radius:26px}.ar-entry-mark{display:inline-grid;place-items:center;width:72px;height:72px;border:1px solid #b7a5ed;border-radius:22px;color:#e3d9ff;font-size:25px}.ar-entry-back{position:absolute;top:calc(16px + env(safe-area-inset-top));left:18px;width:44px;height:44px;border-radius:50%;background:#ffffff20;color:#fff;text-decoration:none;display:grid;place-items:center;font-size:28px}
