.gwl-member-pass {
    --gwl-pass-bg-a: #102f24;
    --gwl-pass-bg-b: #001a11;
    --gwl-pass-gold: #e5c36d;
    --gwl-pass-gold-deep: #b88a36;
    --gwl-pass-text-soft: #d7e7cf;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid rgba(229, 195, 109, 0.46);
    border-radius: 14px;
    background:
        radial-gradient(circle at 84% 8%, rgba(229, 195, 109, 0.22), transparent 34%),
        linear-gradient(135deg, var(--gwl-pass-bg-a), var(--gwl-pass-bg-b));
    box-shadow: 0 18px 38px rgba(0, 26, 17, 0.26);
    color: #fffdf8;
}

.gwl-member-pass::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -24%;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    filter: blur(2px);
}

.gwl-member-pass__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-height: 286px;
    padding: 26px;
}

.gwl-member-pass__top,
.gwl-member-pass__main,
.gwl-member-pass__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.gwl-member-pass__kicker {
    margin: 0 0 9px;
    color: var(--gwl-pass-gold);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.gwl-member-pass__tier-title {
    margin: 0;
    color: #f4e6ba;
    font-size: 26px;
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: 0;
}

.gwl-member-pass__tier-chip {
    flex: 0 0 auto;
    min-width: 62px;
    border: 1px solid rgba(229, 195, 109, 0.58);
    border-radius: 999px;
    background: rgba(229, 195, 109, 0.13);
    color: var(--gwl-pass-gold);
    padding: 8px 13px;
    text-align: center;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.gwl-member-pass__name {
    margin: 0 0 8px;
    color: #fffdf8;
    font-size: 22px;
    line-height: 1.28;
    font-weight: 900;
    letter-spacing: 0;
}

.gwl-member-pass__note {
    margin: 0;
    color: var(--gwl-pass-text-soft);
    font-size: 16px;
    line-height: 1.48;
    font-weight: 700;
    word-break: keep-all;
}

.gwl-member-pass__meta-label {
    margin: 0 0 7px;
    color: rgba(255, 253, 248, 0.45);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gwl-member-pass__code {
    margin: 0;
    color: #fffdf8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.gwl-member-pass__qr {
    flex: 0 0 auto;
    width: 118px;
    height: 118px;
    border: 1px solid rgba(229, 195, 109, 0.52);
    border-radius: 14px;
    background: #fffdf8;
    padding: 10px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.gwl-member-pass__qr svg {
    display: block;
    width: 100%;
    height: 100%;
}

.gwl-member-pass--compact .gwl-member-pass__inner {
    min-height: 274px;
    padding: 24px;
}

.gwl-member-pass--compact .gwl-member-pass__tier-title {
    font-size: 24px;
}

.gwl-member-pass--compact .gwl-member-pass__qr {
    width: 106px;
    height: 106px;
}

.gwl-member-pass--modal .gwl-member-pass__inner {
    min-height: 306px;
    padding: 28px;
}

.gwl-member-pass--modal .gwl-member-pass__tier-title {
    font-size: 28px;
}

.gwl-member-pass--modal .gwl-member-pass__name {
    font-size: 25px;
}

.gwl-member-pass--modal .gwl-member-pass__qr {
    width: 132px;
    height: 132px;
}

.gwl-member-pass--fullpage .gwl-member-pass__inner {
    min-height: 0;
    gap: 26px;
    padding: 30px;
}

.gwl-member-pass--fullpage .gwl-member-pass__tier-title { font-size: 30px; }
.gwl-member-pass--fullpage .gwl-member-pass__name { font-size: 25px; }
.gwl-member-pass--fullpage .gwl-member-pass__qr { box-sizing: border-box; width: 180px; height: 180px; padding: 12px; }

.member-card-page__main { width: min(1120px, calc(100% - 40px)); margin: 42px auto 90px; }
.member-card-page__intro { margin-bottom: 24px; }
.member-card-page__intro p { margin: 0 0 8px; color: #07866c; font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.member-card-page__intro h1 { margin: 0 0 8px; color: #173e34; font-size: clamp(30px, 4vw, 42px); line-height: 1.2; }
.member-card-page__intro > span { color: #62756e; font-size: 17px; line-height: 1.55; }
.member-card-page__layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 24px; align-items: stretch; }
.member-card-page__pass, .member-card-page__details, .member-card-page__empty { min-width: 0; border: 1px solid #d8ece6; border-radius: 24px; background: #fff; padding: 24px; box-shadow: 0 14px 34px rgba(23, 74, 60, .07); }
.member-card-page__refresh { margin: 13px 0 0; color: #647a73; text-align: center; font-size: 14px; }
.member-card-page__badge { display: inline-flex; align-items: center; min-height: 34px; border-radius: 999px; background: #e5f8f2; color: #08745f; padding: 0 13px; font-size: 14px; font-weight: 800; }
.member-card-page__details h2 { margin: 20px 0 16px; color: #183b31; font-size: 26px; }
.member-card-page__details dl { display: grid; gap: 10px; margin: 0; }
.member-card-page__details dl div { display: flex; justify-content: space-between; gap: 14px; border-radius: 12px; background: #f4faf8; padding: 13px 15px; }
.member-card-page__details dt, .member-card-page__details dd { margin: 0; font-size: 16px; }
.member-card-page__details dt { color: #657970; }
.member-card-page__details dd { color: #1c3d33; font-weight: 800; text-align: right; }
.member-card-page__details > p { margin: 18px 0; color: #526960; font-size: 16px; line-height: 1.65; }
.member-card-page__details > a, .member-card-page__back { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; background: #07866c; color: #fff; padding: 0 18px; font-size: 16px; font-weight: 800; text-decoration: none; }
.member-card-page__empty { text-align: center; padding: 42px 24px; }
.member-card-page__empty > span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff4d8; color: #765411; font-size: 24px; font-weight: 900; }
.member-card-page__empty h2 { color: #173e34; }
.member-card-page__empty p { margin: 0; color: #62756e; line-height: 1.6; }
.member-card-page__back { margin-top: 24px; background: #e7f4f0; color: #12644f; }

@media (max-width: 760px) {
    .member-card-page__main { width: min(calc(100% - 28px), 560px); margin: 22px auto 100px; }
    .member-card-page__intro { margin-bottom: 18px; }
    .member-card-page__intro > span { font-size: 16px; }
    .member-card-page__layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .member-card-page__pass { padding: 15px; }
    .gwl-member-pass--fullpage .gwl-member-pass__inner { gap: 20px; padding: 22px; }
    .gwl-member-pass--fullpage .gwl-member-pass__qr { width: min(60vw, 220px); height: min(60vw, 220px); padding: 12px; }
    .gwl-member-pass--fullpage .gwl-member-pass__bottom { align-items: center; flex-direction: column; }
    .gwl-member-pass--fullpage .gwl-member-pass__bottom > div:first-child { text-align: center; }
    .member-card-page__details { padding: 20px; }
    .member-card-page__details h2 { font-size: 23px; }
    .member-card-page__back { width: 100%; box-sizing: border-box; }
}

@media (max-width: 640px) {
    .gwl-member-pass__inner {
        min-height: 276px;
        padding: 20px;
    }

    .gwl-member-pass__tier-title {
        font-size: 25px;
    }

    .gwl-member-pass__main {
        display: block;
    }

    .gwl-member-pass__bottom {
        align-items: flex-end;
    }

    .gwl-member-pass__qr {
        width: 104px;
        height: 104px;
    }
}
