/* EIDOS: native CSS, editorial consumer direction. */
:root{--bg:#141c17;--panel:#202a23;--ink:#f0f1e8;--muted:#bbc3b7;--line:#465047;--green:#d9ef73;--surface:#19211b;color-scheme:dark}
body{font-family:'Segoe UI',Arial,sans-serif}
.atmosphere,.announcement{display:none}
header{background:var(--bg)}
.wrap{width:min(1360px,calc(100% - 80px))}
.nav{height:78px}.nav-links{font-size:13px}
.hero{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center;padding:48px 0 40px}
.hero h1{font-size:clamp(48px,5.9vw,88px);line-height:1.07;font-weight:550;letter-spacing:-.07em;margin:28px 0}
.hero h1 em,.story h2 em{font-family:inherit;font-style:normal;color:var(--green)}
.hero-description{font-size:17px;line-height:1.65;color:var(--muted);max-width:400px;margin:0 0 30px}
.hero-photo{margin:0;min-width:0;position:relative}.hero-photo img{aspect-ratio:1.05;object-fit:cover;border-radius:8px}
.hero-photo figcaption{font-size:10px;color:var(--muted);margin-top:10px}
.button{border-radius:7px;font-size:14px;gap:22px;min-height:52px}
.brand-line{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:23px 0;font-size:12px;color:var(--muted)}
.brand-line span:first-child{color:var(--ink)}
.section{padding:92px 0}.section-heading{display:block;max-width:800px;margin-bottom:40px}.section-heading p{max-width:520px;margin-top:20px;font-size:16px}
.section-heading h2,.fit-heading h2,.order-path h2{font-size:clamp(36px,4.5vw,65px);font-weight:500;line-height:1.08;letter-spacing:-.055em;margin:12px 0 20px}
.drops-grid{grid-template-columns:1.35fr 1fr 1fr;gap:24px;align-items:end}.drop-cover{border-radius:8px;height:330px}.drop:first-child .drop-cover{height:425px}
.drop-title{font-size:clamp(34px,4.2vw,62px)}.books .drop-title{font-family:inherit;font-style:normal;font-weight:600}
.cover-decoration{animation:none}.drop-cover.anime{background:#b4bda4;color:#28382c}.drop-cover.books{background:#dddac9;color:#354535}
.drop-cover.anime .cover-decoration{background:#465c46}.cover-glow{display:none}
.collection-section{background:var(--surface)}.preview{border-radius:8px}.preview:before{animation:none}
.scene-controls{position:absolute;top:58px;left:24px;display:flex;gap:7px;z-index:4}.scene-controls button{border-radius:5px;background:#f0f1e8;color:#263328;font-size:11px;padding:8px 11px;border:1px solid #5b6a56}.scene-controls button[aria-pressed=true]{background:#28382c;color:#f0f1e8}
.preview[data-scene=forest]{background:#3b5241!important;color:#f0f1e8}.preview[data-scene=graphite]{background:#313a38!important;color:#f0f1e8}
.legal-note{font-size:11px;line-height:1.7;color:var(--muted)}.legal-note a,.text-link{text-decoration:underline;text-underline-offset:4px}
.story{background:var(--panel)}.story-copy{color:var(--muted)}.story-art{border-radius:8px;background:#344b38}.story-art:before{color:#d9ef7320}
.fit-heading p{max-width:510px;color:var(--muted)}.fit-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:80px;row-gap:36px;margin-top:50px}.fit-grid article{display:grid;grid-template-columns:45px 1fr;gap:0 20px;align-content:start}.detail-index{grid-row:1/3;color:var(--green);font-size:15px;padding-top:4px}.fit-grid h3{margin:0;font-size:21px;font-weight:500}.fit-grid p{color:var(--muted);font-size:15px;max-width:440px;margin:12px 0;line-height:1.7}
.order-path{background:var(--panel)}.order-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:35px;counter-reset:step;margin:48px 0 30px}.order-timeline article{border-top:1px solid var(--line);padding-top:22px}.order-timeline article:before{counter-increment:step;content:'0' counter(step);display:block;color:var(--green);margin-bottom:30px;font-size:30px}.order-timeline b{font-size:20px;font-weight:500}.order-timeline p{font-size:14px;line-height:1.7;color:var(--muted)}
.contact{background:var(--surface)}.contact h2{max-width:800px;font-size:clamp(38px,5vw,70px)}.contact p,.footer-bottom{color:var(--muted)}.footer-wordmark{color:var(--ink)}.footer-links{flex-wrap:wrap;gap:14px 20px}.footer-bottom{align-items:start}.footer-bottom>span{flex-shrink:0}
input,select,textarea,dialog{background:var(--surface);color:var(--ink)}input::placeholder{color:var(--muted)}.button.light{color:var(--ink)}
.theme-toggle{background:transparent;color:var(--muted);padding:8px;font-size:12px;border:1px solid var(--line);border-radius:6px}
[data-theme=light]{--bg:#f0f2e8;--panel:#e3e8dc;--surface:#e9ede2;--ink:#1c2c21;--muted:#53604e;--line:#a0aa95;--green:#3b591f;color-scheme:light}
[data-theme=light] .button,[data-theme=light] .segment button[aria-pressed=true]{color:#f0f2e8;background:#3b591f}[data-theme=light] .nav-links a{color:var(--muted)}[data-theme=light] .nav-order{border-color:var(--line)}[data-theme=light] .nav-order:hover{color:#f0f2e8}[data-theme=light] .button.light{color:var(--ink);background:transparent}[data-theme=light] select{color-scheme:light}[data-theme=light] .nav-links{background:var(--bg)}[data-theme=light] .close{background:var(--panel)}
.legal-layout{display:grid;grid-template-columns:230px minmax(0,760px);gap:65px;margin:70px auto 100px}.legal-nav{align-self:start;position:sticky;top:110px;display:grid;gap:16px;font-size:13px;color:var(--muted)}.legal-copy h1{font-size:clamp(36px,5vw,60px);letter-spacing:-.055em;line-height:1.08;font-weight:500;margin:0 0 20px;overflow-wrap:anywhere}.legal-copy h2{font-size:25px;font-weight:500;letter-spacing:-.025em;margin:42px 0 14px}.legal-copy p,.legal-copy li{font-size:16px;line-height:1.8;color:var(--muted)}.legal-copy a{text-decoration:underline;text-underline-offset:4px}.draft-note{border-left:3px solid var(--green);padding:15px 22px;background:var(--panel)}.legal-copy mark{background:var(--panel);color:var(--ink);padding:2px 5px}.legal-meta{font-size:12px!important}.legal-copy section{scroll-margin-top:110px}
@media(prefers-reduced-motion:no-preference){.hero-copy{animation:hero-enter .85s both}.hero-photo{animation:hero-enter 1.1s .12s both}@keyframes hero-enter{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}details[open] p{animation:hero-enter .3s both}.order-timeline article:nth-child(2){transition-delay:.1s}.order-timeline article:nth-child(3){transition-delay:.2s}.order-timeline article:nth-child(4){transition-delay:.3s}}
@media(max-width:1050px){.wrap{width:calc(100% - 44px)}.nav{gap:12px}.nav-links{gap:12px;font-size:11px}.nav-order{font-size:11px}.hero{gap:24px}.hero h1{font-size:clamp(44px,5.8vw,65px)}.drop-cover{height:280px}.drop:first-child .drop-cover{height:350px}.footer-bottom{flex-direction:column}.legal-layout{grid-template-columns:180px minmax(0,1fr);gap:30px}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.nav{height:68px;gap:8px}.logo{font-size:27px}.nav-order{display:none}.menu-button{display:block;margin-left:auto}.nav-links{display:none;position:absolute;top:68px;left:0;right:0;background:var(--bg);padding:20px 16px}.nav-links.open{display:flex;flex-direction:column;gap:20px}.theme-toggle{font-size:11px}.hero{grid-template-columns:1fr;gap:30px;padding-top:38px}.hero h1{font-size:clamp(46px,10vw,72px);margin:22px 0}.hero-description{font-size:16px;max-width:430px}.hero-photo img{aspect-ratio:1.25}.brand-line{gap:18px;font-size:11px}.brand-line span{max-width:47%}.section{padding:62px 0}.drops-grid{grid-template-columns:1fr 1fr;gap:25px 16px}.drop:first-child{grid-column:1/-1}.drop:first-child .drop-cover{height:310px}.drop-cover{height:230px}.drop-title{font-size:37px}.drop:first-child .drop-title{font-size:66px}.cover-content{padding:18px}.cover-caption{font-size:8px;letter-spacing:.04em}.drop-bottom{flex-direction:column;gap:5px;font-size:12px}.cover-top .eyebrow{font-size:8px}.cover-decoration{right:-80px}.configurator,.story-grid,.faq-grid{grid-template-columns:1fr;gap:32px}.preview{min-height:470px}.fit-grid{grid-template-columns:1fr;gap:25px;margin-top:30px}.fit-grid article{grid-template-columns:28px 1fr;gap:0 14px}.order-timeline{grid-template-columns:1fr 1fr;gap:28px}.order-timeline article:before{margin-bottom:16px}.legal-layout{display:block;margin-top:35px}.legal-nav{position:static;margin-bottom:40px;grid-template-columns:1fr 1fr}.legal-copy h1{font-size:40px}.contact-top{flex-direction:column;align-items:start}.button{max-width:100%;gap:14px}.order-button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal{opacity:1;translate:none}}
.drop,.order-timeline article,.configurator>*{min-width:0}
.local-preview-notice{padding:18px 0;font-size:13px;line-height:1.6;color:var(--muted);border-bottom:1px solid var(--line)}
.local-preview-notice a{text-decoration:underline;text-underline-offset:3px}
#previewDevice{transition:width .4s,border-radius .4s,aspect-ratio .4s}
#previewDevice .camera:before,#previewDevice .camera:after{display:none}
#previewDevice .camera{display:grid;grid-template-columns:repeat(2,23px);gap:5px;padding:7px;width:68px;height:72px;align-content:center;justify-content:center}
#previewDevice .camera i{display:block;width:23px;height:23px;border:3px solid #66706c;border-radius:50%;background:radial-gradient(circle at 40% 38%,#39546b 0 15%,#0d161e 22% 60%,#35454c 70%);box-shadow:0 1px 2px #0008}
#previewDevice .camera i:nth-child(3){display:none}
#previewDevice .camera i.flash{width:10px;height:10px;background:#e9e3c7;border:2px solid #a8ac99;position:absolute;right:8px;top:10px}
#previewDevice[data-device=iphone] .camera i:nth-child(2){grid-column:2}
#previewDevice[data-device=iphone-pro] .camera i:nth-child(3){display:block}
#previewDevice[data-device=iphone-pro] .camera i:nth-child(2){transform:translateY(14px)}
#previewDevice[data-device=iphone-vertical] .camera{width:40px;height:70px;grid-template-columns:23px;border-radius:22px}
#previewDevice[data-device=samsung],#previewDevice[data-device=samsung-ultra]{aspect-ratio:1/2.12;border-radius:22px;background:#afb4b0}
#previewDevice[data-device=samsung-ultra]{border-radius:8px}
#previewDevice[data-device=samsung] .device-screen{border-radius:14px}
#previewDevice[data-device=samsung-ultra] .device-screen{border-radius:3px}
#previewDevice[data-device^=samsung] .camera,#previewDevice[data-device=fold] .camera{background:transparent;box-shadow:none;border:0;grid-template-columns:24px;width:35px;height:98px;gap:8px;left:16px;top:15px}
#previewDevice[data-device^=samsung] .camera i:nth-child(3),#previewDevice[data-device=fold] .camera i:nth-child(3){display:block}
#previewDevice[data-device^=samsung] .camera i.flash{right:-15px;top:22px}
#previewDevice[data-device=samsung-ultra] .camera:before,#previewDevice[data-device=samsung-ultra] .camera:after{content:'';display:block;position:absolute;left:44px;width:13px;height:13px;border:2px solid #66706c;border-radius:50%;background:#17232b}
#previewDevice[data-device=samsung-ultra] .camera:before{top:8px}
#previewDevice[data-device=samsung-ultra] .camera:after{top:58px}
#previewDevice[data-device=xiaomi]{aspect-ratio:1/2.15;border-radius:23px}
#previewDevice[data-device=xiaomi] .device-screen{border-radius:15px}
#previewDevice[data-device=xiaomi] .camera{width:85px;height:86px;background:#242b29;border-radius:14px;gap:8px}
#previewDevice[data-device=xiaomi] .camera i:nth-child(3){display:block}
#previewDevice[data-device=xiaomi-ultra] .camera{width:108px;height:108px;top:18px;left:50%;transform:translateX(-50%);border-radius:50%;background:#202723;grid-template-columns:27px 27px;gap:10px}
#previewDevice[data-device=xiaomi-ultra] .camera i:nth-child(3){display:block}
#previewDevice[data-device=poco] .camera{width:calc(100% - 22px);left:11px;height:76px;background:#242b29;border-radius:14px;grid-template-columns:26px 26px;justify-content:start;padding-left:12px}
#previewDevice[data-device=flip]{aspect-ratio:1/2.2;border-radius:23px}
#previewDevice[data-device=flip] .camera{width:calc(100% - 20px);left:10px;top:10px;height:105px;background:#1d2421;border-radius:18px;align-content:start;justify-content:end}
#previewDevice[data-device=flip]:after{content:'';position:absolute;left:0;right:0;top:50%;height:3px;background:#89938a;box-shadow:0 2px 2px #0005}
#previewDevice[data-device=fold]{width:270px;aspect-ratio:1/1.3;border-radius:16px}
#previewDevice[data-device=fold] .device-screen{border-radius:10px}
#previewDevice[data-device^=kindle]{width:280px;aspect-ratio:1/1.4;border-radius:16px;padding:13px;background:#303a34;border-color:#7e8b7d}
#previewDevice[data-device^=kindle] .camera{display:none}
#previewDevice[data-device^=kindle] .device-screen{border-radius:6px}
#previewDevice[data-device=kindle-oasis]{aspect-ratio:1.05;padding-right:42px}
#previewDevice[data-device=kindle-scribe]{width:295px;aspect-ratio:1/1.3;padding-left:30px}
#previewDevice[data-device=other]{aspect-ratio:1/1.8;border-radius:20px;border-style:dashed}
#previewDevice[data-device=other] .camera{display:none}
.device-caption{font-size:12px;line-height:1.6;color:var(--muted);margin:15px 0 0}
.request-summary{padding:15px;background:var(--panel);border-radius:7px;line-height:1.6}
#customerForm label{display:block;margin-top:18px;font-size:13px}
#customerComment{min-height:90px;margin-top:8px}
#customerForm .button{width:100%;margin-top:10px}
.contact-hint{margin:6px 0;font-size:11px}.bot-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
#requestStatus{line-height:1.7;font-size:15px}#requestFallback a{text-decoration:underline}
@media(max-width:380px){#previewDevice[data-device^=kindle],#previewDevice[data-device=fold]{width:225px}}
.nav>.text-link{font-size:13px}
@media(max-width:380px){.drops-grid,.order-timeline{grid-template-columns:minmax(0,1fr)}.drop:first-child{grid-column:auto}.drop-cover,.drop:first-child .drop-cover{height:290px}.drop-title{font-size:52px}.collection-intro{align-items:start;flex-direction:column;gap:12px}.legal-copy h1{font-size:29px;overflow-wrap:normal;hyphens:auto}.nav>.text-link{font-size:10px}.legal-layout{margin-top:25px}.theme-toggle{padding:7px}}
@media print{header,.legal-nav,.theme-toggle,.footer-wordmark{display:none}.legal-layout{display:block}.legal-copy{color:#111}.legal-copy p,.legal-copy li{color:#222}body{background:white}}


/* Keep the entire composition, adapting its proportions to each rear panel; cameras remain above it. */
.device{display:flex;align-items:stretch}
.device .device-screen{flex:1;min-width:0;height:auto}
#previewArt>img,#storyArt>img,#looseArt>img{display:block;width:100%;height:100%;object-fit:fill;object-position:center}
.device-screen>img{position:absolute;inset:0}
/* The loose insert has the same rounded camera opening as the story phone. */
.paper-insert{position:relative;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 325'%3E%3Cpath fill='white' fill-rule='evenodd' d='M0 0H170V325H0Z M8 22Q8 8 22 8H55Q69 8 69 22V61Q69 75 55 75H22Q8 75 8 61Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 325'%3E%3Cpath fill='white' fill-rule='evenodd' d='M0 0H170V325H0Z M8 22Q8 8 22 8H55Q69 8 69 22V61Q69 75 55 75H22Q8 75 8 61Z'/%3E%3C/svg%3E");-webkit-mask-size:100% 100%;mask-size:100% 100%}
/* Rear covers do not inherit the wide front-screen bezel of e-readers. */
#previewDevice[data-device^=kindle]{padding:7px}

/* Фирменное начертание: оригинальное изображение выбранного варианта №14. */
.brand-mark{display:block;position:relative;width:100%;aspect-ratio:1280/420;overflow:hidden;filter:grayscale(1) contrast(3) invert(1);mix-blend-mode:screen}
.brand-mark img{position:absolute;display:block;width:120%;max-width:none;height:auto;left:-10.15625%;top:-70.2381%}
[data-theme=light] .brand-mark{filter:grayscale(1) contrast(3);mix-blend-mode:multiply}
.nav .logo{display:block;flex:0 0 auto;width:225px;line-height:1;letter-spacing:normal}
.nav{min-height:94px;height:auto;padding-top:9px;padding-bottom:9px}
.footer-wordmark{font-size:inherit;line-height:1;letter-spacing:normal;width:min(100%,1000px);margin:48px auto 30px}
.design-choice img{object-fit:contain;background:var(--surface)}
@media(max-width:1050px){.nav .logo{width:190px}.nav-order{display:none}}
@media(max-width:760px){.nav .logo{width:170px}.nav{min-height:78px}.nav-links{top:78px}.theme-toggle{max-width:80px;font-size:10px;padding:6px}.footer-wordmark{margin-top:32px}}
@media(max-width:380px){.nav .logo{width:145px}.nav{gap:5px}.menu-button{font-size:11px}}

/* Shopping basket */
.cart-toggle{display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--line);border-radius:99px;background:transparent;color:var(--text);cursor:pointer;flex-shrink:0}
.cart-toggle span{min-width:1em;font-size:13px}
#requestDialog{width:min(640px,calc(100% - 24px));max-height:88dvh;overflow:auto}
.cart-item{display:flex;gap:18px;padding:20px 0;border-bottom:1px solid var(--line)}
.cart-item img{width:70px;height:98px;object-fit:contain;border-radius:7px;flex-shrink:0}
.cart-item>div{min-width:0;overflow-wrap:anywhere}.cart-item p{font-size:14px;margin:8px 0}
.cart-controls{display:flex;gap:10px;flex-wrap:wrap}.cart-controls button{padding:7px 12px;border:1px solid var(--line);border-radius:7px;background:transparent;color:inherit;cursor:pointer}
.cart-total{display:flex;justify-content:space-between;font-size:24px;margin-top:24px}
#sendOrder,#telegramCheckout{width:100%;margin:12px 0;justify-content:center;text-align:center}
#telegramCheckout[hidden]{display:none}#clearCart{margin:12px 0}#requestStatus{font-size:14px;line-height:1.6}
@media(max-width:600px){.cart-toggle{padding:8px}.cart-item{gap:12px}#requestDialog{padding:20px}.nav{gap:8px}}

#clearCart{border:0;background:transparent;color:var(--muted);text-decoration:underline;cursor:pointer;font:inherit}#clearCart:disabled{opacity:.5;cursor:default}

#sendOrder[hidden]{display:none}

/* Searchable model picker: editable selection, shared light/dark palette. */
.device-fields{gap:16px;align-items:start}
.device-field{min-width:0}
.device-fields label{display:block;margin:0 0 9px;font-size:12px;letter-spacing:.01em;color:var(--muted)}
.brand-picker,.model-input-wrap{position:relative;display:flex;align-items:center;min-height:56px;border:1px solid var(--line);border-radius:14px;background:var(--surface);transition:border-color .18s,box-shadow .18s}
.brand-picker:focus-within,.model-input-wrap:focus-within{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 13%,transparent)}
.brand-picker select{appearance:none;-webkit-appearance:none;width:100%;height:54px;border:0;border-radius:14px;margin:0;padding:0 44px 0 17px;background:transparent;outline:none;font-size:14px;cursor:pointer}
.brand-picker>svg{position:absolute;right:16px;width:18px;height:18px;pointer-events:none;stroke:var(--muted);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.model-picker{position:relative}
.model-search-icon{flex:none;width:19px;height:19px;margin-left:16px;stroke:var(--muted);stroke-width:1.5;stroke-linecap:round}
.model-input-wrap input{width:100%;min-width:0;height:54px;margin:0;padding:0 8px 0 11px;background:transparent;border:0;border-radius:14px;outline:none;font-size:14px;box-shadow:none}
.model-input-wrap input:focus-visible,.brand-picker select:focus-visible{outline:none;box-shadow:none}
.model-clear,.model-toggle{display:grid;place-items:center;flex:none;width:34px;height:36px;padding:0;border:0;border-radius:9px;background:transparent;color:var(--muted);cursor:pointer}
.model-toggle{margin-right:8px}.model-clear:hover,.model-toggle:hover{background:var(--panel);color:var(--ink)}
.model-clear svg,.model-toggle svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.model-toggle svg{transition:transform .18s}.model-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.model-clear[hidden],.model-popover[hidden],.model-list-empty[hidden]{display:none}
.model-hint{font-size:11px;line-height:1.5;color:var(--muted);margin:9px 2px 0}
.model-popover{position:absolute;top:83px;left:0;right:0;z-index:30;padding:8px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 18px 45px rgb(0 0 0 / .2)}
.model-popover-heading{display:flex;justify-content:space-between;gap:12px;padding:8px 10px 10px;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.model-options{max-height:230px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.model-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 11px;text-align:left;color:var(--ink);background:transparent;border:0;border-radius:9px;font-size:14px;line-height:1.4;cursor:pointer}
.model-option:hover,.model-option.is-active{background:var(--panel)}
.model-option[aria-selected=true]{color:var(--green);background:color-mix(in srgb,var(--green) 10%,transparent)}
.model-option-check{visibility:hidden;font-size:16px}.model-option[aria-selected=true] .model-option-check{visibility:visible}
.model-list-empty{margin:2px 10px 10px;font-size:12px;line-height:1.6;color:var(--muted)}
@media(max-width:760px){.device-fields{grid-template-columns:1fr;gap:18px}.model-input-wrap input,.brand-picker select{font-size:16px}.model-options{max-height:190px}.model-hint{font-size:12px}}

@media(max-width:760px){.model-clear,.model-toggle{width:44px;height:44px}.model-toggle{margin-right:5px}}
