/* Captured frame stays complete; it must never look digitally zoomed. */
.photo-loading{height:48dvh;min-height:340px;max-height:560px;background:#071f1b;display:grid;place-items:center;overflow:hidden}
.photo-loading .captured{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#071f1b}
.photo-loading .brand{background:#ffffffed;color:#07382f;padding:7px 12px;border-radius:14px;font-size:18px}
.photo-loading+.results{margin-top:0;border-radius:0;min-height:52dvh;padding-bottom:100px}

/* Premium, balanced product header. */
.detail{width:100%;max-width:760px;padding-bottom:105px}
.detail>.back{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-weight:700}
.item-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:18px!important;overflow:hidden;text-align:center;background:linear-gradient(145deg,#fff,#f2f6f3)}
.item-head>img{display:block!important;width:100%!important;max-width:100%!important;height:260px!important;object-fit:contain!important;object-position:center!important;border-radius:16px!important;background:white!important}
.item-head>div{min-width:0;padding:2px 6px 4px}.item-head h1{font-size:clamp(25px,7vw,34px);line-height:1.2;margin:4px 0;overflow-wrap:anywhere}.item-head p{margin:5px 0;color:#61766d}
.pricebox,.section{padding:18px!important;overflow:hidden}.pricebox h2,.section h2{font-size:23px;line-height:1.25}
.triplet{grid-template-columns:repeat(3,minmax(0,1fr))!important}.triplet span{min-width:0;overflow:hidden}.triplet b{font-size:14px!important;line-height:1.25;overflow-wrap:anywhere;margin-top:4px}
.set-list{display:grid;gap:10px}.set-card{grid-template-columns:64px minmax(0,1fr)!important;width:100%!important;overflow:hidden;margin:0!important}.set-card>span:first-child{width:64px;height:64px;display:grid;place-items:center;background:#f4f7f5;border-radius:11px}.set-card img,.figure-card img{display:block!important;width:58px!important;height:58px!important;max-width:58px!important;object-fit:contain!important}.set-card>span:nth-child(2){min-width:0}.set-card b,.set-card small,.set-card em{overflow-wrap:anywhere}.set-card i{grid-column:2!important}
.parts .part{width:100%;overflow:hidden}.parts .part img{width:58px!important;height:58px!important;max-width:58px!important}
@media(max-width:430px){.item-head>img{height:220px!important}.detail{padding-left:14px;padding-right:14px}.triplet{gap:6px!important}.triplet span{padding:10px 6px!important}.triplet b{font-size:12.5px!important}.pricebox,.section{padding:16px!important}}

/* Balanced camera controls: side actions never push the shutter off center. */
.camera-tray{display:block!important}.camera-tray .shutter{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important}.camera-tray .tray-btn{position:absolute;top:50%;transform:translateY(-50%);width:92px}.camera-tray .tray-gallery{left:10px}.camera-tray .tray-flash{right:10px}.camera-tray .tray-flash.active{color:#b57900}.camera-tray .tray-flash:disabled{opacity:.45}.flash-icon{font-size:27px;line-height:1}

/* Search state stays as a deliberate full-screen surface instead of a blank page. */
.scan-processing{height:calc(100dvh - 74px);position:relative;background:#061d19;overflow:hidden;display:grid;place-items:center}.scan-processing>img{width:100%;height:100%;object-fit:contain;background:#061d19}.scan-processing:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,#061d19dd 100%);pointer-events:none}.processing-card{position:absolute;z-index:2;left:18px;right:18px;bottom:28px;min-height:82px;border-radius:22px;background:#fffffff2;color:#07382f;padding:16px 18px;display:flex;align-items:center;gap:14px;box-shadow:0 14px 40px #0005}.processing-card b,.processing-card small{display:block}.processing-card small{color:#60736b;margin-top:3px}.spinner{width:30px;height:30px;flex:0 0 30px;border:3px solid #d8e7df;border-top-color:#278fdd;border-radius:50%;animation:bbspin .8s linear infinite}.retry{margin-top:10px;border:0;border-radius:12px;padding:9px 15px;background:#07382f;color:#fff;font-weight:700}@keyframes bbspin{to{transform:rotate(360deg)}}#results:empty{display:none!important}

/* Price hierarchy stays aligned on small phones. */
.pricebox h3{padding-top:12px;border-top:1px solid #e3e9e6}.triplet{display:grid!important;width:100%;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.triplet>span{display:flex!important;min-height:76px;flex-direction:column;justify-content:space-between;border:1px solid #e2ebe6;background:#f4f8f5!important}.triplet>span b{display:block!important;margin:5px 0 0!important;white-space:normal!important}.bricklink-link{border:2px solid #07382f!important;background:#fff!important;color:#07382f!important;border-radius:16px!important;padding:17px!important;box-shadow:0 5px 16px #07382f12!important}.bricklink-link:before{content:"↗ ";font-size:18px}
@media(max-width:390px){.camera-tray .tray-btn{width:76px}.camera-tray .tray-gallery{left:4px}.camera-tray .tray-flash{right:4px}.triplet{grid-template-columns:1fr!important}.triplet>span{min-height:0;display:grid!important;grid-template-columns:1fr auto;align-items:center}.triplet>span b{margin:0!important;text-align:right;font-size:14px!important}}
.code-label{display:block!important;width:max-content;margin:0 0 3px!important;padding:3px 8px;border-radius:999px;background:#e5efe9;color:#315f50;font-size:11px!important;font-weight:800}.item-head p strong{display:block;font-size:18px;margin-top:5px}.result-card .code-label{margin-top:7px!important}.item-actions{display:flex;justify-content:center;margin-top:8px}.item-actions button{width:100%;border:0;border-radius:14px;background:#07382f;color:white;padding:13px 16px;font-weight:800}.sales-count{display:block;margin-top:9px;color:#60736b}.bricklink-bottom{margin-top:18px!important;margin-bottom:25px!important}
.collection-page{max-width:760px;margin:auto;padding:22px 16px 110px}.collection-page h1{margin:4px 0;font-size:30px}.collection-list{display:grid;gap:11px;margin-top:18px}.collection-card{position:relative;background:white;border:1px solid #dfe7e3;border-radius:18px;overflow:hidden}.collection-open{width:100%;min-height:104px;display:grid;grid-template-columns:86px minmax(0,1fr);gap:13px;align-items:center;border:0;background:white;color:#07382f;text-align:left;padding:10px 48px 10px 10px}.collection-open img,.collection-placeholder{width:86px;height:86px;object-fit:contain;display:grid;place-items:center;background:#f3f7f4;border-radius:13px;font-size:30px}.collection-open b,.collection-open strong,.collection-open small{display:block}.collection-open strong{overflow-wrap:anywhere}.collection-remove{position:absolute;right:10px;top:10px;width:34px;height:34px;border:0;border-radius:50%;background:#eef3ef;color:#07382f;font-size:22px}.empty-collection{min-height:240px;border:1px dashed #b9c9c0;border-radius:20px;display:grid;place-content:center;text-align:center;background:white}.empty-collection b,.empty-collection span{display:block}.empty-collection span{color:#60736b;margin-top:6px}

/* One visual system for set, figure and part rows. */
.section{display:block!important}.section>h2{font-size:clamp(22px,6vw,28px)!important;line-height:1.25!important;margin:24px 0 14px!important;overflow-wrap:anywhere}.section>h2:first-child{margin-top:4px!important}.set-list{display:grid!important;gap:12px!important}.set-card,.figure-card{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:4px 14px!important;align-items:center!important;width:100%!important;min-height:116px!important;padding:13px!important;border:1px solid #dfe7e3!important;border-radius:18px!important;background:#fff!important;box-shadow:0 4px 14px #07382f0a!important}.set-card>span:first-child{grid-row:1/3;width:88px!important;height:88px!important}.set-card img,.figure-card img{width:82px!important;height:82px!important;max-width:82px!important}.set-card>span:nth-child(2){display:block!important;min-width:0!important}.set-card>span:nth-child(2)>b,.set-card>span:nth-child(2)>small,.set-card>span:nth-child(2)>em{display:block!important;margin:2px 0!important;line-height:1.35!important;overflow-wrap:anywhere!important}.set-card>span:nth-child(2)>b{font-size:17px!important}.set-card i{grid-column:2!important;display:block!important;margin-top:5px!important;color:#397158!important;font-weight:700!important}
.parts{display:grid!important;gap:12px!important}.part{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;gap:13px!important;align-items:center!important;width:100%!important;min-height:110px!important;padding:12px!important;border:1px solid #e0e9e4!important;border-radius:18px!important;background:#f3f7f4!important}.part>img{width:80px!important;height:80px!important;max-width:80px!important;background:#fff;border-radius:12px}.part>span{display:block!important;min-width:0!important}.part b,.part small,.part em{display:block!important;line-height:1.35!important;margin:3px 0!important;overflow-wrap:anywhere!important}.part b{font-size:17px!important}.part small{color:#4f665d!important}.part em{font-size:14px!important;color:#397158!important}.pricebox{margin-top:16px!important}.pricebox h2{font-size:clamp(24px,6.5vw,31px)!important}.pricebox h3{font-size:21px!important;margin:20px 0 10px!important}.triplet>span small{font-size:13px!important;line-height:1.25!important}.triplet>span b{font-size:clamp(14px,3.6vw,18px)!important}

/* The bottom scan action becomes the shutter while the camera is open. */
.inside-hidden{display:none!important}.scan-shell .camera-tray{grid-template-columns:1fr 1fr!important;height:94px!important;bottom:88px!important}.scan-shell .camera-tray .tray-btn{width:50%!important;top:50%!important}.scan-shell .camera-tray .tray-gallery{left:0!important}.scan-shell .camera-tray .tray-flash{right:0!important}.scan-nav.camera-ready{transform:scale(1.06);box-shadow:0 0 0 7px #fff,0 7px 18px #07382f33!important}.scan-hint{bottom:202px!important}.result-actions{margin-top:14px;padding:14px;border:1px solid #d7e3dc;background:#fff;border-radius:17px;text-align:center}.result-actions button{width:100%;border:0;border-radius:13px;padding:13px;background:#07382f;color:#fff;font-weight:800}.result-actions small{display:block;margin-top:6px;color:#60736b}
@media(max-width:430px){.set-card,.figure-card{grid-template-columns:74px minmax(0,1fr)!important;min-height:102px!important;padding:10px!important;gap:3px 11px!important}.set-card>span:first-child{width:74px!important;height:74px!important}.set-card img,.figure-card img{width:68px!important;height:68px!important;max-width:68px!important}.part{grid-template-columns:70px minmax(0,1fr)!important;min-height:98px!important;padding:10px!important}.part>img{width:66px!important;height:66px!important;max-width:66px!important}.set-card>span:nth-child(2)>b,.part b{font-size:15px!important}.section{padding:14px!important}}
.item-actions{display:grid!important;gap:10px!important}.theme-picker{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;text-align:left}.theme-picker span{font-size:13px;font-weight:800}.theme-picker select{width:100%;min-width:0;border:1px solid #d4e0d9;border-radius:12px;padding:10px;background:#fff;color:#07382f}
.theme-page{max-width:760px;margin:auto;padding:0 15px 110px}.theme-head{margin:0 -15px;padding:28px 20px 24px;background:linear-gradient(145deg,#07382f,#105c4d);color:#fff}.theme-head>span{font-size:12px;font-weight:800;letter-spacing:.16em;color:#dfff67}.theme-head h1{margin:5px 0;font-size:31px;line-height:1.2}.theme-head p{margin:8px 0 0;color:#d7e7e0}.theme-summary{margin:15px 0;display:grid;grid-template-columns:auto 1fr auto 1fr;gap:6px 9px;align-items:center;background:white;border:1px solid #dfe7e3;border-radius:18px;padding:15px}.theme-summary b{font-size:25px}.theme-summary span{font-size:13px;color:#60736b}.theme-chips{display:flex;gap:8px;overflow-x:auto;padding:3px 0 14px;scrollbar-width:none}.theme-chips button{flex:0 0 auto;border:1px solid #d7e3dc;border-radius:999px;background:#fff;color:#07382f;padding:9px 13px;white-space:nowrap}.theme-chips button.active{background:#07382f;color:#fff;border-color:#07382f}.theme-chips i{font-style:normal;margin-right:5px}.theme-chips b{margin-left:5px}.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.theme-figure{position:relative;min-width:0;border:1px solid #dfe7e3;border-radius:19px;padding:10px;background:#fff;color:#07382f;text-align:left;overflow:hidden}.theme-figure>img,.theme-empty{display:grid;place-items:center;width:100%;height:155px;object-fit:contain;background:#f3f7f4;border-radius:13px}.theme-figure>strong,.theme-figure>b{display:block;line-height:1.3;overflow-wrap:anywhere}.theme-figure>strong{font-size:15px;margin:9px 0 6px;min-height:39px}.theme-figure .code-label{margin-top:3px!important}.owned-mark{position:absolute;right:17px;top:17px;border-radius:999px;background:#dfff67;color:#07382f;padding:4px 8px;font-size:11px;font-weight:900}.theme-zero{grid-column:1/-1;min-height:260px;border:1px dashed #b9c9c0;border-radius:20px;background:white;display:grid;place-content:center;text-align:center;padding:24px}.theme-zero b,.theme-zero span{display:block}.theme-zero span{margin:7px 0 15px;color:#60736b}.theme-zero button{border:0;border-radius:13px;padding:12px 16px;background:#07382f;color:#fff;font-weight:800}
@media(max-width:370px){.theme-grid{grid-template-columns:1fr}.theme-figure>img,.theme-empty{height:180px}}
.collection-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:14px 0;padding:5px;border-radius:15px;background:#e9f0ec}.collection-tabs button{border:0;border-radius:11px;padding:11px 8px;background:transparent;color:#426157;font-weight:800}.collection-tabs button.active{background:#fff;color:#07382f;box-shadow:0 3px 12px #07382f12}
.catalog-page,.catalog-detail{max-width:760px;margin:auto;padding:0 15px 110px}.catalog-loading{min-height:60dvh;display:flex;justify-content:center;align-items:center;gap:13px}.catalog-head{margin:0 -15px 14px;padding:27px 20px;background:linear-gradient(145deg,#07382f,#125b4d);color:#fff}.catalog-head>span{font-size:12px;font-weight:900;letter-spacing:.16em;color:#dfff67}.catalog-head h1{font-size:31px;line-height:1.2;margin:5px 0}.catalog-head p{margin:6px 0 0;color:#d7e7e0}.catalog-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:13px}.catalog-stats>div{text-align:center;background:#fff;border:1px solid #dfe7e3;border-radius:15px;padding:11px 5px}.catalog-stats b,.catalog-stats span{display:block}.catalog-stats b{font-size:22px}.catalog-stats span{font-size:12px;color:#60736b}.catalog-themes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.catalog-themes button{min-width:0;border:1px solid #d8e3dd;border-radius:15px;background:#fff;color:#07382f;padding:10px 6px;display:grid;place-items:center;line-height:1.2}.catalog-themes button.active{background:#07382f;color:#fff}.catalog-themes i{font-style:normal;font-size:20px}.catalog-themes span{font-size:12px;margin:4px 0;overflow-wrap:anywhere}.catalog-themes b{font-size:11px}.catalog-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:14px 0}.catalog-tools label{display:flex;align-items:center;gap:5px;margin:0;padding:3px 10px;border:1px solid #d5e0da;border-radius:14px;background:#fff}.catalog-tools input{width:100%;min-width:0;border:0!important;outline:0;background:transparent;padding:9px 3px!important}.catalog-tools select{max-width:128px;border:1px solid #d5e0da;border-radius:14px;background:#fff;padding:8px;color:#07382f}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.catalog-fig{min-width:0;border:1px solid #dfe7e3;border-radius:18px;padding:9px;background:#fff;color:#07382f;text-align:left;overflow:hidden}.catalog-photo{height:158px;position:relative;background:#f3f7f4;border-radius:13px;overflow:hidden}.catalog-photo img{width:100%;height:100%;object-fit:contain}.catalog-year,.catalog-state{position:absolute;top:8px;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:900}.catalog-year{left:8px;background:#fff}.catalog-state{right:8px}.catalog-state.owned{background:#dfff67}.catalog-state.wanted{background:#ffe4e8}.catalog-fig>strong,.catalog-fig>b,.catalog-fig>small{display:block;overflow-wrap:anywhere}.catalog-fig>strong{font-size:15px;line-height:1.3;min-height:40px;margin:9px 0 5px}.catalog-fig>small{font-size:10px;color:#60736b}.catalog-fig>b{font-size:13px}.catalog-more{width:100%;border:1px solid #07382f;border-radius:14px;background:#fff;color:#07382f;padding:13px;margin:15px 0;font-weight:900}.catalog-detail{padding-top:15px}.catalog-detail-head{display:grid;grid-template-columns:42% minmax(0,1fr);gap:15px;align-items:center;margin:13px 0;background:#fff;border:1px solid #dfe7e3;border-radius:21px;padding:15px}.catalog-detail-head img{width:100%;height:210px;object-fit:contain;background:#f3f7f4;border-radius:14px}.catalog-detail-head h1{font-size:25px;line-height:1.2;overflow-wrap:anywhere;margin:10px 0}.catalog-detail-head small,.catalog-detail-head b{display:block}.year-pill{display:inline-block;border-radius:999px;background:#e5efe9;padding:5px 9px;font-size:12px;font-weight:800}.catalog-check{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.catalog-check button{border:1px solid #d5e0da;border-radius:14px;background:#fff;color:#07382f;padding:12px;font-weight:900}.catalog-check button.active{background:#07382f;color:#fff}.catalog-check .clear-state{grid-column:1/-1;background:transparent;font-weight:600;color:#60736b}.catalog-detail .section{margin-bottom:20px}
@media(max-width:390px){.catalog-photo{height:138px}.catalog-fig>strong{font-size:14px}.catalog-tools{grid-template-columns:1fr}.catalog-tools select{max-width:none;width:100%}.catalog-detail-head{grid-template-columns:1fr}.catalog-detail-head img{height:240px}}
.catalog-head-v24{display:grid!important;grid-template-columns:108px 1fr;gap:18px;align-items:center}.catalog-img-wrap{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f1f5f2}.catalog-img-wrap img{width:100%;height:100%;object-fit:contain}.theme-hero{width:108px;height:108px;border-radius:24px;background:#fff}.catalog-head-v24 h1{margin:.25rem 0!important}.catalog-themes-v24{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:390px;overflow:auto;padding:2px}.catalog-themes-v24 button{min-width:0!important;display:grid!important;grid-template-columns:44px 1fr;grid-template-rows:auto auto;text-align:left;gap:2px 8px;align-items:center;padding:8px!important}.catalog-themes-v24 .theme-thumb{grid-row:1/3;width:44px;height:44px;border-radius:12px;background:#fff}.catalog-themes-v24 button span{font-size:12px;line-height:1.15}.catalog-themes-v24 button b{font-size:12px}.catalog-photo>.catalog-img-wrap{width:100%;height:100%}.catalog-image-missing{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:100%;color:#789087;font-size:30px}.catalog-image-missing small{font-size:11px}.verify-code{display:block;margin-top:8px;color:#53766d;font-size:11px}.catalog-detail-head>.detail-photo{width:min(42vw,280px);height:min(42vw,280px);border-radius:24px}.bricklink-code-search{display:inline-flex;margin-top:16px;padding:12px 15px;border:1px solid #0b5446;border-radius:14px;color:#0b5446;font-weight:800;text-decoration:none}@media(max-width:560px){.catalog-head-v24{grid-template-columns:84px 1fr}.theme-hero{width:84px;height:84px}.catalog-themes-v24{grid-template-columns:repeat(2,minmax(0,1fr));max-height:340px}.catalog-detail-head{align-items:flex-start!important}.catalog-detail-head>.detail-photo{width:38vw;height:38vw}.catalog-detail-head h1{font-size:clamp(22px,6vw,34px)!important}}
.search-v25{max-width:760px;margin:auto;padding:0 16px 115px;background:#fbfcfb;min-height:100dvh}.search-v25 header{text-align:center;padding:22px 0 12px}.search-v25 h1{margin:0;font-size:30px}.searchbar-v25{height:58px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border:1px solid #d8dfdc;border-radius:29px;padding:0 16px;background:#fff}.searchbar-v25>span{font-size:25px}.searchbar-v25 input{min-width:0;border:0!important;outline:0;font-size:17px;background:transparent}.searchbar-v25 button{border:0;border-left:1px solid #e0e5e2;background:none;padding:8px 0 8px 14px;font-weight:800;color:#35554d}.type-tabs-v25{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #dce3df;margin:17px 0 12px}.type-tabs-v25 button{position:relative;border:0;background:none;padding:12px 5px;font-size:16px;color:#65736e}.type-tabs-v25 button.active{color:#092f29;font-weight:900}.type-tabs-v25 button.active:after{content:"";position:absolute;left:20%;right:20%;bottom:-1px;height:3px;border-radius:3px;background:#092f29}.themes-strip-v25{display:flex;gap:9px;overflow-x:auto;padding:5px 0 13px;scrollbar-width:none}.themes-strip-v25 button{flex:0 0 135px;height:72px;border:1px solid #dce4e0;border-radius:19px;background:#fff;padding:7px;color:#153e36;text-align:left}.themes-strip-v25 button.active{border-color:#0a4a3e;box-shadow:0 5px 18px #0b483c1c}.theme-wordmark{display:flex;align-items:center;justify-content:center;height:39px;border-radius:12px;background:var(--brand);color:#fff;padding:3px 7px;text-align:center;overflow:hidden}.theme-wordmark b{font-size:12px;line-height:1.05;letter-spacing:.01em}.themes-strip-v25 small{display:block;margin:3px 4px;color:#63746e}.sort-v25{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin:8px 0 14px}.sort-v25 b{font-size:20px}.sort-v25 span{color:#71817b}.sort-v25 select{border:0;background:transparent;color:#35554d;font-weight:700}.fig-grid-v25{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fig-grid-v25>button{position:relative;min-width:0;border:0;border-radius:14px;background:#fff;padding:4px 4px 9px;color:#123c34;text-align:left;overflow:hidden;box-shadow:0 1px 0 #dce4e0}.fig-grid-v25 .catalog-img-wrap{width:100%;aspect-ratio:3/4;background:#f4f6f5;border-radius:11px}.fig-grid-v25 strong{display:block;font-size:12px;line-height:1.25;margin:6px 3px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.fig-year-v25{position:absolute;left:9px;top:9px;padding:4px 7px;border-radius:999px;background:#fffffff0;font-size:10px;font-weight:900}.more-v25{width:100%;border:1px solid #0a4a3e;border-radius:16px;background:#fff;padding:13px;margin:15px 0;color:#0a4a3e;font-weight:900}.code-search-v25{margin-top:35px;padding:25px;border:1px solid #dce4e0;border-radius:22px;background:#fff}.code-search-v25 input{width:100%;box-sizing:border-box;border:1px solid #ccd8d2;border-radius:14px;padding:14px;font-size:17px}.code-search-v25 button{width:100%;border:0;border-radius:14px;background:#0a4a3e;color:#fff;padding:14px;margin-top:10px;font-weight:900}.figure-detail-v25{max-width:760px;margin:auto;padding:16px 16px 115px}.figure-hero-v25{display:grid;grid-template-columns:minmax(0,47%) 1fr;gap:18px;align-items:center;background:#fff;border:1px solid #dce4e0;border-radius:24px;padding:16px;margin:12px 0}.figure-hero-v25>.detail-photo{width:100%;aspect-ratio:1/1.15;height:auto;border-radius:17px}.figure-hero-v25 h1{font-size:clamp(23px,5vw,36px);line-height:1.12;margin:12px 0}.figure-hero-v25 #real-code-v25 small,.figure-hero-v25 #real-code-v25 b{display:block}.figure-hero-v25 #real-code-v25 b{font-size:22px}.figure-hero-v25 #real-code-v25 a{display:inline-block;margin-top:8px}.price-v25,.sets-v25{background:#fff;border:1px solid #dce4e0;border-radius:22px;padding:18px;margin-top:13px}.price-v25 .bricklink-link{margin-top:15px}*{-webkit-tap-highlight-color:transparent}button,a,input,select{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b8ef62!important;outline-offset:2px}button{touch-action:manipulation;transition:transform .14s ease,background-color .18s ease,box-shadow .18s ease}button:active{transform:scale(.975)}#app>section{animation:pageIn .22s ease both}@keyframes pageIn{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:430px){.fig-grid-v25{grid-template-columns:repeat(3,minmax(0,1fr))}.figure-hero-v25{grid-template-columns:42% 1fr;gap:12px;padding:12px}.figure-hero-v25 h1{font-size:22px}}
.result-card img{filter:none!important;mix-blend-mode:normal!important;opacity:1!important;color-scheme:light;background:#fff;object-fit:contain}.processing-card{will-change:transform,opacity}.result-sheet{content-visibility:auto;contain-intrinsic-size:800px}
.crop-page-v27{position:fixed;inset:0 0 82px;background:#071d19;color:#fff;z-index:20;display:grid;grid-template-rows:64px minmax(0,1fr) 94px;overflow:hidden}.crop-page-v27 header{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;padding:0 12px;background:#082820}.crop-page-v27 header h1{font-size:17px;text-align:center;margin:0}.crop-page-v27 header button{width:44px;height:44px;border:0;border-radius:50%;background:#ffffff12;color:#fff;font-size:36px}.crop-stage-v27{position:relative;overflow:hidden;touch-action:none;background:#020706}.crop-stage-v27>img{position:absolute;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}.crop-box-v27{position:absolute;box-sizing:border-box;border:2px solid #fff;border-radius:18px;box-shadow:0 0 0 9999px #0009;touch-action:none;cursor:move}.crop-box-v27:before,.crop-box-v27:after{content:"";position:absolute;pointer-events:none}.crop-box-v27:before{left:33.33%;top:0;bottom:0;border-left:1px solid #ffffff45;box-shadow:calc(var(--crop-w,100px)/3) 0 #ffffff45}.crop-box-v27:after{top:33.33%;left:0;right:0;border-top:1px solid #ffffff45}.crop-box-v27>span{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);white-space:nowrap;border-radius:999px;background:#0009;padding:6px 10px;font-size:12px;pointer-events:none}.crop-box-v27 i{position:absolute;width:28px;height:28px}.crop-box-v27 i:after{content:"";position:absolute;width:18px;height:18px;border-color:#dfff67;border-style:solid}.crop-box-v27 i[data-handle=nw]{left:-10px;top:-10px}.crop-box-v27 i[data-handle=ne]{right:-10px;top:-10px}.crop-box-v27 i[data-handle=sw]{left:-10px;bottom:-10px}.crop-box-v27 i[data-handle=se]{right:-10px;bottom:-10px}.crop-box-v27 i[data-handle=nw]:after{right:0;bottom:0;border-width:3px 0 0 3px;border-radius:8px 0 0}.crop-box-v27 i[data-handle=ne]:after{left:0;bottom:0;border-width:3px 3px 0 0;border-radius:0 8px 0 0}.crop-box-v27 i[data-handle=sw]:after{right:0;top:0;border-width:0 0 3px 3px;border-radius:0 0 0 8px}.crop-box-v27 i[data-handle=se]:after{left:0;top:0;border-width:0 3px 3px 0;border-radius:0 0 8px}.crop-actions-v27{display:grid;grid-template-columns:1fr 1.65fr;gap:10px;padding:14px 16px 18px;background:#082820}.crop-actions-v27 button{border-radius:17px;border:1px solid #ffffff35;font-weight:900;font-size:14px}.crop-full-v27{background:#ffffff12;color:#fff}.crop-search-v27{border-color:#dfff67!important;background:#dfff67;color:#082820}.crop-search-v27:disabled{opacity:.65}
.catalog-image-missing[hidden],.catalog-img-wrap [hidden]{display:none!important}.figure-hero-v25 .catalog-img-wrap{position:relative;overflow:hidden}.figure-hero-v25 .catalog-img-wrap>img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important;background:#fff}

/* Theme cards use a real catalog image with a readable title overlay. */
.theme-wordmark{position:relative!important;isolation:isolate;height:58px!important;padding:0!important;background:var(--brand)!important;background-image:linear-gradient(90deg,rgba(3,24,20,.9),rgba(3,24,20,.42)),var(--theme-image)!important;background-size:cover!important;background-position:center 30%!important;justify-content:flex-start!important;border-radius:13px!important}
.theme-wordmark:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px #ffffff28;z-index:-1}.theme-wordmark b{font-size:13px!important;line-height:1.1!important;text-align:left!important;padding:8px 9px;text-shadow:0 1px 4px #000;max-width:100%;overflow-wrap:anywhere}.catalog-theme-grid-v28 button{height:86px!important;padding:5px!important}.catalog-theme-grid-v28 .theme-wordmark{height:61px!important}.catalog-theme-grid-v28 small{margin:3px 5px!important}.themes-strip-v25 button{height:86px!important}.themes-strip-v25 .theme-wordmark{height:59px!important}

/* BrickLink action is a separate full-width row and cannot overlap sales data. */
.price-v25{overflow:hidden!important}.price-v25 .sales-count{display:block!important;clear:both!important;margin:9px 0 0!important}.price-v25 .bricklink-link{position:static!important;display:flex!important;clear:both!important;width:100%!important;min-height:54px!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;margin:22px 0 2px!important;transform:none!important}.price-v25 .bricklink-link:before{flex:0 0 auto}.bricklink-bottom{position:static!important;clear:both!important;width:100%!important;box-sizing:border-box!important}
