@charset "utf-8";
/* ==========================================================================
   events.css  -  Events list + Event Detail
   Design: Events-PC/SP, EventDetail-PC/SP
   Event card, ask band, pill nav come from module.css
   ========================================================================== */

/* ---------- list ---------- */
.ev { padding-bottom: .56rem; }
.ev-head {
    padding: .2rem 0 .24rem;
    background: var(--c-warm);
}
.ev-head_title {
    margin-top: .08rem;
    font-size: .28rem;
    line-height: .36rem;
    font-weight: 700;
    text-transform: uppercase;
}
.ev-head_lead {
    margin-top: .04rem;
    font-size: .14rem;
    line-height: .2rem;
    color: var(--c-ink-muted);
}
.ev-tabs {
    margin: .16rem calc(var(--side) * -1) 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.ev-tabs::-webkit-scrollbar { display: none; }
.ev-tabs ul {
    display: flex;
    gap: .06rem;
    width: max-content;
    padding: 0 var(--side);
}
/* SP: pills / PC: underlined tabs */
.ev-tabs a {
    position: relative;
    display: flex;
    align-items: center;
    height: .36rem;
    padding: 0 .16rem;
    border: 1px solid var(--c-line);
    border-radius: 9999px;
    font-size: .13rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: border-color .2s, background-color .2s, color .2s;
}
.ev-tabs a:hover { border-color: var(--c-ink); }
.ev-tabs .is-current {
    border-color: var(--c-ink);
    background: var(--c-ink);
    color: var(--c-white);
}
.ev-grid {
    display: grid;
    gap: .2rem;
    margin-top: .2rem;
}
.ev-empty { margin-top: .24rem; }

/* ---------- detail ---------- */
.evd { padding: .16rem 0 .56rem; }
.evd-hero {
    display: grid;
    gap: .2rem;
    margin-top: .12rem;
}
.evd-hero_img {
    position: relative;
    overflow: hidden;
    border-radius: .08rem;
    background: var(--c-warm);
}
.evd-hero_img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.evd-hero_img .c-event_status { left: .14rem; top: .14rem; }
.evd-hero_info {
    display: flex;
    flex-direction: column;
    gap: .12rem;
}
.evd-hero_title {
    font-size: .26rem;
    line-height: .34rem;
    font-weight: 700;
}
.evd-hero_date { font-size: .13rem; }
.evd-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .12rem;
    padding: .12rem .16rem;
    border-radius: .08rem;
    background: var(--c-sage-dark);
    color: var(--c-white);
}
.evd-count.is-ending { background: var(--c-coral); }
.evd-count_label {
    display: flex;
    flex-direction: column;
    font-size: .11rem;
    line-height: .16rem;
}
.evd-count_label strong {
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.evd-count_label span { opacity: .9; }
.evd-count_time {
    display: flex;
    align-items: flex-start;
    gap: .06rem;
}
.evd-count_time > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .09rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.evd-count_time strong {
    font-size: .24rem;
    line-height: .28rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.evd-count_time b {
    font-size: .2rem;
    line-height: .26rem;
    font-weight: 700;
}
.evd-hero_desc {
    font-size: .14rem;
    line-height: .22rem;
    color: var(--c-ink-muted);
}
.evd-perks {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    font-size: .14rem;
    line-height: .2rem;
}
.evd-perks li {
    display: flex;
    align-items: center;
    gap: .1rem;
}
.evd-perks strong { font-weight: 700; }
.evd-perks_icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: .3rem;
    height: .3rem;
    border-radius: 50%;
    background: #E6EBE7;
    color: var(--c-sage-dark);
}
.evd-perks_icon .icon {
    width: .16rem;
    height: .16rem;
}
.evd-shop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .06rem;
    height: .48rem;
    border-radius: .06rem;
    background: var(--c-ink);
    font-size: .15rem;
    font-weight: 600;
    color: var(--c-white);
    transition: background-color var(--dur);
}
.evd-shop:hover { background: #3A3531; }
.evd-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .08rem;
    font-size: .13rem;
    font-weight: 600;
}
.evd-share a,
.evd-share_copy {
    display: grid;
    place-items: center;
    width: .36rem;
    height: .36rem;
    border: 1px solid var(--c-line);
    border-radius: 9999px;
    font-size: .15rem;
    transition: border-color .2s;
}
.evd-share_copy {
    display: flex;
    gap: .06rem;
    width: auto;
    padding: 0 .12rem;
    font-size: .12rem;
    font-weight: 600;
}
.evd-share_copy .icon { width: .14rem; height: .14rem; }
.evd-share a:hover,
.evd-share_copy:hover { border-color: var(--c-ink); }

.evd-items { margin-top: .48rem; scroll-margin-top: calc(var(--header-h) + .16rem); }
.evd-items_lead {
    margin-top: .04rem;
    font-size: .13rem;
    color: var(--c-ink-muted);
}
.evd-pills { margin-top: .14rem; }
.evd-grid li.is-hidden,
.evd-grid li.is-more { display: none; }
.evd-grid.is-all li.is-more:not(.is-hidden) { display: block; }
.evd-more {
    margin-top: .24rem;
    text-align: center;
}
/* SP shows 4 items before "View all" (PC shows 8) */
@media (max-width: 767px) {
    .evd-grid:not(.is-all) li:nth-child(n+5) { display: none; }
    .evd-more_btn { width: 100%; }
}
.evd-more_btn {
    height: .44rem;
    padding: 0 .24rem;
    border: 1px solid var(--c-ink);
    border-radius: .06rem;
    font-size: .14rem;
    font-weight: 600;
    transition: background-color var(--dur), color var(--dur);
}
.evd-more_btn:hover {
    background: var(--c-ink);
    color: var(--c-white);
}

.evd-terms {
    margin: .48rem 0 .32rem;
    border-top: 2px solid var(--c-ink);
    border-bottom: 1px solid var(--c-line);
}
.evd-terms_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: .52rem;
    font-size: .15rem;
    font-weight: 700;
    text-align: left;
}
.evd-pm {
    position: relative;
    width: .14rem;
    height: .14rem;
}
.evd-pm::before,
.evd-pm::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1.5px;
    margin-top: -.75px;
    background: var(--c-ink);
    transition: transform var(--dur) var(--ease);
}
.evd-pm::after { transform: rotate(90deg); }
[aria-expanded="true"] > .evd-pm::after { transform: rotate(0); }
.evd-terms_list {
    display: flex;
    flex-direction: column;
    gap: .06rem;
    padding: 0 0 .18rem .2rem;
    list-style: disc;
    font-size: .13rem;
    line-height: .2rem;
    color: var(--c-ink-muted);
}
.evd-others { margin-top: .48rem; }
.evd-others_grid {
    display: grid;
    gap: .16rem;
    margin-top: .16rem;
}

/* ==========================================================================
   Tablet  768px -
   ========================================================================== */
@media (min-width: 768px) {
    .ev { padding-bottom: .8rem; }
    .ev-head { padding: .4rem 0 .48rem; }
    .ev-head_title { font-size: .4rem; line-height: .52rem; }
    .ev-head_lead { font-size: .16rem; line-height: .24rem; }
    .ev-tabs {
        margin: .32rem 0 0;
        border-bottom: 1px solid var(--c-line);
    }
    .ev-tabs ul { gap: 0; padding: 0; }
    .ev-tabs a {
        height: .48rem;
        padding: 0 .2rem;
        border: 0;
        border-radius: 0;
        font-size: .14rem;
        font-weight: 500;
        color: var(--c-ink-muted);
    }
    .ev-tabs a::after {
        content: "";
        position: absolute;
        left: .1rem;
        right: .1rem;
        bottom: -1px;
        height: 2px;
        background: var(--c-gold);
        transform: scaleX(0);
        transition: transform var(--dur) var(--ease);
    }
    .ev-tabs a:hover { color: var(--c-ink); }
    .ev-tabs .is-current {
        background: none;
        font-weight: 700;
        color: var(--c-ink);
    }
    .ev-tabs .is-current::after { transform: none; }
    .ev-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .32rem .24rem;
        margin-top: .32rem;
    }
    .evd { padding: .24rem 0 .8rem; }
    .evd-hero {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: .32rem;
        align-items: start;
        margin-top: .16rem;
    }
    .evd-hero_title { font-size: .32rem; line-height: .4rem; }
    .evd-shop { align-self: flex-start; padding: 0 .24rem; }
    .evd-items { margin-top: .8rem; }
    .evd-pills { margin-top: .2rem; }
    .evd-terms { margin: .64rem 0 .4rem; }
    .evd-others { margin-top: .8rem; }
    .evd-others_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .24rem;
        margin-top: .24rem;
    }
}
@media (min-width: 1280px) {
    .ev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .evd-hero_title { font-size: .36rem; line-height: .46rem; }
}
