.ancient-shell{max-width:820px;padding-top:max(20px,env(safe-area-inset-top));--ancient-gold:#e8d8a8}.ancient-shell header{margin-bottom:32px}.ancient-shell .brand{font-size:15px;letter-spacing:2px}.ancient-shell .brand-sub{letter-spacing:2px;font-size:8px}.ancient-back,.ancient-shell a{color:var(--accent)}.ancient-back{font-size:12px;text-decoration:none}.ancient-shell .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:12px}.ancient-shell h1{font-size:clamp(35px,6vw,54px);line-height:1.05;margin-bottom:12px}.ancient-shell .lead{font-size:14px;margin-bottom:22px}.ancient-shell.has-photo h1{font-size:29px}.ancient-shell.has-photo .lead{margin-bottom:16px}.ancient-shell.has-photo header{margin-bottom:24px}.ancient-hidden,.ancient-shell [hidden]{display:none!important}.ancient-viewfinder{height:clamp(240px,42svh,420px);position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#304133,#101b16 75%);border:1px solid #55704a;border-radius:22px}.ancient-live{width:100%;height:100%;object-fit:cover;opacity:.9}.ancient-framing{position:absolute;inset:28px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;pointer-events:none}.ancient-framing>span{font-size:9px;letter-spacing:3px;background:#101c19a8;border-radius:20px;padding:5px 10px}.ancient-framing i{width:85%;flex:1 1;max-height:220px;margin:20px 0;border:1px solid #d8f39088;border-radius:10px;position:relative}.ancient-framing i:after,.ancient-framing i:before{content:"";position:absolute;width:22px;height:22px;border:3px solid var(--accent)}.ancient-framing i:before{left:-2px;top:-2px;border-right:0;border-bottom:0;border-radius:10px 0 0}.ancient-framing i:after{right:-2px;bottom:-2px;border-left:0;border-top:0;border-radius:0 0 10px}.ancient-framing p{font-size:12px;color:#e2eadc;text-align:center;margin:0 0 12px;background:#101c19b0;padding:3px 9px;border-radius:10px}.ancient-local{position:absolute;bottom:10px;left:0;right:0;text-align:center;font-size:9px;letter-spacing:1px;color:#c4d1b5}.ancient-capture-bar{display:grid;grid-template-columns:1fr 90px 1fr;align-items:center;gap:14px;padding:18px 0 8px}.ancient-capture-bar>button{background:transparent;border:0;font-size:26px;padding:5px;min-height:66px}.ancient-capture-bar>button span{display:block;font-size:10px;letter-spacing:.5px;color:var(--muted)}.ancient-capture-bar>button.ancient-shutter{width:76px;height:76px;min-height:76px;padding:6px;border:2px solid var(--accent);border-radius:50%;justify-self:center;background:transparent}.ancient-shutter>span{width:100%;height:100%;border-radius:50%;background:var(--accent)}.ancient-shutter:disabled{opacity:.4}.ancient-photo-stage{display:flex;justify-content:center;align-items:center;background:#09120e;border:1px solid var(--line);border-radius:18px;overflow:hidden;min-height:160px;max-height:48svh}.ancient-editor{position:relative;touch-action:none;line-height:0;max-width:100%}.ancient-editor canvas{display:block;width:100%;height:auto;max-height:48svh;max-width:100%}.ancient-selection{position:absolute;pointer-events:none;border:1px dashed #e8d8a8;box-shadow:0 0 0 1px #182117}.ancient-box{position:absolute;min-height:0;min-width:0;padding:0;border:1.5px solid #d8f390;border-radius:3px;background:#d8f3900a;z-index:1}.ancient-box.uncertain{border-color:#d3b98a;background:transparent}.ancient-box.is-selected{border:2px solid white;box-shadow:0 0 0 2px #d8f39066}.ancient-box span{position:absolute;left:-1px;top:-1px;white-space:nowrap;font:9px/1.5 Arial;background:#14231ee8;color:#eff6d3;padding:1px 3px;border-radius:2px}.ancient-frame-hint{font-size:11px;text-align:center;margin:9px 0;color:#bdc7b3}.ancient-tools{margin:10px 0;gap:8px}.ancient-tools button{min-height:38px;padding:7px 12px;font-size:12px;background:transparent}.ancient-adjust{padding:7px 0!important;margin:0!important;border:0}.ancient-adjust summary{font-size:11px;color:var(--muted);min-height:32px}.ancient-contrast{font-size:12px;display:flex;align-items:center;gap:20px;margin:6px 0 12px}.ancient-contrast input{flex:1 1;min-width:70px;accent-color:var(--accent);min-height:40px}.ancient-discover{width:100%;min-height:46px;border-radius:12px;font-size:13px}.ancient-shell>[role=status]{font-size:11px;margin:10px 0 15px}.ancient-shell progress{width:100%;height:4px;accent-color:var(--accent)}.ancient-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;background:#0b1510;border:1px solid var(--line);border-radius:13px;margin:16px 0}.ancient-tabs button{border:0;background:transparent;font-size:12px;min-height:40px;padding:8px}.ancient-tabs button[aria-selected=true]{background:#31472c;color:#e4f5b7}.ancient-reading .card{padding:20px;margin:12px 0;background:linear-gradient(140deg,#1c2d23,#14251e);border-color:#344b39}.ancient-reading h2{overflow-wrap:anywhere;font:25px/1.35 Georgia,serif;margin:12px 0}.ancient-reading p{font-size:13px}.ancient-reading .fine{font-size:11px}.ancient-reading .tag{font-size:9px}.ancient-reading .card button{font-size:11px;min-height:38px;background:transparent;padding:7px 12px}.ancient-sign-strip{display:flex;overflow-x:auto;gap:8px;padding:5px 0 12px}.ancient-sign-strip button{min-width:83px;min-height:90px;border-radius:12px;padding:10px}.ancient-sign-strip button[aria-pressed=true]{border-color:var(--accent);background:#2b3f27}.ancient-sign-strip b{display:block;font-family:Segoe UI Historic,serif;font-size:35px;font-weight:400;line-height:1.5}.ancient-sign-strip span{font-size:10px;white-space:nowrap}.ancient-glyph{font-family:Segoe UI Historic,serif;font-size:50px;color:var(--ancient-gold)}.ancient-scope{font-size:10px;color:#abbba1;margin:24px 0 12px}.ancient-shell details{margin-bottom:8px}.ancient-shell details summary{font-size:12px}.ancient-shell li{line-height:1.9}.ancient-shell .notice button{margin-top:10px}.ancient-new{width:100%;background:transparent;font-size:12px;margin-top:12px}.ancient-shell footer{margin-top:24px;font-size:9px}.ancient-note{padding:14px 4px 4px}.ancient-note strong{font:22px/1.3 Georgia,serif;color:var(--ancient-gold)}.ancient-note p{font-size:11px;line-height:1.6;margin:8px 0}.ancient-box.uncertain{opacity:.55}.ancient-box.is-selected,.ancient-box.uncertain:hover{opacity:1}@media(min-width:800px){.ancient-shell.is-camera{max-width:640px}.ancient-shell.has-photo{max-width:820px}.ancient-editor canvas,.ancient-photo-stage{max-height:440px}.ancient-shell.has-photo h1{font-size:34px}}@media(max-width:420px){.ancient-shell{padding-left:18px;padding-right:18px}.ancient-shell header{margin-bottom:24px}.ancient-shell h1{font-size:38px}.ancient-shell.has-photo h1{font-size:27px}.ancient-shell .brand{font-size:13px}.ancient-shell .brand-sub{font-size:7px}.ancient-tools button{font-size:11px}}@media(prefers-reduced-motion:no-preference){.ancient-reading{animation:ancient-reveal .25s ease-out}.ancient-box{animation:ancient-reveal .2s ease-out}@keyframes ancient-reveal{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}