:root {
    --white: #ffffff;
    --black: #050505;
    --text: #090909;
    --muted: #757575;
    --muted-light: #9a9a9a;
    --line: #e8e8e8;
    --soft: #f5f5f5;
    --soft-2: #eeeeee;
    --red: #d71920;
    --green: #157a38;

    --member: #c8e3f6;
    --member-soft: #e8f5ff;
    --silver: #dedee0;
    --silver-border: #8b8b8d;
    --gold: #d7bd78;
    --gold-soft: #ead8a8;
    --diamond: #f4f4f4;
    --diamond-soft: #fafafa;
    --black-level: #000000;

    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 34px;

    --content: 1180px;
    --top-height: 96px;
    --nav-height: 86px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--white);
}

body {
    margin: 0;
    min-height: 100%;
    background: var(--white);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.bz-app {
    min-height: 100vh;
    background: var(--white);
}

/* LOGIN */

.login-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    background: var(--white);
}

.login-panel {
    width: min(440px, 100%);
}

.brand {
    margin-bottom: 52px;
    font-size: 20px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .14em;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.login-panel h1 {
    margin: 0;
    font-size: 58px;
    line-height: .92;
    letter-spacing: -.06em;
}

.lead {
    margin: 18px 0 28px;
    color: var(--muted);
    font-size: 21px;
    line-height: 1.45;
}

/* ALERTS */

.alert {
    margin: 0 0 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 15px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.alert.error {
    color: var(--red);
    border-color: var(--red);
}

.alert.success {
    color: var(--green);
    border-color: var(--green);
}

/* FORMS */

.form {
    display: grid;
    gap: 16px;
}

.form label {
    display: block;
}

.form label span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 850;
}

.form input,
.form select {
    width: 100%;
    height: 58px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    color: var(--text);
    padding: 0 16px;
    outline: none;
    font-size: 17px;
}

.form input:focus,
.form select:focus {
    border-color: var(--black);
}

.check {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.4;
}

.check input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--black);
}

.check span {
    margin: 0 !important;
    color: var(--muted);
    font-weight: 500 !important;
}

.switch {
    margin: 24px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 15px;
}

.switch a {
    color: var(--black);
    font-weight: 850;
}

.primary-btn {
    width: 100%;
    min-height: 58px;
    border: 1px solid var(--black);
    border-radius: 18px;
    background: var(--black);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-size: 16px;
    font-weight: 900;
}

.primary-btn.disabled,
.primary-btn:disabled {
    opacity: .42;
    cursor: not-allowed;
}

/* APP SHELL */

.app-shell {
    min-height: 100vh;
    padding-bottom: calc(var(--nav-height) + 30px);
}

.app-content {
    width: min(var(--content), calc(100% - 64px));
    margin: 0 auto;
    padding-top: var(--top-height);
}

.view {
    display: none;
}

.view.active {
    display: block;
}

/* FIXED TOP */

.app-top {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 100;
    width: min(var(--content), 100%);
    height: var(--top-height);
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .94);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 38px 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.member-chip {
    height: 58px;
    min-width: 238px;
    max-width: 320px;
    border-radius: 999px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 8px 18px 8px 8px;
    background: var(--soft);
    color: var(--text);
}

.chip-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 22px;
}

.chip-text {
    min-width: 0;
}

.chip-text strong {
    display: block;
    font-size: 18px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .08em;
}

.chip-text small {
    display: block;
    margin-top: 5px;
    color: rgba(0, 0, 0, .58);
    font-size: 13px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-chip {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: var(--black);
    color: var(--white);
    border: 4px solid var(--soft);
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 950;
}

/* LEVEL COLORS */

.level-member {
    background: var(--member);
}

.level-silver {
    background: var(--silver);
}

.level-gold {
    background: var(--gold);
}

.level-diamond {
    background: var(--diamond);
}

.level-black {
    background: var(--black-level);
    color: var(--white);
}

.member-chip.level-member {
    background: var(--member-soft);
}

.member-chip.level-silver {
    background: #f5f5f5;
}

.member-chip.level-gold {
    background: #f4ead0;
}

.member-chip.level-diamond {
    background: #f7f7f7;
}

.member-chip.level-black {
    background: var(--black);
    color: var(--white);
}

.member-chip.level-black .chip-text small {
    color: rgba(255, 255, 255, .64);
}

.member-chip.level-black .chip-icon {
    background: rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .7);
}

/* TYPOGRAPHY */

.page-title {
    margin: 0 0 26px;
}

.page-title p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 700;
}

.page-title h1 {
    margin: 0;
    font-size: 50px;
    line-height: .95;
    letter-spacing: -.055em;
}

.section-heading {
    margin: 34px 0 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.section-heading.compact {
    width: min(840px, 100%);
    margin: 0 auto 22px;
}

.section-heading h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.04em;
}

.section-heading a {
    color: var(--text);
    font-size: 16px;
    font-weight: 800;
}

/* HOME */

.desktop-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
    gap: 24px;
    align-items: end;
}

.membership-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 22px;
    border-radius: 34px;
    padding: 30px;
    color: var(--text);
}

.membership-card > div:first-child span {
    display: block;
    color: rgba(0, 0, 0, .56);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.membership-card h2 {
    margin: 12px 0 0;
    font-size: 54px;
    line-height: .9;
    letter-spacing: -.05em;
}

.membership-card p {
    margin: 12px 0 0;
    color: rgba(0, 0, 0, .62);
    font-size: 20px;
    font-weight: 600;
}

.level-number {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .38);
    display: grid;
    place-items: center;
    font-size: 36px;
    font-weight: 950;
}

.progress {
    grid-column: 1 / 3;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    background: var(--black);
}

.membership-card.level-silver {
    border: 3px solid var(--silver-border);
}

.membership-card.level-black {
    color: var(--white);
}

.membership-card.level-black span,
.membership-card.level-black p {
    color: rgba(255, 255, 255, .68);
}

.membership-card.level-black .level-number {
    background: rgba(255, 255, 255, .13);
}

.membership-card.level-black .progress span {
    background: var(--white);
}

.desktop-side {
    display: grid;
    gap: 14px;
}

.side-card {
    min-height: 108px;
    border-radius: 26px;
    background: var(--soft);
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 22px;
}

.side-card i {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: var(--white);
    display: grid;
    place-items: center;
    font-size: 26px;
}

.side-card strong {
    display: block;
    font-size: 32px;
    line-height: 1;
}

.side-card span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 15px;
}

/* LEVEL STRIP */

.level-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.level-strip::-webkit-scrollbar,
.horizontal-list::-webkit-scrollbar {
    display: none;
}

.level-tile {
    flex: 0 0 210px;
    min-height: 160px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 18px;
    color: var(--text);
}

.level-tile span {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .38);
    display: grid;
    place-items: center;
    font-size: 31px;
    font-weight: 950;
}

.level-tile strong {
    font-size: 28px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.025em;
}

.level-tile.level-silver.active {
    border: 4px solid var(--silver-border);
}

.level-tile.level-black {
    color: var(--white);
}

.level-tile.level-black span {
    background: rgba(255, 255, 255, .13);
}

/* HORIZONTAL CARDS */

.horizontal-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.small-card {
    flex: 0 0 220px;
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    background: var(--white);
}

.small-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: var(--soft);
}

.small-card div {
    padding: 14px;
}

.small-card span {
    display: block;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.small-card strong {
    display: block;
    margin-top: 6px;
    font-size: 17px;
    line-height: 1.2;
}

/* FEATURE EVENT */

.feature-event {
    position: relative;
    display: block;
    min-height: 360px;
    border-radius: 30px;
    overflow: hidden;
    background: var(--soft);
    color: var(--white);
}

.feature-event img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    filter: brightness(.74);
}

.feature-event > div {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
}

.feature-event span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    background: var(--black);
    border-radius: 999px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 900;
}

.feature-event h2 {
    margin: 18px 0 0;
    font-size: 44px;
    line-height: .95;
    letter-spacing: -.045em;
}

.feature-event p {
    margin: 12px 0 0;
    font-size: 20px;
    font-weight: 800;
}

/* CONTENT CARDS */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.content-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    background: var(--white);
}

.content-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--soft);
}

.content-card div {
    padding: 18px;
}

.content-card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.content-card h3 {
    margin: 8px 0 0;
    font-size: 25px;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.content-card.locked img {
    opacity: .52;
}

/* EVENTS */

.event-tabs {
    display: flex;
    gap: 34px;
    margin-bottom: 28px;
    overflow-x: auto;
}

.event-tabs button {
    border: 0;
    background: transparent;
    color: var(--muted-2);
    padding: 0 0 12px;
    font-size: 32px;
    line-height: 1;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.event-tabs button.active {
    color: var(--text);
    border-bottom-color: var(--black);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.event-card {
    position: relative;
    min-height: 360px;
    border-radius: 30px;
    overflow: hidden;
    background: var(--soft);
    color: var(--white);
}

.event-card img,
.event-card .placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    filter: brightness(.78);
}

.event-date {
    position: absolute;
    top: 18px;
    left: 18px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--black);
    color: var(--white);
    padding: 0 18px;
    font-size: 17px;
    font-weight: 950;
}

.event-info {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.event-info h3 {
    margin: 0;
    font-size: 40px;
    line-height: .95;
    letter-spacing: -.045em;
}

.event-info > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 26px;
    gap: 14px;
}

.event-info span {
    font-size: 22px;
    font-weight: 900;
}

/* PROFILE */

.profile-card {
    border-radius: 34px;
    background: var(--soft);
    padding: 30px;
    text-align: center;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: var(--black);
    color: var(--white);
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-size: 34px;
    font-weight: 950;
}

.profile-card h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.04em;
}

.profile-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.profile-stats {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.profile-stats div {
    border-radius: 20px;
    background: var(--white);
    padding: 18px;
}

.profile-stats span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.profile-stats strong {
    display: block;
    margin-top: 6px;
    font-size: 26px;
    line-height: 1;
}

.profile-form {
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 20px;
}

.history-list {
    display: grid;
    gap: 10px;
}

.history-row {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.history-row strong {
    display: block;
    font-size: 16px;
}

.history-row span {
    display: block;
    color: var(--muted);
    margin-top: 5px;
    font-size: 13px;
}

.history-row b {
    font-size: 16px;
    font-weight: 950;
}

.history-row b.positive {
    color: var(--green);
}

.history-row b.negative {
    color: var(--red);
}

.logout-link {
    display: flex;
    justify-content: center;
    margin: 24px 0 0;
    color: var(--red);
    font-size: 16px;
    font-weight: 850;
}

/* DETAIL SCREENS */

.detail-screen {
    display: block;
}

.close-button {
    position: fixed;
    top: 34px;
    left: max(28px, calc((100vw - var(--content)) / 2 + 28px));
    z-index: 130;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--black);
    display: grid;
    place-items: center;
    font-size: 25px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, .85fr);
    gap: 34px;
    align-items: start;
}

.detail-media {
    border-radius: 32px;
    overflow: hidden;
    background: var(--soft);
}

.detail-media img,
.detail-media .placeholder {
    width: 100%;
    height: min(72vh, 720px);
    min-height: 520px;
    object-fit: cover;
}

.placeholder {
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--muted);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .14em;
}

.detail-body {
    padding-top: 32px;
}

.detail-body h1 {
    margin: 12px 0 0;
    font-size: 56px;
    line-height: .93;
    letter-spacing: -.055em;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pills span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--soft);
    color: var(--text);
    padding: 0 16px;
    font-size: 15px;
    font-weight: 850;
}

.location {
    margin: 20px 0 0;
    color: var(--text);
    font-size: 17px;
    font-weight: 850;
}

.richtext {
    margin-top: 24px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.6;
}

.richtext p:first-child {
    margin-top: 0;
}

.richtext p:last-child {
    margin-bottom: 0;
}

.action-area {
    margin-top: 28px;
}

/* INFO PAGE */

.info-page {
    width: min(840px, 100%);
    margin: 0 auto 44px;
    padding-top: 78px;
}

.info-page h1 {
    margin: 0;
    font-size: 64px;
    line-height: .94;
    letter-spacing: -.055em;
}

.info-page h2 {
    margin: 28px 0 0;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.info-page > p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 25px;
    line-height: 1.55;
}

.info-list {
    display: grid;
    gap: 32px;
    margin-top: 48px;
}

.info-list > div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 26px;
    align-items: start;
}

.info-list span {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: var(--soft);
    display: grid;
    place-items: center;
    color: var(--black);
    font-size: 31px;
}

.info-list strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.info-list p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 23px;
    line-height: 1.45;
}

.level-list {
    width: min(840px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

.level-row {
    min-height: 128px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 96px 1fr 34px;
    gap: 24px;
    align-items: center;
    padding: 18px 28px;
    color: var(--text);
}

.level-row > span {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .38);
    display: grid;
    place-items: center;
    font-size: 31px;
    font-weight: 950;
}

.level-row strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.025em;
}

.level-row p {
    margin: 8px 0 0;
    color: rgba(0, 0, 0, .58);
    font-size: 22px;
}

.level-row i {
    color: rgba(0, 0, 0, .45);
    font-size: 26px;
}

.level-row.level-silver {
    border: 4px solid var(--silver-border);
}

.level-row.level-black {
    color: var(--white);
}

.level-row.level-black > span {
    background: rgba(255, 255, 255, .13);
}

.level-row.level-black p,
.level-row.level-black i {
    color: rgba(255, 255, 255, .72);
}

/* BOTTOM NAV */

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 110;
    transform: translateX(-50%);
    width: min(760px, calc(100% - 56px));
    min-height: var(--nav-height);
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 999px;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.bottom-nav button {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--black);
    min-height: 68px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 0;
}

.bottom-nav button i {
    font-size: 25px;
    line-height: 1;
}

.bottom-nav button span {
    font-size: 14px;
    line-height: 1;
    font-weight: 650;
}

.bottom-nav button.active {
    background: rgba(0, 0, 0, .12);
}

/* DESKTOP */

@media (min-width: 1180px) {
    .bottom-nav {
        width: 680px;
    }
}

/* TABLET */

@media (max-width: 1080px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-grid {
        grid-template-columns: 1fr;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-body {
        padding-top: 0;
        width: min(840px, 100%);
        margin: 0 auto;
    }

    .detail-media img,
    .detail-media .placeholder {
        height: min(58vh, 620px);
        min-height: 420px;
    }
}

/* MOBILE */

@media (max-width: 720px) {
    :root {
        --top-height: 94px;
        --nav-height: 78px;
    }

    .app-content {
        width: calc(100% - 28px);
    }

    .app-top {
        width: 100%;
        height: var(--top-height);
        padding: 22px 14px 14px;
    }

    .member-chip {
        min-width: 186px;
        height: 56px;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
    }

    .chip-icon {
        width: 40px;
        height: 40px;
    }

    .chip-text strong {
        font-size: 17px;
    }

    .chip-text small {
        font-size: 12px;
    }

    .profile-chip {
        width: 56px;
        height: 56px;
        font-size: 18px;
    }

    .login-screen {
        align-items: flex-start;
        padding: 72px 22px 34px;
    }

    .brand {
        margin-bottom: 46px;
    }

    .login-panel h1 {
        font-size: 48px;
    }

    .lead {
        font-size: 19px;
    }

    .page-title h1 {
        font-size: 39px;
    }

    .desktop-grid {
        grid-template-columns: 1fr;
    }

    .desktop-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .side-card {
        min-height: 96px;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px;
    }

    .side-card i {
        width: 44px;
        height: 44px;
        font-size: 21px;
    }

    .side-card strong {
        font-size: 24px;
    }

    .membership-card {
        grid-template-columns: 1fr 72px;
        border-radius: 28px;
        padding: 24px;
    }

    .membership-card h2 {
        font-size: 42px;
    }

    .membership-card p {
        font-size: 18px;
    }

    .level-number {
        width: 72px;
        height: 72px;
        font-size: 30px;
    }

    .section-heading {
        margin: 30px 0 15px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .section-heading a {
        font-size: 15px;
    }

    .level-tile {
        flex-basis: 176px;
        min-height: 140px;
    }

    .level-tile span {
        width: 66px;
        height: 66px;
        font-size: 27px;
    }

    .level-tile strong {
        font-size: 24px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .content-card {
        display: grid;
        grid-template-columns: 118px 1fr;
        min-height: 122px;
        border-radius: 22px;
    }

    .content-card img {
        width: 118px;
        height: 100%;
        min-height: 122px;
    }

    .content-card div {
        align-self: center;
        padding: 14px;
    }

    .content-card h3 {
        font-size: 21px;
    }

    .feature-event {
        min-height: 290px;
        border-radius: 24px;
    }

    .feature-event img {
        min-height: 290px;
    }

    .feature-event > div {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .feature-event h2 {
        font-size: 34px;
    }

    .event-tabs {
        gap: 26px;
    }

    .event-tabs button {
        font-size: 25px;
    }

    .event-card {
        min-height: 292px;
        border-radius: 24px;
    }

    .event-card img,
    .event-card .placeholder {
        min-height: 292px;
    }

    .event-date {
        top: 14px;
        left: 14px;
        min-height: 36px;
        padding: 0 14px;
        font-size: 14px;
    }

    .event-info {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .event-info h3 {
        font-size: 31px;
    }

    .event-info span {
        font-size: 18px;
    }

    .profile-card {
        border-radius: 28px;
        padding: 24px;
    }

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

    .close-button {
        top: 32px;
        left: 14px;
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .detail-media {
        border-radius: 26px;
    }

    .detail-media img,
    .detail-media .placeholder {
        min-height: 390px;
        height: 390px;
    }

    .detail-body h1 {
        font-size: 42px;
    }

    .richtext {
        font-size: 19px;
    }

    .info-page {
        padding-top: 78px;
    }

    .info-page h1 {
        font-size: 50px;
    }

    .info-page h2 {
        font-size: 28px;
    }

    .info-page > p {
        font-size: 22px;
    }

    .info-list {
        gap: 28px;
    }

    .info-list > div {
        grid-template-columns: 82px 1fr;
        gap: 18px;
    }

    .info-list span {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }

    .info-list strong {
        font-size: 24px;
    }

    .info-list p {
        font-size: 20px;
    }

    .level-row {
        min-height: 116px;
        grid-template-columns: 78px 1fr 24px;
        gap: 16px;
        padding: 16px 20px;
    }

    .level-row > span {
        width: 64px;
        height: 64px;
        font-size: 27px;
    }

    .level-row strong {
        font-size: 25px;
    }

    .level-row p {
        font-size: 18px;
    }

    .bottom-nav {
        bottom: 12px;
        width: calc(100% - 24px);
        min-height: var(--nav-height);
    }

    .bottom-nav button {
        min-height: 60px;
    }

    .bottom-nav button i {
        font-size: 22px;
    }

    .bottom-nav button span {
        font-size: 12px;
    }
}

@media (max-width: 390px) {
    .member-chip {
        min-width: 172px;
    }

    .chip-text small {
        max-width: 104px;
    }

    .page-title h1 {
        font-size: 36px;
    }

    .membership-card h2 {
        font-size: 38px;
    }

    .event-info h3 {
        font-size: 28px;
    }

    .bottom-nav button span {
        font-size: 11px;
    }
}