@charset "UTF-8";

.profile-button { border: 0; background: none; padding: 4px; text-align: left; cursor: pointer; }
.profile-label { font-size: .7rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.profile-bio { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; color: var(--muted); font-size: .8rem; margin-top: 6px; }
.card-action { display: flex; flex-wrap: wrap; gap: 8px; }
.card-action .button { width: 100%; }
.check-field { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: .85rem; }
.check-field input { width: 18px; height: 18px; accent-color: var(--accent); }
.delete-drink-name { font-weight: 600; margin: 16px 0; overflow-wrap: anywhere; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dialog-actions .button { flex: 1; }
.button-danger { background: #9b342e; color: white; border-color: #9b342e; }
.button-danger:not(:disabled):hover { background: #77261f; }
.empty-symbol:empty, .person-arrow:empty, .guest-banner > span:empty { display: none; }
@media (max-width: 759px) { .profile-label { display: none; } .account-name { max-width: 84px; } }

:root {
  color-scheme: light;
  --paper: #f8f4ee;
  --white: #fffdfa;
  --ink: #332822;
  --muted: #74665c;
  --line: #ded3c7;
  --lime: #f2ccb5;
  --accent: #a6402d;
  --accent-hover: #873322;
  --surface: #f0e8dd;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
a { color: inherit; text-underline-offset: 4px; }
button, a, input, select, textarea, [tabindex] { scroll-margin: 24px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-160%); z-index: 30; padding: 12px 18px; background: var(--ink); color: var(--white); border-radius: 6px; }
.skip-link:focus { transform: none; }
.muted { color: var(--muted); font-size: .85rem; }
.eyebrow { font-size: .63rem; font-weight: 700; line-height: 1.6; letter-spacing: .15em; }
.tiny-star { font-size: 1.4rem; line-height: 1; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border: 1px solid transparent; border-radius: 7px; font-size: .83rem; font-weight: 600; line-height: 1.35; text-decoration: none; transition: background .18s, transform .18s, border-color .18s; }
.button:not(:disabled):active { transform: translateY(1px); }
.button-dark { background: var(--accent); color: var(--white); }
.button-dark:not(:disabled):hover { background: var(--accent-hover); }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:not(:disabled):hover { background: #eab99c; }
.button-outline { background: transparent; border-color: var(--line); }
.button-outline:not(:disabled):hover { background: var(--surface); border-color: #b9a89a; }
.button-quiet { background: transparent; }
.button-quiet:not(:disabled):hover { background: var(--surface); }
.button-small { min-height: 38px; padding: 8px 13px; font-size: .78rem; }
.button-full { width: 100%; }
.button-remove { margin-top: 8px; color: #9a3836; background: transparent; }
.button-remove:hover { background: #f9e7df; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.5rem; line-height: 1; }
.icon-button:hover { background: var(--surface); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1440px; min-height: 80px; margin: auto; padding: 0 22px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 2.15rem; letter-spacing: -.07em; font-weight: 700; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: var(--accent); color: var(--white); font-size: 1.6rem; line-height: 1; letter-spacing: -.12em; padding: 0 3px 6px 0; }
.header-note { display: none; font-family: var(--serif); font-size: .98rem; font-style: italic; border-left: 1px solid var(--line); padding-left: 24px; color: var(--muted); }
.account { margin-left: auto; display: flex; gap: 6px; align-items: center; min-width: 0; }
.account .button { font-size: .76rem; padding-inline: 12px; min-height: 40px; }
.account-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); text-transform: uppercase; font-weight: 700; flex: 0 0 auto; }
.account-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; font-weight: 600; }
.account-identity { display: flex; align-items: center; gap: 8px; min-width: 0; }
.page-wrap { max-width: 1440px; margin-inline: auto; padding: 0 22px; }
.hero { padding: 38px 0 32px; display: block; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 8px; letter-spacing: .1em; font-size: .58rem; }
.hero-copy .tiny-star { color: #5c7640; }
h1 { margin-top: 19px; font-family: var(--serif); font-size: clamp(2.8rem, 9.4vw, 5.4rem); line-height: 1.04; font-weight: 400; letter-spacing: -.065em; }
h1 em { font-weight: 400; }
.hero-description { margin-top: 23px; max-width: 650px; font-size: .88rem; color: var(--muted); line-height: 1.8; }
.desktop-break { display: none; }
.hero-bottom { margin-top: 25px; display: flex; gap: 40px; align-items: center; }
.hero-label { font-size: .58rem; font-weight: 700; letter-spacing: .15em; }
.curved-arrow { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.hero-art { position: relative; min-width: 0; min-height: 285px; display: flex; justify-content: center; align-items: center; background: #e9eccf; border: 1px solid #dfe3c5; border-radius: 10px; overflow: hidden; }
.hero-art::before { content: ""; width: 260px; height: 260px; border: 1px solid #d5dcb9; border-radius: 50%; position: absolute; }
.hero-art img { position: relative; width: 92%; height: auto; max-height: 340px; object-fit: contain; margin-block: 38px 30px; }
.art-kicker { position: absolute; top: 18px; left: 20px; z-index: 1; font-size: .53rem; letter-spacing: .16em; font-weight: 700; }
.art-footnote { position: absolute; bottom: 16px; left: 16px; right: 16px; text-align: center; font-family: var(--serif); font-size: .71rem; font-style: italic; }
.art-seal { position: absolute; right: 12px; top: 42px; width: 76px; height: 76px; border: 1px solid #6b7e44; border-radius: 50%; background: var(--lime); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(12deg); font-family: var(--serif); font-size: .75rem; line-height: 1.15; }
.art-seal strong { font-weight: 400; font-size: 1rem; }
.art-seal > span { margin-top: 3px; font-size: .9rem; }

.workspace-nav { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.tabs { display: flex; gap: 18px; width: 100%; }
.tab { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 66px; padding: 0; border: 0; background: transparent; font-size: .76rem; color: var(--muted); white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--accent); }
.tab:hover { color: var(--ink); }
.tab-count { display: grid; place-items: center; min-width: 22px; height: 21px; padding: 0 5px; border-radius: 5px; background: var(--surface); font-size: .65rem; font-weight: 500; }
.tab[aria-selected="true"] .tab-count { background: var(--lime); }
.tab-arrow { font-size: 1rem; }
.workspace-note { display: none; align-items: center; gap: 7px; font-size: .69rem; color: var(--muted); white-space: nowrap; }
.live-dot { display: block; height: 6px; width: 6px; background: #78954b; border-radius: 50%; }
.workspace-grid { display: grid; gap: 28px; padding-top: 28px; }
.workspace-content { min-width: 0; }
[role="tabpanel"]:focus-visible { outline-offset: 8px; border-radius: 6px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.section-heading h2 { font-family: var(--serif); font-size: clamp(1.75rem, 5.2vw, 2.4rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.2; margin-top: 5px; }
.section-heading .eyebrow { font-size: .57rem; letter-spacing: .12em; color: var(--muted); }
.heading-dot { color: #7c9c47; }
.section-heading .button { min-height: 42px; font-size: .76rem; padding-inline: 13px; }
.empty-state { padding: 34px 20px; border: 1px dashed #cbbbaf; border-radius: 9px; text-align: center; background: var(--surface); }
.empty-symbol { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 17px; border-radius: 50%; background: #e4e9d5; font-size: 1.7rem; font-family: var(--serif); }
.empty-state h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; letter-spacing: -.04em; }
.empty-state p { color: var(--muted); font-size: .83rem; line-height: 1.7; margin: 10px auto 0; max-width: 370px; }
.empty-state .button { margin-top: 22px; }
.guest-banner { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); padding: 17px 18px; background: var(--surface); border-radius: 8px; margin-bottom: 20px; }
.guest-banner > span { font-size: 1.8rem; }
.guest-banner p { font-size: .78rem; line-height: 1.6; color: var(--muted); }
.guest-banner strong { color: var(--ink); font-weight: 600; }
.guest-banner .button { flex-shrink: 0; margin-left: auto; }
.tier-board { display: grid; gap: 10px; }
.tier-row { display: flex; gap: 0; min-height: 91px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; overflow: hidden; }
.tier-label { width: 52px; flex: 0 0 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px 5px; border-right: 1px solid #193d3212; }
.tier-letter { font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; }
.tier-quantity { font-size: .6rem; opacity: .75; }
.tier-s { background: #e9b0a0; color: #5b2b23; }
.tier-a { background: #efd39a; color: #5b4318; }
.tier-b { background: #d8e6a4; color: #3e511d; }
.tier-c { background: #c0dcd0; color: #244e3b; }
.tier-d { background: #c9d7e4; color: #30465a; }
.tier-items { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr; align-content: start; gap: 9px; padding: 12px; }
.tier-empty { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 16px; flex: 1; gap: 3px; }
.tier-empty strong { font-size: .78rem; font-weight: 500; color: var(--muted); }
.tier-empty span { color: var(--muted); font-size: .68rem; }
.tier-drink { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); text-align: left; text-decoration: none; }
button.tier-drink:hover { border-color: #b9a89a; background: var(--surface); }
.tier-drink .drink-image { width: 46px; height: 62px; flex: 0 0 46px; border-radius: 4px; }
.tier-drink-copy { min-width: 0; flex: 1; }
.tier-drink h3 { font-size: .77rem; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.tier-drink-name { display: block; font-size: .77rem; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.tier-comment { font-size: .72rem; color: var(--muted); line-height: 1.6; margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.tier-drink-copy > .tier-comment { display: block; }
.tier-edit { display: block; margin-top: 5px; font-size: .65rem; color: var(--accent); }
.board-footnote { margin-top: 13px; font-size: .69rem; line-height: 1.6; color: var(--muted); }
.search-row { display: flex; flex-direction: column; gap: 10px; }
.search-field { display: flex; align-items: center; flex: 1; gap: 10px; min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--white); padding-left: 13px; }
.search-field > span { font-size: 1.7rem; line-height: 1; color: #6a7764; }
.search-field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search-field input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 13px 12px 13px 0; font-size: .8rem; outline: none; }
.search-row select { padding: 11px 30px 11px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-size: .75rem; }
.results-summary { color: var(--muted); margin: 13px 0 18px; min-height: 16px; font-size: .72rem; }
.drink-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.drink-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--white); overflow: hidden; }
.card-visual { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px; }
.drink-image { display: grid; place-items: center; background: var(--surface); overflow: hidden; }
.drink-image img { width: 100%; height: 100%; object-fit: contain; }
.card-visual .drink-image { width: 100%; height: 145px; }
.photo-placeholder { font-size: .7rem; color: var(--muted); text-align: center; padding: 6px; }
.tier-drink .photo-placeholder { font-size: .6rem; }
.card-tier { position: absolute; top: 10px; right: 10px; display: flex; gap: 5px; align-items: center; padding: 4px 8px; border-radius: 5px; font-size: .65rem; font-weight: 600; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px; min-width: 0; }
.drink-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; }
.card-description { font-size: .72rem; line-height: 1.6; color: var(--muted); margin-top: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.item-place { display: block; margin-top: 10px; font-size: .75rem; line-height: 1.6; color: var(--accent); overflow-wrap: anywhere; white-space: pre-wrap; }
.place-label { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-size: .58rem; font-weight: 600; }
.tier-place { margin-top: 3px; font-size: .68rem; }
.card-body > .button { margin-top: auto; width: 100%; }
.card-body > .card-action { padding-top: 17px; margin-top: auto; }
.card-action .button { width: 100%; min-height: 38px; padding-inline: 8px; font-size: .72rem; }
.friends-intro { color: var(--muted); font-size: .84rem; line-height: 1.8; margin: -5px 0 22px; max-width: 520px; }
.people-list { display: grid; gap: 10px; }
.person { display: flex; align-items: center; width: 100%; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); text-align: left; }
.person:hover { border-color: #b9a89a; background: var(--surface); }
.person-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); font-family: var(--serif); font-size: 1.4rem; flex-shrink: 0; text-transform: uppercase; }
.person-copy { min-width: 0; flex: 1; }
.person-copy strong { display: block; font-size: .88rem; overflow-wrap: anywhere; }
.person-copy small { display: block; margin-top: 4px; font-size: .71rem; color: var(--muted); }
.person-arrow { font-size: 1.4rem; }
.friend-board-heading { display: flex; gap: 12px; align-items: center; margin: 18px 0; }
.friend-board-heading h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; overflow-wrap: anywhere; }
.read-only { font-size: .68rem; color: var(--muted); margin-top: 4px; }
.friend-metrics { margin: -3px 0 20px; color: var(--muted); font-size: .77rem; }

.sidebar { display: grid; gap: 20px; align-content: start; }
.stats-card { background: var(--ink); color: var(--paper); padding: 24px; border-radius: 9px; }
.sidebar-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sidebar-title h2 { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; letter-spacing: -.03em; }
.sidebar-title > span { font-size: 1.7rem; color: var(--lime); }
.sidebar-subtitle { margin-top: 6px; color: #b9cbb7; font-size: .73rem; }
.stats-values { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; }
.stat { padding-right: 12px; }
.stat + .stat { padding-left: 20px; border-left: 1px solid #6d5648; }
.stat strong { display: block; color: var(--lime); font-family: var(--serif); font-size: 2.8rem; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.stat span { font-size: .68rem; color: #dfcdbf; display: block; margin-top: 8px; }
.exploration { margin-top: 27px; }
.exploration-label { display: flex; justify-content: space-between; gap: 10px; font-size: .68rem; color: #dfcdbf; }
.exploration-label strong { color: var(--lime); font-weight: 500; }
progress { display: block; width: 100%; height: 4px; margin-top: 10px; border: 0; border-radius: 4px; background: #6d5648; accent-color: var(--lime); overflow: hidden; }
progress::-webkit-progress-bar { background: #6d5648; }
progress::-webkit-progress-value { background: var(--lime); }
progress::-moz-progress-bar { background: var(--lime); }
.stats-guest { margin-top: 24px; font-size: .82rem; line-height: 1.7; color: #dfcdbf; }
.stats-bottom { display: flex; align-items: center; gap: 15px; margin-top: 25px; padding-top: 20px; border-top: 1px solid #496251; color: #c3cfbb; font-family: var(--serif); font-size: .87rem; line-height: 1.4; font-style: italic; }
.stats-bottom .tiny-star { font-size: 2.5rem; color: var(--lime); font-style: normal; }
.scale-card { border: 1px solid var(--line); border-radius: 9px; padding: 24px; }
.scale-card > .eyebrow { font-size: .56rem; color: var(--muted); }
.scale-card h2 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; letter-spacing: -.03em; margin-top: 6px; }
.tier-guide { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.tier-guide li { display: flex; align-items: center; gap: 10px; font-size: .74rem; color: var(--muted); }
.tier-chip { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; font-weight: 700; font-size: .75rem; flex-shrink: 0; }
.scale-note { border-top: 1px solid var(--line); margin-top: 21px; padding-top: 17px; color: var(--muted); font-size: .71rem; line-height: 1.7; }
.bottom-note { display: flex; align-items: center; gap: 18px; margin: 48px 0 35px; padding-top: 28px; border-top: 1px solid var(--line); }
.note-star { font-size: 2.7rem; color: #7c944c; }
.bottom-note p { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; letter-spacing: -.03em; }
.note-tag { display: none; margin-left: auto; font-size: .59rem; letter-spacing: .14em; font-weight: 600; }
.site-footer { max-width: 1440px; margin: 0 auto; padding: 20px 22px 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; letter-spacing: -.06em; text-decoration: none; }
.site-footer p { font-size: .65rem; line-height: 1.7; color: var(--muted); }
.site-footer > span { margin-left: auto; font-size: .65rem; color: var(--muted); }

.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding: 17px; border: 1px solid #e4c2b3; border-radius: 8px; margin-bottom: 20px; background: #f8eae1; }
.notice strong { font-size: .86rem; }
.notice p { font-size: .77rem; line-height: 1.7; margin-top: 4px; }
.inline-error { margin: 15px 0; padding: 20px; border: 1px solid #e4c2b3; background: #f8eae1; border-radius: 8px; }
.inline-error p { font-size: .82rem; line-height: 1.7; margin-bottom: 12px; }
.loading-state { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 46px 20px; color: var(--muted); font-size: .82rem; border: 1px dashed var(--line); border-radius: 8px; }
.loading-state::before { content: ""; display: inline-block; width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; z-index: 15; bottom: 22px; left: 22px; right: 22px; width: fit-content; max-width: calc(100% - 44px); margin-inline: auto; padding: 14px 20px; border: 1px solid #6d5648; border-radius: 8px; background: var(--ink); color: var(--white); box-shadow: 0 8px 30px #33282226; font-size: .83rem; line-height: 1.6; }
.modal { width: calc(100% - 28px); max-width: 480px; max-height: calc(100dvh - 36px); padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--ink); box-shadow: 0 25px 100px #0d241b33; overflow-y: auto; overscroll-behavior: contain; }
.modal::backdrop { background: #33282299; backdrop-filter: blur(4px); }
.modal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.modal-top .eyebrow { color: var(--muted); font-size: .56rem; }
.modal h2 { font-family: var(--serif); font-size: 2.05rem; font-weight: 400; letter-spacing: -.045em; line-height: 1.15; }
.modal-description { color: var(--muted); font-size: .83rem; line-height: 1.7; margin: 13px 0 24px; overflow-wrap: anywhere; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 24px; background: var(--surface); border-radius: 7px; gap: 4px; }
.auth-switch button { background: transparent; border: 1px solid transparent; border-radius: 5px; padding: 10px; font-size: .83rem; }
.auth-switch button[aria-pressed="true"] { background: var(--white); border-color: var(--line); font-weight: 600; box-shadow: 0 1px 3px #33282209; }
.field { margin-bottom: 20px; }
.field label, .tier-fieldset legend { display: block; margin-bottom: 8px; font-size: .8rem; font-weight: 600; }
.field input:not([type="file"]), .field textarea { display: block; width: 100%; min-width: 0; padding: 12px; border: 1px solid #c6b5a6; border-radius: 6px; background: var(--white); font-size: .87rem; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.field textarea { resize: vertical; min-height: 90px; max-height: 300px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a03c34; }
.field-help { color: var(--muted); font-size: .7rem; line-height: 1.7; margin-top: 7px; }
.required-note, .optional-note { float: right; font-size: .65rem; font-weight: 400; color: var(--muted); }
.form-error { color: #933b32; font-size: .8rem; line-height: 1.7; margin: 0 0 16px; padding: 10px 12px; background: #f7e4dc; border-radius: 5px; overflow-wrap: anywhere; }
.modal-footnote { color: var(--muted); font-size: .69rem; line-height: 1.7; margin-top: 20px; text-align: center; }
.upload-area { display: flex; gap: 16px; align-items: center; padding: 16px; background: var(--surface); border: 1px dashed #c6b5a6; border-radius: 7px; overflow: hidden; }
.upload-area > div { min-width: 0; flex: 1; }
.upload-symbol { display: block; font-size: 1.7rem; margin-bottom: 8px; }
.upload-area input { font-size: .73rem; max-width: 100%; }
.upload-area input::file-selector-button { color: var(--ink); font: inherit; padding: 8px 10px; border: 1px solid #c6b5a6; background: var(--white); border-radius: 4px; cursor: pointer; margin-right: 8px; }
.upload-area p { font-size: .66rem; color: var(--muted); line-height: 1.6; margin-top: 9px; }
.image-preview { width: 72px; height: 100px; flex: 0 0 72px; object-fit: contain; border-radius: 5px; background: var(--white); }
.tier-fieldset { padding: 0; margin: 0 0 23px; border: 0; }
.tier-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.tier-option { position: relative; display: block; }
.tier-option input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tier-option span { display: grid; place-items: center; height: 50px; border-radius: 6px; border: 2px solid transparent; font-family: var(--serif); font-size: 1.7rem; }
.tier-option input:checked + span { border-color: var(--ink); outline: 2px solid var(--paper); outline-offset: -4px; }
.tier-option input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.tier-option input:disabled { cursor: wait; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; padding: 20px; background: var(--ink); color: var(--white); text-align: center; z-index: 40; }

@media (min-width: 480px) {
  .header-inner, .page-wrap { padding-inline: 30px; }
  .tabs { gap: 28px; }
  .tab { font-size: .84rem; gap: 8px; }
  .hero-art { min-height: 330px; }
  .hero-art img { width: 86%; }
  .art-seal { right: 22px; top: 50px; width: 84px; height: 84px; }
  .search-row { flex-direction: row; }
  .sidebar { grid-template-columns: 1fr 1fr; }
  .stats-card, .scale-card { padding: 22px; }
  .modal { padding: 30px; }
  .account-name { max-width: 150px; }
}
@media (min-width: 760px) {
  .header-inner { min-height: 92px; }
  .header-note { display: block; }
  .hero { padding-block: 46px; }
  h1 { font-size: clamp(3.1rem, 5.8vw, 5.4rem); }
  .hero-art { min-height: 325px; }
  .hero-art img { width: 100%; margin-top: 44px; }
  .hero-copy .eyebrow { font-size: .53rem; }
  .hero-description { font-size: .84rem; }
  .hero-bottom { margin-top: 27px; }
  .art-kicker { font-size: .46rem; }
  .art-seal { right: 12px; top: 40px; width: 70px; height: 70px; font-size: .68rem; }
  .art-seal strong { font-size: .9rem; }
  .art-footnote { font-size: .62rem; }
  .workspace-grid { padding-top: 32px; }
  .tier-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drink-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .note-tag { display: block; }
  .bottom-note p { font-size: 1.8rem; }
  .bottom-note { gap: 25px; margin-top: 58px; }
  .note-star { font-size: 3.4rem; }
  .site-footer { gap: 24px; padding-inline: 30px; }
}
@media (min-width: 1024px) {
  .header-inner, .page-wrap { padding-inline: 48px; }
  .hero { padding-block: 53px 48px; }
  .hero-art { min-height: 366px; }
  .hero-art::before { width: 315px; height: 315px; }
  .hero-copy .eyebrow { font-size: .59rem; }
  .hero-description { font-size: .92rem; }
  .desktop-break { display: block; }
  .art-kicker { top: 22px; left: 24px; font-size: .51rem; }
  .art-seal { right: 23px; top: 47px; width: 82px; height: 82px; font-size: .74rem; }
  .art-seal strong { font-size: 1.05rem; }
  .art-footnote { bottom: 21px; font-size: .72rem; }
  .tabs { width: auto; gap: 34px; }
  .tab { min-height: 72px; }
  .workspace-note { display: flex; }
  .workspace-grid { grid-template-columns: minmax(0, 1fr) 252px; gap: 32px; padding-top: 36px; }
  .sidebar { grid-template-columns: 1fr; }
  .section-heading { min-height: 60px; margin-bottom: 26px; }
  .section-heading h2 { font-size: 2.1rem; }
  .section-heading .button { font-size: .73rem; }
  .tier-row { min-height: 99px; }
  .tier-label { width: 60px; flex-basis: 60px; }
  .tier-empty { padding-left: 23px; }
  .tier-items { padding: 12px 14px; }
  .stats-card, .scale-card { padding: 23px; }
  .site-footer { padding-inline: 48px; }
}
@media (min-width: 1280px) {
  .header-inner, .page-wrap { padding-inline: 64px; }
  .hero { padding-block: 57px 52px; }
  .hero-copy .eyebrow { font-size: .65rem; }
  h1 { font-size: 5.1rem; }
  .hero-art { min-height: 394px; }
  .hero-art img { width: 96%; max-height: 340px; }
  .hero-description { font-size: .97rem; }
  .hero-bottom { margin-top: 30px; }
  .hero-label { font-size: .63rem; }
  .workspace-grid { grid-template-columns: minmax(0, 1fr) 277px; gap: 40px; }
  .section-heading h2 { font-size: 2.35rem; }
  .section-heading .button { font-size: .78rem; }
  .tier-row { min-height: 105px; }
  .stats-card, .scale-card { padding: 26px; }
  .card-visual .drink-image { height: 160px; }
  .site-footer { padding-inline: 64px; }
}
@media (max-width: 479px) {
  .drink-grid { grid-template-columns: 1fr; }
  .card-visual .drink-image { height: 190px; }
  .drink-card h3 { font-size: 1.3rem; }
  .item-place, .card-description { font-size: .82rem; }
  .header-inner { gap: 10px; flex-wrap: wrap; padding-block: 12px; }
  .header-inner .brand { font-size: clamp(1.35rem, 5.8vw, 1.8rem); white-space: nowrap; }
  .header-inner .brand-mark { display: none; }
}
@media (max-width: 359px) {
  .header-inner, .page-wrap { padding-inline: 16px; }
  .brand { font-size: 1.85rem; gap: 7px; }
  .brand-mark { width: 30px; height: 30px; font-size: 1.4rem; }
  .account { gap: 0; }
  .account .button { padding-inline: 8px; font-size: .7rem; }
  .account-name { max-width: 67px; }
  .tabs { gap: 14px; }
  .tab { font-size: .69rem; }
  .tab-count { min-width: 18px; padding-inline: 3px; }
  .guest-banner { flex-wrap: wrap; }
  .guest-banner .button { margin-left: 0; }
  .drink-grid { gap: 9px; }
  .card-body { padding: 10px; }
  .card-visual { padding: 10px; }
  .site-footer { padding-inline: 16px; }
}
@media (max-width: 759px) {
  .is-signed-in .hero { padding-block: 25px; gap: 0; }
  .is-signed-in .hero h1 { margin-top: 12px; font-size: clamp(2.15rem, 7vw, 3.1rem); }
  .is-signed-in .hero-art, .is-signed-in .hero-bottom, .is-signed-in .hero-description { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
