body:has(#hub-section:not([hidden])){background:#f7f7f9;color:#111}#hub-section>.hero{position:relative;margin-bottom:24px;padding-right:64px}#hub-section>.hero h1{font-size:40px;margin:0}.wine-top-actions{position:absolute;right:0;top:0}.wine-top-circle{box-sizing:border-box;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;padding:0!important;border:1px solid #e5e5e9!important;border-radius:50%!important;background:#fff!important;color:#7c2633!important;font-size:28px!important;font-weight:300!important;line-height:1!important;display:grid!important;place-items:center!important;text-align:center!important;appearance:none;-webkit-appearance:none}.wine-top-circle:active{transform:scale(.94);background:#f3f3f6!important}.wine-tools{display:flex!important;gap:9px}.wine-search{flex:1!important;height:52px!important;border:0!important;border-radius:16px!important;background:#ededf1!important}.wine-sort-icon{width:52px;height:52px;border:0!important;border-radius:16px!important;background:#ededf1!important}.wine-library-controls{margin:12px 0 20px}.wine-filter-chips{display:flex;gap:4px;padding:4px;border-radius:15px;background:#ededf1;width:max-content}.wine-filter-chips button{padding:7px 11px!important;border:0!important;border-radius:11px!important;background:transparent!important}.wine-filter-chips button.active{background:#fff!important}.wine-kpis,.wine-context{display:none!important}#wine-list{display:grid;gap:12px}.wine-group{padding:0 15px;border:1px solid #ececf0;border-radius:20px;background:#fff}.wine-group-head{width:100%;display:flex;justify-content:space-between;padding:15px 0 12px;border:0!important;background:transparent!important;color:#111!important}.wine-group-tail{display:flex;gap:8px}.wine-group-tail em{padding:3px 7px;border-radius:9px;background:#f0f0f3;font-style:normal}.wine-group-body{border-top:1px solid #eee}.wine-v4-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:start;padding:15px 0;border-bottom:1px solid #eee;cursor:pointer;transition:background .12s}.wine-v4-row:last-child{border-bottom:0}.wine-v4-row:active{background:#f7f7f9}.wine-card-rail{display:flex;flex-direction:column;align-items:center;gap:7px;min-height:78px}.wine-card-rail>b{align-self:stretch;text-align:center;font-size:16px;line-height:1.42;color:#111;font-weight:700}.wine-color-dot{display:block;width:22px;height:22px;border-radius:50%;border:0;box-shadow:none}.wine-color-red{background:#7d2638}.wine-color-white{background:#e4d29b}.wine-color-rose{background:#e9a6aa}.wine-color-spacer{width:22px;height:22px}.wine-verified{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:transparent;color:#26713e;font-size:18px;line-height:1;font-weight:800}.wine-verified-spacer{width:18px;height:18px}.wine-card-copy{min-width:0;padding-top:0}.wine-card-copy>strong{display:block;font-size:16px;line-height:1.42;font-weight:700;overflow-wrap:anywhere}.wine-card-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.critic-badge{padding:4px 6px;border:1px solid #ddd;border-radius:8px;font-size:10px}.wine-grape-pop{display:none!important}.ios-wine-wizard,.ios-picker-sheet{box-sizing:border-box;width:min(620px,100%)!important;height:calc(100dvh - max(12px,env(safe-area-inset-top)))!important;max-width:620px!important;max-height:none!important;margin:auto auto 0!important;padding:0!important;border:0!important;border-radius:32px 32px 0 0!important;background:#f2f2f7!important;overflow:hidden!important;color:#111}.ios-wine-wizard::backdrop,.ios-picker-sheet::backdrop{background:#0004;backdrop-filter:blur(8px)}.ios-wine-wizard article,.ios-picker-sheet article{display:grid;grid-template-rows:auto auto 1fr auto;width:100%;height:100%}.ios-wine-wizard header,.ios-picker-sheet header{display:grid;grid-template-columns:100px 1fr 100px;align-items:center;padding:18px 20px 13px;background:#f2f2f7}.ios-wine-wizard header button,.ios-picker-sheet header button{justify-self:start;border:0;background:#fff;color:#641b27;border-radius:22px;padding:10px 15px;font-size:15px}.ios-wine-wizard header h2,.ios-picker-sheet header h2{margin:0;text-align:center;font-size:18px}.ios-wine-wizard header span{justify-self:end;color:#8e8e93;font-size:13px}.ios-stepbar{height:3px;background:#dedee3}.ios-stepbar i{display:block;height:100%;background:#7c2633;transition:width .25s}.ios-wine-wizard main,.ios-picker-sheet main{min-height:0;padding:18px 20px 28px;overflow:auto;-webkit-overflow-scrolling:touch}.ios-wine-wizard main>h3,.ios-picker-sheet main>h3{margin:12px 8px 9px;color:#8e8e93;font-size:15px}.ios-form-group,.ios-review,.ios-verify,.ios-picker-sheet main>section{overflow:hidden;border-radius:20px;background:#fff}.ios-row{box-sizing:border-box;width:100%;min-height:58px;display:grid!important;grid-template-columns:auto 1fr 14px;align-items:center;gap:12px;padding:0 16px!important;border:0!important;border-bottom:1px solid #e5e5ea!important;background:#fff!important;color:#111!important;text-align:left;font-size:16px!important}.ios-row:last-child{border-bottom:0!important}.ios-row>span{white-space:nowrap}.ios-row>b,.ios-row>input{justify-self:end;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#777;font-size:15px;font-weight:400}.ios-row>b.empty{color:#b5b5ba}.ios-row>i{color:#b7b7bc;font-size:22px;font-style:normal}.ios-row>input{box-sizing:border-box;width:100%;height:56px;padding:0;border:0!important;outline:0!important;background:transparent!important;text-align:right}.ios-row:active{background:#ededf2!important}.ios-review{padding:18px}.ios-review small{color:#7c2633;font-size:10px;font-weight:800;letter-spacing:.1em}.ios-review>b{display:block;margin-top:8px;font-size:17px;line-height:1.4}.ios-verify{margin-top:14px;padding:18px;border:1px solid transparent}.ios-verify>b{font-size:18px}.ios-verify>p{color:#777;line-height:1.45}.ios-verify.ok{border-color:#b7d6bf}.ios-verify.ok>b{color:#26713e}.ios-verify.bad{border-color:#e0b8bd;background:#fffafa}.ios-verify.bad>b{color:#9a2f3d}.ios-verify>div{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid #eee}.ios-wine-wizard footer{display:flex;gap:10px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:#f2f2f7;border-top:1px solid #dddde2}.ios-wine-wizard footer button{height:50px;border:0;border-radius:15px;font-size:16px;font-weight:700}.ios-wine-wizard footer [data-back]{width:31%;background:#fff;color:#333}.ios-wine-wizard footer [data-next]{flex:1;background:#7c2633;color:#fff}.ios-wine-wizard footer [data-next]:disabled{background:#c9c9ce;color:#fff}.ios-search{position:relative;margin:0 20px 4px}.ios-search input{box-sizing:border-box;width:100%;height:48px;padding:0 15px 0 44px;border:0;border-radius:16px;background:#fff;font-size:16px;outline:0}.ios-search i:before{content:'⌕';position:absolute;left:15px;top:8px;font-size:25px;color:#111}.ios-picker-sheet article{grid-template-rows:auto auto 1fr}.ios-picker-sheet main{padding-top:8px}.ios-picker-sheet main>section{margin-bottom:22px}.ios-picker-sheet main>section>button{box-sizing:border-box;width:100%;min-height:57px;display:grid;grid-template-columns:1fr minmax(0,42%);align-items:center;gap:12px;padding:10px 16px;border:0;border-bottom:1px solid #e5e5ea;background:#fff;color:#641b27;text-align:left;font-size:16px}.ios-picker-sheet main>section>button:last-child{border-bottom:0}.ios-picker-sheet main>section>button:active{background:#ededf2}.ios-picker-sheet main>section>button small{text-align:right;color:#a88d91;font-size:12px;line-height:1.25}.wine-detail-dialog{box-sizing:border-box;width:calc(100% - 16px)!important;height:calc(100dvh - 16px)!important;max-width:760px!important;margin:8px auto!important;padding:0!important;border:0!important;border-radius:28px!important;background:#f7f7f9!important;overflow:hidden!important}.wine-detail-dialog article{width:100%;height:100%;overflow:auto}.wine-detail-dialog header{display:flex;justify-content:space-between;padding:calc(14px + env(safe-area-inset-top)) 18px 16px;background:#fff}.detail-actions{display:flex;gap:7px}.detail-actions button{width:38px;height:38px;border:0;border-radius:50%;background:#eeeef1}.detail-scroll{padding:16px}.detail-identity,.detail-section{padding:16px;border-radius:18px;background:#fff}.detail-map,.detail-section{margin-top:13px}.map-placeholder{min-height:140px;display:grid;place-items:center;align-content:center;border-radius:19px;background:linear-gradient(145deg,#e8e4dc,#d9dfd5)}.detail-score{display:flex;justify-content:space-between;padding:11px 0;border-top:1px solid #eee}.wine-edit-dialog{width:min(620px,calc(100vw - 20px));max-height:94dvh;padding:0!important;border:0!important;border-radius:27px!important;background:#f7f7f9!important}.wine-edit-dialog form{display:flex;flex-direction:column;max-height:94dvh}.wine-edit-fields{display:grid!important;gap:14px;padding:18px 20px;overflow:auto}.context-fields,.split-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wine-edit-fields input,.wine-edit-fields select,.wine-edit-fields textarea,.picker-btn{box-sizing:border-box;width:100%!important;min-height:49px!important;padding:0 13px!important;border:1px solid #ddd!important;border-radius:13px!important;background:#fff!important}.wine-ai-info{display:block!important;border:1px solid #ddd!important;border-radius:17px!important;background:#fff!important}.ai-info-list>div,.ai-scores-head,.ai-score-row{display:flex!important;justify-content:space-between;padding:11px 14px}.wine-edit-dialog footer{padding:12px 20px;background:#fff}.wine-edit-dialog footer button{width:100%;min-height:48px;border:0;border-radius:14px;background:#7c2633;color:#fff}@media(max-width:600px){body:has(#hub-section:not([hidden])) main{width:calc(100vw - 30px)!important}.ios-wine-wizard,.ios-picker-sheet{width:100%!important;border-radius:30px 30px 0 0!important}.ios-wine-wizard header,.ios-picker-sheet header{grid-template-columns:88px 1fr 88px;padding-left:16px;padding-right:16px}.ios-wine-wizard main,.ios-picker-sheet main{padding-left:16px;padding-right:16px}.context-fields,.split-fields{grid-template-columns:1fr}.wine-detail-dialog{width:calc(100% - 12px)!important;height:calc(100dvh - 12px)!important;margin:6px auto!important}}/* v5.1 interaction + readable detail */
.wine-group-head{align-items:center;cursor:pointer}.wine-group-tail{align-items:center}.wine-group-tail i{display:grid;place-items:center;width:34px;height:34px;margin:-7px -7px -7px 0;border-radius:50%;background:#f1f1f4;color:#6f6f75;font-size:22px;font-style:normal;font-weight:700;transition:transform .2s,background .15s}.wine-group.collapsed .wine-group-tail i{transform:rotate(-90deg)}.wine-group.collapsed .wine-group-body{display:none}.wine-group.collapsed .wine-group-head{padding-bottom:15px}.wine-detail-dialog,.wine-detail-dialog article,.wine-detail-dialog header,.wine-detail-dialog .detail-scroll,.wine-detail-dialog h2,.wine-detail-dialog h3,.wine-detail-dialog p,.wine-detail-dialog b,.wine-detail-dialog strong{color:#111!important}.wine-detail-dialog header small,.wine-detail-dialog .detail-muted,.wine-detail-dialog section small{color:#777!important}.wine-detail-dialog .detail-actions button{color:#111!important}.wine-detail-dialog .detail-identity small{color:#777!important}.wine-detail-dialog .map-placeholder{color:#fff!important}.wine-detail-dialog .map-placeholder b,.wine-detail-dialog .map-placeholder small{color:#fff!important}
.ios-switch-row{grid-template-columns:1fr auto!important}.ios-switch-row input{width:46px!important;height:28px!important;accent-color:#7c2633}.ios-edit-note{margin:4px 8px 14px;color:#8e8e93;font-size:13px;line-height:1.35}

.wine-title-line{display:flex;align-items:flex-start;gap:7px;min-width:0}.wine-title-line>strong{font-size:16px;line-height:1.42;font-weight:700;overflow-wrap:anywhere}.wine-verified-corner{display:none!important}.wine-verified-dot{flex:0 0 20px;width:20px;height:20px;margin-top:1px;border-radius:50%;display:grid;place-items:center;background:#238548;color:#fff;font-size:13px;font-weight:900;line-height:1;box-shadow:0 0 0 1px rgba(35,133,72,.08)}.wine-personal-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px;min-height:24px}.personal-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:9px;background:#f1f1f4;color:#343438;font-size:11px;font-weight:650}.personal-pill i{font-style:normal;color:#7c2633;font-size:13px}.personal-rating{display:inline-flex;align-items:center;gap:6px;margin-left:auto}.personal-rating>b{display:grid;place-items:center;min-width:30px;height:26px;padding:0 5px;border-radius:9px;background:#7c2633;color:#fff;font-size:12px}.personal-rating>small{color:#8a8a90;font-size:10px;white-space:nowrap}@media(max-width:480px){.wine-personal-meta{gap:5px}.personal-rating{margin-left:0;width:100%;justify-content:flex-start}.wine-title-line>strong{font-size:15.5px}}
/* v4.7 — inline verification + personal status order + travel green filters */
.wine-title-line{display:block}.wine-title-line>strong{display:inline!important}.wine-title-line .wine-verified-dot{display:inline-grid!important;vertical-align:-3px;margin-left:5px;width:19px;height:19px;min-width:19px;border-radius:50%;background:#238548;color:#fff;font-size:12px;line-height:1;place-items:center;box-shadow:none}.wine-personal-meta{justify-content:flex-start}.personal-rating{order:1;margin-left:0!important}.wine-personal-meta .personal-pill{order:2}.wine-filter-chips{background:#e8edea!important;border:1px solid #d8e1dc}.wine-filter-chips button{color:#244c3d!important;font-weight:750!important}.wine-filter-chips button.active{background:#244c3d!important;color:#fff!important;box-shadow:0 1px 2px #0001}.wine-group-head>b{color:#244c3d}.wine-group-tail em{color:#244c3d;font-weight:750}@media(max-width:480px){.personal-rating{width:auto!important}.wine-personal-meta{align-items:center}.wine-title-line .wine-verified-dot{vertical-align:-3px}}

.wine-sort-caption{margin:12px 3px 5px;color:#8e8e93;font-size:12px}.wine-sort-caption b{font-weight:600;color:#777}.wine-library-controls{margin-top:6px!important}

/* v5.3 full-width compact filters */
.wine-library-controls{width:100%;box-sizing:border-box}.wine-filter-chips{box-sizing:border-box;width:100%!important;max-width:none!important;gap:2px!important;padding:3px!important}.wine-filter-chips button{flex:1 1 0;min-width:0;padding:7px 5px!important;white-space:nowrap;font-size:12px!important}.wine-sort-caption{margin-bottom:4px!important}
@media(max-width:390px){.wine-filter-chips button{padding-left:3px!important;padding-right:3px!important;font-size:11.5px!important}}

/* v5.4 card typography and grouping polish */
.wine-card-rail>b{font-size:18px!important;line-height:1.35!important}.wine-title-line>strong{font-size:17px!important;line-height:1.42!important}.wine-title-tail{white-space:nowrap}.wine-title-line .wine-verified-dot{width:17px!important;height:17px!important;min-width:17px!important;margin-left:4px!important;font-size:10px!important;vertical-align:0!important;transform:translateY(-1px)}.wine-group{background:#eef5f0!important;border-color:#dce8e1!important}.wine-group-head{min-height:58px;align-items:center!important;padding:13px 0!important}.wine-group-body{background:#fff;margin:0 -15px;padding:0 15px;border-radius:0 0 20px 20px}.wine-group-tail{align-items:center!important;gap:12px!important}.wine-group-tail em{display:grid!important;place-items:center!important;min-width:30px!important;height:30px!important;padding:0 7px!important;border-radius:999px!important;background:#2c5b49!important;color:#fff!important;font-size:14px!important;line-height:1!important}.wine-group-tail i{display:grid!important;place-items:center!important;width:24px!important;height:30px!important;background:transparent!important;border:0!important;border-radius:0!important;color:#52615a!important;font-size:22px!important;font-style:normal!important;line-height:1!important;transition:transform .18s ease}.wine-group:not(.collapsed) .wine-group-tail i{transform:rotate(180deg)}.wine-group.collapsed .wine-group-tail i{transform:rotate(0deg)}
/* v5.5 alignment polish */
.wine-color-dot{width:30px!important;height:30px!important}.wine-color-spacer{width:30px!important;height:30px!important}.wine-card-rail{gap:8px!important}.wine-title-line .wine-verified-dot{width:15px!important;height:15px!important;min-width:15px!important;margin-left:4px!important;font-size:9px!important;vertical-align:text-bottom!important;transform:none!important}.wine-group-head>b{padding-left:7px!important;font-size:18px!important;line-height:1.35!important;font-weight:750!important}.wine-group-tail i{position:relative!important;width:24px!important;height:30px!important;font-size:0!important;transform:none!important}.wine-group-tail i::before{content:"";position:absolute;left:50%;top:50%;width:9px;height:9px;border-right:2.5px solid #52615a;border-bottom:2.5px solid #52615a;transform:translate(-50%,-65%) rotate(45deg);transition:transform .18s ease}.wine-group:not(.collapsed) .wine-group-tail i::before{transform:translate(-50%,-35%) rotate(225deg)}.wine-group.collapsed .wine-group-tail i::before{transform:translate(-50%,-65%) rotate(45deg)}

/* v5.6b — restore circular verified badge, only lift it slightly */
.wine-title-tail{white-space:nowrap!important}
.wine-title-line .wine-verified-dot{display:inline-grid!important;width:15px!important;height:15px!important;min-width:15px!important;aspect-ratio:1/1!important;border-radius:50%!important;margin-left:4px!important;font-size:9px!important;line-height:1!important;vertical-align:baseline!important;transform:translateY(-2px)!important}
/* v5.8 — group label aligns with vintage rail text */
.wine-group-head>b{padding-left:4px!important}

/* v5.8 wine experience lead */
#hub-section>.hero .muted{color:#7c2633!important}

/* v5.9 wine experience intro */
.wine-experience-copy{color:#7c2633!important}

/* v5.9 wine experience lead */
.wine-experience-copy{color:#7c2633!important}
/* v5.9 Wine Registry map + live sort caption */
.wine-sort-caption{margin:8px 3px 7px!important;color:#8e8e93!important;font-size:12px!important}
.wine-library-map-card{position:relative;overflow:hidden;margin:0 0 10px;border:1px solid #dbe6df;border-radius:20px;background:#edf4ef}
#wine-library-map{height:178px;width:100%;background:#e7efe9}
.wine-map-caption{position:absolute;z-index:500;left:10px;bottom:10px;display:grid;gap:1px;max-width:72%;padding:7px 10px;border:1px solid rgba(255,255,255,.8);border-radius:12px;background:rgba(250,250,248,.9);backdrop-filter:blur(8px);pointer-events:none}
.wine-map-caption b{font-size:12px;color:#315c49}.wine-map-caption span{font-size:9px;line-height:1.25;color:#6f7773}
.wine-library-map-card .leaflet-tile-pane{filter:saturate(.72) brightness(1.05)}
.wine-library-map-card .leaflet-popup-content-wrapper{border-radius:16px;box-shadow:0 8px 30px #24362d26}.wine-library-map-card .leaflet-popup-content{margin:10px 12px}
.wine-map-memo{display:grid;gap:7px;min-width:190px}.wine-map-memo>b{font-size:12px;color:#315c49}.wine-map-memo>div{display:grid;gap:4px;padding-top:7px;border-top:1px solid #e5e7e5}.wine-map-memo strong{font-size:11px;line-height:1.3;color:#171917}.wine-map-memo small{font-size:9px;color:#315c49}.wine-map-memo button{justify-self:start;padding:6px 9px!important;border:0!important;border-radius:9px!important;background:#315c49!important;color:#fff!important;font-size:10px!important}
.wine-library-controls{margin-top:6px!important}
/* Wine geography + registry identity */
.wine-experience-copy{display:grid;gap:4px;margin-top:13px;color:#7c2633!important}.wine-experience-copy b{font-size:11px;line-height:1.2;letter-spacing:.16em;font-weight:800}.wine-experience-copy span{font-size:15px;line-height:1.4;font-weight:520;max-width:460px}.wine-library-map-card{margin-top:9px!important}.wine-library-map-card #wine-library-map{height:214px!important}.wine-registry-code{display:inline-flex;align-items:center;justify-content:center;min-width:35px;height:18px;padding:0 6px;border-radius:999px;background:#2c5b49;color:#fff;font-size:9px;font-weight:800;letter-spacing:.04em;line-height:1}.wine-number-marker{background:transparent!important;border:0!important}.wine-number-marker span{box-sizing:border-box;width:38px;height:38px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#2c5b49;color:#fff;font-size:10px;font-weight:850;letter-spacing:-.02em;box-shadow:0 2px 7px #18342955}.wine-terroir-label{background:transparent!important;border:0!important}.wine-terroir-label span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 5px;border-radius:6px;background:#ffffffc9;color:#25372e;font-size:8px;font-weight:700;text-align:center;box-shadow:0 1px 3px #0001}.map-code-inline{display:inline-block;margin-right:3px;padding:2px 5px;border-radius:999px;background:#2c5b49;color:#fff;font-size:9px;letter-spacing:.03em}.wine-map-caption{display:none!important}
/* v5.10 live wine geography */
.wine-terroir-memo{display:grid;gap:3px;min-width:150px}.wine-terroir-memo b{font-size:13px;color:#1f2924}.wine-terroir-memo span{font-size:11px;color:#6e7772}.wine-terroir-label{display:none!important}
/* v5.9 wine registry sequence + hierarchy */
#hub-section>.hero .eyebrow{color:#7c2633!important;letter-spacing:.14em!important;font-weight:800!important}
#hub-section>.hero .wine-experience-copy{margin-top:7px!important;color:#7c2633!important;font-size:15px!important;line-height:1.4!important}
#hub-section>.hero .wine-experience-copy span{display:block!important}
.wine-library-map-card{margin:0 0 14px!important}
.wine-tools{margin-bottom:0!important}
.wine-sort-caption{margin:6px 3px 8px!important}
.wine-library-controls{margin-top:0!important}

/* v5.8 polish: stable Wine Registry boot, geometry and controls */
.wine-v4-row:focus,.wine-v4-row:focus-visible{outline:none!important;box-shadow:none!important}
.wine-tools .wine-search input{color:#202723!important;-webkit-text-fill-color:#202723!important;caret-color:#7c2633!important}.wine-tools .wine-search input::placeholder{color:#69706c!important;-webkit-text-fill-color:#69706c!important;opacity:1}
/* Catalog scores remain a single, touch-scrollable rail; passport badges keep their normal wrap. */
.wine-v4-row .wine-card-badges{flex-wrap:nowrap!important;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding-bottom:1px}.wine-v4-row .wine-card-badges::-webkit-scrollbar{display:none}.wine-v4-row .critic-open--catalog{flex:0 0 auto;max-width:none}
.ios-wine-wizard button:focus,.ios-wine-wizard button:focus-visible{outline:none!important;box-shadow:none!important}
.wine-library-map-card #wine-library-map{height:268px!important}
.wine-sort-caption{margin:2px 3px 7px!important}
.wine-top-circle{background:#2c5b49!important;color:#fff!important;border-color:#2c5b49!important;font-weight:500!important}
.wine-top-circle:active{background:#234a3b!important;color:#fff!important}

/* v5.9: reveal the finished shell immediately; data/map hydrate progressively */
.wine-v4-loading{display:grid;gap:12px;padding-top:2px}.wine-v4-loading i{display:block;height:112px;border-radius:20px;background:linear-gradient(90deg,#edf3ef 20%,#f7faf8 42%,#edf3ef 64%);background-size:220% 100%;animation:wineSkeleton 1.15s ease-in-out infinite}.wine-v4-loading i:nth-child(2){animation-delay:.08s}.wine-v4-loading i:nth-child(3){animation-delay:.16s}@keyframes wineSkeleton{0%{background-position:100% 0}100%{background-position:-100% 0}}

/* v6 route lifecycle: no legacy placeholder flashes */
.route-loading,.wine-v4-loading{display:grid;gap:12px;width:100%;padding-top:8px}
.route-loading i,.wine-v4-loading i{display:block;height:88px;border-radius:20px;background:linear-gradient(100deg,#eef1ef 20%,#f8faf9 40%,#eef1ef 60%);background-size:220% 100%;animation:route-shimmer 1.15s linear infinite}
@keyframes route-shimmer{to{background-position-x:-220%}}
.hub-native-copy{padding:8px 0 24px}.hub-native-copy h2{color:#111}.hub-native-copy .muted{color:#7a837f}

/* Companion Wizard — shared ergonomics with New Trip */
.ios-wine-wizard{--wizard-accent:#7c2633!important;max-width:720px!important;border-radius:28px!important;background:#f7f7f9!important}.ios-wine-wizard article{grid-template-rows:auto 3px 1fr auto!important}.ios-wine-wizard header{padding:24px 28px 16px!important;background:#fff!important;border-bottom:0!important}.ios-wine-wizard header h2{font-size:22px!important;letter-spacing:-.02em}.ios-wine-wizard header button{background:transparent!important;padding:8px 0!important;font-size:15px!important}.ios-stepbar{background:#e8e8ec!important}.ios-stepbar i{background:var(--wizard-accent)!important}.ios-wine-wizard main{padding:26px 28px 34px!important}.companion-question{margin:0 0 22px!important;padding:0!important;background:transparent!important;border:0!important}.companion-question>span{display:block;color:var(--wizard-accent);font-size:11px;font-weight:850;letter-spacing:.15em;margin-bottom:9px}.companion-question>h3{margin:0!important;color:#111!important;font-size:30px!important;line-height:1.08!important;letter-spacing:-.035em}.companion-question>p{max-width:560px;margin:11px 0 0;color:#737378;font-size:16px;line-height:1.45}.ios-form-group{border-radius:22px!important;box-shadow:0 1px 0 rgba(0,0,0,.03)}.ios-row{min-height:66px!important;padding:0 18px!important;font-size:17px!important}.ios-row>b,.ios-row>input{font-size:16px!important}.ios-review,.ios-verify{border-radius:22px!important;padding:20px!important}.ios-wine-wizard footer{padding:14px 28px calc(18px + env(safe-area-inset-bottom))!important;background:#fff!important}.ios-wine-wizard footer button{height:54px!important;border-radius:999px!important;font-size:16px!important}.ios-wine-wizard footer [data-next]{background:var(--wizard-accent)!important}.ios-wine-wizard footer [data-back]{background:#f0f0f3!important}.ios-edit-note{margin:-10px 0 14px;color:#777;font-size:14px;line-height:1.4}@media(max-width:600px){.ios-wine-wizard{width:calc(100% - 12px)!important;height:calc(100dvh - 12px)!important;margin:6px auto!important;border-radius:28px!important}.ios-wine-wizard header{padding:20px 20px 14px!important}.ios-wine-wizard main{padding:22px 20px 30px!important}.companion-question>h3{font-size:28px!important}.companion-question>p{font-size:15px}.ios-wine-wizard footer{padding-left:20px!important;padding-right:20px!important}}
/* Wine wizard uses the New Trip wizard geometry and navigation language. */
.ios-wine-wizard{width:min(720px,94vw)!important;height:auto!important;max-height:calc(100dvh - 44px)!important;margin:auto!important;border:1px solid #d9d9dd!important;border-radius:26px!important;background:#fff!important;color:#111!important;overflow:hidden!important;box-shadow:0 30px 100px #0005!important}
.ios-wine-wizard::backdrop{background:#0005!important;backdrop-filter:blur(7px)!important}.ios-wine-wizard article{display:grid!important;grid-template-rows:auto 3px minmax(0,1fr) auto!important;max-height:calc(100dvh - 44px)!important;background:#fff!important}.ios-wine-wizard header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;padding:25px 28px 14px!important;background:#fff!important}.ios-wine-wizard header button{order:3!important;width:48px!important;height:48px!important;padding:0!important;border-radius:50%!important;background:#7c2633!important;color:transparent!important;font-size:0!important;display:grid!important;place-items:center!important}.ios-wine-wizard header button::after{content:'×';color:#fff;font-size:29px;font-weight:500;line-height:1}.ios-wine-wizard header h2{order:1!important;margin:0!important;text-align:left!important;font-size:28px!important;line-height:1.08!important}.ios-wine-wizard header span{order:2!important;margin-left:auto;margin-right:18px;color:#7c2633!important;font-size:13px!important;font-weight:800!important;letter-spacing:.1em}.ios-stepbar{height:3px!important;background:#eee!important}.ios-stepbar i{background:#7c2633!important}.ios-wine-wizard main{padding:22px 28px 28px!important;background:#fff!important}.companion-question{margin-bottom:20px!important}.companion-question>span{font-size:11px!important}.companion-question>h3{font-size:30px!important}.companion-question>p{font-size:17px!important;color:#555!important}.ios-form-group{border:1px solid #e3e3e6!important;border-radius:18px!important;background:#fff!important}.ios-row{min-height:64px!important}.ios-wine-wizard footer{display:flex!important;justify-content:space-between!important;gap:12px!important;padding:20px 28px 26px!important;background:#fff!important;border-top:1px solid #eee!important}.ios-wine-wizard footer button{height:52px!important;border-radius:999px!important}.ios-wine-wizard footer [data-back]{width:auto!important;padding:0 22px!important;background:#f0f0f2!important}.ios-wine-wizard footer [data-next]{flex:1!important;background:#7c2633!important;color:#fff!important}
@media(max-width:600px){.ios-wine-wizard{width:calc(100vw - 36px)!important;height:auto!important;max-height:calc(100dvh - 44px)!important;margin:auto!important;border-radius:26px!important}.ios-wine-wizard article{max-height:calc(100dvh - 44px)!important}.ios-wine-wizard header{padding:22px 20px 14px!important}.ios-wine-wizard header h2{font-size:25px!important}.ios-wine-wizard main{padding:22px 20px 26px!important}.ios-wine-wizard footer{padding:18px 20px calc(20px + env(safe-area-inset-bottom))!important}.companion-question>h3{font-size:29px!important}}

/* Exact New Trip header hierarchy for wine wizard. */
.ios-wine-wizard header{position:relative!important;display:block!important;padding:25px 76px 18px 28px!important}.ios-wine-wizard header .wine-wizard-kicker{margin:0 0 11px;color:#7c2633;font-size:11px;font-weight:850;letter-spacing:.15em}.ios-wine-wizard header h2{margin:0!important;font-size:30px!important;line-height:1.08!important;letter-spacing:-.03em!important}.ios-wine-wizard header>button{position:absolute!important;right:24px!important;top:24px!important}.ios-wine-wizard header>button::after{display:block;transform:translateY(-1px);line-height:48px!important;text-align:center!important;width:48px;height:48px}.companion-question>span{display:none!important}.companion-question{margin:0 0 20px!important}.companion-question>p{margin-top:0!important}.ios-wine-wizard main{padding-top:28px!important}@media(max-width:600px){.ios-wine-wizard header{padding:24px 72px 18px 20px!important}.ios-wine-wizard header>button{right:18px!important;top:20px!important}.ios-wine-wizard header h2{font-size:29px!important}}
.ios-experience-hint{margin:14px 4px 0;color:#777;font-size:14px;line-height:1.45}

/* Wine detail v2 — same identity language as catalogue, clearer information hierarchy. */
.wine-detail-dialog header{align-items:flex-start;gap:14px;padding:calc(18px + env(safe-area-inset-top)) 20px 18px!important}.detail-heading{min-width:0;flex:1}.detail-heading>small{display:block;margin-bottom:7px;color:#7c2633!important;font-size:10px;font-weight:850;letter-spacing:.14em}.detail-heading h2{margin:0;font-size:23px;line-height:1.22;letter-spacing:-.025em}.detail-verified{display:inline-grid;place-items:center;width:19px;height:19px;margin-left:4px;border-radius:50%;background:#349454;color:#fff!important;font-size:13px;vertical-align:2px}.detail-heading-meta{display:flex;align-items:center;gap:9px;margin-top:10px}.detail-heading-meta b{font-size:15px}.detail-heading-meta span{padding:4px 8px;border-radius:8px;background:#f0f0f3;font-size:13px;font-weight:750}.detail-actions{align-items:center;flex-shrink:0}.detail-actions .detail-edit{width:auto!important;height:38px!important;padding:0 12px!important;display:flex;align-items:center;gap:6px;border-radius:12px!important;background:#7c2633!important;color:#fff!important}.detail-actions .detail-edit b,.detail-actions .detail-edit span{color:#fff!important;font-size:12px}.detail-actions .detail-close{font-size:22px}.detail-section h3{margin:0 0 12px;font-size:16px}.detail-facts{display:grid}.detail-facts>div{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:11px 0;border-top:1px solid #eee}.detail-facts>div:first-child{border-top:0}.detail-facts span{color:#777;font-size:13px}.detail-facts b{display:flex;align-items:center;gap:7px;text-align:right;font-size:14px}.detail-facts .detail-color{display:inline-block;width:13px;height:13px;border-radius:50%;flex:0 0 13px}.detail-map-state{min-height:132px;box-sizing:border-box;padding:18px;border:1px solid #d9e2dc;border-radius:19px;background:#eef4f0;color:#1f4033!important;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.detail-map-state small{color:#557166!important;font-size:10px;font-weight:850;letter-spacing:.13em}.detail-map-state b{margin-top:5px;color:#1f4033!important;font-size:18px}.detail-map-state span{margin-top:4px;color:#6e7e77!important;font-size:13px}.detail-map-state button{margin-top:14px;padding:9px 13px;border:0;border-radius:11px;background:#315b49;color:#fff;font-weight:750}.detail-map-state p{margin:10px 0 0;color:#777!important;font-size:13px}.producer-card{padding:2px 0}.producer-card b{font-size:17px}.producer-card p{margin:5px 0 0;color:#777!important;font-size:13px}.detail-scores{border-top:1px solid #eee}.detail-score{align-items:center;padding:12px 0!important}.detail-score span{color:#333;font-size:14px}.detail-score strong{min-width:44px;text-align:right;font-size:16px}.detail-score small{display:none!important}@media(max-width:520px){.wine-detail-dialog header{padding-left:17px!important;padding-right:17px!important}.detail-heading h2{font-size:21px}.detail-actions .detail-edit b{display:none}.detail-actions .detail-edit{width:38px!important;padding:0!important;justify-content:center;border-radius:50%!important}.detail-scroll{padding:13px!important}}

/* Wine detail controls + verified-tail invariant. */
.detail-title-tail{display:inline-block;white-space:nowrap}.detail-title-tail .detail-verified{margin-left:3px}.detail-actions .detail-edit{box-sizing:border-box!important;width:40px!important;height:40px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#ececef!important;color:#555!important}.detail-actions .detail-edit .detail-gear{display:block;color:#555!important;font-size:20px!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Symbol",sans-serif;line-height:1!important;transform:translateY(-.5px)}.detail-actions .detail-close{box-sizing:border-box!important;width:40px!important;height:40px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#315b49!important;color:#fff!important}.detail-actions .detail-close>span{display:block;color:#fff!important;font-size:25px!important;font-weight:300!important;line-height:1!important;transform:translateY(-1px)}@media(max-width:520px){.detail-actions .detail-edit{width:40px!important;padding:0!important;border-radius:50%!important}}
/* Desktop/tablet hub geometry follows France trip: 1120px canvas + 18px gutters. */
body:has(#hub-section:not([hidden])) main{width:min(1120px,calc(100% - 36px))!important;max-width:1120px!important;margin-left:auto!important;margin-right:auto!important}
#hub-section{width:100%!important;max-width:none!important}
#hub-section .hub-grid{display:block!important;width:100%!important;max-width:none!important}
#hub-section>.hero{width:100%!important;max-width:none!important}
#hub-content,.wine-library-map-card,.wine-tools,.wine-sort-caption,.wine-library-controls,#wine-list{width:100%!important;max-width:none!important}
@media(max-width:600px){body:has(#hub-section:not([hidden])) main{width:calc(100% - 30px)!important;max-width:none!important}}
.wine-top-circle{position:relative!important;font-size:0!important}.wine-top-circle::before,.wine-top-circle::after{content:'';position:absolute;left:50%;top:50%;display:block;background:#fff;border-radius:2px;transform:translate(-50%,-50%)}.wine-top-circle::before{width:20px;height:2px}.wine-top-circle::after{width:2px;height:20px}

.detail-ai p{margin:0;color:#555;line-height:1.55;font-size:14px}.detail-ai h4{margin:16px 0 8px;font-size:12px;color:#7c2633;text-transform:uppercase;letter-spacing:.08em}.detail-tags{display:flex;flex-wrap:wrap;gap:6px}.detail-tags span{padding:6px 9px;border-radius:999px;background:#f1f1f4;color:#333;font-size:12px}.detail-tags.food span{background:#eef4f0;color:#315b49}.detail-serving{margin-top:14px!important;padding-top:12px;border-top:1px solid #eee}.producer-summary{margin-top:12px!important;color:#555!important;line-height:1.55!important;font-size:14px!important}

.ios-save-error{margin:14px 0 0;padding:12px 14px;border:1px solid #e0b8bd;border-radius:14px;background:#fff5f6;color:#9a2f3d;font-size:13px;line-height:1.4}

.ios-wine-wizard footer [data-next].unverified-next{background:#fff!important;color:#7c2633!important;border:1px solid #7c2633!important}.ios-verify.bad::after{content:'Вы можете сохранить вино без отметки «Проверено», если уверены, что оно существует.';display:block;margin-top:12px;padding-top:12px;border-top:1px solid #efd5d8;color:#777;font-size:13px;line-height:1.45}

.ios-ai-diagnostics{display:block;margin-top:10px;color:#999;font-size:11px}

.detail-evidence-note{margin-top:14px!important;padding-top:12px;border-top:1px solid #eee;color:#8a8a8f!important;font-size:11px!important;line-height:1.45!important}

.companion-toast{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));z-index:99999;transform:translate(-50%,10px);padding:10px 15px;border-radius:999px;background:#203c31;color:#fff;font-size:13px;font-weight:750;opacity:0;transition:opacity .18s ease,transform .18s ease;box-shadow:0 8px 30px #0002;pointer-events:none}.companion-toast.show{opacity:1;transform:translate(-50%,0)}

/* Verification sources and the manual catalog picker. */
.ios-picker-sheet article { grid-template-rows: auto auto 1fr auto; }
.ios-picker-sheet footer { display:flex; gap:10px; padding:14px 20px max(18px,env(safe-area-inset-bottom)); }
.ios-picker-sheet footer button { flex:1; padding:12px; border-radius:14px; }
.ios-verify a,.detail-section a { overflow-wrap:anywhere; }
.ios-verify small { display:block; white-space:normal; overflow-wrap:anywhere; }
.ios-wine-wizard [data-check] { margin-top:12px; padding:12px 18px; }

.wine-personal-meta .wine-status-rating{background:#7c2633;color:#fff;font-variant-numeric:tabular-nums}
.wine-personal-meta .wine-status-rating b{font-size:11px;line-height:1;font-weight:800}
.wine-v4-row .wine-card-badges,.collection-bottle-row .wine-card-badges{
 display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;
 width:100%!important;max-width:100%!important;min-width:0!important;gap:5px!important;
 overscroll-behavior-x:contain;touch-action:pan-x!important;padding-bottom:2px
}
.wine-v4-row .wine-card-badges>*,
.collection-bottle-row .wine-card-badges>*{flex:0 0 auto!important}
.wine-v4-row .wine-card-badges::-webkit-scrollbar,
.collection-bottle-row .wine-card-badges::-webkit-scrollbar{display:none}
.wine-v4-row .wine-card-badges,.collection-bottle-row .wine-card-badges{scrollbar-width:none}

.passport-my-ratings{margin-top:18px}
.passport-my-ratings-list{display:grid;gap:10px}
.passport-my-rating{padding:13px 14px;border:1px solid #ece6df;border-radius:16px;background:#fcfbf9}
.passport-my-rating-head{display:flex;align-items:center;gap:11px}
.passport-my-rating-head>b{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#7c2633;color:#fff;font-size:13px;font-variant-numeric:tabular-nums}
.passport-my-rating-head>span{display:grid;gap:3px;min-width:0}
.passport-my-rating-head strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.passport-my-rating-head small{color:#958b86;font-size:11px}
.passport-my-rating-details{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:10px;color:#7d726c;font-size:11px}
.passport-my-rating-details b{color:#5e5450}
.passport-my-rating p{margin:10px 0 0;color:#665d59;font-size:12px;line-height:1.45}

.passport-my-rating-basis{margin:10px 0 0!important;color:#8c7b80!important;font-size:11px!important;line-height:1.4!important}
.passport-my-rating-details{display:grid!important;gap:6px!important;margin-top:11px!important;color:#7d726c!important;font-size:11px!important}
.passport-my-rating-details>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding-top:6px;border-top:1px solid #eee8e4}
.passport-my-rating-details span{min-width:0}.passport-my-rating-details b{color:#5e5450;text-align:right}.passport-my-rating-details small{grid-column:1/-1;color:#9a8b90;line-height:1.35}

/* Catalog status controls share the 32px icon height without changing typography. */
.wine-v4-row .wine-personal-meta>:is(.wine-window-pill,.personal-pill,.wine-status-icon),
.collection-bottle-row .wine-personal-meta>:is(.wine-window-pill,.personal-pill,.wine-status-icon){
 box-sizing:border-box!important;height:32px!important;min-height:32px!important;align-items:center!important;white-space:nowrap
}
.wine-v4-row .wine-card-badges,.collection-bottle-row .wine-card-badges{overflow-x:auto!important}
.wine-v4-row .wine-card-badges .critic-open,.collection-bottle-row .wine-card-badges .critic-open{touch-action:pan-x;-webkit-user-select:none;user-select:none}

/* Critic rail hit area: horizontal gesture belongs only to actual badge content. */
.wine-v4-row .wine-card-badges,
.collection-bottle-row .wine-card-badges{
 display:block!important;
 touch-action:auto!important;
}
.wine-v4-row .wine-card-badges:empty,
.collection-bottle-row .wine-card-badges:empty{display:none!important}
.wine-v4-row .wine-card-badges-track,
.collection-bottle-row .wine-card-badges-track{
 display:flex;
 width:max-content;
 max-width:none;
 gap:5px;
 touch-action:pan-x;
}
.wine-v4-row .wine-card-badges-track>.critic-open,
.collection-bottle-row .wine-card-badges-track>.critic-open{
 flex:0 0 auto!important;
 touch-action:pan-x;
}

/* Catalog identity subtitle (e.g. Sauternes AOC) stays separate from the estate/rank title. */
.wine-card-subtitle{margin-top:3px;color:#6f7771;font-size:12px;line-height:1.35;font-weight:600}
.collection-bottle-row .wine-card-subtitle{color:#6b756e}

/* Geography titles share the same left edge, including wrapped names. */
.wine-group-head{text-align:left;gap:12px}.wine-group-head>b{flex:1;min-width:0}.wine-group-tail{flex-shrink:0}

/* Wine header: registry label shares only the controls row; identity gets full card width. */
.wine-detail-dialog header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:0 14px!important}
.wine-detail-dialog .detail-heading{display:contents!important}
.wine-detail-dialog .detail-heading>small{grid-column:1!important;grid-row:1!important;margin:0!important;align-self:center!important}
.wine-detail-dialog .detail-actions{grid-column:2!important;grid-row:1!important;justify-self:end!important}
.wine-detail-dialog .detail-heading h2{grid-column:1/-1!important;grid-row:2!important;margin:7px 0 0!important;min-width:0!important}
.wine-detail-dialog .detail-heading-meta{grid-column:1/-1!important;grid-row:3!important;min-width:0!important;margin-top:10px!important}
