:root {
    --bg: #f6f0e6;
    --paper: #fffaf2;
    --ink: #1f1a17;
    --muted: #6f6257;
    --accent: #a64b00;
    --accent-dark: #7d3600;
    --accent-soft: rgba(166, 75, 0, 0.08);
    --line: #dfd2c3;
    --shadow: 0 18px 45px rgba(85, 50, 18, 0.12);
    --shadow-soft: 0 12px 28px rgba(85, 50, 18, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 214, 153, 0.35), transparent 28rem),
        linear-gradient(180deg, #f9f3ea 0%, var(--bg) 100%);
}

a {
    color: inherit;
}

.wrap {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(248, 240, 230, 0.92));
    border-bottom: 1px solid rgba(166, 75, 0, 0.1);
    box-shadow: 0 10px 28px rgba(85, 50, 18, 0.05);
}

.header-grid,
.hero-grid,
.tap-table-header,
.tap-table-row,
.venue-row {
    display: grid;
    gap: 1rem;
}

.header-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 0;
}

.header-topline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    display: block;
    filter: drop-shadow(0 10px 16px rgba(125, 54, 0, 0.14));
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 0.04em;
}

.brand-tagline {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
    background: rgba(255, 250, 242, 0.88);
    color: var(--accent-dark);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.85rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(166, 75, 0, 0.14);
    border-radius: 999px;
    background: rgba(255, 250, 242, 0.84);
    color: var(--ink);
    font: inherit;
    box-shadow: var(--shadow-soft);
}

.nav-toggle-box {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.24rem;
    width: 1.2rem;
}

.nav-toggle-box span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-dark);
}

.nav-toggle-label {
    font-size: 0.92rem;
    font-weight: bold;
}

.hero,
.section {
    padding: 4rem 0;
}

.install-banner {
    position: sticky;
    top: 5.35rem;
    z-index: 9;
    padding: 0.75rem 0 0;
    opacity: 0;
    transform: translateY(-1rem) scale(0.96);
    transition: opacity 0.32s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.install-banner.install-banner-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.install-banner-wrap {
    display: flex;
    justify-content: flex-end;
}

.install-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(100%, 32rem);
    padding: 0.95rem 1rem;
    border-radius: 1.35rem;
    background:
        linear-gradient(135deg, rgba(125, 54, 0, 0.97), rgba(166, 75, 0, 0.94));
    color: #fffaf2;
    box-shadow: 0 18px 38px rgba(85, 50, 18, 0.18);
}

.install-copy {
    min-width: 0;
    opacity: 0;
    transform: translateY(0.35rem);
    transition: opacity 0.22s ease 0.08s, transform 0.28s ease 0.08s;
}

.install-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 250, 242, 0.78);
}

.install-message {
    margin: 0;
    line-height: 1.45;
}

.install-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: 0 0 auto;
    opacity: 0;
    transform: translateY(0.45rem);
    transition: opacity 0.22s ease 0.16s, transform 0.28s ease 0.16s;
}

.install-banner.install-banner-visible .install-copy,
.install-banner.install-banner-visible .install-actions {
    opacity: 1;
    transform: translateY(0);
}

.install-banner .button {
    background: #fffaf2;
    color: var(--accent-dark);
    box-shadow: none;
}

.install-dismiss {
    min-height: 2.5rem;
    padding: 0.45rem 0.75rem;
    border: 0;
    background: transparent;
    color: rgba(255, 250, 242, 0.86);
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

.hero-grid {
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 1.5rem;
}

.eyebrow,
.card-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-size: 0.75rem;
}

h1,
h2,
h3 {
    line-height: 1.1;
    margin: 0 0 0.75rem;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    max-width: 12ch;
}

.hero-copy,
.muted {
    color: var(--muted);
}

.hero-copy {
    max-width: 60ch;
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.filter-bar {
    display: block;
    margin-bottom: 1.5rem;
}

.section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.section-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 250, 242, 0.8);
    text-decoration: none;
}

.filter-bar label {
    font-weight: bold;
}

.filter-clear {
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: bold;
}

.button-small {
    padding: 0.7rem 1rem;
    box-shadow: none;
}

.button {
    display: inline-block;
    font: inherit;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(85, 50, 18, 0.16);
}

.button-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}

.auth-provider-list p {
    margin: 0;
}

.auth-provider-button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.95rem;
    width: min(100%, 26rem);
    padding: 0.9rem 1.15rem;
    border: 1px solid transparent;
    font-weight: bold;
}

.auth-provider-button:hover,
.auth-provider-button:focus-visible {
    border-color: rgba(31, 26, 23, 0.14);
}

.auth-provider-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 0 0 1px rgba(31, 26, 23, 0.08);
}

.auth-provider-badge svg {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
}

.auth-provider-button-google {
    background: #ffffff;
    color: #202124;
    border-color: #d9dde3;
    box-shadow: 0 12px 28px rgba(32, 33, 36, 0.08);
}

.auth-provider-button-google:hover,
.auth-provider-button-google:focus-visible {
    background: #f8fbff;
}

.auth-provider-button-microsoft {
    background: linear-gradient(135deg, #eef6ff, #ffffff);
    color: #0f172a;
    border-color: #cfdced;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.auth-provider-button-microsoft:hover,
.auth-provider-button-microsoft:focus-visible {
    background: linear-gradient(135deg, #e5f0ff, #ffffff);
}

.auth-provider-button-facebook {
    background: linear-gradient(135deg, #1877f2, #0b57d0);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(24, 119, 242, 0.28);
}

.auth-provider-button-facebook:hover,
.auth-provider-button-facebook:focus-visible {
    background: linear-gradient(135deg, #2a84f4, #1459ca);
}

.auth-provider-button-apple {
    background: linear-gradient(135deg, #1d1d1f, #000000);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.auth-provider-button-apple:hover,
.auth-provider-button-apple:focus-visible {
    background: linear-gradient(135deg, #2b2b2e, #0d0d0d);
}

.auth-provider-badge-facebook,
.auth-provider-badge-apple {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-stat-card,
.card,
.tap-table,
.venue-row {
    background: var(--paper);
    border: 1px solid rgba(166, 75, 0, 0.12);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
}

.hero-stat-card {
    padding: 2rem;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.92), rgba(255, 250, 242, 0.82)),
        var(--paper);
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: bold;
}

.stat-label {
    color: var(--muted);
}

.section-soft {
    background: rgba(255, 250, 242, 0.65);
}

.section-heading {
    margin-bottom: 1.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.card-grid-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    padding: 1.4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 242, 0.9)),
        var(--paper);
}

.card-featured {
    padding: 0;
    overflow: hidden;
}

.card-featured-header {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(166, 75, 0, 0.14), rgba(255, 250, 242, 0.9));
    border-bottom: 1px solid rgba(166, 75, 0, 0.1);
}

.card-featured-body {
    padding: 1.4rem;
}

.card-profile {
    display: grid;
    gap: 1rem;
}

.profile-head,
.profile-title-row,
.profile-hero,
.profile-stat-grid,
.stat-pills {
    display: grid;
    gap: 1rem;
}

.profile-head,
.profile-title-row {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.profile-hero {
    grid-template-columns: 2fr 1fr;
    align-items: start;
    margin-bottom: 2rem;
}

.profile-stat-grid {
    grid-template-columns: 1fr;
}

.brewery-logo-large {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
}

.brewery-logo-hero {
    width: 86px;
    height: 86px;
    border-radius: 1.1rem;
}

.brewery-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.92)),
        var(--paper);
}

.brewery-list-card {
    position: relative;
    padding-right: 5.5rem;
}

.brewery-list-copy {
    min-width: 0;
}

.brewery-title-row {
    align-items: stretch;
}

.brewery-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.95), rgba(255, 250, 242, 0.65)),
        linear-gradient(180deg, rgba(166, 75, 0, 0.14), rgba(255, 250, 242, 0.9));
    border: 1px solid rgba(166, 75, 0, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 14px 30px rgba(85, 50, 18, 0.08);
}

.brewery-logo-frame-list {
    width: 88px;
    height: 88px;
    padding: 0.9rem;
    border-radius: 1.35rem;
}

.brewery-logo-frame-hero {
    min-height: 172px;
    min-width: 172px;
    padding: 1.1rem 1.25rem;
    border-radius: 1.5rem;
}

.brewery-logo-page {
    object-fit: contain;
    background: transparent;
    border: 0;
}

.brewery-list-logo-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0.45rem;
    border-radius: 1rem;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.95), rgba(255, 250, 242, 0.65)),
        linear-gradient(180deg, rgba(166, 75, 0, 0.14), rgba(255, 250, 242, 0.9));
    border: 1px solid rgba(166, 75, 0, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 10px 24px rgba(85, 50, 18, 0.08);
}

.brewery-list-logo-badge .brewery-logo-page {
    width: 100%;
    height: 100%;
}

.brewery-logo-frame-list .brewery-logo-page {
    width: 100%;
    height: 100%;
}

.brewery-logo-frame-hero .brewery-logo-page {
    width: 100%;
    height: 132px;
}

.stat-pills {
    grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
}

.stat-pills-spaced {
    margin-bottom: 1.5rem;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(166, 75, 0, 0.08);
    border: 1px solid rgba(166, 75, 0, 0.12);
    color: var(--accent-dark);
    font-weight: bold;
}

.hero-stat-card-compact {
    padding: 1.4rem;
}

.beer-cell {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.beer-cell-stacked {
    align-items: flex-start;
}

.beer-cell-stacked p {
    margin: 0.2rem 0 0;
}

.meta-line {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: rgba(166, 75, 0, 0.1);
    border: 1px solid rgba(166, 75, 0, 0.16);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: bold;
    line-height: 1;
    flex: 0 0 auto;
}

.brewery-logo {
    width: 42px;
    height: 42px;
    border-radius: 0.8rem;
    object-fit: cover;
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid var(--line);
}

.brewery-logo-placeholder {
    visibility: hidden;
    background: transparent;
    border-color: transparent;
}

.brewery-logo-card {
    margin-bottom: 0.85rem;
}

.brewery-logo-featured {
    width: 100%;
    height: 88px;
    border-radius: 0;
    object-fit: contain;
    border: 0;
    background: transparent;
}

.venue-list {
    display: grid;
    gap: 1rem;
}

.group-stack {
    display: grid;
    gap: 1.25rem;
}

.group-stack-tight {
    gap: 0.9rem;
}

.group-card {
    background: rgba(255, 250, 242, 0.55);
    border: 1px solid rgba(166, 75, 0, 0.12);
    border-radius: 1.5rem;
    padding: 1.1rem;
    scroll-margin-top: 6.5rem;
}

.group-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.beverage-section {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(166, 75, 0, 0.08);
    border-radius: 1rem;
    padding: 0.9rem;
    scroll-margin-top: 6.5rem;
}

.beverage-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.tap-summary {
    margin-bottom: 1rem;
}

.filter-panel {
    background: rgba(255, 250, 242, 0.72);
    border: 1px solid rgba(166, 75, 0, 0.12);
    border-radius: 1.25rem;
    padding: 0;
    overflow: hidden;
}

.filter-summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.1rem;
}

.filter-summary::-webkit-details-marker {
    display: none;
}

.filter-summary::after {
    content: "+";
    float: right;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--accent-dark);
}

.filter-panel[open] .filter-summary::after {
    content: "-";
}

.filter-title {
    display: block;
    font-weight: bold;
}

.filter-summary-text {
    display: block;
    margin-top: 0.25rem;
}

.filter-panel-body {
    padding: 0 1.1rem 1rem;
    border-top: 1px solid rgba(166, 75, 0, 0.1);
}

.filter-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-help,
.filter-selected {
    margin: 0;
}

.filter-selected {
    margin-bottom: 0.85rem;
}

.filter-groups {
    display: grid;
    gap: 0.9rem;
}

.filter-group {
    margin: 0;
    border: 1px solid rgba(166, 75, 0, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.5);
}

.filter-group-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
}

.filter-group-summary::-webkit-details-marker {
    display: none;
}

.filter-group-summary::before {
    content: "+";
    color: var(--accent-dark);
    font-weight: bold;
}

.filter-group[open] .filter-group-summary::before {
    content: "-";
}

.filter-group-title {
    font-weight: bold;
    color: var(--accent-dark);
}

.filter-group-meta {
    margin-right: auto;
}

.filter-group-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0 1rem 0.5rem;
}

.filter-group-select {
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    border-radius: 999px;
    min-height: 2.5rem;
    padding: 0.5rem 0.85rem;
    font: inherit;
    cursor: pointer;
}

.filter-group .filter-options {
    padding: 0 1rem 1rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.filter-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.filter-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-chip span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.filter-chip input:checked + span {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.venue-row {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.2rem 1.4rem;
}

.tap-count {
    color: var(--accent-dark);
    font-weight: bold;
}

.tap-table {
    overflow: hidden;
    margin-top: 2rem;
}

.tap-table-header,
.tap-table-row {
    grid-template-columns: minmax(0, 1.65fr) minmax(180px, 1fr);
    padding: 1rem 1.25rem;
}

.tap-table-compact .tap-table-header,
.tap-table-compact .tap-table-row {
    grid-template-columns: minmax(0, 1.8fr) minmax(170px, 0.8fr);
}

.tap-table-header {
    background: rgba(166, 75, 0, 0.08);
    font-weight: bold;
}

.tap-table-row + .tap-table-row {
    border-top: 1px solid var(--line);
}

.tap-detail {
    color: var(--muted);
}

.tap-action-row {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-top: 0.65rem;
}

.want-to-try-form {
    margin-top: 0;
}

.want-to-try-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.2rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(166, 75, 0, 0.18);
    border-radius: 999px;
    background: rgba(166, 75, 0, 0.08);
    color: var(--accent-dark);
    font: inherit;
    font-size: 0.92rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.want-to-try-button:hover,
.want-to-try-button:focus-visible {
    background: rgba(166, 75, 0, 0.14);
    border-color: rgba(166, 75, 0, 0.26);
    transform: translateY(-1px);
}

.want-to-try-button.is-saved {
    background: rgba(69, 117, 91, 0.14);
    border-color: rgba(69, 117, 91, 0.22);
    color: #2c5c47;
}

.want-to-try-button.is-liked {
    background: rgba(199, 120, 0, 0.16);
    border-color: rgba(199, 120, 0, 0.24);
    color: #8b5700;
}

.want-to-try-button.is-danger {
    background: rgba(166, 37, 47, 0.12);
    border-color: rgba(166, 37, 47, 0.24);
    color: #8f1f28;
}

.want-to-try-button.is-danger:hover,
.want-to-try-button.is-danger:focus-visible {
    background: rgba(166, 37, 47, 0.18);
    border-color: rgba(166, 37, 47, 0.34);
}

.tap-action-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.55;
}

.tap-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    line-height: 1;
}

.tap-icon {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.tap-icon-filled {
    display: none;
}

.want-to-try-button.is-saved .tap-icon-outline,
.want-to-try-button.is-liked .tap-icon-outline {
    display: none;
}

.want-to-try-button.is-saved .tap-icon-filled,
.want-to-try-button.is-liked .tap-icon-filled {
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.saved-tap-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(166, 75, 0, 0.1);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.55);
}

.tap-list-loader {
    margin: 1rem 0 0;
    width: 100%;
    color: var(--muted);
}

.tap-summary-subtle {
    margin-top: -0.35rem;
}

.tap-list-skeleton {
    display: grid;
    gap: 0.9rem;
}

.tap-list-skeleton-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1.6fr) minmax(180px, 1fr);
    gap: 0.9rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(166, 75, 0, 0.1);
    border-radius: 1.25rem;
    background: rgba(255, 250, 242, 0.75);
}

.tap-list-skeleton-copy {
    display: grid;
    gap: 0.5rem;
}

.tap-list-skeleton-block {
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            rgba(223, 210, 195, 0.45) 0%,
            rgba(255, 250, 242, 0.95) 48%,
            rgba(223, 210, 195, 0.45) 100%
        );
    background-size: 220% 100%;
    animation: tap-list-shimmer 1.1s linear infinite;
}

.tap-list-skeleton-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.tap-list-skeleton-title {
    width: min(100%, 18rem);
    height: 1rem;
}

.tap-list-skeleton-meta {
    width: min(100%, 12rem);
    height: 0.8rem;
}

.tap-list-skeleton-meta-short {
    width: min(100%, 8rem);
}

.tap-list-skeleton-detail {
    width: min(100%, 11rem);
    height: 0.95rem;
    justify-self: end;
}

@keyframes tap-list-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -20% 0;
    }
}

.tap-cell-label {
    display: none;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: bold;
}

@media (max-width: 780px) {
    .header-grid,
    .hero-grid,
    .profile-head,
    .profile-title-row,
    .profile-hero,
    .venue-row,
    .tap-table-header,
    .tap-table-row {
        grid-template-columns: 1fr;
    }

    .site-nav,
    .hero-actions,
    .filter-panel-head,
    .filter-actions {
        flex-wrap: wrap;
    }

    .header-grid {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .header-topline {
        justify-content: space-between;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.35rem;
        border: 1px solid rgba(166, 75, 0, 0.1);
        border-radius: 1.25rem;
        background: rgba(255, 250, 242, 0.92);
        box-shadow: var(--shadow-soft);
    }

    .site-nav[data-open="true"] {
        display: flex;
    }

    .site-nav-link {
        width: 100%;
        justify-content: flex-start;
        min-height: 3rem;
        padding: 0.8rem 0.95rem;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(166, 75, 0, 0.08);
    }

    .auth-provider-button {
        width: 100%;
    }

    .install-banner {
        top: 4.9rem;
    }

    .install-banner-inner {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .install-actions {
        justify-content: space-between;
    }

    .saved-tap-card {
        flex-direction: column;
        align-items: flex-start;
    }

    h1 {
        max-width: none;
    }

    .brand-tagline {
        display: none;
    }

    .brewery-list-card {
        padding-right: 1.4rem;
    }

    .brewery-list-logo-badge {
        position: static;
        width: 64px;
        height: 64px;
        margin-bottom: 0.25rem;
    }

    .tap-table-compact .tap-table-header {
        display: none;
    }

    .tap-table-compact .tap-table-row {
        gap: 0.85rem;
        padding: 1rem 1rem 1.1rem;
        grid-template-columns: 1fr;
    }

    .tap-table-compact .beer-cell {
        min-width: 0;
    }

    .tap-table-compact .beer-cell-stacked {
        gap: 0.75rem;
    }

    .tap-table-compact .beer-cell-stacked strong {
        display: block;
        line-height: 1.3;
    }

    .tap-table-compact .beer-cell-stacked .meta-line + .meta-line {
        margin-top: 0.3rem;
    }

    .tap-table-compact .tap-detail {
        display: block;
        padding-left: calc(42px + 0.85rem);
        line-height: 1.4;
        padding-top: 0.1rem;
    }

    .tap-table:not(.tap-table-compact) {
        margin-top: 1.2rem;
    }

    .tap-table:not(.tap-table-compact) .tap-table-header {
        display: none;
    }

    .tap-table:not(.tap-table-compact) .tap-table-row {
        gap: 0.8rem;
        padding: 1rem;
        grid-template-columns: 1fr;
    }

    .tap-list-skeleton-row {
        grid-template-columns: 1fr;
    }

    .tap-list-skeleton-detail {
        justify-self: start;
        width: min(100%, 9rem);
    }

    .tap-table:not(.tap-table-compact) .tap-table-row > * + * {
        border-top: 1px solid rgba(166, 75, 0, 0.08);
        padding-top: 0.75rem;
    }

    .tap-table:not(.tap-table-compact) .beer-cell {
        align-items: flex-start;
    }

    .tap-table:not(.tap-table-compact) .tap-cell-label {
        display: block;
    }

    .group-heading,
    .beverage-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-grid-featured {
        grid-template-columns: 1fr;
    }

    .filter-group-summary {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .filter-group-meta {
        margin-right: 0;
    }

    .filter-group-actions {
        justify-content: stretch;
    }

    .filter-group-select {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .wrap {
        width: min(1100px, calc(100% - 1.25rem));
    }

    .hero,
    .section {
        padding: 2.75rem 0;
    }

    .site-header {
        backdrop-filter: blur(12px);
    }

    .install-banner {
        top: 4.65rem;
        padding-top: 0.5rem;
    }

    .install-banner-inner {
        padding: 0.95rem;
        border-radius: 1.15rem;
    }

    .brand-name {
        font-size: 1.02rem;
    }

    .nav-toggle-label {
        display: none;
    }

    .tap-table-compact .tap-table-row {
        padding: 1rem 0.9rem 1.15rem;
    }

    .tap-table-compact .beer-cell {
        align-items: flex-start;
    }

    .tap-table-compact .beer-cell-stacked {
        gap: 0.7rem;
    }

    .tap-table-compact .tap-detail {
        display: block;
        padding-left: calc(42px + 0.85rem);
        border-top: 1px solid rgba(166, 75, 0, 0.08);
        padding-top: 0.65rem;
        margin-top: -0.1rem;
    }

    .stat-number {
        font-size: 3rem;
    }
}
