:root{font-family:Inter,"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;color:#282b29;background:#f8f7f3;font-synthesis:none;--olive:#69784b;--line:#e1e2da;--soft:#eeeee8}*{box-sizing:border-box}body{margin:0}button,select{font:inherit;color:inherit}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.42}button:focus-visible,a:focus-visible,select:focus-visible,.stage:focus-visible{outline:3px solid #96a76d;outline-offset:3px}[hidden]{display:none!important}.app{max-width:1060px;margin:auto;padding:0 18px}.header{height:65px;display:flex;align-items:center;justify-content:space-between}.brand{text-decoration:none;color:inherit;font-size:20px;font-weight:750;letter-spacing:.15em}.brand-dot{display:inline-block;width:6px;height:6px;margin:0 0 2px 6px;background:var(--olive);border-radius:50%}.edition{font-size:9px;letter-spacing:.13em;color:#818575}.saved-panel{position:sticky;top:0;z-index:6;background:rgba(248,247,243,.97);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 0 12px;backdrop-filter:blur(12px)}.shelf-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.shelf-heading h1{font-size:13px;margin:0;font-weight:650}.shelf-heading h1 span{color:var(--olive);font-weight:500;margin-left:6px}.text-button{font-size:11px;background:none;padding:8px 3px;color:#68705c}.saved-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.saved-slot{height:58px;border:1px solid var(--line);border-radius:10px;background:#fff;position:relative;overflow:hidden;display:flex;align-items:center}.saved-empty{width:100%;height:100%;background:transparent;color:#a6a99c;font-size:11px;text-align:center;display:grid;place-content:center;gap:2px}.saved-empty b{font-size:17px;font-weight:400}.saved-open{width:100%;height:100%;display:flex;align-items:center;gap:2px;padding:3px 21px 3px 1px;background:none;text-align:left}.saved-open img{height:51px;width:35px;object-fit:cover;object-position:50% 19%;background:#f1f0eb}.saved-label{min-width:0;display:flex;flex-direction:column;gap:2px}.saved-label small{font-size:8px;color:#74786b;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.saved-label strong{font-size:10px;white-space:nowrap}.saved-remove{position:absolute;right:0;top:0;width:26px;height:31px;background:transparent;font-size:19px;color:#7d8276}.view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:3px;background:#eaece4;border-radius:11px;margin:15px 0}.view-tabs button{background:transparent;border-radius:8px;min-height:40px;font-size:12px;font-weight:650}.view-tabs button[aria-pressed=true]{background:var(--olive);color:white;box-shadow:0 2px 4px #0000000c}.view-tabs span{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:4px;border-radius:50%;font-size:10px;background:#ffffff55}.viewer-title{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:1px 0 10px}.eyebrow{font-size:8px;letter-spacing:.12em;color:#858b78}.viewer-title h2{font-size:14px;margin:3px 0 0;font-weight:600}.save-button{background:#e8eddc;color:#4f6333;border:1px solid #d8e2c5;border-radius:20px;font-size:11px;padding:9px 12px;white-space:nowrap;min-height:38px}.stage{position:relative;background:radial-gradient(ellipse at 48% 38%,#faf9f4,#e9eae2);border:1px solid #e2e4db;border-radius:15px;height:clamp(320px,47svh,500px);overflow:hidden;touch-action:none;user-select:none;cursor:ew-resize}.panes{height:100%;width:100%;display:grid;grid-template-columns:1fr}.pane{height:100%;position:relative;overflow:hidden;min-width:0}.pane+.pane{border-left:1px solid #d6d9cd}.pane img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;transform-origin:center}.pane-label{display:none;position:absolute;top:12px;left:3px;right:3px;text-align:center;z-index:2;font-size:10px;font-weight:650;background:#f8f7f3d6;border-radius:6px;width:fit-content;max-width:95%;margin:auto;padding:4px 5px}.compare .pane img{inset:auto;top:8%;left:50%;height:88%;width:auto;max-width:none;transform:translateX(-50%)}.compare .pane-label{display:block}.loading{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);background:#fffffff0;border-radius:20px;padding:8px 14px;font-size:11px;pointer-events:none}.viewer-error{position:absolute;inset:0;background:#f4f4eded;display:grid;place-content:center;text-align:center;font-size:12px}.viewer-error button,.catalog-error button{background:var(--olive);color:white;border-radius:6px;padding:10px}.viewer-caption{min-height:37px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:10px;color:#7b816f}.viewer-caption #syncHint{font-size:9px;color:var(--olive);white-space:nowrap}.catalog{padding-top:21px}.catalog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.catalog-heading h2{font-size:18px;margin:0}.catalog-heading>span{font-size:11px;color:#8b9080}.filter-row{display:flex;gap:6px}.filter-row button{min-height:36px;background:var(--soft);padding:8px 13px;font-size:11px;border-radius:20px;white-space:nowrap}.filter-row button[aria-pressed=true]{background:var(--olive);color:#fff}.family-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding-bottom:13px;border-bottom:1px solid var(--line)}.family-filters button{padding:8px 2px;font-size:10px}.size-and-sort{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}.size-filters{flex:1}.size-filters button{flex:1;min-width:35px;padding:8px 6px}.sort-label{display:block}.sort-label select{border:1px solid var(--line);background:#fff;border-radius:8px;min-height:36px;font-size:10px;padding:7px 23px 7px 9px;max-width:155px}.catalog-note{font-size:9px;color:#8b8f81;margin:7px 0 11px}.variant-filters{margin-bottom:13px}.variant-filters button{font-size:10px;min-height:31px;padding:6px 14px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.product-card{min-width:0;position:relative;background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden}.product-card.is-current{border-color:var(--olive);box-shadow:0 0 0 1px var(--olive)}.product-open{width:100%;padding:0;background:none;text-align:left;display:block}.product-photo{height:140px;position:relative;overflow:hidden;background:#eeeee8}.product-photo img{height:100%;width:100%;object-fit:contain}.product-name{padding:8px 7px 9px;display:flex;flex-direction:column;gap:3px}.product-name small{font-size:9px;color:#838876}.product-name strong{font-size:12px;font-weight:600}.product-add{position:absolute;right:6px;top:6px;width:31px;height:31px;border-radius:50%;background:#ffffffed;font-size:20px;color:#4c593c;box-shadow:0 1px 4px #0000000b}.product-add.is-saved{background:var(--olive);color:#fff;font-size:15px}.product-badge{position:absolute;left:6px;top:8px;font-size:8px;color:var(--olive);background:#f9fbf4d9;border-radius:4px;padding:3px 4px;pointer-events:none}.empty-results{grid-column:1/-1;color:#777e6b;text-align:center;font-size:12px;padding:30px 0}footer{display:flex;justify-content:space-between;padding:28px 0 24px;margin-top:24px;border-top:1px solid var(--line);font-size:9px;letter-spacing:.1em;color:#969b89}.toast{position:fixed;z-index:20;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:90vw;border-radius:12px;background:#2f382bf2;color:#fff;padding:13px 18px;font-size:12px;box-shadow:0 3px 12px #0002;text-align:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.catalog-error{text-align:center;padding:25px;font-size:12px}@media(min-width:700px){.app{padding:0 36px}.header{height:85px}.brand{font-size:25px}.saved-panel{padding:15px 0}.saved-slot{height:70px}.saved-label strong{font-size:13px}.saved-label small{font-size:11px}.saved-open img{height:62px;width:48px}.saved-remove{height:40px;width:36px}.saved-slots{gap:12px}.view-tabs{max-width:430px;margin:22px auto}.viewer-title h2{font-size:20px}.viewer-title{padding-bottom:15px}.stage{height:530px}.viewer-caption{font-size:12px}.pane-label{font-size:13px}.catalog-heading h2{font-size:23px}.family-filters{max-width:650px}.family-filters button{font-size:13px}.size-and-sort{flex-wrap:nowrap}.size-filters{max-width:480px}.size-filters button{font-size:13px}.sort-label select{font-size:12px;max-width:190px}.product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.product-photo{height:230px}.product-name{padding:12px}.product-name strong{font-size:14px}.product-name small{font-size:11px}.compare .pane-label{top:15px}}
/* A single shared chest window for every thumbnail; source frames stay intact. */
.viewer-title{flex-wrap:wrap}.viewer-actions{display:flex;align-items:center;gap:6px}.background-button{min-height:38px;border:1px solid #d6d9cf;border-radius:20px;background:#fff;padding:8px 12px;font-size:11px;white-space:nowrap}.background-button[aria-pressed=true]{background:#262b2d;color:#fff;border-color:#262b2d}.product-photo{height:auto;aspect-ratio:1.25}.product-photo img{position:absolute;inset:auto;left:50%;top:50%;width:256%;height:auto;max-width:none;object-fit:initial;transform:translate(-50%,-33.48%)}.saved-thumb{position:relative;display:block;width:35px;height:43px;flex-shrink:0;overflow:hidden;background:#eeeee8;border-radius:4px}.saved-open .saved-thumb img{position:absolute;inset:auto;left:50%;top:50%;width:310%;height:auto;max-width:none;object-fit:initial;transform:translate(-50%,-33.48%);background:none}[data-image-background=dark] .stage{background:radial-gradient(ellipse at 50% 35%,#303537,#101315);border-color:#272d2f}[data-image-background=dark] .product-photo,[data-image-background=dark] .saved-thumb{background:#171b1d}[data-image-background=dark] .pane+.pane{border-left-color:#414749}[data-image-background=dark] .pane-label{background:#242a2ce8;color:#f4f5ef}@media(min-width:700px){.saved-thumb{width:48px;height:56px}.product-photo{height:auto}}
/* Dark page theme. The image-background control remains independent. */
:root{color-scheme:dark;color:#edf0e9;background:#101214;--olive:#536b38;--line:#343b3d;--soft:#252b2d}
body{background:#101214}.saved-panel{background:rgba(16,18,20,.97)}.edition,.eyebrow{color:#adb6a1}.brand-dot{background:#b4c98e}.shelf-heading h1 span{color:#b9ce99}.text-button{color:#c0d2a9}.saved-slot{background:#1b2022}.saved-empty{color:#a5ae9d}.saved-label small{color:#b3bcaa}.saved-remove{color:#c1c9ba}.view-tabs{background:#242a2c}.view-tabs button{color:#d4dacd}.view-tabs button[aria-pressed=true]{color:#fff}.save-button{background:#273622;color:#d5e8bc;border-color:#4b603c}.background-button{background:#252c2e;color:#e5eadd;border-color:#465052}.background-button[aria-pressed=true]{background:#30383a;border-color:#5d696c;color:#fff}.viewer-caption{color:#b3bba9}.viewer-caption #syncHint{color:#c0d6a3}.pane-label{background:#242b2ce8;color:#f0f4e8}.loading{background:#252d30f5;color:#eef3e8}.viewer-error{background:#151b1ef5;color:#eef2e7}.catalog-heading>span{color:#b1baa6}.sort-label select{background:#202729;color:#edf1e8;border-color:#465052}.catalog-note{color:#acb6a0}.product-card{background:#1a2022}.product-card.is-current{border-color:#b6ce90;box-shadow:0 0 0 1px #b6ce90}.product-name small{color:#b1bba6}.product-add{background:#e4eadfee;color:#34432b}.product-add.is-saved{background:#536b38;color:#fff}.product-badge{background:#23341eea;color:#d2e9b1}.empty-results{color:#b8c2ab}footer{color:#a5af98}.toast{background:#e2ebd7;color:#26321e;box-shadow:0 4px 18px #0008}

/* Original brand artwork, rendered for the dark header. */
.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand-logo{display:block;object-fit:contain;width:38px;height:52px;flex-shrink:0}.edition{white-space:nowrap}@media(max-width:360px){.brand{font-size:17px;gap:7px}.edition{font-size:8px;letter-spacing:.06em}}@media(min-width:700px){.brand-logo{width:48px;height:66px}.brand{gap:14px}}
.catalog-link{color:#c4cdbb;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;padding:0 4px;letter-spacing:.04em}.catalog-link:hover{color:white;text-decoration:underline}
/* Confirmation precedes all product data and image loading. */
.age-gate{min-height:100svh;display:grid;place-items:center;padding:32px 18px;background:radial-gradient(ellipse at 50% 0%,#20271e,#101214 65%)}
.age-gate-card{width:100%;max-width:620px;padding:32px;border:1px solid #343d35;border-radius:22px;background:#171c1cf2;box-shadow:0 20px 70px #0003}
.age-gate-brand{text-align:center;padding-bottom:26px;margin-bottom:26px;border-bottom:1px solid #343b3d}.age-gate-brand img{display:block;width:76px;height:auto;margin:0 auto 18px}.age-gate-brand p{margin:0;font-size:25px;font-weight:700;letter-spacing:.15em}.age-gate-brand p span{display:inline-block;vertical-align:middle;font-size:8px;letter-spacing:.08em;font-weight:500;color:#c4dca1;border:1px solid #566548;border-radius:4px;padding:3px 5px;margin-left:4px}
.age-gate-kicker{font-size:10px;color:#b4c98e;letter-spacing:.16em;margin:0 0 12px}.age-gate h1{font-size:19px;line-height:1.7;margin:0 0 18px;font-weight:650;color:#edf0e9}.age-gate-copy{font-size:13px;line-height:1.95;color:#bdc5b8}.age-gate-copy p{margin:0 0 14px}.age-gate-question{font-size:17px;font-weight:600;margin:26px 0 16px}.age-gate-actions{display:grid;gap:12px}.age-confirm,.age-decline{display:flex;align-items:center;justify-content:center;text-align:center;min-height:56px;width:100%;padding:15px 18px;font-size:13px;line-height:1.6;border-radius:12px;text-decoration:none;letter-spacing:0}.age-confirm{background:#c4dca1;color:#1b2912;font-weight:650;border:1px solid #d1e7af}.age-confirm:hover{background:#d9ecbe}.age-decline{background:#22292a;border:1px solid #465052;color:#d6ddcf}.age-decline:hover{background:#2d3637}.age-gate :focus-visible{outline:3px solid #b4c98e;outline-offset:4px}
.custom-parts-notice{margin-top:38px;padding:22px 0 0;border-top:1px solid #343b3d;color:#acb6a0;font-size:11px;line-height:1.95}.custom-parts-notice h2{font-size:13px;color:#d3ddc8;font-weight:600;margin:0 0 16px;line-height:1.8}.custom-parts-notice p{margin:0 0 12px}
@media(max-width:480px){.age-gate{padding:20px 14px}.age-gate-card{padding:26px 20px;border-radius:18px}.age-gate-brand{padding-bottom:22px;margin-bottom:22px}.age-gate-brand img{width:64px}.age-gate-brand p{font-size:21px}.age-gate h1{font-size:17px}.age-gate-copy{font-size:12px}.age-confirm,.age-decline{font-size:12px;padding:14px 12px}}
/* Contextual compatibility entry, with an accessible mobile sheet. */
.viewer-product-heading{min-width:0;flex:1}.product-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}.product-title-line h2{margin:3px 0}.compatibility-button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:7px 11px;border:1px solid #526445;border-radius:9px;background:#263321;color:#d5e8bc;font-size:11px;font-weight:500;white-space:nowrap}.compatibility-button:hover{background:#36492c}.compatibility-button span{font-size:16px}.compatibility-dialog{width:min(620px,calc(100% - 32px));max-height:85svh;padding:0;border:1px solid #465044;border-radius:20px;background:#171d1e;color:#edf0e9;box-shadow:0 24px 90px #0008;overflow:auto;overscroll-behavior:contain}.compatibility-dialog::backdrop{background:#050909ba;backdrop-filter:blur(4px)}body:has(.compatibility-dialog[open]){overflow:hidden}.compatibility-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:1;background:#171d1ef5;border-bottom:1px solid #343b3d;padding:20px 22px;backdrop-filter:blur(12px)}.compatibility-dialog-header h2{font-size:22px;margin:5px 0 0;font-weight:600}.compatibility-close{width:44px;height:44px;flex-shrink:0;font-size:25px;border-radius:50%;background:#293132;color:#edf0e9}.compatibility-dialog-body{padding:4px 22px 22px}.compatibility-dialog-body>p{font-size:12px;line-height:1.9;color:#b3bda9}.compatibility-filters{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.compatibility-filters button{padding:9px 12px;min-height:40px;border-radius:20px;background:#282f30;color:#dfe6d7;font-size:11px}.compatibility-filters button[aria-pressed=true]{background:#536b38;color:white}.compatibility-excluded{padding:11px 0;border-bottom:1px solid #343b3d}.compatibility-results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 8px}.compatibility-results-heading h3{font-size:13px;font-weight:600;margin:0}.compatibility-results-heading>span{font-size:11px;color:#b4c98e;white-space:nowrap}.compatibility-products{list-style:none;padding:0;margin:0}.compatibility-products li{display:flex;flex-direction:column;gap:5px;padding:14px 0;border-bottom:1px solid #303839;font-size:13px;line-height:1.6}.compatibility-products small{font-size:10px;color:#a9b79b}.compatibility-retry{padding:10px 16px;border-radius:8px;background:#536b38;color:white}.compatibility-dialog-body .compatibility-footnote{margin:22px 0 0;font-size:10px;color:#9da991}
@media(max-width:600px){.viewer-product-heading{flex-basis:100%}.product-title-line{justify-content:space-between;gap:6px}.compatibility-button{font-size:10px;padding:7px 9px;min-height:38px}.compatibility-dialog{width:100%;max-width:none;max-height:88svh;margin:auto 0 0;border-radius:20px 20px 0 0;border-bottom:0}.compatibility-dialog-header{padding:18px}.compatibility-dialog-body{padding:4px 18px 24px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.compatibility-dialog-header h2{font-size:20px}}
.compatibility-skin-heading{margin:18px 0 10px;color:#acb6a0;font-size:11px}.compatibility-skin-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:3px 0}.compatibility-skin-filters button{display:inline-flex;justify-content:center;align-items:center;min-width:40px;min-height:40px;border-radius:50%;font-size:12px;font-weight:650;color:#15171c;border:2px solid transparent;background:#282f30}.compatibility-skin-filters button[data-color=all]{border-radius:20px;color:#dfe6d7;font-weight:500;font-size:11px;padding:0 13px}.compatibility-skin-filters [data-color=A]{background:#ffca99}.compatibility-skin-filters [data-color=B]{background:#ff9193}.compatibility-skin-filters [data-color=C]{background:#ffd2ca}.compatibility-skin-filters [data-color=D]{background:#de8962}.compatibility-skin-filters [data-color=E]{background:#eb561b}.compatibility-skin-filters button[aria-pressed=true]{border-color:#edf0e9;box-shadow:0 0 0 2px #171d1e,0 0 0 4px #b4c98e}.compatibility-skin-filters button[data-color=all][aria-pressed=true]{background:#536b38}
.compatibility-products li{flex-direction:row;align-items:center;gap:12px;min-height:90px}.compatibility-thumb{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:62px;height:72px;overflow:hidden;border:1px solid #343b3d;border-radius:9px;background:#f5f5f2;color:#68735f;font-size:9px}.compatibility-thumb img{display:block;width:100%;height:100%;object-fit:contain;padding:3px}.compatibility-product-info{min-width:0;display:flex;flex-direction:column;gap:8px}.compatibility-product-name{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.compatibility-product-meta{display:flex;flex-wrap:wrap;gap:5px 10px;align-items:center}.compatibility-product-meta small{font-size:9px}.compatibility-skin-label{display:inline-flex;align-items:center;gap:5px}.compatibility-skin-label:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#a9b79b}.compatibility-skin-label[data-color=A]:before{background:#ffca99}.compatibility-skin-label[data-color=B]:before{background:#ff9193}.compatibility-skin-label[data-color=C]:before{background:#ffd2ca}.compatibility-skin-label[data-color=D]:before{background:#de8962}.compatibility-skin-label[data-color=E]:before{background:#eb561b}.compatibility-products .compatibility-empty{font-size:12px;color:#acb6a0;line-height:1.9;min-height:90px}
.sample-body-note{margin:0 0 12px;border:1px solid #343e36;border-radius:10px;background:#19211c;color:#bac6af}.sample-body-note summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:11px 13px;cursor:pointer;list-style:none;font-size:11px;line-height:1.6}.sample-body-note summary::-webkit-details-marker{display:none}.sample-body-note summary:focus-visible{outline:2px solid #b4c98e;outline-offset:3px;border-radius:9px}.sample-body-more{display:inline-flex;align-items:center;gap:8px;color:#d4e5bb;font-size:10px;white-space:nowrap}.sample-body-more>span{font-size:16px;transition:transform .15s}.sample-body-note[open] .sample-body-more>span{transform:rotate(45deg)}.sample-body-description{padding:0 13px 12px;border-top:1px solid #343e36;font-size:11px;line-height:1.9;color:#b1bda6}.sample-body-description p{margin:12px 0}.sample-body-description .sample-body-label{font-size:10px;color:#d0ddc2;margin-bottom:8px}.sample-body-blocks{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0}.sample-body-blocks li{border:1px solid #415239;background:#263321;color:#d5e8bc;padding:5px 9px;border-radius:16px;font-size:10px}@media(min-width:700px){.sample-body-note summary{font-size:12px}.sample-body-description{font-size:12px;padding:0 16px 14px}}
.sample-body-caption{margin:0 0 12px;padding:10px 12px;border-left:2px solid #6b8154;border-radius:0 7px 7px 0;background:#19211c;color:#bac6af;font-size:11px;line-height:1.8;overflow-wrap:anywhere}
/* Shared mobile comparison shelf and view tabs. */
.comparison-toolbar{position:sticky;top:0;z-index:8;background:#101214f5;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding-top:env(safe-area-inset-top);border-bottom:1px solid #343b3d;margin-bottom:14px}.comparison-toolbar .saved-panel{position:static;border-bottom:0;background:transparent;backdrop-filter:none}.comparison-toolbar .view-tabs{margin:7px auto 12px}.saved-empty{touch-action:manipulation;border-radius:9px}.saved-empty:disabled{opacity:.45}.saved-open,.saved-remove,.product-open,.product-add,.view-tabs button{touch-action:manipulation}.saved-remove{min-width:30px;min-height:36px}.zoom-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:10px}.zoom-controls button{min-width:44px;min-height:44px;background:#252d2e;color:#e1ead8;border:1px solid #435040;border-radius:9px;padding:9px 11px;font-size:11px;touch-action:manipulation}.zoom-controls #zoomIn,.zoom-controls #zoomOut{font-size:20px;padding:5px}.zoom-controls #chestZoom{background:#2d4025;border-color:#587346}.zoom-controls output{font-size:11px;color:#c1cfb2;min-width:40px;text-align:center;font-variant-numeric:tabular-nums}.viewer-caption{flex-wrap:wrap;gap:4px 12px;padding:8px 0;line-height:1.6}.compare .pane img{will-change:transform}.stage{overscroll-behavior:contain;-webkit-user-select:none;-webkit-touch-callout:none}.pane-label{pointer-events:none}
@media(max-width:699px){.comparison-toolbar .saved-panel{padding:7px 0 5px}.comparison-toolbar .shelf-heading h1{font-size:12px}.comparison-toolbar .text-button{min-height:36px;padding:5px 3px}.comparison-toolbar .view-tabs{margin:5px 0 8px}.comparison-toolbar .view-tabs button{min-height:40px}.comparison-toolbar .saved-slots{gap:6px}.comparison-toolbar .saved-slot{height:56px}.saved-empty span{font-size:9px}.saved-empty b{font-size:20px}.zoom-controls{gap:5px}.zoom-controls button{padding:9px 8px}.product-add{width:36px;height:36px}.product-badge{max-width:calc(100% - 48px)}.stage{height:clamp(280px,44svh,430px)}}
@media(max-height:600px) and (orientation:landscape){.comparison-toolbar{position:relative}.stage{height:330px}}
@media(max-width:699px){.zoom-controls #zoomOut,.zoom-controls #zoomLevel,.zoom-controls #zoomIn{display:none}}
/* Product-only view keeps gestures and a safe-area-aware exit. */
.hide-ui-button{min-height:38px;padding:8px 12px;border:1px solid #465052;border-radius:20px;background:#252c2e;color:#e5eadd;font-size:11px;white-space:nowrap;touch-action:manipulation}.hide-ui-button:hover{background:#354034}.restore-ui-button{position:absolute;z-index:5;top:calc(12px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right));min-width:86px;min-height:44px;padding:10px 13px;border:1px solid #ffffff42;border-radius:22px;background:#192122d9;color:#edf0e9;font-size:12px;box-shadow:0 3px 16px #0003;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);touch-action:manipulation}
body.ui-hidden{overflow:hidden;overscroll-behavior:none}body.ui-hidden #studioApp{max-width:none;padding:0;margin:0}body.ui-hidden #studioApp> :not(.viewer-section){display:none!important}body.ui-hidden .viewer-section> :not(.stage){display:none!important}body.ui-hidden .stage{position:fixed;inset:0;z-index:20;width:100%;height:100vh;height:100dvh;min-height:0;max-height:none;margin:0;border:0;border-radius:0}body.ui-hidden .pane-label{display:none}body.ui-hidden #toast,body.ui-hidden #announcement{display:none}
/* Full-view pill controls use the existing charcoal and olive palette. */
.hide-ui-button,.restore-ui-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:999px;padding:9px 15px;font-size:12px;font-weight:500;letter-spacing:.025em;line-height:1.4;white-space:nowrap}.hide-ui-button{background:#c4dca1;border-color:#c4dca1;color:#1b2912}.hide-ui-button:hover{background:#d9ecbe;border-color:#d9ecbe;color:#17220f}.restore-ui-button{min-height:44px;background:#192122e8;border-color:#69775e;color:#e1edcf}.restore-ui-button:hover{background:#2b3826;border-color:#a9c484}.fullscreen-icon{display:block;width:16px;height:16px;flex-shrink:0}
/* Mobile summary shares the existing saved-product state and actions. */
.comparison-compact-header{display:none}.comparison-toolbar{position:sticky;overflow-anchor:none}
@media(max-width:699px){
 .comparison-toolbar{border:1px solid #343d36;border-radius:12px;margin-bottom:14px;box-shadow:0 4px 16px #0002;padding-top:env(safe-area-inset-top)}
 .comparison-compact-header{display:flex;align-items:center;gap:8px;padding:6px 8px}
 .comparison-toggle{flex:1;min-width:0;min-height:58px;padding:3px 2px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;background:transparent;color:#edf0e9;text-align:left;touch-action:manipulation;border-radius:7px}
 .comparison-compact-title{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;line-height:1.4}.comparison-compact-title>span{color:#c2d69e;font-weight:500;font-variant-numeric:tabular-nums}.comparison-chevron{width:16px;height:16px;color:#b5c4a7;flex-shrink:0}.comparison-toolbar[data-expanded=true] .comparison-chevron{transform:rotate(180deg)}
 .compact-saved-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;max-width:240px}
 .compact-saved-item{min-width:0;display:flex;align-items:center;gap:4px;height:30px;border:1px solid #3a433b;background:#202725;border-radius:5px;padding:0 3px;overflow:hidden}
 .compact-saved-thumb{width:20px;height:28px;flex-shrink:0;position:relative;overflow:hidden;border-radius:3px;background:#171b1d}.compact-saved-thumb img{position:absolute;left:50%;top:50%;width:310%;height:auto;max-width:none;transform:translate(-50%,-33.48%)}
 .compact-saved-number{font-size:9px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:0}.compact-saved-item.is-empty{color:#7b8874;font-size:16px;justify-content:center;border-style:dashed;background:transparent}
 .compact-compare{min-height:44px;min-width:88px;flex-shrink:0;padding:9px 10px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:9px;background:#536b38;color:white;font-size:11px;font-weight:600;touch-action:manipulation}.compact-compare>span{display:grid;place-items:center;min-width:18px;height:18px;border-radius:50%;background:#e7f1d7;color:#344728;font-size:10px}.compact-compare:disabled{background:#29332a;opacity:.55}
 .comparison-toolbar[data-expanded=false] .comparison-body{display:none}
 .comparison-toolbar[data-expanded=true] .comparison-toggle{min-height:44px}.comparison-toolbar[data-expanded=true] .compact-saved-products{display:none}
 .comparison-body{padding:0 8px;max-height:calc(55svh - 60px);overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .comparison-toolbar .saved-panel{padding:0 0 4px;border-top:1px solid #343b3d}.comparison-toolbar .shelf-heading{margin-bottom:4px;justify-content:flex-end}.comparison-toolbar .shelf-heading h1{display:none}.comparison-toolbar .shelf-heading #clearSaved{min-height:44px}
 .comparison-toolbar .saved-slot{height:64px}.comparison-toolbar .saved-open{padding-right:27px}.comparison-toolbar .saved-remove{min-width:32px;min-height:44px;width:32px;height:44px;font-size:21px}.comparison-toolbar .saved-thumb{width:28px;height:43px}.comparison-toolbar .saved-label strong{font-size:10px}.comparison-toolbar .saved-label small{font-size:8px}
 .comparison-toolbar .view-tabs{margin:5px 0 8px}.comparison-toolbar .view-tabs button{min-height:44px}
}
@media(max-width:359px){.comparison-compact-header{padding:5px 6px;gap:5px}.compact-compare{min-width:78px;padding:8px 7px;font-size:10px;gap:4px}.comparison-compact-title{font-size:10px;gap:6px}.compact-saved-products{gap:3px}.compact-saved-item{gap:2px;padding:0 2px}.compact-saved-thumb{width:16px}.compact-saved-number{font-size:8px}.comparison-toolbar .saved-open{padding-right:25px}.comparison-toolbar .saved-thumb{width:22px}.comparison-toolbar .saved-remove{min-width:30px;width:30px}.comparison-toolbar .saved-label strong{font-size:9px}}
@media(max-width:699px){.comparison-toolbar[data-expanded=true] .compact-compare{display:none}}
/* Compact view presets reuse the synchronized zoom and pan state. */
.zoom-controls{gap:6px;margin-top:7px}.view-range{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;white-space:nowrap}.view-range>span{color:#acb6a0;font-size:10px;font-weight:500}.view-range-options{display:flex;align-items:center;gap:2px;background:#252c2e;border:1px solid #3c463d;border-radius:10px;padding:3px}.zoom-controls .view-range-options button{min-height:36px;min-width:66px;margin:0;padding:8px 12px;border:0;border-radius:7px;background:transparent;color:#bdc8b3;font-size:11px;font-weight:500;line-height:1.5;box-shadow:none;touch-action:manipulation}.zoom-controls .view-range-options button[aria-pressed=true]{background:#536b38;color:#fff}.zoom-controls .view-range-options button:focus-visible{outline:2px solid #bed69d;outline-offset:1px}.zoom-controls .view-range-options #chestZoom{background:transparent;border:0}.zoom-controls .view-range-options #chestZoom[aria-pressed=true]{background:#536b38}.viewer-caption{min-height:0;padding:5px 0 2px;gap:3px 10px}.stage.preset-transition .pane img{transition:transform 260ms cubic-bezier(.22,.61,.36,1)}
@media(max-width:699px){.zoom-controls{flex-wrap:nowrap;margin-top:7px}.view-range{gap:8px}.zoom-controls .view-range-options button{min-width:68px;padding:8px 11px}.viewer-caption{font-size:9px;padding-top:5px}.viewer-caption #syncHint{font-size:9px}}
@media(prefers-reduced-motion:reduce){.stage.preset-transition .pane img{transition:none}}

.family-filters{grid-template-columns:repeat(5,minmax(0,1fr))}.hb-family-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px;max-width:650px}.hb-family-filters button{min-height:38px}@media(max-width:699px){.family-filters{gap:4px}.family-filters button{font-size:10px;padding:8px 1px;letter-spacing:-.04em}}
