.tasting-page{position:fixed;inset:0;margin:0;border:0;width:100%;max-width:none;height:100dvh;max-height:none;box-sizing:border-box;background:#fff;color:#555;padding:env(safe-area-inset-top) 16px max(24px,env(safe-area-inset-bottom));overflow:auto}.tasting-head{display:flex;align-items:center;gap:12px;position:sticky;top:0;background:#fff;z-index:2;min-height:68px}.tasting-head>button{font-size:32px;width:44px;height:44px;flex-shrink:0;border:0;background:none;color:var(--accent,#283E8C)}.tasting-head input{min-width:0;flex:1;border:1px solid #e5e5e5;background:#fafafa;border-radius:24px;padding:13px 16px;font-size:16px}.tasting-categories{display:flex;overflow-x:auto;gap:8px;position:sticky;top:68px;background:#fff;z-index:1;padding:10px 0;scrollbar-width:none}.tasting-page button{cursor:pointer}.tasting-categories button,.tasting-controls button{white-space:nowrap;border:1px solid #e5e5e5;border-radius:24px;padding:12px 16px;background:#fff;color:#555;font-size:14px}.tasting-categories [aria-pressed=true],.tasting-controls [data-write]{background:var(--accent,#283E8C);color:#fff;border-color:var(--accent,#283E8C)}.tasting-sort{font-size:12px;color:#555;margin:12px 0}.tasting-card{border:1px solid #e5e5e5;border-radius:18px;margin-bottom:12px;position:relative;padding:16px}.tasting-open{width:100%;display:flex;text-align:left;gap:16px;border:0;background:transparent;padding:0;color:inherit}.tasting-open img,.tasting-product img{width:76px;height:120px;object-fit:contain;flex-shrink:0}.tasting-card-copy{display:grid;gap:7px;min-width:0;flex:1;padding-bottom:22px}.tasting-card strong{font-size:16px;color:#333}.tasting-en{font-size:12px;overflow-wrap:anywhere}.tasting-rating{font-size:13px;color:var(--accent,#283E8C)}.tasting-excerpt{font-size:14px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tasting-card small{font-size:11px}.tasting-card-like{position:absolute;right:16px;bottom:12px;min-width:44px;min-height:36px;border:0;background:none;color:var(--accent,#283E8C)}.tasting-image-placeholder{width:76px;min-width:76px;height:120px;display:grid;place-items:center;font-size:36px;color:#ccc;background:#fafafa;border-radius:10px}.tasting-product{display:flex;gap:20px;padding:24px 0}.tasting-product h1{font-size:22px}.tasting-product p{font-size:14px}.tasting-product a{font-size:12px;color:var(--accent,#283E8C)}.tasting-controls{display:flex;gap:12px;margin:12px 0 24px}.tasting-review{padding:20px 0;border-bottom:1px solid #e5e5e5}.tasting-review p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.tasting-review small{font-size:12px}.tasting-review button{margin-left:12px;padding:10px;border:0;background:none;color:var(--accent,#283E8C)}.tasting-editor{width:min(420px,calc(100vw - 32px));box-sizing:border-box;border:0;border-radius:20px;padding:24px;max-height:85dvh;overflow:auto}.tasting-editor form,.tasting-editor label{display:grid;gap:14px}.tasting-editor textarea{min-height:150px;width:100%;box-sizing:border-box;font-size:16px}.tasting-editor select{font-size:16px;padding:10px}.tasting-editor button{padding:12px;border-radius:12px;border:1px solid #e5e5e5}.tasting-editor [type=submit]{background:var(--accent,#283E8C);color:white}.tasting-editor::backdrop{background:#0006}

.tasting-page{overscroll-behavior:contain}.tasting-head{top:env(safe-area-inset-top,0px)}.tasting-categories{top:calc(68px + env(safe-area-inset-top,0px))}.tasting-categories button{min-height:44px}.tasting-product>div{min-width:0}.tasting-product a{overflow-wrap:anywhere}.tasting-product details{font-size:12px}

.tasting-stars{position:relative;display:inline-block;color:#ddd;white-space:nowrap;vertical-align:middle;line-height:1.2}.tasting-stars>span:last-child{position:absolute;left:0;top:0;overflow:hidden;color:var(--accent,#283E8C);white-space:nowrap}.tasting-editor [name=name]{font-size:16px;padding:12px;border:1px solid #e5e5e5;border-radius:10px}

.tasting-page [data-status]:empty{display:none}

.tasting-image-placeholder small{font-size:10px;color:#777}

.tasting-page [data-suggest],.tasting-page [data-monitor]{display:block;min-height:44px;border:0;background:transparent;color:var(--accent,#283E8C);padding:12px 0;font-size:13px;text-align:left}

/* Shared homepage tile geometry, with one gap between adjacent blocks. */
html[data-lab] .home-story-tile{box-sizing:border-box;margin:24px 0 0}
html[data-lab] .home-tasting-tile{background:#fff;border-color:#e5e5e5}
.home-tasting-tile>small,.home-tasting-tile>b,.home-tasting-tile>span{max-width:100%}
html[data-lab] .home-actions>button[data-home-find]{background:var(--accent,#283E8C);border-color:var(--accent,#283E8C)}
html[data-lab] .home-actions>button[data-home-find]>span,html[data-lab] .home-actions>button[data-home-find] b,html[data-lab] .home-actions>button[data-home-find] small,html[data-lab] .home-actions>button[data-home-find] i{color:#fff}
.tasting-head{gap:6px}
.tasting-head>button{display:grid;place-items:center;width:36px;height:44px;color:#555;font-size:16px;padding:0}
.tasting-head>button:focus-visible{outline:2px solid var(--accent,#283E8C);outline-offset:-4px;border-radius:10px}
.tasting-head input{background:#f8f8f8}
.tasting-directory-title h1,.tasting-ranking-title h1{font-size:23px;line-height:1.4;color:var(--accent,#283E8C);margin:14px 0 20px;font-weight:600}
.tasting-category-grid{display:grid;gap:10px;margin:0 0 12px}
.tasting-category-grid[hidden]{display:none}
.tasting-category-column>button{display:flex;align-items:center;gap:16px;min-height:84px;width:100%;box-sizing:border-box;padding:18px 20px;border:1px solid #e5e5e5;border-radius:14px;text-align:left;background:#fafafa;color:var(--accent,#283E8C);font:inherit}
.tasting-category-column>button:active{background:#f0f1f6}
.tasting-category-number{font-size:12px;color:#999;letter-spacing:.08em}
.tasting-category-grid strong{display:block;font-size:17px;font-weight:600}
.tasting-category-grid small{display:block;margin-top:5px;font-size:10px;letter-spacing:.1em;color:#777}
.tasting-category-grid svg{margin-left:auto;color:#888;flex-shrink:0}
.tasting-ranking-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:4px}
.tasting-ranking-title h1{margin-bottom:8px}
.tasting-ranking-title>span{font-size:11px;color:#777}
.tasting-categories{margin-bottom:12px}
.tasting-empty{padding:32px 12px;text-align:center;font-size:14px;color:#777;line-height:1.7}
@media(min-width:760px){.tasting-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tasting-page{padding-left:max(24px,calc((100vw - 760px)/2));padding-right:max(24px,calc((100vw - 760px)/2))}}

/* One front-facing bottle per cover; normalize source whitespace without cropping the bottle */
.tasting-bottle{position:relative;display:block;overflow:hidden;width:76px;min-width:76px;height:120px;flex-shrink:0;background:#fff}
.tasting-bottle img{position:absolute;max-width:none;object-fit:fill;display:block}

.tasting-controls{gap:8px;flex-wrap:wrap}.tasting-controls button{padding:11px 12px;min-height:44px}.tasting-controls button:disabled{opacity:.5;cursor:wait}.tasting-controls [data-product-knowledge]{color:var(--accent,#283E8C);border-color:#c7cde0;background:#f7f8fb}

/* Product variants retain separate review identities */
.tasting-variants{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0;color:var(--accent,#283E8C);font-size:11px;line-height:1.5}.tasting-variants>span{display:inline-block;max-width:100%;padding:2px 7px;border:1px solid #283e8c26;border-radius:5px;background:#283e8c08;overflow-wrap:anywhere}.tasting-version-links{margin:0 0 16px;padding:12px 0;border-block:1px solid #e5e5e5}.tasting-version-links h2{font-size:12px;font-weight:500;color:#555;margin:0 0 8px}.tasting-version-links button{font-size:13px;color:var(--accent,#283E8C);background:#fff;border:1px solid #283e8c40;border-radius:8px;padding:8px 10px}.tasting-product h1{overflow-wrap:anywhere}

/* Search and back share one centered capsule, with equal viewport gutters. */
.tasting-page{--tasting-gutter:max(16px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px));padding-left:var(--tasting-gutter);padding-right:var(--tasting-gutter)}
.tasting-search-shell{display:flex;align-items:center;gap:0;width:100%;min-width:0;min-height:52px;box-sizing:border-box;padding:3px 8px;border:1px solid #E5E5E5;border-radius:28px;background:#F8F8F8}
.tasting-search-shell>button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;background:transparent;color:#555;cursor:pointer}
.tasting-search-shell>input{display:block;flex:1;min-width:0;width:0;margin:0;border:0;border-radius:0;padding:10px 8px;background:transparent;color:inherit;box-shadow:none;font-size:16px;outline:none}
.tasting-search-shell:has(>input:focus){outline:2px solid var(--accent,#283E8C);outline-offset:2px}
.tasting-search-shell>button:focus-visible{outline:2px solid var(--accent,#283E8C);outline-offset:-4px;border-radius:50%}
@media(min-width:760px){.tasting-page{--tasting-gutter:max(24px,calc((100vw - 760px)/2),env(safe-area-inset-left,0px),env(safe-area-inset-right,0px))}}

html.tasting-open,html.tasting-open body{overflow:hidden}.tasting-page{scrollbar-width:none}.tasting-page::-webkit-scrollbar{display:none}

html.tasting-open{scrollbar-gutter:auto}

.tasting-collection-status{font-size:13px;color:var(--accent,#283e8c);min-height:1.5em}.tasting-image-placeholder{display:grid;place-items:center;flex:0 0 76px;width:76px;min-height:120px;background:#fff;color:#8b94a5;font-size:12px;text-align:center}

.tasting-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.tasting-category-column{display:flex;flex-direction:column;gap:10px;min-width:0}.tasting-category-column>button{min-height:110px;padding:14px 10px;gap:8px}.tasting-category-column strong{font-size:16px;overflow-wrap:anywhere}.tasting-category-column small{overflow-wrap:anywhere}.tasting-category-column svg{width:14px}
