.is-ancient-home .ai-process-card{width:min(1180px,96vw)!important;max-width:1180px!important;padding:0!important;border-radius:22px;overflow:hidden;max-height:94dvh;background:#f3e7d3;color:#34271c}.ancient-home,.ancient-home *{box-sizing:border-box}.ancient-nav{display:flex;align-items:center;gap:20px;padding:14px 26px;border-bottom:1px solid #b9a487}.ancient-nav img{width:116px;height:auto}.ancient-nav b{font:600 21px serif}.ancient-nav .ancient-motion{margin-left:auto}.ancient-home button,.ancient-home select,.ancient-home input{font:inherit;min-height:44px;color:inherit;max-width:100%;border:1px solid #c8ad8e;border-radius:12px;padding:10px 14px;background:#fff8eb;cursor:pointer}.ancient-home [hidden]{display:none!important}.ancient-close #aiProcessClose{position:static!important;width:44px;background:transparent;border:0;font-size:30px}.ancient-layout{display:grid;grid-template-columns:1fr 1fr;height:min(760px,calc(94dvh - 75px))}.ancient-hero{position:relative;overflow:hidden;min-width:0;background:#45605b}.ancient-plane,.ancient-drop{position:absolute}.ancient-plane picture,.ancient-base,.ancient-gust{display:block;width:100%;height:100%}.ancient-drop{animation:ancient-idle 4.8s ease-in-out infinite}.ancient-gust.wind{animation:ancient-gust 1.85s linear 1}.ancient-hit{position:absolute;z-index:2;opacity:0;padding:0!important;touch-action:pan-y}.ancient-title{position:absolute;bottom:64px;left:32px;color:#fff1d6;text-shadow:0 2px 14px #14342d}.ancient-title h2{font:500 clamp(38px,4.2vw,64px)/1.2 serif;margin:0 0 12px}.ancient-title p{font:24px serif;margin:0}.ancient-hero>small{position:absolute;left:30px;bottom:20px;color:#fff3da}.ancient-editor{overflow-y:auto;padding:28px 34px 32px;min-width:0;background:radial-gradient(ellipse at 95% 100%,#bec5ae80,transparent 40%),#f3e7d3}.ancient-form h2{font:600 32px/1.4 serif;margin:18px 0 26px}.ancient-kicker{text-align:center;color:#8c4933;letter-spacing:.22em;font:22px serif;margin:12px}.ancient-photo{display:flex;align-items:center;gap:12px;border:1px solid #cdbb9e;padding:8px;border-radius:15px;margin:22px 0}.ancient-photo-thumb{height:58px;width:58px;object-fit:cover;border-radius:10px}.ancient-photo-label{flex:1;font-size:15px}.ancient-photo button{border:0;background:none}.ancient-tabs,.ancient-dates{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}.ancient-home .selected{background:#824126;color:#fff3dc;border-color:#824126}.ancient-tabs button{font:600 21px serif}.ancient-field{display:block;margin:18px 0 10px;font-size:16px}.ancient-field select,.ancient-field input{display:block;width:100%;min-width:0;margin-top:10px}.ancient-dates select{width:100%;min-width:0}.ancient-intro{text-align:center;font:21px/1.8 serif;margin:36px 0}.ancient-home .ancient-primary,.is-ancient-home #aiStartProcess{width:100%;background:#9a3325;color:#fff2d7;border:0;padding:17px;font:600 25px serif}.ancient-note{text-align:center;font-size:14px;color:#766856;margin:14px 0}.ancient-roles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ancient-answers{display:grid;gap:12px}.ancient-answers button{text-align:left;line-height:1.55}.ancient-scene{width:100%;height:205px;object-fit:cover;border-radius:12px}.ancient-result-name{text-align:center!important;margin:12px 0!important}.ancient-seal{text-align:center;color:#8a3427;font:22px serif;margin:16px 0}.ancient-seal.stamp{animation:ancient-stamp .38s ease-out}.ancient-alias{text-align:center;font:23px serif}.ancient-reason{font:18px/1.85 serif}.ancient-result-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.ancient-result-links button,.ancient-link{background:transparent!important;font-size:14px!important}.ancient-link{margin-top:18px}.ancient-notice{color:#a73323;line-height:1.6}.ancient-native>.ai-process-eyebrow,.ancient-native>#aiProcessTitle,.ancient-native>#aiProcessDescription,.ancient-native>#themePhotoReceipt,.ancient-native>#aiThemeVariables{display:none!important}.ancient-native .ai-process-points-summary{margin:18px 0!important;background:#fcf6e8!important;color:#4e3925!important}.ancient-native .ai-process-stage:not(.is-processing){display:none}.ancient-native .ai-process-actions{display:flex;flex-direction:column-reverse;gap:12px}.ancient-native .ai-process-secondary-actions{display:flex;flex-wrap:wrap;gap:8px}.ancient-paused .ancient-drop,.ancient-paused .ancient-gust,.ancient-paused .stamp{animation:none!important}.ancient-native .ai-compare img{max-height:300px;object-fit:contain}.ancient-home button:disabled{opacity:.6;cursor:wait}@keyframes ancient-idle{0%,100%{transform:rotate(-2.1deg)}50%{transform:rotate(2.1deg)}}@keyframes ancient-gust{0%,100%{transform:rotate(0)}15%{transform:rotate(8deg)}34%{transform:rotate(-5deg)}54%{transform:rotate(3deg)}74%{transform:rotate(-1.4deg)}}@keyframes ancient-stamp{from{opacity:0;transform:scale(1.3)}to{opacity:1;transform:scale(1)}}
@media(max-width:720px){.is-ancient-home .ai-process-card{width:100%!important;max-height:100dvh;border-radius:0}.is-ancient-home{padding:0!important}.ancient-nav{gap:10px;padding:10px 12px}.ancient-nav img{width:78px}.ancient-nav b{font-size:16px}.ancient-nav .ancient-motion{font-size:12px;padding:6px}.ancient-layout{display:block;height:calc(100dvh - 65px);overflow:auto}.ancient-hero{height:230px}.ancient-title{left:auto;right:18px;bottom:25px;text-align:right}.ancient-title h2{font-size:29px}.ancient-title p{font-size:15px}.ancient-hero>small{font-size:11px;left:14px;bottom:12px}.ancient-editor{overflow:visible;padding:18px 20px calc(24px + env(safe-area-inset-bottom))}.ancient-form h2{font-size:25px;margin:12px 0 16px}.ancient-kicker{font-size:17px;margin:6px}.ancient-photo{margin:14px 0}.ancient-photo-thumb{height:45px;width:45px}.ancient-tabs{margin:16px 0}.ancient-tabs button{font-size:18px}.ancient-intro{font-size:17px;margin:22px 0}.ancient-scene{height:174px}.ancient-home[data-phase="ask"] .ancient-hero,.ancient-home[data-phase="result"] .ancient-hero,.ancient-home.has-result .ancient-hero{display:none}.ancient-reason{font-size:17px}.ancient-result-links{gap:6px}.ancient-result-links button{padding:8px}.ancient-home .ancient-primary{font-size:22px}.ancient-dates{margin:12px 0}.ancient-nav #aiProcessClose{width:32px}.ancient-note{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){.ancient-drop,.ancient-gust,.ancient-seal{animation:none!important}}
.is-ancient-home .ancient-title h2,.is-ancient-home .ancient-title p{color:#fff1d6!important;font-family:Songti SC,SimSun,serif!important}.is-ancient-home .ancient-form h2{font-family:Songti SC,SimSun,serif!important}.ancient-editor{font-family:Songti SC,SimSun,serif}.ancient-hero:after{content:"";position:absolute;pointer-events:none;inset:60% 0 0;background:linear-gradient(transparent,#14352d99)}.ancient-title,.ancient-hero>small{z-index:1}

.ancient-extras{margin:12px 0;font-size:14px}.ancient-extras summary{cursor:pointer;min-height:30px}.ancient-home[data-phase="result"] .ancient-scene{height:150px}

.ancient-form>.ancient-scene{animation:ancient-reveal .22s ease-out}.ancient-paused .ancient-scene{animation:none}@keyframes ancient-reveal{from{opacity:.4}to{opacity:1}}@media(prefers-reduced-motion:reduce){.ancient-form>.ancient-scene{animation:none}}

.is-ancient-home .ai-process-actions{position:static;margin:12px 0 0;padding:0;border:0;background:transparent;backdrop-filter:none}.ancient-home[data-phase="result"] .ancient-photo{margin:14px 0}.ancient-home[data-phase="result"] .ancient-alias{margin:12px 0}.ancient-home[data-phase="result"] .ancient-reason{margin:12px 0}.ancient-home[data-phase="result"] .ancient-native .ai-process-points-summary{padding:10px 12px;margin:10px 0!important}

@media(max-width:720px){.ancient-home[data-phase="result"] .ancient-scene{height:100px}.ancient-home[data-phase="result"] .ancient-seal{margin:12px 0;font-size:18px}.ancient-home[data-phase="result"] .ancient-alias{font-size:20px;margin:8px 0}.ancient-home[data-phase="result"] .ancient-reason{font-size:16px;line-height:1.6}.ancient-native .ai-process-points-summary{grid-template-columns:50px minmax(0,1fr) auto;gap:6px;padding:10px!important}.ancient-native .ai-process-points-summary strong{font-size:13px;letter-spacing:0}.ancient-native .ai-process-points-summary>a{grid-column:3;grid-row:1;padding:6px;font-size:11px}.ancient-native .ai-process-points-summary>p{grid-column:1/-1}.ancient-native .ai-process-points-summary span{font-size:10px}.ancient-native .ai-process-free-status{max-width:100%}}
