.wine-party-surface {
    min-height: 70vh;
    background: #f5f6f8;
    border-bottom: 1px solid #e7e9ee;
}

.wine-party-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 104px 32px 72px;
    color: #20242d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

#winePartyJournal h1,
#winePartyJournal h2,
#winePartyJournal h3,
#winePartyJournal h4 {
    font-family: inherit;
    letter-spacing: 0;
}

.wine-party-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}

.wine-party-heading {
    min-width: 0;
}

.wine-party-page .wine-party-eyebrow {
    margin: 0 0 8px;
    color: #d34349;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
}

.wine-party-header h1 {
    margin: 0 0 10px;
    color: #20242d;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

.wine-party-page .wine-party-subtitle {
    margin: 0;
    color: #77808f;
    font-size: 14px;
    line-height: 1.7;
}

.wine-party-stats {
    display: flex;
    flex: 0 0 auto;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #77808f;
    font-size: 12px;
}

.wine-party-stats li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 56px;
}

.wine-party-stats li + li {
    padding-left: 28px;
    border-left: 1px solid #dfe3e9;
}

.wine-party-stats strong {
    color: #20242d;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.gathering-year + .gathering-year {
    margin-top: 32px;
}

.gathering-year-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.gathering-year-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e5eb;
}

.gathering-year-heading h2 {
    margin: 0;
    color: #20242d;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

.gathering-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    overflow: hidden;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #fff;
}

.gathering-card {
    min-width: 0;
    padding: 24px 28px;
    border-bottom: 1px solid #edf0f4;
    overflow-wrap: anywhere;
}

.gathering-card:last-child {
    border-bottom: 0;
}

.gathering-overview {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.gathering-date {
    display: flex;
    flex: 0 0 76px;
    flex-direction: column;
    gap: 4px;
    padding: 2px 20px 0 0;
    border-right: 1px solid #edf0f4;
    font-variant-numeric: tabular-nums;
}

.gathering-date-day {
    color: #343b48;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.gathering-date-year {
    color: #8a93a1;
    font-size: 11px;
}

.gathering-information {
    flex: 1;
    min-width: 0;
}

.gathering-information h3 {
    margin: 0 0 8px;
    color: #20242d;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.wine-party-page .gathering-location {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    margin: 0;
    color: #667080;
    font-size: 14px;
}

.gathering-separator {
    color: #b0b7c2;
}

.wine-party-page .gathering-companions {
    margin: 8px 0 0;
    color: #8a93a1;
    font-size: 12px;
}

.gathering-body {
    margin: 18px 0 0 100px;
}

.tasting-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #edf0f4;
}

.tasting-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    padding: 16px 0;
    border-bottom: 1px solid #edf0f4;
}

.tasting-item:last-child {
    border-bottom: 0;
}

.tasting-image {
    display: block;
    flex: 0 0 64px;
    width: 64px;
    max-height: 96px;
    object-fit: contain;
    object-position: top center;
}

.tasting-content {
    flex: 1;
    min-width: 0;
}

.tasting-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.tasting-title {
    display: flex;
    flex: 1;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    min-width: 0;
}

.tasting-category {
    color: #bd3c43;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.tasting-heading h4 {
    min-width: 0;
    margin: 0;
    color: #343b48;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.tasting-indicators {
    display: flex;
    flex: 0 0 auto;
    align-items: baseline;
    gap: 12px;
}

.tasting-price {
    color: #343b48;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tasting-rating {
    flex: 0 0 auto;
    color: #a86b0a;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.tasting-rating > span {
    color: #8a93a1;
    font-size: 11px;
    font-weight: 400;
}

.wine-party-page .tasting-meta,
.wine-party-page .tasting-note {
    margin: 5px 0 0;
    color: #667080;
    font-size: 12px;
    line-height: 1.8;
}

.wine-party-page .tasting-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
}

.wine-party-page .tasting-note {
    color: #46505f;
    font-size: 13px;
}

.wine-party-page .gathering-impression {
    margin: 16px 0 0 100px;
    padding-left: 12px;
    border-left: 2px solid #e4e8ef;
    color: #667080;
    font-size: 14px;
    line-height: 1.8;
}

.gathering-memory {
    margin: 18px 0 0 100px;
    padding-top: 14px;
    border-top: 1px solid #edf0f4;
}

.gathering-memory summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    list-style: none;
    color: #bd3c43;
    font-size: 12px;
    line-height: 1.8;
    cursor: pointer;
}

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

.gathering-memory summary:focus-visible,
.gathering-gallery a:focus-visible {
    outline: 2px solid #bd3c43;
    outline-offset: 4px;
    border-radius: 2px;
}

.gathering-chevron {
    width: 7px;
    height: 7px;
    margin-right: 3px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}

.gathering-memory[open] .gathering-chevron {
    transform: rotate(225deg);
}

.gathering-memory-open,
.gathering-memory[open] .gathering-memory-closed {
    display: none;
}

.gathering-memory[open] .gathering-memory-open {
    display: inline;
}

.gathering-memory-content {
    padding-top: 16px;
}

.wine-party-page .gathering-review {
    margin: 0 0 16px;
    color: #46505f;
    font-size: 14px;
    line-height: 1.9;
    white-space: pre-line;
}

.gathering-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
}

.gathering-gallery figure {
    margin: 0;
}

.gathering-gallery a {
    display: block;
}

.gathering-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.gathering-gallery figcaption {
    margin-top: 7px;
    color: #77808f;
    font-size: 11px;
    line-height: 1.6;
}

.gathering-empty {
    padding: 54px 20px;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.gathering-empty h2 {
    margin: 0 0 10px;
    color: #343b48;
    font-size: 20px;
    font-weight: 600;
}

.wine-party-page .gathering-empty p {
    margin: 0;
    color: #77808f;
    font-size: 13px;
}

@media only screen and (max-width: 767px) {
    .wine-party-page {
        padding: 84px 16px 48px;
    }

    .wine-party-header {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 26px;
    }

    .wine-party-header h1 {
        font-size: 30px;
    }

    .wine-party-stats {
        gap: 24px;
    }

    .wine-party-stats strong {
        font-size: 24px;
    }

    .wine-party-stats li + li {
        padding-left: 24px;
    }

    .gathering-year-heading h2 {
        font-size: 16px;
    }

    .gathering-card {
        padding: 20px 18px;
    }

    .gathering-overview {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .gathering-date {
        flex-direction: row;
        gap: 6px;
        padding: 0;
        border: 0;
    }

    .gathering-date-day,
    .gathering-date-year {
        color: #8a93a1;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.6;
    }

    .gathering-body,
    .wine-party-page .gathering-impression,
    .gathering-memory {
        margin-left: 0;
    }

    .tasting-item {
        gap: 12px;
    }

    .tasting-image {
        flex-basis: 52px;
        width: 52px;
    }

    .gathering-empty {
        padding: 44px 18px;
    }
}
