button,input,select,textarea{font:inherit}button,a.button{cursor:pointer;border:1px solid var(--line);background:#fffef9;color:var(--ink);border-radius:7px;padding:11px 16px;font-size:13px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}button:hover,a.button:hover{border-color:var(--azure);color:var(--azure)}button.primary,a.primary{background:var(--azure);border-color:var(--azure);color:white}button:disabled{opacity:.55;cursor:wait}button.danger{color:#a13232}.quiet{color:var(--muted);font-size:13px;line-height:1.65}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--azure);outline-offset:3px}.bev-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:50px 0 35px}.bev-hero h1{font-size:86px;letter-spacing:-5px}.bev-hero .eyebrow{margin-bottom:12px}.bev-hero p:last-child{font-family:var(--serif);font-size:21px;font-style:italic;margin-bottom:0}.bev-hero img{width:190px}.toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:10px 0 25px}.toolbar label:first-child{flex:1;min-width:180px}label{display:block;font-size:12px;font-weight:600}input:not([type=radio]):not([type=checkbox]),select,textarea{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #bac5ca;border-radius:6px;background:#fffefb;color:var(--ink);min-height:46px;font-size:15px}textarea{resize:vertical;min-height:115px}input[type=file]{max-width:100%;font-size:13px!important}input[type=file]::file-selector-button{border:0;border-radius:3px;padding:6px;background:#e6edf1;color:var(--ink);margin-right:8px}.shelf-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.shelf-top p{margin:0}.shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.bottle-card{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fffef9;text-decoration:none;transition:transform .15s}.bottle-card:hover{transform:translateY(-3px)}.bottle-art{height:215px;background:#e9ecdf;display:flex;align-items:center;justify-content:center;position:relative}.bottle-art img{height:100%;width:100%;object-fit:contain;padding:14px}.bottle-art .placeholder{font:italic 80px var(--serif);color:#6e805d}.bottle-art[data-category=red]{background:#ede3e0}.bottle-art[data-category=white]{background:#ecebd8}.bottle-art[data-category=beer]{background:#f0e5cd}.bottle-art[data-category=spirits]{background:#e6e8ec}.category{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted)}.bottle-copy{padding:19px}.bottle-copy h2{font:24px/1.2 var(--serif);margin:9px 0 6px;overflow-wrap:anywhere}.bottle-copy p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.rating-line{display:flex;align-items:baseline;gap:7px;margin-top:20px;font-size:12px}.rating-line strong{font-size:19px;color:var(--azure)}.rating-line span:last-child{margin-left:auto;color:var(--muted)}.empty{padding:70px 20px;text-align:center;grid-column:1/-1;border:1px dashed var(--line);border-radius:8px}.empty h2{font:30px var(--serif)}.empty p{color:var(--muted);line-height:1.8}.notice{border:1px solid #c4d9e6;background:#eaf2f7;border-radius:7px;padding:14px 18px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.notice.error{border-color:#ddbab2;background:#fff0eb}.notice[hidden],[hidden]{display:none!important}.back-link{display:inline-block;margin:30px 0 25px;font-size:13px;text-underline-offset:5px;color:var(--muted)}.bottle-overview{display:grid;grid-template-columns:300px 1fr;gap:42px;align-items:start}.bottle-media>.bottle-art{height:365px;border-radius:9px}.bottle-overview h1{font-size:46px;letter-spacing:-1.5px;line-height:1.12;margin:15px 0;overflow-wrap:anywhere}.bottle-overview .detail-copy{white-space:pre-line;line-height:1.7;font-size:14px;color:var(--muted);overflow-wrap:anywhere}.group-score{display:flex;align-items:baseline;gap:10px;margin:24px 0}.group-score strong{font:46px var(--serif);color:var(--azure)}.group-score span{font-size:13px;color:var(--muted)}.metrics{display:flex;gap:8px;flex-wrap:wrap}.metric{border:1px solid var(--line);border-radius:5px;padding:8px 10px;font-size:12px;line-height:1.6;background:#fffef9}.metric span{display:block;color:var(--muted);font-size:10px}.overview-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}.feed-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:45px 0 20px;border-top:1px solid var(--line);padding-top:28px}.feed-heading h2{font:29px var(--serif);margin:0}.feed-heading select{font-size:12px;margin:0;width:auto;min-width:135px}.review{padding:24px 0;border-bottom:1px solid var(--line)}.review-head{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px}.review-head .review-score{margin-left:auto;font-weight:650;color:var(--azure)}.review time,.edited{font-size:11px;color:var(--muted)}.review .metrics{margin-top:16px}.review .metric{background:transparent;border:0;border-left:2px solid #c6d9e5;border-radius:0;padding:2px 12px 2px 8px}.review-comment{font-size:15px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere;max-width:780px;margin:18px 0 10px}.review .buy-again{font-size:12px;color:#4c6852}.form-panel{border:1px solid var(--line);border-radius:9px;padding:26px;margin:25px 0;background:#fffef9}.form-panel h2{font:29px var(--serif);margin:0 0 14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .full{grid-column:1/-1}.form-panel label{margin-bottom:18px}.form-panel fieldset{border:0;padding:0;margin:23px 0}.form-panel legend{font-size:13px;font-weight:600;margin-bottom:9px}.scale{display:flex;flex-wrap:wrap;gap:7px}.scale label{position:relative;margin:0}.scale input{position:absolute;opacity:0;width:1px;height:1px}.scale span{display:flex;align-items:center;justify-content:center;min-width:43px;height:44px;padding:0 10px;border:1px solid var(--line);border-radius:6px;font-size:13px}.scale input:checked+span{background:var(--ink);color:white;border-color:var(--ink)}.scale input:focus-visible+span{outline:3px solid var(--azure);outline-offset:3px}.hint{display:block;font-weight:400;font-size:11px;color:var(--muted);margin:6px 0 12px}.form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}details>summary{cursor:pointer;font-size:13px;padding:15px 0}.draft-note{font-size:11px;color:var(--muted)}.load-more{margin:26px auto;display:flex}dialog{border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);padding:28px;width:min(520px,calc(100% - 28px));max-height:85vh}dialog::backdrop{background:#172b3b88}dialog h2{font:30px var(--serif);margin:0 0 20px}dialog h3{font-size:15px;margin-top:28px}dialog form{margin:20px 0}dialog .close-dialog{float:right;padding:5px 10px;margin:-10px -8px 10px 10px}dialog li{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:12px;overflow-wrap:anywhere}dialog ul{padding:0}#account-nav{display:flex;gap:13px;align-items:center}#account-nav a{padding-left:0}#account-nav button{font-size:12px;padding:9px 12px}.duplicate-list{font-size:12px;padding:12px;background:#eaf2f7;border-radius:6px;line-height:1.8}.upload-progress{font-size:13px;color:var(--azure)}
@media(max-width:760px){.shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.bottle-overview{grid-template-columns:210px 1fr;gap:24px}.bottle-overview h1{font-size:35px}.bottle-media>.bottle-art{height:290px}.bev-hero img{width:150px}.form-panel{padding:20px}.bottle-art{height:190px}}
@media(max-width:520px){.bev-hero{padding:38px 0 25px;gap:12px}.bev-hero h1{font-size:78px}.bev-hero .eyebrow{font-size:9px;letter-spacing:1.4px}.bev-hero img{width:100px}.bev-hero p:last-child{font-size:17px}.toolbar{gap:10px}.toolbar label:first-child{flex-basis:100%}.toolbar label{flex:1}.toolbar select{font-size:13px}.bottle-copy{padding:13px}.bottle-copy h2{font-size:21px}.bottle-art{height:170px}.rating-line{flex-wrap:wrap;gap:4px}.rating-line span:last-child{flex-basis:100%;margin:0}.bottle-overview{grid-template-columns:1fr;gap:20px}.bottle-media>.bottle-art{height:270px}.bottle-overview h1{font-size:40px}.form-grid{grid-template-columns:1fr;gap:0}.form-panel{padding:18px}.scale{gap:5px}.scale span{min-width:36px;padding:0 7px}.feed-heading h2{font-size:25px}.feed-heading{gap:10px}.brand-domain{display:none}.site-header{gap:10px}.review-head{gap:8px}.group-score{margin:18px 0}#account-nav{gap:10px}#account-nav button{font-size:11px;padding:8px}.shelf-top{align-items:start}.shelf-top p{font-size:12px}}
.rating-display,.metric .rating-display{display:inline-flex;align-items:center;gap:7px;vertical-align:middle}.rating-stars,.metric .rating-stars{display:inline-flex;gap:1px;color:inherit}.rating-star{display:block;flex:none;width:20px;height:20px}.star-empty{fill:#dce1e3;stroke:#849299;stroke-width:.7}.star-filled{fill:#a56a15}.rating-display strong{font:600 16px var(--sans);color:var(--ink)}.metric .rating-display{margin-left:5px}.not-rated{color:var(--muted);font-size:11px}.group-score{flex-wrap:wrap;align-items:center}.group-score .rating-display .rating-star{width:27px;height:27px}.group-score .rating-display strong{font-size:28px}.rating-line .rating-display{margin:0;flex-basis:auto;color:var(--ink)}.rating-line .rating-display .rating-stars{margin:0;flex-basis:auto}.rating-line .rating-star{width:17px;height:17px}.flavor-fields{margin-top:27px}.flavor-fields h3{font-size:15px}.star-input{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.star-options,.rating-extras{display:flex;gap:2px}.star-input label{position:relative;margin:0;cursor:pointer}.star-input input{position:absolute;opacity:0;width:1px;height:1px}.star-input label>span{display:flex;justify-content:center;align-items:center;min-width:44px;min-height:44px;border:1px solid transparent;border-radius:6px}.star-input .rating-star{width:31px;height:31px}.star-options .star-filled{fill:#dce1e3}.star-options label:has(input:checked) .star-filled,.star-options label:has(~ label input:checked) .star-filled{fill:#a56a15}.star-input input:focus-visible+span{outline:3px solid var(--azure);outline-offset:2px}.star-input label:hover>span{background:#f0ede5}.rating-extras label>span{padding:0 10px;color:var(--muted);font-size:12px;border-color:var(--line)}.rating-extras input:checked+span{background:var(--ink);color:white;border-color:var(--ink)}
@media(max-width:520px){.rating-line .rating-display .rating-star{width:14px;height:14px}.rating-line .rating-display strong{font-size:15px}.review-head .review-score{margin-left:0;flex-basis:100%}.star-input{gap:8px}.star-options label>span{min-width:44px}.star-input .rating-star{width:29px;height:29px}}
@media(prefers-reduced-motion:reduce){.bottle-card{transition:none}.bottle-card:hover{transform:none}}

.optional-step{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}.optional-step .eyebrow{margin:0;font-size:9px}#review-form>.form-actions{position:sticky;bottom:0;background:#fffef9;padding:12px 0;border-top:1px solid var(--line);z-index:1}
.delete-bottle-section{margin-top:32px;padding-top:22px;border-top:1px solid #ddbab2}.delete-bottle-section h3{font-size:14px;margin:0;color:#a13232}.delete-bottle-section p{margin:8px 0 14px}
.photo-preview{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:14px 0 20px}.photo-preview>img{width:220px;max-height:280px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#e9ecdf}.avatar-preview>img{width:128px;height:128px;object-fit:cover;border-radius:50%}.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;object-fit:cover;border-radius:50%;vertical-align:middle;background:#e1e9ed}.avatar-fallback{font-size:15px;font-weight:600;color:var(--azure)}#account-nav .avatar{width:25px;height:25px;min-width:25px;font-size:12px}#avatar-form{border-top:1px solid var(--line);padding-top:4px}.review-head>.avatar{flex:none}
.delete-dialog{width:min(440px,calc(100% - 32px));padding:30px;background:#fffef9;box-shadow:0 22px 70px #172b3b40}.delete-dialog .eyebrow{font-size:10px;margin-bottom:14px}.delete-dialog h2{margin-bottom:14px;font-size:31px}.delete-dialog #delete-description{font-size:14px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}.delete-dialog .form-actions{margin-top:26px;gap:12px}.delete-dialog .form-actions button{flex:1}.delete-dialog button.danger{background:transparent;border-color:#d7c9c5}.delete-dialog button.danger:hover{background:#fff0eb;border-color:#a13232}.delete-dialog::backdrop{background:#13233199;backdrop-filter:blur(3px)}
/* Let flex/grid items shrink within the viewport, including long account names. */
.site-header{flex-wrap:wrap}.site-header .brand{flex-shrink:0}#account-nav{min-width:0;max-width:100%;flex:1 1 auto;justify-content:flex-end}#account-nav button{min-width:0;max-width:240px}.account-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar>label,.form-grid>*,.bottle-overview>*,.bottle-copy,.review-head>strong{min-width:0}.bottle-copy p,.bottle-overview .quiet,.review-head>strong{overflow-wrap:anywhere}.form-panel fieldset{min-inline-size:0}.form-actions>button{max-width:100%;white-space:normal}.photo-preview img{max-width:100%}.vintage-control select{max-width:100%}.feed-heading>*{min-width:0}
@media(max-width:760px){input:not([type=radio]):not([type=checkbox]),.toolbar select,.feed-heading select,select,textarea{font-size:16px}#account-nav button{max-width:190px}.delete-dialog{padding:24px}.delete-dialog .form-actions{flex-wrap:wrap}.delete-dialog .form-actions button{flex:1 1 130px}}

.bev-brand{font:700 38px/1 var(--serif);letter-spacing:-2px;gap:0}.main-home{font-size:12px!important;border:1px solid var(--line);border-radius:6px;padding:9px 12px!important;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}.member-form{width:100%;min-width:0;display:grid;gap:12px}.member-form strong{overflow-wrap:anywhere;font-size:13px}.member-active{display:flex;align-items:center;gap:10px;min-height:44px}.member-active input{width:20px;height:20px}.member-form button{justify-self:start}#member-list li{display:block}

.crop-editor{width:100%;max-width:360px;margin:16px 0}.crop-editor canvas{display:block;max-width:100%;max-height:360px;width:auto;height:auto;border:1px solid var(--line);border-radius:8px;touch-action:none;cursor:grab}.crop-editor label{margin:14px 0}.crop-editor input[type=range]{padding:0;min-height:44px;accent-color:var(--azure)}.account-access-link{border-top:1px solid var(--line);padding-top:22px}.account-access-link a{display:inline-block;min-height:44px;padding:10px 0}.review{border:1px solid #d6ddd9;border-radius:10px;background:#fffefa;padding:24px;margin:18px 0;box-shadow:0 2px 5px #172b3b04}.access-page{padding:42px 0}.access-page h1{font-size:42px;letter-spacing:-1px}.access-page h2{font:26px var(--serif)}.access-page>.quiet{max-width:650px;line-height:1.8}.invite-panel{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:18px;align-items:end;background:#fffefa;border:1px solid var(--line);border-radius:10px;padding:24px;margin:28px 0}.invite-panel h2,.invite-panel p{grid-column:1/-1;margin:0}.invite-panel label{min-width:0}#member-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#member-list li{padding:22px;background:#fffefa;border:1px solid var(--line);border-radius:10px;min-width:0}@media(max-width:760px){.invite-panel,#member-list{grid-template-columns:1fr}.invite-panel{padding:18px}.review{padding:18px}.access-page h1{font-size:34px}}

.access-choices{border:0;padding:0;margin:0;min-inline-size:0}.access-choices legend{font-size:12px;font-weight:600;padding:0;margin-bottom:8px}.access-choices>div{display:flex;flex-wrap:wrap;gap:4px 16px}.access-choices label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-weight:400;overflow-wrap:anywhere}.access-choices input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--azure)}.access-choices input:focus-visible{outline:3px solid var(--azure);outline-offset:3px}

.member-login{margin:0;padding:12px;border-radius:6px;background:#eef2ee;color:var(--muted);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.member-login span{display:block}.member-login strong{color:var(--ink)}

.view-count{margin-left:auto;font:10px var(--sans);opacity:.65;white-space:nowrap}.profile-review{margin:22px 0}.profile-bottle{display:inline-block;font:22px var(--serif);overflow-wrap:anywhere}.profile-review .review{margin-top:10px}#profile-heading{display:flex;align-items:center;gap:16px;min-width:0}#profile-heading h1{overflow-wrap:anywhere;min-width:0}#profile-heading .avatar{width:60px;height:60px;flex:none}.review-head strong a{text-underline-offset:3px}

.overall-stars,.overall-precision{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.overall-stars button{padding:5px;border:0;background:transparent;min-width:44px}.overall-stars .rating-star{width:30px;height:30px}.overall-precision{margin-top:10px}.overall-precision input[name=overall]{width:84px;margin:0;text-align:center}.overall-precision button{min-width:44px}.photo-gallery{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.photo-gallery button{padding:0;overflow:hidden;width:100px;height:100px}.photo-gallery img{width:100%;height:100%;object-fit:cover}.gallery-dialog{width:min(900px,calc(100% - 28px));padding:18px}.gallery-dialog>img{clear:both;max-height:72vh;width:100%;object-fit:contain}.review-photo-edit{display:flex;flex-wrap:wrap;gap:14px;margin:18px 0}.review-photo-edit label{max-width:140px}.review-photo-edit img{width:110px;height:110px;object-fit:cover}.review-photo-edit span{display:flex;align-items:center;gap:6px;min-height:44px}
.shelf-item{min-width:0;display:flex;flex-direction:column;gap:8px}.shelf-item .bottle-card{flex:1}.want-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}.want-button span:first-child{font-size:24px;line-height:1}.want-button[aria-pressed=true]{color:#9b3148;border-color:currentColor}#profile-wants{margin-bottom:32px;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}#profile-wants h3{overflow-wrap:anywhere}input[type=date]{min-width:0;max-width:100%;min-height:44px}
.recent-section{margin-top:40px}.recent-review h3,.recent-review p,.recent-review .review-head a{overflow-wrap:anywhere}.recent-review h3{margin-top:0}.recent-review p{white-space:pre-wrap}

#shelf .shelf-item{position:relative;gap:0}#shelf .want-button{position:absolute;right:8px;top:8px;width:44px;height:44px;padding:0;border-radius:50%;background:#fffef9;box-shadow:0 1px 5px #0002}#shelf .want-button span:last-child{display:none}.bottle-media{min-width:0}.bottle-carousel{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;align-items:center;margin-top:10px}.bottle-carousel>button{padding:0;font-size:26px}.carousel-track{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;padding:3px;min-width:0}.carousel-track>button{flex:0 0 64px;width:64px;height:64px;padding:0;overflow:hidden;scroll-snap-align:start}.carousel-track img{width:100%;height:100%;object-fit:cover}.view-all{margin-top:18px}.bev-hero h1{overflow-wrap:anywhere}
.bottle-media>.main-photo{width:100%;padding:0;border:0}
