:root{--bg:#090f20;--panel:#111d34;--panel2:#16243e;--line:#26354f;--text:#eff5ff;--muted:#8496b5;--blue:#4c9bff;--cyan:#45dbcf;--green:#55dfa6;--red:#ff8099;--gold:#ffca7a;--shadow:0 18px 65px #0005}
*{box-sizing:border-box}body{margin:0;background:#070d1a;color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}button:disabled{opacity:.5;cursor:default} .backdrop-glow{position:fixed;inset:0;background:radial-gradient(65% 45% at 72% 5%,#14558a40,transparent),radial-gradient(65% 40% at -10% 85%,#1f386e25,transparent);pointer-events:none}.app-shell{position:relative;max-width:560px;min-height:100vh;margin:auto;background:linear-gradient(165deg,#0c1529,#0a1020 75%);box-shadow:0 0 0 1px #ffffff09,0 0 75px #0009;padding-bottom:calc(102px + env(safe-area-inset-bottom,0px));overflow:hidden}.app-header{height:72px;display:flex;align-items:center;gap:11px;padding:16px 21px;border-bottom:1px solid #ffffff0e;position:sticky;top:0;z-index:12;background:#0c1529f5;backdrop-filter:blur(15px)}.brandmark{width:39px;height:39px;display:grid;place-items:center;font-size:25px;font-weight:900;color:#091326;border-radius:13px;background:linear-gradient(135deg,#75e1f8,#4e8fff);box-shadow:0 6px 26px #499cff38}.brand{display:flex;flex-direction:column;gap:2px;letter-spacing:1px}.brand strong{font-size:15px;font-weight:850}.brand strong span{color:#80bfff}.brand small{color:#7286a8;font-size:9px;font-weight:750;letter-spacing:2.6px}.status-dot{margin-left:auto;width:8px;height:8px;border-radius:50%;background:#405470;box-shadow:0 0 0 4px #5f74851c}.status-dot.online{background:var(--green);box-shadow:0 0 0 4px #58e1a526}.icon-button{display:grid;place-items:center;border:1px solid #334762;background:#1a2e4a;border-radius:12px;height:38px;width:38px;color:#e1f0ff;font-size:23px}.page{padding:22px 20px 26px;animation:slideIn .22s ease-out}@keyframes slideIn{from{opacity:.4;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.eyebrow{font-size:10px;letter-spacing:2.1px;color:var(--cyan);font-weight:850;text-transform:uppercase}.page-title{font-size:28px;letter-spacing:-1px;line-height:1.15;margin:9px 0 8px;font-weight:800}.page-lead{color:#8e9fbc;line-height:1.5;margin:0 0 24px;font-size:13px}.hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#1d4b81,#1c366a 59%,#2d4084);border:1px solid #528bc869;border-radius:23px;padding:24px;margin-bottom:18px;box-shadow:0 15px 37px #053c802a}.hero:after{content:"↘";position:absolute;right:-7px;bottom:-44px;font-size:192px;color:#ffffff0b;transform:rotate(-12deg);pointer-events:none}.hero .eyebrow{color:#8de8ee}.hero-big{font-weight:850;font-size:38px;letter-spacing:-2px;margin-top:9px;position:relative;z-index:1}.hero-sub{color:#c1d7f6;margin-top:8px;font-size:12px;position:relative;z-index:1}.hero-foot{display:flex;align-items:center;gap:10px;margin-top:20px}.mini-pill{display:inline-flex;align-items:center;gap:6px;background:#ffffff19;padding:7px 10px;border:1px solid #ffffff19;border-radius:999px;font-weight:650;font-size:11px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 13px}.section-head h2{margin:0;font-size:17px;letter-spacing:-.3px}.text-link{background:none;border:0;color:#83c8ff;font-weight:700;font-size:12px;padding:4px}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{border:1px solid var(--line);background:linear-gradient(150deg,#15233d,#101b32);border-radius:17px;padding:16px;min-height:102px}.stat-card small{color:var(--muted);display:block;margin-bottom:11px}.stat-number{font-size:23px;font-weight:800;letter-spacing:-.7px}.stat-suffix{font-size:12px;color:#91a5bf}.stat-symbol{display:flex;align-items:center;justify-content:space-between;color:#9db5d1}.stat-symbol i{font-style:normal;color:var(--cyan);font-size:17px}.stat-number.up{color:var(--red)}.stat-number.down{color:var(--green)}.product-card{display:flex;gap:13px;align-items:center;cursor:pointer;border:1px solid var(--line);background:linear-gradient(125deg,#14223c,#101b32);padding:12px;border-radius:18px;margin-bottom:10px;transition:transform .15s,border-color .15s}.product-card:active{transform:scale(.99)}.product-card:hover{border-color:#517497}.product-image{width:90px;height:95px;border-radius:12px;flex:0 0 90px;display:grid;place-items:center;background:linear-gradient(145deg,#24385c,#1c2942);overflow:hidden;color:#5d779a;font-size:31px}.product-image img{width:100%;height:100%;object-fit:contain;background:#f5f7fa}.product-image.large{width:116px;height:130px;flex-basis:116px}.product-body{flex:1;min-width:0}.product-name{font-size:13px;line-height:1.36;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-id{color:#7388a5;font-size:10px;margin-top:6px}.product-price{font-weight:850;font-size:19px;letter-spacing:-.4px;margin-top:10px}.price-row{display:flex;justify-content:space-between;align-items:baseline;gap:5px}.tag{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:7px;font-size:10px;font-weight:750;white-space:nowrap}.tag.down{background:#1c5b4b;color:#8ff7c6}.tag.up{background:#6c3347;color:#ffb2c2}.tag.neutral{background:#29405e;color:#abc6e2}.product-meta{font-size:10px;color:#788ca9;margin-top:8px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.indicator{height:6px;width:6px;border-radius:50%;background:var(--green)}.indicator.bad{background:var(--red)}.btn{border:none;border-radius:12px;padding:12px 16px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn-primary{background:linear-gradient(110deg,#4aaaff,#4b84ff);color:#fff;box-shadow:0 7px 20px #3082d435}.btn-ghost{background:#1b2a46;color:#d0e0f3;border:1px solid #334562}.btn-danger{background:#56253a;color:#ffb8c8}.btn-block{width:100%}.row{display:flex;gap:9px;align-items:center}.row>*{min-width:0}.row.space{justify-content:space-between}.search-field{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#162239;border-radius:13px;padding:0 13px;color:#8196b5;height:44px}.search-field input{background:transparent;border:none;outline:none;color:var(--text);width:100%}.search-field input::placeholder{color:#697f9f}.search-field input:focus{outline:none}.filters{display:flex;gap:8px;overflow-x:auto;padding:12px 0 16px;scrollbar-width:none}.chip{background:#17243c;border:1px solid #2b3a52;color:#a3b4ce;padding:8px 13px;border-radius:999px;white-space:nowrap;font-size:12px;font-weight:700}.chip.active{color:#0c1b2c;background:#7fc3fc;border-color:#7fc3fc}.select{color:#b5c8df;background:#17263f;border:1px solid #34465f;border-radius:10px;padding:9px;font-size:12px}.hint{font-size:12px;color:#8196b1;line-height:1.55}.empty{text-align:center;margin:25px 0;border:1px dashed #34465f;border-radius:17px;padding:38px 23px}.empty-icon{font-size:43px;margin-bottom:14px}.empty h3{font-size:17px;margin:0 0 9px}.empty p{font-size:12px;color:#8a9cba;line-height:1.5;margin:0 0 20px}.detail-top{display:flex;align-items:flex-start;gap:18px}.detail-top h1{font-size:18px;letter-spacing:-.4px;line-height:1.35;margin:10px 0}.detail-price{font-size:31px;font-weight:850;letter-spacing:-1.3px;margin-top:10px}.bank-label{color:#79e7b9;font-size:11px;font-weight:800}.card{background:#14223a;border:1px solid var(--line);border-radius:18px;padding:17px;margin-top:16px}.card h3{margin:0 0 12px;font-size:14px}.graph-container{width:100%;height:188px;position:relative;overflow:hidden;margin-top:7px}.graph-container svg{width:100%;height:100%;overflow:visible}.graph-axis{fill:#8299b8;font-size:10px}.graph-grid{stroke:#2e4261;stroke-dasharray:3 6}.graph-line{stroke:#5ee4c2;stroke-width:2.8;fill:none;stroke-linejoin:round;stroke-linecap:round}.graph-area{fill:url(#areaFill)}.range-tabs{display:flex;gap:6px}.range-tabs button{border:0;padding:7px 9px;border-radius:7px;background:#1e304e;color:#8ea4c3;font-weight:750;font-size:11px}.range-tabs button.selected{background:#31639d;color:#f3f9ff}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.info-box{background:#1a2b47;border-radius:12px;padding:13px}.info-box small{display:block;font-size:11px;color:#93a6c0;margin-bottom:7px}.info-box strong{font-size:16px}.custom-link{color:#87c5ff;font-size:12px;text-decoration:none}.form-label{font-size:12px;color:#a3b5cd;display:block;margin-bottom:9px}.field{background:#1a2a44;color:#eef4ff;border:1px solid #344a69;border-radius:12px;padding:13px;width:100%;outline:none}.field:focus{border-color:#65abef}.form-group{margin-bottom:17px}.modal-host{position:fixed;inset:0;z-index:70;background:#02070edc;display:flex;align-items:end;justify-content:center;padding:16px;backdrop-filter:blur(5px)}.modal-host[hidden],.toast[hidden]{display:none}.modal-content{background:#121f37;border:1px solid #324765;box-shadow:var(--shadow);border-radius:23px 23px 17px 17px;padding:24px;width:min(100%,500px);max-height:90vh;overflow-y:auto;animation:slideIn .2s ease-out}.modal-content h2{margin:0 0 10px;font-size:21px}.modal-close{background:none;border:none;color:#acbfdc;font-size:21px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.toast{position:fixed;z-index:100;bottom:calc(105px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 45px);max-width:480px;text-align:center;background:#e5f4ff;color:#16304c;box-shadow:var(--shadow);border-radius:13px;padding:13px 15px;font-weight:700;font-size:12px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:560px;height:calc(78px + env(safe-area-inset-bottom));padding:8px 11px calc(10px + env(safe-area-inset-bottom));display:flex;align-items:center;background:#101a2df5;border-top:1px solid #2b3a53;backdrop-filter:blur(22px);z-index:15}.nav-btn{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#8398b9;border:0;background:transparent;font-size:10px;font-weight:800;padding:6px 2px;min-width:0}.nav-icon{font-size:24px;line-height:25px;display:grid;place-items:center;width:38px;height:37px;border-radius:12px}.nav-btn.active{color:#a2d5ff}.nav-btn.active .nav-icon{background:#214671;box-shadow:inset 0 0 0 1px #4580b8}.switch{appearance:none;width:42px;height:24px;background:#43526a;border-radius:99px;cursor:pointer;position:relative;flex-shrink:0;transition:background .2s}.switch:before{content:"";position:absolute;top:3px;left:3px;background:#fff;border-radius:50%;height:18px;width:18px;transition:transform .2s}.switch:checked{background:#43a8fa}.switch:checked:before{transform:translateX(18px)}.setting-row{padding:16px 0;border-bottom:1px solid #2b3c56;display:flex;justify-content:space-between;gap:12px;align-items:center}.setting-row:last-child{border-bottom:none}.setting-row strong{font-size:13px}.setting-row small{display:block;color:#90a3bd;margin-top:5px;line-height:1.4;font-size:11px}.compare-item{display:flex;align-items:center;gap:10px;background:#16253e;border:1px solid #2e405b;border-radius:12px;padding:12px;margin-bottom:9px}.compare-item input{width:19px;height:19px;accent-color:#67bbff}.compare-name{font-size:12px;flex:1}.compare-price{font-weight:750;font-size:13px}.bar{height:8px;background:#283c55;border-radius:99px;overflow:hidden;margin:5px 0 14px}.bar span{display:block;height:100%;background:linear-gradient(90deg,#4b90f2,#5ee8ce);border-radius:99px}.compare-result{display:none}.compare-result.visible{display:block}.badge{background:#1e3f63;color:#83d0fa;padding:5px 9px;border-radius:8px;font-size:10px;font-weight:750}.loading-screen{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:320px;gap:18px;color:#97abc6}.spinner{width:28px;height:28px;border:3px solid #32415d;border-top-color:#67baff;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:380px){.page{padding:18px 14px}.app-header{padding:12px 14px}.product-image{width:74px;flex-basis:74px;height:89px}.product-name{font-size:12px}.hero-big{font-size:32px}}@media(min-width:700px){body{padding:20px 0}.app-shell{min-height:calc(100vh - 40px);border-radius:21px 21px 0 0}.app-header{border-radius:21px 21px 0 0}}

/* Ozon Android Share text can span several lines. */
textarea.field.share-text{display:block;min-height:92px;line-height:1.5;resize:vertical;overflow-wrap:anywhere;font:inherit}textarea.field.share-text::placeholder{color:#8298b7}textarea.field.share-text:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}

/* v4: compact layout on both desktop and mobile. Preserve original color scheme. */
.page.compact-page{padding:17px 17px 30px}.compact-page .page-title{font-size:23px;margin:4px 0}.compact-page .page-lead{margin:0 0 14px}.compact-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.mini-stat{background:#16243b;border:1px solid #2a3e5a;border-radius:12px;padding:11px}.mini-stat small{display:block;color:#91a5c1;font-size:10px;margin-bottom:7px}.mini-stat strong{font-size:25px;line-height:1}.mini-stat strong.down{color:#5be2aa}.compact-status{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:11px 0 15px;font-size:11px;color:#95a8c3}.compact-section{margin:18px 0 10px}.compact-section h2{font-size:15px}.compact-page .product-card{padding:9px;margin-bottom:8px}.compact-page .product-image{width:68px;flex-basis:68px;height:72px}.compact-page .product-name{font-size:12px;line-height:1.3}.compact-page .product-price{font-size:18px}.compact-page .product-meta{font-size:10px}.compact-page .product-id{font-size:10px}.compact-page .price-row{gap:5px;flex-wrap:wrap}.compact-page .product-body{min-width:0}.suggestion{background:#16243b;border:1px solid #2b3d58;border-radius:12px;padding:11px;margin-bottom:8px;display:flex;gap:10px;align-items:center}.suggestion>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.suggestion strong{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.suggestion span{font-size:10px;color:#6da5d4}.suggestion small{font-size:10px;color:#95a8c3}.suggestion button{font-size:11px;padding:9px}.event-card{background:#14233a;border:1px solid #293c58;border-radius:12px;padding:12px;margin-bottom:10px}.event-card strong{font-size:11px}.event-card p{font-size:12px;line-height:1.55;overflow-wrap:anywhere;white-space:normal}.event-card .hint{font-size:10px}.bottom-nav .nav-icon{font-size:21px;width:31px;height:30px}.bottom-nav{height:calc(67px + env(safe-area-inset-bottom));padding:5px 5px calc(6px + env(safe-area-inset-bottom))}.nav-btn{font-size:9px}.nav-btn{gap:2px}.app-shell{padding-bottom:calc(79px + env(safe-area-inset-bottom))}.compact-page .compare-item{padding:9px}.compact-page .compare-name{font-size:11px}@media(max-width:380px){.page.compact-page{padding:14px 11px}.mini-stat{padding:9px}.mini-stat strong{font-size:21px}.mini-stat small{font-size:9px}}
/* 4.1: compact exact-model offer comparison */
.full-select{width:100%;max-width:100%;margin:9px 0;overflow:hidden;text-overflow:ellipsis}.offer-buttons{flex-wrap:wrap;gap:9px}.offer-buttons .btn{flex:1;min-width:180px}.offer-card{background:#14223c;border:1px solid #304463;border-radius:15px;padding:12px;margin:10px 0}.offer-card.likely{border-left:3px solid #55dfa6}.offer-card.suspicious{border-left:3px solid #ff9b77}.offer-card.insufficient{border-left:3px solid #7ca4d8}.offer-row{display:flex;gap:12px;align-items:flex-start}.offer-row .product-image{width:72px;height:84px;min-width:72px}.offer-body{flex:1;min-width:0}.offer-name{display:block;line-height:1.45;font-size:12px;overflow-wrap:anywhere}.offer-price{font-size:21px;font-weight:800;margin:7px 0 4px}.offer-price small{font-size:10px;font-weight:400;color:#9caac0}.risk{display:inline-block;border-radius:8px;font-size:10px;font-weight:700;padding:5px 7px;margin-top:7px;background:#294466;color:#a7caff}.risk.likely{background:#123f34;color:#63dfab}.risk.suspicious{background:#56332f;color:#ffb6a0}.offer-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:12px}.offer-actions .btn{font-size:11px;padding:9px}.offer-actions .custom-link{font-size:11px}.discovery-status{margin:12px 0;padding:12px;border:1px solid #324a6b;border-radius:13px;background:#111e36;font-size:12px}.quiet-empty{padding:10px 12px;border:1px dashed #2b3851;border-radius:11px;margin-bottom:12px}.offer-report{border:1px solid #468cb3}.offer-report h3{font-size:13px;margin:12px 0}.report-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:11px}.report-stats>span{padding:9px;background:#1c2c48;border-radius:9px;overflow-wrap:anywhere}.report-reasons{padding-left:20px;line-height:1.6;font-size:12px}.report-reasons li{margin:6px 0}.report-link{padding:8px 0;font-size:12px;overflow-wrap:anywhere}.report-link a{color:#82c8ff}@media(max-width:420px){.offer-row .product-image{width:60px;height:74px;min-width:60px}.offer-buttons .btn{width:100%}.report-stats{grid-template-columns:1fr}}

/* Offer discovery: show truthful progress (indeterminate while searching,
   real inspected-card count once candidates are known). */
.discovery-progress-track{position:relative;overflow:hidden;margin-top:11px;height:8px;background:#233857;border:1px solid #3a557a;border-radius:20px}
.discovery-progress-fill{display:block;height:100%;width:0;background:linear-gradient(90deg,#4bb9f8,#59e0bf);border-radius:20px;transition:width .2s ease}
.discovery-progress-fill.indeterminate{position:absolute;width:35%;animation:discovery-scan 1.5s ease-in-out infinite}
@keyframes discovery-scan{0%{transform:translateX(-110%)}100%{transform:translateX(310%)}}
@media (prefers-reduced-motion:reduce){.discovery-progress-fill.indeterminate{animation:none;width:100%;opacity:.45}}
.discovery-progress-caption{margin:6px 0 0;color:#99afd0;font-size:12px}
.discovery-status-line{display:flex;align-items:center;gap:9px;justify-content:space-between}
.discovery-running-dot{width:9px;height:9px;border-radius:50%;background:#55dfad;box-shadow:0 0 8px #55dfad}
.discovery-error{color:#ffb4ad}
/* 4.2: model-first layout and user-confirmed evidence. */
.model-card{border-left:3px solid #50abd9;}
.model-category{margin:12px 0 22px;}
.model-summary{display:flex;align-items:start;gap:15px;padding:8px 0 4px;}
.model-summary>div:last-child{flex:1;min-width:0;}
.model-summary .page-title{font-size:21px;overflow-wrap:anywhere;}
.model-summary .product-image.large{width:108px;flex-basis:108px;height:125px;}
.offer-card.verified{border-left:3px solid #4dcce2;}
.risk.verified{background:#164d60;color:#8decfd;}
.offer-actions .btn{white-space:normal;min-height:30px;}
@media(max-width:410px){.model-summary{gap:10px}.model-summary .product-image.large{width:88px;flex-basis:88px;height:95px}.model-summary .page-title{font-size:18px}.model-summary .detail-price{font-size:24px}}

/* Model-specific discovery price window */
.search-limit-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:12px;border:1px solid var(--border,#314866);background:var(--card,#14223b);margin:10px 0}
.search-limit-card strong{font-size:13px}
.search-limit-card .hint{margin:5px 0 0;font-size:11px;line-height:1.45}
.search-limit-card .btn{flex-shrink:0}
@media(max-width:450px){.search-limit-card{flex-direction:column;align-items:stretch}.search-limit-card .btn{width:100%}}

/* 4.2: directly open product photo/title on Ozon, and choose group cover. */
.product-open-link{display:inline-block;color:inherit;text-decoration:none;cursor:pointer;border-radius:7px}
.product-open-link:hover,.product-open-link:focus-visible{color:#8acaff;text-decoration:underline;text-underline-offset:3px}
.product-open-link:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.image-open-link{display:block;flex-shrink:0;border-radius:12px}
.image-open-link:hover{text-decoration:none;box-shadow:0 0 0 2px #69beff}
.detail-top .image-open-link .product-image.large{width:116px;height:130px;flex-basis:116px}
.detail-top h1 .product-open-link{display:inline}
.offer-row .image-open-link .product-image{width:72px;height:84px;min-width:72px}
.offer-name.product-open-link{display:block;font-size:12px;font-weight:750;line-height:1.45;overflow-wrap:anywhere}
.offer-actions .offer-ozon-button{font-size:11px;padding:9px;min-height:30px;white-space:normal}
.cover-options{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.cover-option{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;width:100px;min-height:95px;padding:8px;border:1px solid #354e6b;border-radius:13px;background:#192b47;cursor:pointer;font-size:10px;text-align:center;color:#d5e6f8}
.cover-option:has(input:checked){border-color:#51c7ec;background:#183f59;box-shadow:0 0 0 1px #51c7ec}
.cover-option input{position:absolute;top:6px;right:6px;accent-color:#51c7ec;width:15px;height:15px}
.cover-option img{width:65px;height:66px;object-fit:contain;background:#f5f7fa;border-radius:8px}
.cover-option span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:420px){.offer-row .image-open-link .product-image{width:60px;height:74px;min-width:60px}.detail-top .image-open-link .product-image.large{width:90px;height:103px;flex-basis:90px}}
