:root {
    --bg: #f7f0e7;
    --paper: #fffaf3;
    --card: rgba(255, 252, 246, .96);
    --line: #eadfd0;
    --text: #303437;
    --muted: #766d63;
    --brand: #eb715b;
    --brand-dark: #d95f4a;
    --teal: #2f7c78;
    --teal-soft: #e7f2ee;
    --gold: #e4a23a;
    --shadow: 0 24px 54px rgba(117, 82, 50, .13);
    --soft-orange: #fff1e6;
    --soft-green: #ecf5f1;
    --soft-yellow: #fff6dd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 8%, rgba(255,255,255,.92) 0 15%, transparent 30%),
        radial-gradient(circle at 90% 0%, rgba(255,244,229,.9) 0 18%, transparent 36%),
        radial-gradient(circle at 86% 78%, rgba(236,245,241,.86) 0 16%, transparent 34%),
        linear-gradient(145deg, #f8f0e6 0%, #fbf6ef 48%, #f3eadf 100%);
    font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: .01em;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.solo-event-shell {
    width: min(1180px, calc(100% - 44px));
    margin: 0 auto;
    padding: 0 0 92px;
}

.event-topbar {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-bottom: 1px solid rgba(201, 180, 151, .55);
    background: rgba(255, 250, 243, .78);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 30;
}

.event-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #dc654e;
    white-space: nowrap;
}
.event-brand span { font-size: 22px; transform: translateY(-8px); }
.event-brand small {
    color: #5c5148;
    font-family: "Noto Sans TC", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.event-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex: 1;
    color: #3e3d3a;
    font-size: 14px;
    font-weight: 800;
}
.event-menu a { position: relative; padding: 31px 0; white-space: nowrap; }
.event-menu a.active::after,
.event-menu a:hover::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 21px;
    width: 22px;
    height: 3px;
    border-radius: 99px;
    background: var(--brand);
    transform: translateX(-50%);
}

.event-actions { display: flex; gap: 10px; align-items: center; }
.event-actions a {
    min-width: 70px;
    text-align: center;
    padding: 10px 18px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 900;
}
.event-actions .outline { border: 1px solid rgba(235, 113, 91, .68); color: #574036; background: rgba(255,255,255,.56); }
.event-actions .solid { color: #fff; background: linear-gradient(135deg, #f18773, #ec735e); box-shadow: 0 10px 24px rgba(235, 113, 91, .28); }
.event-actions .event-logout-form { margin: 0; }
.event-actions .event-logout-form button {
    min-width: 70px;
    text-align: center;
    padding: 10px 18px;
    border-radius: 11px;
    border: 1px solid rgba(231, 211, 190, .95);
    background: rgba(255,255,255,.68);
    color: #574036;
    font-size: 14px;
    font-weight: 900;
    font-family: inherit;
    cursor: pointer;
}
.event-actions .event-logout-form button:hover {
    border-color: rgba(235, 113, 91, .72);
    color: var(--brand);
}

.event-hamburger { display: none; border: 0; background: transparent; font-size: 24px; color: #3d3936; }

.event-hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    min-height: 260px;
    align-items: stretch;
    overflow: hidden;
    border-bottom: 1px solid rgba(201, 180, 151, .32);
}
.hero-copy {
    min-width: 0;
    padding: 42px 24px 36px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.eyebrow {
    margin: 0 0 8px;
    color: #c8774a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.hero-copy h1,
.ticket-hero h1,
.detail-content h1 {
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-weight: 900;
    line-height: 1.23;
    letter-spacing: .03em;
    color: #303437;
}
.hero-copy h1 { font-size: clamp(38px, 5vw, 58px); }
.hero-copy > p:not(.eyebrow) {
    max-width: 520px;
    margin: 16px 0 22px;
    color: #5d5650;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 700;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.primary-cta,
.ghost-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 950;
}
.primary-cta { color: #fff; background: linear-gradient(135deg, #f18773, #ec735e); box-shadow: 0 14px 28px rgba(235, 113, 91, .28); }
.ghost-cta { border: 1px solid var(--line); background: rgba(255,255,255,.66); color: #5b5048; }

.hero-photo-card {
    position: relative;
    min-height: 270px;
    border-left: 1px solid rgba(201, 180, 151, .35);
    isolation: isolate;
}
.hero-photo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(248,240,230,.96), rgba(248,240,230,.32) 36%, rgba(248,240,230,0) 62%);
}
.hero-photo-card img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.hero-floating-note {
    position: absolute;
    right: 34px;
    top: 58px;
    z-index: 2;
    color: #39847f;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 900;
    transform: rotate(-2deg);
    text-shadow: 0 1px 0 rgba(255,255,255,.8);
}

.quick-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 390px;
    gap: 22px;
    padding: 24px 0 0;
}
.activity-panel,
.safety-panel,
.community-corner,
.ticket-hero,
.ticket-section,
.event-detail-card {
    background: rgba(255, 252, 246, .94);
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.activity-panel { padding: 18px; }
.safety-panel { padding: 18px; }
.panel-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.panel-heading h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: .02em;
}
.panel-heading p { margin: 4px 0 0; color: #7a6f64; font-size: 13px; font-weight: 800; }
.panel-heading > a {
    margin-left: auto;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 950;
    background: rgba(255,255,255,.64);
}
.heading-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 22px;
    flex: 0 0 auto;
}
.heading-icon.people { background: #fff0e8; }
.heading-icon.shield { background: #fff0e8; color: var(--brand); }

.activity-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 168px;
    gap: 12px;
    margin-bottom: 14px;
}
.search-pill,
.city-pill {
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px 0 16px;
    border: 1px solid rgba(214, 194, 166, .95);
    border-radius: 18px;
    background: rgba(255, 252, 246, .96);
    box-shadow: 0 10px 24px rgba(103, 74, 42, .08);
}
.search-pill span,
.city-pill span { color: #9d8a78; font-size: 18px; }
.search-pill input,
.city-pill input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}
.search-pill button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    color: transparent;
    background: var(--teal);
    position: relative;
    overflow: hidden;
}
.search-pill button::after {
    content: "⌕";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
}

.activity-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid rgba(229, 212, 188, .78);
    border-radius: 20px;
    background: rgba(249, 239, 228, .72);
}
.activity-tabs .tab {
    min-height: 44px;
    display: grid;
    place-items: center;
    padding: 0 12px;
    color: #7b7066;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}
.activity-tabs .tab.active,
.activity-tabs .tab:hover {
    color: #fff;
    background: linear-gradient(135deg, #ef7f67, #eb705b);
    box-shadow: 0 10px 22px rgba(235,113,91,.2);
}

.event-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.solo-event-card {
    overflow: hidden;
    border: 1px solid rgba(218, 199, 174, .9);
    border-radius: 18px;
    background: rgba(255,255,255,.66);
    box-shadow: 0 12px 26px rgba(103, 74, 42, .08);
}
.event-cover {
    position: relative;
    display: block;
    height: 128px;
    overflow: hidden;
}
.event-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.solo-event-card:hover .event-cover img { transform: scale(1.04); }
.event-cover span {
    position: absolute;
    left: 12px;
    bottom: 10px;
    padding: 5px 9px;
    border-radius: 8px;
    color: var(--teal);
    background: rgba(231, 242, 238, .92);
    font-size: 12px;
    font-weight: 950;
}
.event-card-body { padding: 14px; }
.event-card-body h3 {
    min-height: 46px;
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 950;
    color: #34322f;
}
.meta-list { display: grid; gap: 7px; color: #746a61; font-size: 13px; font-weight: 800; }
.meta-list span::before { color: var(--gold); margin-right: 6px; }
.meta-list span:first-child::before { content: "◷"; }
.meta-list span:last-child::before { content: "●"; }
.member-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #766d63;
    font-size: 12px;
    font-weight: 800;
}

.member-row-count-only {
  justify-content: flex-start;
}

.member-row-count-only span {
  font-weight: 800;
  color: var(--ink, #12342f);
}
.avatar-stack { display: flex; }
.avatar-stack i {
    width: 18px;
    height: 18px;
    margin-left: -5px;
    border: 2px solid #fffaf3;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4b698, #5c8f89);
}
.avatar-stack i:first-child { margin-left: 0; }
.avatar-stack i:nth-child(2) { background: linear-gradient(135deg, #f2cf86, #df7968); }
.avatar-stack i:nth-child(3) { background: linear-gradient(135deg, #7aaea7, #f4d7b6); }
.avatar-stack i:nth-child(4) { background: linear-gradient(135deg, #866a55, #f7b78c); }
.card-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}
.card-actions a,
.card-actions button,
.panel-bottom-link a,
.empty-state a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(207, 229, 223, .95);
    border-radius: 11px;
    background: rgba(255,255,255,.72);
    color: var(--teal);
    font-size: 12px;
    font-weight: 950;
}
.card-actions form { margin: 0; }
.card-actions button { padding: 0 12px; color: #fff; border-color: var(--brand); background: var(--brand); }
.card-actions .joined { color: #9b9188; border-color: var(--line); background: #f1ece4; }
.panel-bottom-link { display: flex; justify-content: center; margin-top: 18px; }
.panel-bottom-link a { min-width: 190px; padding: 0 22px; min-height: 42px; border-radius: 999px; }

.status-card,
.contact-card,
.recent-card {
    border: 1px solid rgba(218, 199, 174, .84);
    border-radius: 17px;
    background: rgba(255,255,255,.56);
    padding: 15px;
    margin-top: 14px;
}
.status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.status-card small,
.contact-card p,
.recent-card span,
.detail-info-grid small,
.ticket-card p,
.ticket-code small { color: #7b7167; font-weight: 800; }
.status-card strong {
    display: block;
    margin: 5px 0;
    color: var(--teal);
    font-size: 17px;
    font-weight: 950;
}
.status-card strong::before { content: "✓"; margin-right: 8px; }
.status-card span { display: block; color: #81786f; font-size: 12px; font-weight: 800; }
.status-card a {
    min-width: 112px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    color: #7f766d;
    background: rgba(255,250,243,.86);
    font-size: 13px;
    font-weight: 950;
}
.contact-card h3,
.recent-card h3 { margin: 0 0 6px; font-size: 15px; font-weight: 950; }
.contact-card p { margin: 0 0 14px; font-size: 13px; line-height: 1.7; }
.contact-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
}
.contact-row span,
.contact-row a {
    display: grid;
    justify-items: center;
    gap: 6px;
    color: #5f5750;
    font-size: 12px;
    font-weight: 850;
    text-align: center;
}
.contact-row img,
.contact-row a {
    width: 43px;
    height: 43px;
    border-radius: 50%;
}
.contact-row img { object-fit: cover; border: 2px solid #fff; box-shadow: 0 8px 18px rgba(78, 58, 37, .14); }
.contact-row a {
    place-items: center;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.72);
    font-size: 20px;
    color: #8a7c6d;
}
.contact-row a small { display: block; font-size: 11px; line-height: 1; }
.recent-card div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    font-size: 13px;
}
.recent-card strong { color: var(--teal); font-size: 13px; }
.recent-card a { display: inline-flex; margin-top: 14px; color: var(--teal); font-size: 13px; font-weight: 950; }

.community-corner {
    margin-top: 24px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.community-corner h2,
.section-heading h2 { margin: 0; font-size: 24px; font-weight: 950; }
.community-corner p:not(.eyebrow) { margin: 6px 0 0; color: #776d64; font-weight: 800; }
.community-corner a { color: var(--teal); font-weight: 950; }

.alert {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 850;
    border: 1px solid var(--line);
}
.alert.success { background: #eaf7ef; color: #28735b; }
.alert.danger { background: #fff0ef; color: #b84b43; }
.empty-state {
    display: grid;
    justify-items: center;
    text-align: center;
    padding: 32px 20px;
    border: 1px dashed rgba(218, 199, 174, .9);
    border-radius: 18px;
    background: rgba(255,255,255,.5);
}
.empty-state.large { padding: 58px 20px; }
.empty-state h3 { margin: 0 0 8px; font-size: 22px; font-weight: 950; }
.empty-state p { margin: 0 0 16px; color: #7a7068; font-weight: 800; line-height: 1.8; }
.empty-state a { min-height: 42px; padding: 0 18px; border-radius: 999px; }

.back-link {
    display: inline-flex;
    margin: 24px 0 16px;
    color: var(--teal);
    font-weight: 950;
}
.event-detail-card {
    display: grid;
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
    overflow: hidden;
}
.detail-cover { position: relative; min-height: 620px; background: #f4eadf; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover span {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(47, 124, 120, .92);
    font-size: 12px;
    font-weight: 950;
}
.detail-content { padding: 34px; }
.detail-content h1 { font-size: clamp(32px, 4vw, 48px); }
.detail-content .lead { color: #655d55; line-height: 1.9; font-size: 16px; font-weight: 750; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.detail-tags span,
.ticket-tags span {
    padding: 8px 11px;
    border-radius: 999px;
    color: #bf6841;
    background: #fff1e6;
    font-size: 12px;
    font-weight: 950;
}
.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}
.detail-info-grid article,
.detail-soft-box {
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,250,243,.72);
}
.detail-info-grid strong { display: block; margin-top: 5px; font-size: 17px; font-weight: 950; }
.detail-info-grid p,
.detail-soft-box p { margin: 7px 0 0; color: #746b62; line-height: 1.75; font-weight: 750; white-space: pre-line; }
.detail-soft-box { margin-top: 12px; }
.detail-soft-box.ai { background: linear-gradient(135deg, #fff1e6, #fffaf3); }
.detail-soft-box.safety { background: linear-gradient(135deg, #ecf5f1, #fffaf3); }
.detail-soft-box h2 { margin: 0; font-size: 19px; font-weight: 950; }
.detail-actions { display: grid; gap: 12px; margin-top: 18px; }
.detail-actions form { display: grid; gap: 10px; margin: 0; }
.register-box textarea {
    width: 100%;
    min-height: 82px;
    resize: vertical;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 13px 15px;
    color: var(--text);
    background: rgba(255,252,246,.82);
    outline: 0;
}
.register-box textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(235,113,91,.12); }
.primary-btn,
.soft-btn,
.disabled.big {
    min-height: 48px;
    border-radius: 999px;
    padding: 0 18px;
    font-weight: 950;
    border: 1px solid var(--line);
}
.primary-btn { color: #fff; border: 0; background: linear-gradient(135deg, #f18773, #ec735e); box-shadow: 0 14px 28px rgba(235, 113, 91, .22); }
.soft-btn { color: var(--teal); background: #fff; }
.disabled.big { color: #968c82; background: #f0ebe4; cursor: not-allowed; }

.ticket-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
    align-items: center;
    margin-top: 24px;
    padding: 28px;
}
.ticket-hero h1 { font-size: clamp(36px, 5vw, 54px); }
.ticket-hero p:not(.eyebrow) { color: #5d5650; line-height: 1.9; font-weight: 750; }
.ticket-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.ticket-metrics article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.56);
}
.ticket-metrics span { color: #7a7168; font-weight: 850; }
.ticket-metrics strong { display: block; margin-top: 6px; font-size: 32px; font-weight: 950; }
.ticket-section { margin-top: 24px; padding: 22px; }
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.section-heading > span {
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--teal);
    background: rgba(255,255,255,.56);
    font-size: 13px;
    font-weight: 950;
}
.ticket-list { display: grid; gap: 14px; }
.ticket-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 148px;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.56);
}
.ticket-card > img { width: 100%; height: 140px; object-fit: cover; border-radius: 17px; }
.ticket-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.ticket-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 950; }
.ticket-card p { margin: 5px 0; line-height: 1.7; }
.ticket-code {
    display: inline-block;
    margin-top: 9px;
    padding: 10px 12px;
    border: 1px dashed rgba(218, 199, 174, .92);
    border-radius: 14px;
    background: rgba(255,250,243,.78);
}
.ticket-code small { display: block; font-size: 11px; }
.ticket-code strong { display: block; margin-top: 3px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.ticket-actions { display: grid; gap: 10px; }
.ticket-actions a,
.ticket-actions button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--teal);
    font-weight: 950;
}
.ticket-actions button { width: 100%; color: var(--brand-dark); }
.ticket-actions form { margin: 0; }

.mobile-bottom-nav { display: none; }

@media (max-width: 1120px) {
    .event-menu { gap: 18px; font-size: 13px; }
    .quick-overview { grid-template-columns: 1fr; }
    .safety-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .safety-panel .panel-heading { grid-column: 1 / -1; }
    .status-card,
    .contact-card,
    .recent-card { margin: 0; }
}

@media (max-width: 920px) {
    .solo-event-shell { width: min(520px, calc(100% - 28px)); padding-bottom: 92px; }
    .event-topbar { min-height: 72px; }
    .event-brand { font-size: 28px; }
    .event-brand small,
    .event-menu,
    .event-actions { display: none; }
    .event-hamburger { display: block; }
    .event-hero {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }
    .hero-copy { padding: 24px 4px 14px; }
    .hero-copy h1 { font-size: 30px; }
    .hero-photo-card {
        min-height: 230px;
        border: 1px solid rgba(218, 199, 174, .82);
        border-radius: 22px;
        overflow: hidden;
        box-shadow: var(--shadow);
    }
    .hero-photo-card img { min-height: 230px; }
    .hero-floating-note { right: 18px; top: 22px; font-size: 14px; }
    .quick-overview { padding-top: 16px; }
    .activity-panel,
    .safety-panel,
    .community-corner,
    .ticket-hero,
    .ticket-section { border-radius: 22px; }
    .activity-search-form { grid-template-columns: 1fr; }
    .activity-tabs {
        display: flex;
        overflow-x: auto;
        border-radius: 18px;
    }
    .activity-tabs .tab { min-width: 106px; }
    .event-card-grid { grid-template-columns: 1fr; }
    .solo-event-card { display: grid; grid-template-columns: 42% 1fr; }
    .event-cover { height: 100%; min-height: 170px; }
    .event-card-body h3 { min-height: auto; font-size: 16px; }
    .card-actions { grid-template-columns: 1fr; }
    .card-actions form,
    .card-actions button { width: 100%; }
    .safety-panel { grid-template-columns: 1fr; }
    .community-corner { align-items: flex-start; flex-direction: column; }
    .event-detail-card,
    .ticket-hero { grid-template-columns: 1fr; }
    .detail-cover { min-height: 360px; }
    .detail-content { padding: 22px; }
    .detail-info-grid { grid-template-columns: 1fr; }
    .ticket-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ticket-card { grid-template-columns: 120px minmax(0, 1fr); }
    .ticket-card > img { height: 130px; }
    .ticket-actions { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        min-height: 68px;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(218, 199, 174, .82);
        background: rgba(255, 250, 243, .94);
        backdrop-filter: blur(18px);
        box-shadow: 0 -12px 30px rgba(86, 65, 44, .12);
    }
    .mobile-bottom-nav a {
        display: grid;
        justify-items: center;
        gap: 3px;
        color: #746b62;
        font-size: 11px;
        font-weight: 900;
    }
    .mobile-bottom-nav span { font-size: 18px; line-height: 1; }
    .mobile-bottom-nav a.active { color: var(--brand); }
}

@media (max-width: 560px) {
    .solo-event-shell { width: min(390px, calc(100% - 22px)); }
    .event-topbar { min-height: 64px; }
    .hero-copy h1 { font-size: 28px; }
    .hero-copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.7; }
    .hero-cta-row { display: none; }
    .hero-photo-card { min-height: 178px; }
    .hero-photo-card img { min-height: 178px; }
    .hero-photo-card::before { background: linear-gradient(90deg, rgba(248,240,230,.88), rgba(248,240,230,.18) 55%, rgba(248,240,230,0)); }
    .quick-overview { gap: 14px; }
    .panel-heading h2 { font-size: 18px; }
    .panel-heading p { font-size: 11px; }
    .activity-panel,
    .safety-panel { padding: 14px; }
    .solo-event-card { grid-template-columns: 112px minmax(0, 1fr); border-radius: 16px; }
    .event-cover { min-height: 156px; }
    .event-cover span { top: 9px; bottom: auto; left: 8px; font-size: 10px; }
    .event-card-body { padding: 11px; }
    .event-card-body h3 { font-size: 15px; margin-bottom: 7px; }
    .meta-list { gap: 4px; font-size: 11px; }
    .member-row { font-size: 11px; margin-top: 8px; }
    .card-actions a,
    .card-actions button { min-height: 30px; font-size: 11px; }
    .contact-row { grid-template-columns: repeat(4, 1fr); }
    .community-corner { padding: 16px; }
    .community-corner h2 { font-size: 20px; }
    .ticket-hero,
    .ticket-section { padding: 18px; }
    .ticket-metrics { grid-template-columns: 1fr 1fr; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .ticket-card { grid-template-columns: 1fr; }
    .ticket-card > img { height: 180px; }
    .ticket-actions { grid-template-columns: 1fr; }
}

/* Stage 382：會員端活動詳情頁重做 */
.stage382-detail-shell {
    padding-bottom: 110px;
}
.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 4px;
    color: #75695f;
    font-size: 14px;
    font-weight: 900;
}
.detail-breadcrumb a { color: var(--teal); }
.detail-breadcrumb strong {
    color: #3c3935;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stage382-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    min-height: 360px;
    overflow: hidden;
    background: rgba(255, 252, 246, .94);
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 32px;
    box-shadow: var(--shadow);
}
.detail-hero-copy {
    padding: 46px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.detail-hero-copy h1 {
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(38px, 4.8vw, 62px);
    line-height: 1.2;
    letter-spacing: .03em;
    color: #303437;
}
.detail-hero-copy > p:not(.eyebrow) {
    margin: 18px 0 0;
    color: #625a52;
    font-size: 17px;
    line-height: 1.9;
    font-weight: 750;
}
.detail-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}
.detail-chip-row span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff1e6;
    color: #c7664f;
    font-size: 13px;
    font-weight: 950;
    border: 1px solid rgba(235, 113, 91, .12);
}
.detail-hero-photo {
    position: relative;
    min-height: 360px;
    border-left: 1px solid rgba(201, 180, 151, .38);
    isolation: isolate;
}
.detail-hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(248,240,230,.95), rgba(248,240,230,.18) 42%, rgba(248,240,230,0) 70%);
}
.detail-hero-photo img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}
.photo-note {
    position: absolute;
    right: 34px;
    top: 44px;
    z-index: 2;
    color: #2f7c78;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 950;
    transform: rotate(-2deg);
    text-shadow: 0 1px 0 rgba(255,255,255,.85);
}
.stage382-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 356px;
    gap: 22px;
    align-items: start;
    padding-top: 24px;
}
.stage382-main-card,
.register-panel-card,
.similar-event-section {
    background: rgba(255, 252, 246, .94);
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 30px;
    box-shadow: var(--shadow);
}
.stage382-main-card { padding: 24px; }
.detail-section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}
.detail-section-title.compact { display: block; }
.detail-section-title h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 950;
    letter-spacing: .02em;
    color: #303437;
}
.detail-description {
    margin: 0 0 18px;
    color: #655d55;
    line-height: 1.95;
    font-weight: 750;
    white-space: pre-line;
}
.detail-info-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}
.detail-info-board article {
    min-height: 126px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: #fffaf3;
}
.detail-info-board span {
    display: block;
    color: #8b7f72;
    font-size: 12px;
    font-weight: 950;
}
.detail-info-board strong {
    display: block;
    margin-top: 8px;
    color: #33312f;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.35;
}
.detail-info-board small {
    display: block;
    margin-top: 6px;
    color: #7b7066;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 800;
}
.activity-flow-card {
    margin-top: 14px;
    padding: 20px;
    border-radius: 26px;
    background: linear-gradient(135deg, #fffaf3, #fff1e6);
    border: 1px solid var(--line);
}
.flow-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.flow-list div {
    padding: 16px;
    border-radius: 22px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(234, 223, 208, .72);
}
.flow-list b {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 13px;
    background: #ec735e;
    color: #fff;
    font-size: 13px;
}
.flow-list span {
    display: block;
    margin-top: 12px;
    font-weight: 950;
    color: #393632;
}
.flow-list small {
    display: block;
    margin-top: 6px;
    color: #766d63;
    font-weight: 750;
    line-height: 1.6;
    white-space: pre-line;
}
.detail-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.host-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    margin-top: 14px;
    padding: 20px;
    border-radius: 26px;
    background: #fffaf3;
    border: 1px solid var(--line);
}
.host-avatar {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #ec735e, #e4a23a);
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 900;
}
.host-card h2 { margin: 0; font-size: 22px; font-weight: 950; }
.host-card p { margin: 8px 0 0; color: #746b62; line-height: 1.75; font-weight: 750; }
.host-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.host-stats span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff1e6;
    color: #c7664f;
    font-size: 12px;
    font-weight: 950;
}
.stage382-register-panel {
    position: sticky;
    top: 104px;
}
.register-panel-card { padding: 20px; }
.panel-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.panel-price-row span { color: #7b7066; font-weight: 900; }
.panel-price-row strong { color: #d95f4a; font-size: 28px; font-weight: 950; }
.panel-mini-info { display: grid; gap: 10px; margin: 16px 0; }
.panel-mini-info div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 17px;
    background: #fffaf3;
    border: 1px solid var(--line);
}
.panel-mini-info span { color: #7b7066; font-size: 13px; font-weight: 900; }
.panel-mini-info b { text-align: right; font-weight: 950; }
.participant-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0;
}
.avatar-stack { display: flex; }
.avatar-stack img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fffaf3;
    margin-left: -10px;
    box-shadow: 0 8px 18px rgba(117, 82, 50, .12);
}
.avatar-stack img:first-child { margin-left: 0; }
.participant-preview p { margin: 0; color: #766d63; font-size: 13px; font-weight: 900; }
.detail-save-form { margin: 0 0 10px; }
.detail-save-form button,
.register-box button,
.register-box textarea,
.stage382-register-panel .disabled.big {
    width: 100%;
}
.safe-check-card {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    padding: 15px;
    border-radius: 22px;
    background: #ecf5f1;
    border: 1px solid rgba(47, 124, 120, .12);
}
.safe-check-card > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #fff;
    color: #2f7c78;
    flex: 0 0 auto;
}
.safe-check-card h3 { margin: 0; font-size: 16px; font-weight: 950; }
.safe-check-card p { margin: 5px 0 0; color: #5f6f68; line-height: 1.6; font-size: 13px; font-weight: 750; }
.similar-event-section { margin-top: 24px; padding: 22px; }
.similar-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.similar-event-section .solo-event-card { min-height: 100%; }

@media (max-width: 1080px) {
    .stage382-detail-hero,
    .stage382-detail-layout { grid-template-columns: 1fr; }
    .detail-hero-photo { border-left: 0; border-top: 1px solid rgba(201, 180, 151, .38); }
    .stage382-register-panel { position: static; }
    .detail-info-board, .flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .detail-breadcrumb { padding: 14px 0; }
    .stage382-detail-hero { border-radius: 24px; }
    .detail-hero-copy { padding: 28px 22px; }
    .detail-hero-photo,
    .detail-hero-photo img { min-height: 240px; }
    .photo-note { right: 18px; top: 20px; font-size: 14px; }
    .stage382-main-card,
    .register-panel-card,
    .similar-event-section { border-radius: 24px; padding: 16px; }
    .detail-info-board,
    .flow-list,
    .detail-two-column,
    .similar-event-grid { grid-template-columns: 1fr; }
    .host-card { grid-template-columns: 1fr; }
    .panel-price-row strong { font-size: 24px; }
}

/* Stage 383：會員端活動搜尋與篩選功能 */
.stage383-search-shell {
    padding-bottom: 112px;
}
.stage383-search-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 22px;
    align-items: stretch;
    padding: 28px 0 18px;
}
.search-hero-copy {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 6px;
}
.search-hero-copy h1 {
    max-width: 660px;
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.2;
    letter-spacing: .03em;
    color: #303437;
}
.search-hero-copy p:not(.eyebrow) {
    max-width: 620px;
    margin: 16px 0 0;
    color: #625a52;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 800;
}
.search-map-card {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 28px;
    background:
        linear-gradient(90deg, rgba(219, 211, 196, .52) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(rgba(219, 211, 196, .52) 1px, transparent 1px) 0 0 / 48px 48px,
        radial-gradient(circle at 70% 20%, rgba(236,245,241,.96), transparent 28%),
        linear-gradient(135deg, #f8efe4, #fffaf3);
    box-shadow: var(--shadow);
}
.search-map-card::before,
.search-map-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(47, 124, 120, .18);
}
.search-map-card::before { width: 220px; height: 18px; left: 46px; top: 82px; transform: rotate(-18deg); }
.search-map-card::after { width: 280px; height: 18px; right: -28px; bottom: 64px; transform: rotate(21deg); }
.search-map-card strong {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    padding: 10px 15px;
    border-radius: 999px;
    color: #2f7c78;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(47, 124, 120, .12);
    font-size: 13px;
    font-weight: 950;
}
.search-map-card small {
    position: absolute;
    right: 22px;
    bottom: 18px;
    z-index: 2;
    padding: 9px 12px;
    border-radius: 14px;
    color: #6d6258;
    background: rgba(255,255,255,.78);
    font-weight: 900;
}
.search-map-card .pin {
    position: absolute;
    z-index: 2;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 50% 8px;
    color: #fff;
    background: #ec735e;
    border: 3px solid rgba(255,255,255,.9);
    box-shadow: 0 10px 20px rgba(236, 115, 94, .24);
    transform: rotate(-45deg);
    font-size: 0;
}
.search-map-card .pin::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}
.search-map-card .p1 { left: 64px; top: 46px; }
.search-map-card .p2 { left: 132px; top: 112px; }
.search-map-card .p3 { left: 214px; top: 64px; }
.search-map-card .p4 { right: 96px; top: 112px; }
.search-map-card .p5 { left: 86px; bottom: 42px; }
.search-map-card .p6 { right: 152px; bottom: 72px; }

.stage383-search-card,
.stage383-side-panel section {
    background: rgba(255, 252, 246, .94);
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.stage383-search-card { padding: 20px; margin-bottom: 22px; }
.stage383-main-form { display: grid; gap: 16px; }
.stage383-keyword-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px 58px;
    gap: 12px;
    align-items: center;
}
.stage383-keyword-pill,
.stage383-location-pill,
.stage383-filter-grid label {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(214, 194, 166, .95);
    border-radius: 18px;
    background: rgba(255, 252, 246, .96);
    box-shadow: 0 10px 24px rgba(103, 74, 42, .08);
}
.stage383-keyword-pill { padding: 0 16px; }
.stage383-location-pill { padding: 0 12px; }
.stage383-keyword-pill span,
.stage383-location-pill span { color: #9d8a78; font-size: 20px; }
.stage383-keyword-pill input,
.stage383-location-pill select,
.stage383-filter-grid select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 14px;
    font-weight: 900;
}
.stage383-search-btn {
    width: 58px;
    height: 54px;
    border: 0;
    border-radius: 18px;
    color: transparent;
    background: var(--teal);
    position: relative;
    overflow: hidden;
}
.stage383-search-btn::after {
    content: "⌕";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 26px;
}
.stage383-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.stage383-category-tabs a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #7b7066;
    background: rgba(255,255,255,.56);
    font-size: 13px;
    font-weight: 950;
}
.stage383-category-tabs a.active,
.stage383-category-tabs a:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #ef7f67, #eb705b);
    box-shadow: 0 10px 22px rgba(235,113,91,.2);
}
.stage383-filter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}
.stage383-filter-grid label {
    min-height: 66px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 10px 12px;
    box-shadow: none;
}
.stage383-filter-grid label > span {
    color: #8a7f74;
    font-size: 11px;
    font-weight: 950;
}
.stage383-check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.stage383-check-row label {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #5e554d;
    background: rgba(255,255,255,.58);
    font-size: 13px;
    font-weight: 900;
}
.stage383-check-row input { accent-color: var(--brand); }
.stage383-filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.stage383-filter-actions button,
.stage383-filter-actions a,
.stage383-ticket-link,
.stage383-side-panel section > a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
}
.stage383-filter-actions button {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #f18773, #ec735e);
    box-shadow: 0 12px 24px rgba(235, 113, 91, .22);
}
.stage383-filter-actions a,
.stage383-ticket-link,
.stage383-side-panel section > a {
    border: 1px solid var(--line);
    color: var(--teal);
    background: rgba(255,255,255,.62);
}

.stage383-result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 22px;
    align-items: start;
}
.stage383-result-panel { padding: 22px; }
.stage383-result-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}
.stage383-result-heading h2 { margin: 0; font-size: 28px; font-weight: 950; }
.stage383-result-heading p:not(.eyebrow) { margin: 6px 0 0; color: #766d63; font-weight: 850; }
.stage383-result-heading > a {
    flex: 0 0 auto;
    color: var(--teal);
    font-size: 13px;
    font-weight: 950;
}
.stage383-active-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px dashed rgba(218, 199, 174, .92);
    border-radius: 18px;
    background: rgba(255,255,255,.48);
}
.stage383-active-filter span {
    color: #7a7066;
    font-size: 12px;
    font-weight: 950;
}
.stage383-active-filter b {
    padding: 7px 10px;
    border-radius: 999px;
    color: #c7664f;
    background: #fff1e6;
    font-size: 12px;
    font-weight: 950;
}
.stage383-event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stage383-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.stage383-card-topline small,
.stage383-card-topline strong {
    font-size: 12px;
    font-weight: 950;
}
.stage383-card-topline small { color: #c8774a; }
.stage383-card-topline strong { color: var(--teal); }
.card-summary {
    min-height: 42px;
    margin: -4px 0 10px;
    color: #786f66;
    font-size: 12px;
    line-height: 1.65;
    font-weight: 780;
}
.stage383-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.stage383-tag-row span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #fff1e6;
    color: #c7664f;
    font-size: 11px;
    font-weight: 950;
}
.stage383-side-panel {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 14px;
}
.stage383-side-panel section { padding: 16px; }
.stage383-side-panel h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 950;
}
.stage383-side-panel section > a {
    width: 100%;
    margin-top: 8px;
}
.stage383-mini-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,250,243,.78);
}
.stage383-mini-stat span { color: #766d63; font-size: 13px; font-weight: 900; }
.stage383-mini-stat strong { color: var(--teal); font-size: 20px; font-weight: 950; }
.stage383-safety-note {
    background: linear-gradient(135deg, #ecf5f1, #fffaf3) !important;
}
.stage383-safety-note p {
    margin: 0;
    color: #5f6f68;
    line-height: 1.75;
    font-size: 13px;
    font-weight: 780;
}

@media (max-width: 1120px) {
    .stage383-search-hero,
    .stage383-result-layout { grid-template-columns: 1fr; }
    .stage383-side-panel {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .stage383-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
    .stage383-search-hero { padding-top: 14px; }
    .search-hero-copy { min-height: auto; padding: 14px 0; }
    .search-hero-copy h1 { font-size: 32px; }
    .stage383-keyword-row { grid-template-columns: 1fr; }
    .stage383-search-btn { width: 100%; }
    .stage383-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stage383-event-grid { grid-template-columns: 1fr; }
    .stage383-side-panel { grid-template-columns: 1fr; }
    .stage383-result-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
    .search-map-card { min-height: 178px; border-radius: 22px; }
    .stage383-search-card,
    .stage383-result-panel,
    .stage383-side-panel section { border-radius: 22px; padding: 14px; }
    .stage383-filter-grid { grid-template-columns: 1fr; }
    .stage383-check-row { gap: 7px; }
    .stage383-check-row label { font-size: 12px; }
    .stage383-filter-actions { align-items: stretch; flex-direction: column; }
    .stage383-filter-actions button,
    .stage383-filter-actions a { width: 100%; }
    .stage383-category-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .stage383-category-tabs a { flex: 0 0 auto; }
}

/* Stage 384：會員端 AI 活動推薦 */
.stage384-mini-ai-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 2px;
}
.stage384-mini-ai-cta a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #f18773, #ec735e);
    box-shadow: 0 14px 28px rgba(235, 113, 91, .24);
    font-size: 13px;
    font-weight: 950;
}
.stage384-mini-ai-cta span {
    color: #7a6f64;
    font-size: 13px;
    font-weight: 800;
}
.stage384-ai-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 24px;
    align-items: stretch;
    padding: 26px 0 12px;
}
.ai-hero-copy,
.ai-match-summary,
.stage384-insight-row article,
.stage384-main-panel,
.stage384-side-panel section {
    background: rgba(255, 252, 246, .94);
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 30px;
    box-shadow: var(--shadow);
}
.ai-hero-copy {
    min-height: 360px;
    padding: clamp(28px, 5vw, 54px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.ai-hero-copy::after {
    content: "AI";
    position: absolute;
    right: 42px;
    bottom: -34px;
    color: rgba(235, 113, 91, .08);
    font-size: 150px;
    font-weight: 950;
    letter-spacing: -.08em;
}
.ai-hero-copy h1 {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: .03em;
}
.ai-hero-copy > p:not(.eyebrow) {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 18px 0 24px;
    color: #5d5650;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 750;
}
.ai-hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ai-match-summary {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 90% 12%, rgba(235,113,91,.17), transparent 32%),
        linear-gradient(145deg, rgba(255,250,243,.96), rgba(236,245,241,.92));
}
.ai-match-summary::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -46px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 24px solid rgba(47, 124, 120, .12);
}
.ai-match-summary > span {
    color: #c8774a;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ai-match-summary > strong {
    margin: 12px 0 2px;
    color: #2f7c78;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 72px;
    line-height: .95;
}
.ai-match-summary h2 {
    margin: 12px 0 10px;
    font-size: 24px;
    font-weight: 950;
}
.ai-match-summary p {
    margin: 0 0 18px;
    color: #6a5f55;
    font-size: 14px;
    line-height: 1.85;
    font-weight: 750;
}
.ai-match-summary a {
    width: fit-content;
    padding: 10px 15px;
    border-radius: 999px;
    color: #fff;
    background: #2f7c78;
    font-size: 13px;
    font-weight: 950;
}
.stage384-insight-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 14px 0 24px;
}
.stage384-insight-row article {
    padding: 20px;
}
.stage384-insight-row span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #f18773, #ec735e);
    font-size: 13px;
    font-weight: 950;
}
.stage384-insight-row strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 950;
}
.stage384-insight-row p {
    margin: 0;
    color: #71675e;
    font-size: 13px;
    line-height: 1.75;
    font-weight: 750;
}
.stage384-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}
.stage384-main-panel,
.stage384-side-panel section {
    padding: 20px;
}
.stage384-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.stage384-heading h2,
.stage384-side-panel h2,
.stage384-side-panel h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 950;
}
.stage384-heading p:not(.eyebrow) {
    margin: 6px 0 0;
    color: #776c62;
    font-size: 13px;
    font-weight: 800;
}
.stage384-heading > a {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--teal);
    background: rgba(255,255,255,.68);
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}
.stage384-recommend-list {
    display: grid;
    gap: 16px;
}
.stage384-recommend-card {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    border: 1px solid rgba(226, 206, 181, .82);
    border-radius: 26px;
    background: rgba(255,255,255,.56);
}
.stage384-cover {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    border-radius: 22px;
}
.stage384-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stage384-cover span {
    position: absolute;
    left: 14px;
    top: 14px;
    min-width: 46px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(47, 124, 120, .92);
    font-weight: 950;
}
.stage384-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 4px 4px 0;
}
.stage384-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
.stage384-card-top h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 950;
}
.stage384-score-badge {
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    border: 8px solid rgba(47, 124, 120, .14);
    background: #fffaf3;
    box-shadow: inset 0 0 0 1px rgba(218,199,174,.82);
}
.stage384-score-badge strong {
    color: #2f7c78;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 1;
}
.stage384-score-badge span {
    color: #796d62;
    font-size: 11px;
    font-weight: 950;
}
.stage384-reason {
    margin: 0;
    color: #5f574f;
    font-size: 14px;
    line-height: 1.85;
    font-weight: 780;
}
.stage384-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.stage384-tags span {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: #2f7c78;
    font-size: 12px;
    font-weight: 950;
}
.stage384-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}
.stage384-meta-grid div {
    padding: 10px;
    border-radius: 16px;
    background: rgba(247,240,231,.78);
}
.stage384-meta-grid span {
    display: block;
    margin-bottom: 3px;
    color: #8a7d71;
    font-size: 11px;
    font-weight: 900;
}
.stage384-meta-grid b {
    display: block;
    color: #3a3936;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 950;
}
.stage384-reason-details {
    border: 1px dashed rgba(201, 180, 151, .72);
    border-radius: 18px;
    padding: 10px 12px;
    background: rgba(255,250,243,.72);
}
.stage384-reason-details summary {
    color: #c8774a;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}
.stage384-reason-details ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #6b625a;
    font-size: 13px;
    line-height: 1.75;
    font-weight: 750;
}
.stage384-card-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.stage384-primary,
.stage384-card-actions button,
.stage384-empty a {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 950;
}
.stage384-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #f18773, #ec735e);
}
.stage384-card-actions button {
    color: #5d5046;
    background: rgba(255,255,255,.78);
    border: 1px solid var(--line);
}
.stage384-side-panel {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 16px;
}
.stage384-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}
.stage384-signal-grid div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(247,240,231,.76);
}
.stage384-signal-grid strong {
    display: block;
    color: #2f7c78;
    font-size: 28px;
    line-height: 1;
    font-weight: 950;
}
.stage384-signal-grid span {
    display: block;
    margin-top: 6px;
    color: #756b62;
    font-size: 12px;
    font-weight: 900;
}
.stage384-ai-note p {
    margin: 12px 0 0;
    color: #6d635a;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 750;
}
.stage384-quick-links {
    display: grid;
    gap: 10px;
}
.stage384-quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.62);
    color: #3f6f6b;
    font-size: 13px;
    font-weight: 950;
}
.stage384-quick-links a::after { content: "→"; }
.stage384-empty {
    padding: 32px;
    text-align: center;
    border: 1px dashed rgba(201, 180, 151, .75);
    border-radius: 22px;
    background: rgba(255,255,255,.5);
}
.stage384-empty h3 { margin: 0 0 8px; font-size: 22px; }
.stage384-empty p { margin: 0 0 16px; color: #746a61; font-weight: 750; }
.stage384-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #2f7c78;
}

@media (max-width: 1040px) {
    .stage384-ai-hero,
    .stage384-layout {
        grid-template-columns: 1fr;
    }
    .stage384-side-panel {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 820px) {
    .stage384-insight-row,
    .stage384-side-panel {
        grid-template-columns: 1fr;
    }
    .stage384-recommend-card {
        grid-template-columns: 1fr;
    }
    .stage384-cover {
        min-height: 220px;
    }
    .stage384-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .stage384-ai-hero {
        gap: 14px;
        padding-top: 16px;
    }
    .ai-hero-copy,
    .ai-match-summary,
    .stage384-main-panel,
    .stage384-side-panel section {
        border-radius: 22px;
        padding: 18px;
    }
    .ai-match-summary > strong {
        font-size: 58px;
    }
    .stage384-heading,
    .stage384-card-top,
    .stage384-card-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .stage384-score-badge {
        width: 82px;
        height: 82px;
    }
    .stage384-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* Stage 385: member event saved/favorite page */
.card-actions {
    grid-template-columns: 1fr auto auto;
}
.card-actions button.save-toggle {
    color: var(--teal);
    border-color: rgba(207, 229, 223, .95);
    background: rgba(255,255,255,.82);
}
.stage385-heading-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}
.stage385-heading-actions a,
.stage385-heading-link,
.stage385-saved-list-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid rgba(207, 229, 223, .95);
    border-radius: 999px;
    color: var(--teal);
    background: rgba(255,255,255,.68);
    font-size: 13px;
    font-weight: 950;
}
.stage385-saved-list-link {
    width: 100%;
    margin: 0 0 12px;
}
.stage385-saved-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 24px;
    align-items: center;
    margin-top: 24px;
    padding: 30px;
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 18%, rgba(231,242,238,.9), transparent 30%),
        linear-gradient(135deg, rgba(255,252,246,.96), rgba(255,241,230,.86));
    box-shadow: var(--shadow);
}
.stage385-saved-hero h1 {
    margin: 0;
    max-width: 650px;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .03em;
}
.stage385-saved-hero p:not(.eyebrow) {
    max-width: 620px;
    margin: 16px 0 22px;
    color: #5d5650;
    line-height: 1.9;
    font-weight: 750;
}
.stage385-saved-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.stage385-saved-summary article {
    min-height: 118px;
    padding: 18px;
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 22px;
    background: rgba(255,255,255,.7);
    box-shadow: 0 14px 30px rgba(117, 82, 50, .08);
}
.stage385-saved-summary span {
    color: #766d63;
    font-size: 13px;
    font-weight: 900;
}
.stage385-saved-summary strong {
    display: block;
    margin-top: 8px;
    color: #303437;
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
}
.stage385-favorite-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: start;
    margin-top: 24px;
}
.stage385-favorite-panel {
    padding: 22px;
}
.stage385-favorite-panel .section-heading {
    align-items: center;
    margin-bottom: 20px;
}
.stage385-favorite-panel .section-heading p:not(.eyebrow) {
    margin: 6px 0 0;
    color: #766d63;
    font-weight: 850;
}
.stage385-saved-list {
    display: grid;
    gap: 16px;
}
.stage385-saved-card {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(218, 199, 174, .85);
    border-radius: 24px;
    background: rgba(255,255,255,.62);
    box-shadow: 0 16px 32px rgba(103, 74, 42, .08);
}
.stage385-saved-cover {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    background: #f4eadf;
}
.stage385-saved-cover img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    transition: transform .28s ease;
}
.stage385-saved-card:hover .stage385-saved-cover img {
    transform: scale(1.04);
}
.stage385-saved-cover span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--teal);
    background: rgba(231, 242, 238, .94);
    font-size: 12px;
    font-weight: 950;
}
.stage385-saved-body {
    padding: 18px;
}
.stage385-saved-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.stage385-saved-topline small {
    color: #9a8475;
    font-size: 12px;
    font-weight: 900;
}
.stage385-saved-topline strong {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    color: #fff;
    background: var(--teal);
    font-size: 12px;
    font-weight: 950;
}
.stage385-saved-body h3 {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 950;
}
.stage385-saved-body p {
    margin: 0 0 14px;
    color: #6d645c;
    line-height: 1.75;
    font-weight: 760;
}
.stage385-saved-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 12px;
}
.stage385-saved-meta span {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 13px;
    color: #5f574f;
    background: rgba(255,250,243,.86);
    border: 1px solid rgba(234,223,208,.78);
    font-size: 12px;
    font-weight: 900;
}
.stage385-saved-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.stage385-saved-tags span {
    padding: 7px 10px;
    border-radius: 999px;
    color: #bf6841;
    background: #fff1e6;
    font-size: 12px;
    font-weight: 950;
}
.stage385-saved-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.stage385-saved-actions form {
    margin: 0;
}
.stage385-saved-actions a,
.stage385-saved-actions button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid rgba(207, 229, 223, .95);
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    color: var(--teal);
    font-size: 13px;
    font-weight: 950;
}
.stage385-saved-actions .stage385-primary,
.stage385-saved-actions form:nth-of-type(1) button {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #f18773, #ec735e);
    box-shadow: 0 12px 24px rgba(235,113,91,.22);
}
.stage385-saved-actions .stage385-remove {
    color: #8d6250;
    background: #fffaf3;
    border-color: rgba(218, 199, 174, .9);
}
.stage385-side-panel {
    display: grid;
    gap: 14px;
}
.stage385-side-panel section {
    padding: 18px;
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 24px;
    background: rgba(255, 252, 246, .94);
    box-shadow: var(--shadow);
}
.stage385-side-panel h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 950;
}
.stage385-side-panel p {
    margin: 0 0 12px;
    color: #6e665f;
    line-height: 1.7;
    font-weight: 780;
}
.stage385-side-panel a,
.stage385-step-list span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    margin-top: 8px;
    padding: 0 12px;
    border: 1px solid rgba(234,223,208,.82);
    border-radius: 14px;
    color: #5e564e;
    background: rgba(255,255,255,.62);
    font-size: 13px;
    font-weight: 900;
}
.stage385-safe-note {
    background: linear-gradient(135deg, #ecf5f1, #fffaf3) !important;
}

@media (max-width: 980px) {
    .stage385-saved-hero,
    .stage385-favorite-layout {
        grid-template-columns: 1fr;
    }
    .stage385-saved-card {
        grid-template-columns: 1fr;
    }
    .stage385-saved-cover,
    .stage385-saved-cover img {
        min-height: 260px;
    }
    .stage385-heading-actions {
        justify-content: flex-start;
    }
    .card-actions {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .stage385-saved-hero {
        padding: 22px;
        border-radius: 24px;
    }
    .stage385-saved-summary,
    .stage385-saved-meta {
        grid-template-columns: 1fr;
    }
    .stage385-favorite-panel,
    .stage385-side-panel section {
        padding: 16px;
    }
    .stage385-saved-actions,
    .stage385-saved-actions a,
    .stage385-saved-actions button {
        width: 100%;
    }
    .stage385-saved-actions form {
        width: 100%;
    }
}

/* Stage 386 - member event registration */
.stage386-signup-shell,
.stage386-ticket-detail-shell {
    background:
        radial-gradient(circle at 15% 8%, rgba(255, 226, 200, .72), transparent 32%),
        radial-gradient(circle at 86% 18%, rgba(210, 236, 229, .7), transparent 30%),
        #fffaf4;
}
.stage386-signup-hero,
.stage386-ticket-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 24px;
    align-items: center;
    margin: 18px 0 24px;
    padding: 28px;
    border: 1px solid rgba(235, 218, 195, .86);
    border-radius: 34px;
    background: rgba(255, 252, 246, .9);
    box-shadow: var(--shadow);
}
.stage386-signup-hero h1,
.ticket-visual-main h1 {
    margin: 6px 0 10px;
    color: #342721;
    font-family: var(--serif);
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -.05em;
}
.stage386-signup-hero p,
.ticket-action-panel p {
    margin: 0;
    color: #6e665f;
    line-height: 1.8;
    font-weight: 760;
}
.stage386-signup-hero img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 22px 50px rgba(76, 49, 38, .18);
}
.stage386-signup-layout,
.stage386-ticket-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 22px;
    align-items: start;
}
.stage386-signup-form-card,
.stage386-signup-summary,
.stage386-ticket-info-card,
.ticket-action-panel {
    padding: 24px;
    border: 1px solid rgba(218, 199, 174, .86);
    border-radius: 30px;
    background: rgba(255, 252, 246, .94);
    box-shadow: var(--shadow);
}
.stage386-registration-form {
    display: grid;
    gap: 18px;
}
.form-grid.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.stage386-registration-form label,
.full-field {
    display: grid;
    gap: 8px;
    color: #5a4a3f;
    font-size: 14px;
    font-weight: 900;
}
.stage386-registration-form input[type="text"],
.stage386-registration-form input[type="tel"],
.stage386-registration-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(222, 207, 187, .96);
    border-radius: 16px;
    outline: none;
    background: rgba(255,255,255,.82);
    color: #3b302a;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 760;
    box-sizing: border-box;
}
.stage386-registration-form textarea {
    resize: vertical;
    min-height: 112px;
}
.stage386-registration-form input:focus,
.stage386-registration-form textarea:focus {
    border-color: rgba(231, 123, 99, .78);
    box-shadow: 0 0 0 4px rgba(231, 123, 99, .12);
}
.stage386-consent-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(207, 229, 223, .95);
    border-radius: 22px;
    background: linear-gradient(135deg, #ecf5f1, #fffaf3);
}
.stage386-consent-card label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #4d5f5b;
    line-height: 1.7;
    font-size: 13px;
    font-weight: 880;
}
.stage386-consent-card input {
    margin-top: 5px;
    accent-color: #e97862;
}
.stage386-submit-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.stage386-submit-row .primary-btn,
.stage386-detail-register-box .primary-btn,
.ticket-action-panel .primary-cta {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #f18773, #ec735e);
    box-shadow: 0 16px 30px rgba(235, 113, 91, .24);
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
}
.stage386-submit-row .ghost-cta,
.ticket-action-panel .ghost-cta {
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(218, 199, 174, .9);
    border-radius: 999px;
    color: #6b5146;
    background: rgba(255,255,255,.72);
    font-size: 14px;
    font-weight: 900;
}
.summary-event-card {
    display: grid;
    gap: 14px;
}
.summary-event-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 24px;
}
.summary-event-card h2,
.stage386-safety-box h3,
.ticket-action-panel h2 {
    margin: 0 0 8px;
    color: #342721;
    font-size: 22px;
    font-weight: 950;
}
.summary-event-card p {
    margin: 0;
    color: #6e665f;
    line-height: 1.7;
    font-weight: 760;
}
.summary-info-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}
.summary-info-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(210, 193, 170, .8);
}
.summary-info-list.wide {
    margin-top: 0;
}
.summary-info-list span {
    color: #998778;
    font-size: 13px;
    font-weight: 880;
}
.summary-info-list strong {
    color: #3d3029;
    text-align: right;
    font-size: 14px;
    font-weight: 950;
}
.stage386-safety-box {
    margin-top: 16px;
    padding: 16px;
    border-radius: 22px;
    background: #fff4e9;
}
.stage386-safety-box ul {
    margin: 0;
    padding-left: 18px;
    color: #735d51;
    line-height: 1.8;
    font-weight: 820;
}
.already-registered-box,
.stage386-detail-register-box {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(207, 229, 223, .95);
    border-radius: 22px;
    background: linear-gradient(135deg, #edf6f2, #fffaf3);
}
.already-registered-box h3,
.stage386-detail-register-box p {
    margin: 0;
}
.already-registered-box a {
    justify-self: start;
    color: var(--teal);
    font-weight: 950;
}
.ticket-visual-card {
    min-height: 300px;
    display: grid;
    grid-template-columns: 92px 1fr;
    overflow: hidden;
    border: 1px solid rgba(218, 199, 174, .86);
    border-radius: 32px;
    background: linear-gradient(135deg, #fff7eb, #eef8f4);
    box-shadow: var(--shadow);
}
.ticket-stub {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8px;
    background: #e97862;
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 950;
    letter-spacing: .12em;
}
.ticket-stub strong {
    font-size: 12px;
}
.ticket-visual-main {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 28px;
}
.ticket-code-large {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px dashed rgba(210, 165, 119, .86);
    border-radius: 20px;
    background: rgba(255,255,255,.64);
}
.ticket-code-large small {
    color: #998778;
    font-weight: 900;
}
.ticket-code-large strong {
    color: #2f332f;
    font-size: clamp(22px, 4vw, 34px);
    letter-spacing: .08em;
    word-break: break-all;
}
.ticket-status-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ticket-status-row span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #716157;
    font-size: 12px;
    font-weight: 950;
}
.ticket-status-row span.ok {
    color: #286256;
    background: #e1f4ed;
}
.ticket-status-row span.wait {
    color: #9b6b00;
    background: #fff1cb;
}
.ticket-status-row span.muted {
    color: #8b6b63;
    background: #f2e9e4;
}
.ticket-action-panel {
    display: grid;
    gap: 12px;
}
.ticket-cancel-form button {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(214, 160, 148, .8);
    border-radius: 999px;
    background: #fff8f5;
    color: #a24c3d;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
}
.ticket-note-box {
    margin-top: 16px;
    padding: 16px;
    border-radius: 20px;
    background: #fff7eb;
}
.ticket-note-box span {
    display: block;
    margin-bottom: 8px;
    color: #9a826d;
    font-size: 13px;
    font-weight: 950;
}
.ticket-note-box p {
    margin: 0;
    color: #5c514b;
    line-height: 1.8;
    font-weight: 780;
}
.ticket-actions a + a {
    margin-top: 8px;
}
.stage385-saved-actions > a,
.card-actions > a {
    text-align: center;
}

@media (max-width: 980px) {
    .stage386-signup-hero,
    .stage386-ticket-hero,
    .stage386-signup-layout,
    .stage386-ticket-layout {
        grid-template-columns: 1fr;
    }
    .stage386-signup-hero img {
        height: 260px;
    }
}
@media (max-width: 640px) {
    .stage386-signup-hero,
    .stage386-signup-form-card,
    .stage386-signup-summary,
    .stage386-ticket-info-card,
    .ticket-action-panel {
        padding: 18px;
        border-radius: 24px;
    }
    .form-grid.two {
        grid-template-columns: 1fr;
    }
    .ticket-visual-card {
        grid-template-columns: 64px 1fr;
        min-height: 250px;
    }
    .ticket-visual-main {
        padding: 20px;
    }
    .stage386-submit-row,
    .stage386-submit-row .primary-btn,
    .stage386-submit-row .ghost-cta,
    .ticket-action-panel .primary-cta,
    .ticket-action-panel .ghost-cta {
        width: 100%;
    }
    .summary-info-list div {
        display: grid;
        gap: 4px;
    }
    .summary-info-list strong {
        text-align: left;
    }
}

/* Stage 387: Member event ticket QR Code */
.stage387-qr-shell .stage386-ticket-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
}
.stage387-qr-action-panel {
    align-content: start;
}
.stage387-qr-card {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(207, 229, 223, .95);
    border-radius: 26px;
    background: linear-gradient(135deg, #f1fbf6, #fffaf3);
    box-shadow: 0 16px 42px rgba(67, 54, 42, .09);
}
.stage387-qr-card.disabled {
    filter: grayscale(.4);
    opacity: .72;
}
.stage387-qr-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #2f7f70;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .04em;
}
.stage387-qr-card img {
    width: min(250px, 100%);
    aspect-ratio: 1;
    border-radius: 22px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(41, 60, 55, .08);
}
.stage387-qr-card strong {
    color: #2f332f;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
    font-weight: 950;
    word-break: break-all;
}
.stage387-qr-card p {
    margin: 0;
    color: #6d625b;
    text-align: center;
    line-height: 1.7;
    font-weight: 800;
}
.stage387-qr-card a {
    color: var(--teal);
    font-weight: 950;
}
.stage387-print-btn {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: #342721;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
}
.stage387-qr-guide-card {
    grid-column: 1 / -1;
}
.stage387-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.stage387-guide-grid div {
    padding: 16px;
    border-radius: 22px;
    background: #fffaf3;
    border: 1px solid rgba(221, 204, 181, .85);
}
.stage387-guide-grid span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #e97862;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
}
.stage387-guide-grid strong {
    display: block;
    color: #342721;
    font-size: 16px;
    font-weight: 950;
}
.stage387-guide-grid p {
    margin: 6px 0 0;
    color: #70645c;
    line-height: 1.75;
    font-weight: 780;
}
.stage387-ticket-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.stage387-ticket-code-row img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: #fff;
    flex: 0 0 auto;
}
.stage387-verify-shell {
    padding-bottom: 48px;
}
.stage387-verify-hero,
.stage387-verify-card {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(221, 204, 181, .8);
    border-radius: 30px;
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow);
}
.stage387-verify-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
}
.stage387-verify-hero.success {
    background: linear-gradient(135deg, #effbf5, #fffaf3);
}
.stage387-verify-hero.danger {
    background: linear-gradient(135deg, #fff3ed, #fffaf3);
}
.stage387-verify-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: #2f7f70;
    color: #fff;
    font-size: 42px;
    font-weight: 950;
}
.stage387-verify-hero.danger .stage387-verify-icon {
    background: #c9634f;
}
.stage387-verify-hero h1 {
    margin: 4px 0;
    color: #342721;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 950;
}
.stage387-verify-hero p:not(.eyebrow) {
    margin: 0;
    color: #6c625c;
    line-height: 1.8;
    font-weight: 800;
}
.stage387-verify-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
}
.stage387-verify-side {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 20px;
    border-radius: 24px;
    background: #fff7eb;
}
.stage387-verify-side span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    font-weight: 950;
}
.stage387-verify-side span.ok {
    color: #286256;
    background: #dff5ec;
}
.stage387-verify-side span.warn {
    color: #9b6b00;
    background: #fff1cb;
}
.stage387-verify-side p {
    margin: 0;
    color: #6c625c;
    line-height: 1.8;
    font-weight: 780;
}
.stage387-verify-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
@media (max-width: 980px) {
    .stage387-qr-shell .stage386-ticket-hero,
    .stage387-verify-card {
        grid-template-columns: 1fr;
    }
    .stage387-guide-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .stage387-qr-card img {
        width: min(220px, 100%);
    }
    .stage387-ticket-code-row {
        align-items: flex-start;
    }
    .stage387-ticket-code-row img {
        width: 58px;
        height: 58px;
    }
    .stage387-verify-hero {
        grid-template-columns: 1fr;
        padding: 20px;
        border-radius: 24px;
    }
    .stage387-verify-card {
        padding: 18px;
        border-radius: 24px;
    }
    .stage387-verify-actions,
    .stage387-verify-actions .primary-cta,
    .stage387-verify-actions .ghost-cta,
    .stage387-print-btn {
        width: 100%;
    }
}
@media print {
    .event-topbar,
    .detail-breadcrumb,
    .mobile-bottom-nav,
    .ticket-cancel-form,
    .stage387-print-btn,
    .ticket-action-panel .primary-cta,
    .ticket-action-panel .ghost-cta {
        display: none !important;
    }
    .solo-event-shell {
        max-width: 900px;
        padding: 0;
        background: #fff;
    }
    .stage386-ticket-hero,
    .stage386-ticket-layout {
        grid-template-columns: 1fr 1fr !important;
        box-shadow: none;
    }
    .stage387-qr-card,
    .ticket-visual-card,
    .stage386-ticket-info-card {
        box-shadow: none;
        break-inside: avoid;
    }
}

/* Stage 388: member activity history */
.event-history-shell { padding-bottom: 110px; }
.history-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: stretch;
    padding: 32px 0 10px;
}
.history-hero-copy,
.history-next-card {
    background: rgba(255, 252, 246, .95);
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 30px;
    box-shadow: var(--shadow);
}
.history-hero-copy { padding: 34px 36px; }
.history-hero-copy h1 {
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.2;
    letter-spacing: .03em;
}
.history-hero-copy > p:not(.eyebrow) {
    max-width: 680px;
    margin: 14px 0 22px;
    color: #615850;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 700;
}
.history-next-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 230px;
    background:
        linear-gradient(145deg, rgba(255,248,237,.95), rgba(255,240,226,.96)),
        radial-gradient(circle at 20% 20%, rgba(233,120,98,.25), transparent 48%);
}
.history-next-card::before {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    width: 148px;
    height: 148px;
    border-radius: 999px;
    background: rgba(231, 113, 91, .12);
}
.history-next-card span {
    color: #c8774a;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.history-next-card strong {
    margin: 8px 0 10px;
    font-size: 24px;
    line-height: 1.35;
    color: #303437;
}
.history-next-card small {
    color: #71675e;
    font-weight: 800;
    line-height: 1.7;
}
.history-overview-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 14px 0 22px;
}
.history-overview-grid article {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.64);
    border: 1px solid rgba(218, 199, 174, .72);
    box-shadow: 0 14px 34px rgba(117,82,50,.08);
}
.history-overview-grid span {
    display: block;
    color: #7a6f64;
    font-size: 13px;
    font-weight: 900;
}
.history-overview-grid strong {
    display: block;
    margin-top: 6px;
    color: #2f332f;
    font-size: 30px;
    font-weight: 950;
}
.history-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.history-sidebar,
.history-main { padding: 22px; }
.history-sidebar { position: sticky; top: 104px; }
.history-sidebar h2,
.history-main h2 { margin: 0; font-size: 24px; font-weight: 950; }
.history-filter-tabs {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}
.history-filter-tabs a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 15px;
    border: 1px solid rgba(218,199,174,.75);
    background: rgba(255,255,255,.62);
    color: #5b5048;
    font-weight: 950;
    font-size: 14px;
}
.history-filter-tabs a span {
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: #fff4e8;
    color: #d7654f;
    font-size: 12px;
}
.history-filter-tabs a.active,
.history-filter-tabs a:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #f18773, #ec735e);
    box-shadow: 0 12px 24px rgba(235,113,91,.22);
}
.history-filter-tabs a.active span,
.history-filter-tabs a:hover span { background: rgba(255,255,255,.23); color: #fff; }
.history-safe-note {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: #ecf5f1;
    border: 1px solid rgba(89, 150, 137, .24);
}
.history-safe-note strong { color: #2f7c78; font-size: 16px; font-weight: 950; }
.history-safe-note p { margin: 8px 0 12px; color: #52645f; font-size: 13px; line-height: 1.75; font-weight: 800; }
.history-safe-note a { color: #2f7c78; font-size: 13px; font-weight: 950; }
.section-extra-link {
    display: inline-flex;
    margin-top: 6px;
    color: #2f7c78;
    font-size: 13px;
    font-weight: 950;
}
.history-timeline {
    position: relative;
    display: grid;
    gap: 18px;
    margin-top: 18px;
}
.history-timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: linear-gradient(#f2b49f, #d8c5ab);
}
.history-card {
    position: relative;
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 16px 16px 46px;
    border: 1px solid rgba(218,199,174,.78);
    border-radius: 24px;
    background: rgba(255,255,255,.66);
    box-shadow: 0 12px 34px rgba(117,82,50,.08);
}
.history-dot {
    position: absolute;
    left: 10px;
    top: 34px;
    width: 18px;
    height: 18px;
    border: 4px solid #fffaf3;
    border-radius: 999px;
    background: #e97862;
    box-shadow: 0 0 0 2px rgba(233,120,98,.22);
    z-index: 1;
}
.history-card > img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 18px;
}
.history-card h3 { margin: 8px 0 6px; font-size: 22px; line-height: 1.35; font-weight: 950; }
.history-card h3 a:hover { color: #e97862; }
.history-summary {
    margin: 0 0 12px;
    color: #6f655d;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 750;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.history-tags span.success { background: #e7f2ee; color: #2f7c78; }
.history-tags span.warning { background: #fff6dd; color: #a06a16; }
.history-tags span.danger { background: #fff0ee; color: #cf513d; }
.history-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}
.history-meta-grid div {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,250,243,.9);
    border: 1px solid rgba(218,199,174,.58);
}
.history-meta-grid dt {
    color: #9a8674;
    font-size: 12px;
    font-weight: 900;
}
.history-meta-grid dd {
    margin: 4px 0 0;
    color: #3f3b37;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 900;
    word-break: break-word;
}
.history-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}
.primary-cta.mini,
.ghost-cta.mini { min-height: 38px; padding: 0 14px; border-radius: 12px; font-size: 13px; }
.history-action-row form { margin: 0; }
.history-action-row button {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(207,81,61,.25);
    border-radius: 12px;
    background: #fff0ee;
    color: #cf513d;
    font-size: 13px;
    font-weight: 950;
}

@media (max-width: 980px) {
    .history-hero,
    .history-layout { grid-template-columns: 1fr; }
    .history-sidebar { position: static; }
    .history-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .history-card { grid-template-columns: 1fr; }
    .history-card > img { height: 220px; }
}
@media (max-width: 640px) {
    .history-hero-copy,
    .history-next-card,
    .history-sidebar,
    .history-main { padding: 18px; border-radius: 22px; }
    .history-overview-grid { grid-template-columns: 1fr; }
    .history-timeline::before { left: 12px; }
    .history-card { padding: 14px 14px 14px 34px; border-radius: 20px; }
    .history-dot { left: 4px; top: 28px; }
    .history-meta-grid { grid-template-columns: 1fr; }
}

/* Stage 389：會員端活動提醒通知 */
.event-reminder-shell {
    padding-bottom: 84px;
}
.reminder-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: stretch;
    margin-top: 24px;
}
.reminder-hero-copy,
.reminder-next-card {
    border: 1px solid rgba(218,199,174,.72);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,250,243,.92), rgba(255,255,255,.76));
    box-shadow: 0 22px 55px rgba(117,82,50,.10);
}
.reminder-hero-copy {
    padding: 34px;
}
.reminder-hero-copy h1 {
    margin: 4px 0 12px;
    color: #2f2d2a;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -.04em;
    font-weight: 950;
}
.reminder-hero-copy p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    color: #6f655d;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 750;
}
.reminder-next-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px;
    background:
            radial-gradient(circle at 20% 20%, rgba(241,135,115,.22), transparent 36%),
            linear-gradient(145deg, #fff7ec, #f4ede1);
}
.reminder-next-card span {
    color: #b27851;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.reminder-next-card strong {
    display: block;
    margin-top: 10px;
    color: #2f2d2a;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 950;
}
.reminder-next-card small {
    display: block;
    margin-top: 10px;
    color: #756b61;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 800;
}
.reminder-overview-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}
.reminder-overview-grid article {
    padding: 20px;
    border: 1px solid rgba(218,199,174,.72);
    border-radius: 22px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 14px 32px rgba(117,82,50,.07);
}
.reminder-overview-grid span {
    color: #947f6c;
    font-size: 13px;
    font-weight: 900;
}
.reminder-overview-grid strong {
    display: block;
    margin-top: 8px;
    color: #2f2d2a;
    font-size: 30px;
    font-weight: 950;
}
.reminder-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.reminder-sidebar {
    position: sticky;
    top: 24px;
}
.reminder-rule-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}
.reminder-rule-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: #fffaf3;
    border: 1px solid rgba(218,199,174,.66);
}
.reminder-rule-list span {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    grid-row: span 2;
    background: #fff0e9;
    color: #e97862;
    font-size: 13px;
    font-weight: 950;
}
.reminder-rule-list strong {
    color: #3f3b37;
    font-size: 15px;
    font-weight: 950;
}
.reminder-rule-list p {
    margin: 5px 0 0;
    color: #73685e;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 750;
}
.reminder-test-form {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: #fff5eb;
    border: 1px solid rgba(233,120,98,.22);
}
.reminder-test-form button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #f18773, #ec735e);
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 14px 26px rgba(235,113,91,.2);
}
.reminder-test-form small {
    display: block;
    margin-top: 10px;
    color: #8d7a68;
    font-size: 12px;
    line-height: 1.65;
    font-weight: 800;
}
.reminder-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}
.reminder-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(218,199,174,.78);
    border-radius: 24px;
    background: rgba(255,255,255,.7);
    box-shadow: 0 12px 34px rgba(117,82,50,.08);
}
.reminder-card.due-now {
    border-color: rgba(233,120,98,.55);
    background: linear-gradient(135deg, #fff9f3, #fff1eb);
}
.reminder-card > img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 18px;
}
.reminder-card h3 {
    margin: 8px 0 12px;
    color: #2f2d2a;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 950;
}
.reminder-card h3 a:hover { color: #e97862; }
.reminder-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}
.reminder-meta-grid div {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,250,243,.92);
    border: 1px solid rgba(218,199,174,.58);
}
.reminder-meta-grid dt {
    color: #9a8674;
    font-size: 12px;
    font-weight: 900;
}
.reminder-meta-grid dd {
    margin: 4px 0 0;
    color: #3f3b37;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 900;
    word-break: break-word;
}
.reminder-progress-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.reminder-progress-row span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #f5ede4;
    color: #8b7b6c;
    font-size: 12px;
    font-weight: 950;
}
.reminder-progress-row span.done {
    background: #e7f2ee;
    color: #2f7c78;
}
.reminder-last {
    margin: 10px 0 0;
    color: #7e7166;
    font-size: 13px;
    font-weight: 850;
}
.event-alert {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 900;
}
.event-alert.success {
    color: #2f7c78;
    background: #e7f2ee;
    border: 1px solid rgba(47,124,120,.18);
}
.event-alert.danger {
    color: #cf513d;
    background: #fff0ee;
    border: 1px solid rgba(207,81,61,.2);
}

@media (max-width: 980px) {
    .reminder-hero,
    .reminder-layout { grid-template-columns: 1fr; }
    .reminder-sidebar { position: static; }
    .reminder-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reminder-card { grid-template-columns: 1fr; }
    .reminder-card > img { height: 220px; }
}
@media (max-width: 640px) {
    .reminder-hero-copy,
    .reminder-next-card,
    .reminder-sidebar,
    .reminder-main { padding: 18px; border-radius: 22px; }
    .reminder-overview-grid { grid-template-columns: 1fr; }
    .reminder-meta-grid { grid-template-columns: 1fr; }
}

/* Stage 390 - member event safety check-in */
.stage390-safe-check-shell { padding-bottom: 110px; }
.stage390-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: stretch;
    padding: 34px 0 22px;
}
.stage390-hero-copy,
.stage390-next-safe-card {
    background: rgba(255, 252, 246, .94);
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 30px;
    box-shadow: var(--shadow);
}
.stage390-hero-copy { padding: 34px; }
.stage390-hero-copy h1 {
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.25;
    font-weight: 900;
}
.stage390-hero-copy > p:not(.eyebrow) {
    max-width: 720px;
    color: #61574e;
    font-weight: 700;
    line-height: 1.9;
    margin: 14px 0 22px;
}
.stage390-next-safe-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background:
        radial-gradient(circle at top right, rgba(231, 242, 238, .92), transparent 42%),
        rgba(255, 252, 246, .96);
}
.stage390-next-safe-card span,
.stage390-summary-grid span { color: #8a7a6c; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.stage390-next-safe-card strong { font-size: 24px; line-height: 1.35; }
.stage390-next-safe-card small { color: #6f645c; font-weight: 800; }
.stage390-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 22px;
}
.stage390-summary-grid article {
    min-height: 96px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 252, 246, .94);
    border: 1px solid rgba(218, 199, 174, .78);
    box-shadow: 0 14px 34px rgba(117, 82, 50, .08);
}
.stage390-summary-grid strong { display: block; margin-top: 8px; font-size: 30px; color: #2f332f; }
.stage390-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.stage390-sidebar { padding: 22px; position: sticky; top: 104px; }
.stage390-sidebar h2,
.stage390-main h2 { margin: 0; font-family: "Noto Serif TC", serif; font-size: 28px; }
.stage390-flow-list { display: grid; gap: 12px; margin: 18px 0; }
.stage390-flow-list article {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(218, 199, 174, .74);
    background: rgba(255, 255, 255, .58);
}
.stage390-flow-list span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #e97862;
    font-size: 12px;
    font-weight: 950;
}
.stage390-flow-list strong { display: block; margin: 10px 0 4px; font-size: 17px; }
.stage390-flow-list p { margin: 0; color: #70665d; line-height: 1.7; font-size: 14px; font-weight: 700; }
.stage390-main { padding: 24px; }
.stage390-safe-list { display: grid; gap: 18px; }
.stage390-safe-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(218, 199, 174, .78);
    border-radius: 26px;
    background: rgba(255, 255, 255, .62);
}
.stage390-safe-card.done { background: linear-gradient(135deg, rgba(236, 245, 241, .94), rgba(255, 255, 255, .64)); }
.stage390-safe-card.danger { border-color: rgba(217, 95, 74, .42); background: linear-gradient(135deg, rgba(255, 241, 230, .98), rgba(255, 255, 255, .7)); }
.stage390-safe-card > img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    border-radius: 22px;
}
.stage390-safe-body h3 { margin: 8px 0 14px; font-family: "Noto Serif TC", serif; font-size: 26px; line-height: 1.35; }
.stage390-status-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 14px;
}
.stage390-status-timeline span {
    padding: 10px 8px;
    text-align: center;
    border-radius: 999px;
    border: 1px solid rgba(218, 199, 174, .88);
    background: #fffaf3;
    color: #8a7a6c;
    font-size: 12px;
    font-weight: 950;
}
.stage390-status-timeline span.done { color: #fff; background: #2f7c78; border-color: #2f7c78; }
.stage390-status-timeline.compact { margin-top: 10px; }
.stage390-check-form {
    margin: 14px 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 250, 243, .82);
    border: 1px solid rgba(218, 199, 174, .7);
}
.stage390-check-form.ticket-inline { margin-top: 16px; }
.stage390-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.stage390-form-grid input {
    width: 100%;
    border: 1px solid rgba(218, 199, 174, .86);
    background: rgba(255, 255, 255, .82);
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
    color: #3d3936;
    font-weight: 700;
}
.stage390-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    color: #655b52;
    font-size: 13px;
    font-weight: 800;
}
.stage390-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.stage390-action-row button {
    border: 0;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #f18773, #ec735e);
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(235, 113, 91, .18);
}
.stage390-action-row button.danger { background: linear-gradient(135deg, #b23b2e, #e97862); }
.stage390-safe-note {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    color: #7c342c;
    background: #fff1e6;
    border: 1px solid rgba(217, 95, 74, .26);
    font-size: 13px;
    font-weight: 900;
}
.stage390-ticket-safe-card .ghost-cta { margin-top: 14px; }
.danger-soft { background: #fff1e6; border-color: rgba(217, 95, 74, .28); }

@media (max-width: 980px) {
    .stage390-hero,
    .stage390-layout,
    .stage390-safe-card { grid-template-columns: 1fr; }
    .stage390-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stage390-sidebar { position: static; }
    .stage390-safe-card > img { min-height: 210px; }
}

@media (max-width: 640px) {
    .stage390-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stage390-hero-copy { padding: 24px; }
    .stage390-next-safe-card { padding: 22px; }
    .stage390-form-grid,
    .stage390-status-timeline { grid-template-columns: 1fr; }
    .stage390-action-row button { width: 100%; }
}

/* Stage 391：會員端活動緊急聯絡人設定 */
.stage391-contact-shell { padding-bottom: 104px; }
.stage391-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: stretch;
    padding: 34px 0 24px;
}
.stage391-hero > div,
.stage391-default-card {
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 32px;
    background: rgba(255, 252, 246, .94);
    box-shadow: var(--shadow);
}
.stage391-hero > div { padding: 34px; }
.stage391-hero h1 {
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.18;
    letter-spacing: .03em;
}
.stage391-hero p:not(.eyebrow) {
    max-width: 620px;
    margin: 14px 0 22px;
    color: #675d54;
    font-weight: 800;
    line-height: 1.9;
}
.stage391-default-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 88% 12%, rgba(231, 242, 238, .9), transparent 38%),
        rgba(255, 252, 246, .95);
}
.stage391-default-card span {
    color: #c8774a;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.stage391-default-card strong {
    display: block;
    margin: 10px 0;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 950;
}
.stage391-default-card p { margin: 0; color: #6d6259; font-weight: 850; line-height: 1.7; }
.stage391-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}
.stage391-summary-grid article {
    padding: 20px;
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 24px;
    background: rgba(255, 252, 246, .86);
    box-shadow: 0 18px 40px rgba(117, 82, 50, .08);
}
.stage391-summary-grid span { display: block; color: #756b62; font-size: 13px; font-weight: 900; }
.stage391-summary-grid strong { display: block; margin-top: 6px; font-size: 28px; font-weight: 950; color: #2f332f; }
.stage391-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
    margin-bottom: 22px;
}
.stage391-form-card,
.stage391-side-card,
.stage391-contact-list { padding: 24px; }
.stage391-contact-form .form-grid.two,
.stage391-inline-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.stage391-contact-form label,
.stage391-inline-form label { display: flex; flex-direction: column; gap: 8px; }
.stage391-contact-form label span,
.stage391-inline-form label span { color: #655b52; font-size: 13px; font-weight: 950; }
.stage391-contact-form input,
.stage391-contact-form select,
.stage391-contact-form textarea,
.stage391-inline-form input,
.stage391-inline-form select,
.stage391-inline-form textarea {
    width: 100%;
    border: 1px solid #eadfd0;
    border-radius: 16px;
    background: rgba(255, 255, 255, .82);
    padding: 13px 14px;
    color: #343836;
    font-weight: 800;
    outline: none;
}
.stage391-contact-form input:focus,
.stage391-contact-form select:focus,
.stage391-contact-form textarea:focus,
.stage391-inline-form input:focus,
.stage391-inline-form select:focus,
.stage391-inline-form textarea:focus {
    border-color: rgba(235, 113, 91, .9);
    box-shadow: 0 0 0 4px rgba(235, 113, 91, .12);
}
.stage391-contact-form .full-field,
.stage391-inline-form textarea,
.stage391-inline-form .primary-btn { grid-column: 1 / -1; }
.stage391-checkline {
    min-height: 48px;
    padding: 0 14px;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #eadfd0;
    border-radius: 16px;
    background: rgba(255,255,255,.58);
}
.stage391-checkline input { width: auto; }
.stage391-guide-list { display: grid; gap: 12px; margin: 18px 0; }
.stage391-guide-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    background: #fff7eb;
    border: 1px solid #f1dfc8;
}
.stage391-guide-list span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #f18773, #ec735e);
    font-weight: 950;
}
.stage391-guide-list strong { display: block; margin-bottom: 4px; font-weight: 950; }
.stage391-guide-list p { margin: 0; color: #756b62; font-size: 13px; line-height: 1.65; font-weight: 800; }
.stage391-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stage391-contact-card {
    padding: 18px;
    border: 1px solid #eadfd0;
    border-radius: 24px;
    background: #fffaf3;
    box-shadow: 0 16px 34px rgba(117, 82, 50, .08);
}
.stage391-contact-card.default { border-color: rgba(47, 124, 120, .42); background: linear-gradient(180deg, #f7fffb, #fffaf3); }
.stage391-contact-card.disabled { opacity: .62; }
.stage391-contact-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.contact-avatar {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #2f7c78, #54a29c);
    font-size: 24px;
    font-weight: 950;
}
.stage391-contact-head h3 { margin: 8px 0 2px; font-size: 22px; font-weight: 950; }
.stage391-contact-head p { margin: 0; color: #7a6f64; font-weight: 850; }
.stage391-contact-meta { margin-top: 10px; }
.stage391-safe-note-text {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff7eb;
    color: #6a5f56;
    line-height: 1.7;
    font-size: 13px;
    font-weight: 850;
}
.stage391-edit-box {
    margin-top: 12px;
    border-top: 1px dashed #eadfd0;
    padding-top: 12px;
}
.stage391-edit-box summary {
    cursor: pointer;
    color: #2f7c78;
    font-weight: 950;
    margin-bottom: 12px;
}
.stage391-inline-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stage391-inline-form .stage391-checkline { min-height: 44px; }
.danger-link { color: #c4493a !important; border-color: rgba(196,73,58,.28) !important; }
.primary-btn.mini,
.ghost-cta.mini,
.primary-cta.mini {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
}

@media (max-width: 920px) {
    .stage391-hero,
    .stage391-layout { grid-template-columns: 1fr; }
    .stage391-summary-grid { grid-template-columns: 1fr; }
    .stage391-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .stage391-hero > div,
    .stage391-default-card,
    .stage391-form-card,
    .stage391-side-card,
    .stage391-contact-list { padding: 18px; border-radius: 24px; }
    .stage391-contact-form .form-grid.two,
    .stage391-inline-form { grid-template-columns: 1fr; }
    .stage391-contact-head { align-items: flex-start; }
}
.stage391-signup-contact-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid rgba(47, 124, 120, .24);
    border-radius: 20px;
    background: linear-gradient(135deg, #f7fffb, #fff7eb);
}
.stage391-signup-contact-note span {
    display: block;
    color: #c8774a;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.stage391-signup-contact-note strong { display: block; margin: 5px 0; font-size: 18px; font-weight: 950; }
.stage391-signup-contact-note p { margin: 0; color: #6d6259; font-size: 13px; line-height: 1.65; font-weight: 850; }
.stage391-signup-contact-note a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    color: #2f7c78;
    border: 1px solid rgba(47, 124, 120, .25);
    background: rgba(255,255,255,.72);
    font-weight: 950;
}
@media (max-width: 640px) {
    .stage391-signup-contact-note { flex-direction: column; align-items: flex-start; }
}

/* Stage 392 Member Event Chatroom */
.stage392-chat-shell,
.stage392-chat-detail-shell {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 220, 180, .34), transparent 34%),
        radial-gradient(circle at 90% 14%, rgba(47, 124, 120, .13), transparent 30%),
        #fffaf3;
}
.stage392-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
    margin: 24px 0;
}
.stage392-hero > div,
.stage392-summary-card,
.stage392-chatroom-section,
.stage392-chat-info-card,
.stage392-chat-panel {
    border: 1px solid rgba(235, 224, 208, .95);
    border-radius: 34px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 24px 58px rgba(117, 82, 50, .11);
}
.stage392-hero > div { padding: 34px; }
.stage392-hero h1 {
    margin: 8px 0 12px;
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    color: #2f332f;
}
.stage392-hero p { color: #6d6259; line-height: 1.8; font-weight: 850; }
.stage392-summary-card { padding: 28px; }
.stage392-summary-card > span {
    color: #d77758;
    font-size: 12px;
    letter-spacing: .12em;
    font-weight: 950;
}
.stage392-summary-card > strong {
    display: block;
    margin-top: 10px;
    font-size: 64px;
    line-height: 1;
    color: #2f7c78;
    font-weight: 950;
}
.stage392-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}
.stage392-summary-grid article {
    padding: 14px;
    border-radius: 18px;
    background: #fff7eb;
    border: 1px solid #f0dfcb;
}
.stage392-summary-grid small { display: block; color: #8a7a69; font-weight: 900; }
.stage392-summary-grid b { display: block; margin-top: 4px; font-size: 22px; color: #2f332f; }
.stage392-chatroom-section { padding: 26px; margin-bottom: 36px; }
.stage392-room-grid { display: grid; gap: 18px; }
.stage392-room-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 170px;
    gap: 18px;
    align-items: stretch;
    padding: 16px;
    border: 1px solid #eadfd0;
    border-radius: 28px;
    background: #fffaf3;
    box-shadow: 0 18px 40px rgba(117, 82, 50, .08);
}
.stage392-room-card > img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 22px;
}
.stage392-room-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stage392-room-tags span {
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff1e3;
    color: #d77356;
    font-size: 12px;
    font-weight: 950;
}
.stage392-room-main h3,
.stage392-chat-info-card h1 {
    margin: 12px 0 8px;
    color: #2f332f;
    font-weight: 950;
}
.stage392-room-main h3 { font-size: 24px; }
.stage392-room-time,
.stage392-room-location { margin: 3px 0; color: #71675f; font-weight: 850; }
.stage392-last-message {
    margin-top: 13px;
    padding: 13px 15px;
    border-radius: 18px;
    background: rgba(255,255,255,.74);
    border: 1px dashed #eadfd0;
}
.stage392-last-message span { display: block; color: #2f7c78; font-size: 12px; font-weight: 950; }
.stage392-last-message p { margin: 5px 0 0; color: #5f5852; line-height: 1.55; font-weight: 800; }
.stage392-room-actions { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.stage392-room-actions a { width: 100%; justify-content: center; text-align: center; }
.stage392-chat-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin: 22px 0 42px;
}
.stage392-chat-info-card { padding: 20px; position: sticky; top: 18px; }
.stage392-chat-info-card > img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 26px;
    margin-bottom: 16px;
}
.stage392-info-list { display: grid; gap: 10px; margin: 18px 0; }
.stage392-info-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff7eb;
    border: 1px solid #f0dfcb;
}
.stage392-info-list span { color: #7c7065; font-weight: 900; }
.stage392-info-list strong { color: #2f332f; font-weight: 950; }
.stage392-chat-info-card a { width: 100%; justify-content: center; margin-top: 10px; }
.stage392-chat-panel { padding: 24px; min-height: 680px; }
.stage392-chat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eadfd0;
}
.stage392-chat-head h2 { margin: 4px 0 8px; font-size: 30px; color: #2f332f; font-weight: 950; }
.stage392-chat-head p { margin: 0; color: #6d6259; line-height: 1.65; font-weight: 850; }
.stage392-chat-head a { color: #2f7c78; font-weight: 950; white-space: nowrap; }
.stage392-message-list {
    display: grid;
    gap: 16px;
    padding: 24px 0;
    max-height: 560px;
    overflow: auto;
}
.stage392-message {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    max-width: 82%;
}
.stage392-message.mine {
    margin-left: auto;
    grid-template-columns: minmax(0, 1fr) 46px;
}
.stage392-message.mine .stage392-avatar { grid-column: 2; grid-row: 1; background: linear-gradient(135deg, #e97862, #f0a06d); }
.stage392-message.mine .stage392-bubble { grid-column: 1; grid-row: 1; background: #fff1e3; border-color: rgba(233, 120, 98, .28); }
.stage392-avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #2f7c78, #54a29c);
    color: #fff;
    font-weight: 950;
}
.stage392-bubble {
    padding: 15px 16px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #eadfd0;
    box-shadow: 0 12px 28px rgba(117, 82, 50, .07);
}
.stage392-message-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.stage392-message-meta strong { color: #2f332f; font-weight: 950; }
.stage392-message-meta span,
.stage392-message-meta em {
    color: #8a7a69;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}
.stage392-message-meta em {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(47,124,120,.09);
    color: #2f7c78;
}
.stage392-bubble p { margin: 0; color: #4f4943; line-height: 1.75; font-weight: 850; white-space: pre-wrap; }
.stage392-bubble form { margin-top: 8px; }
.stage392-bubble button {
    border: 0;
    background: transparent;
    color: #b25545;
    font-weight: 900;
    cursor: pointer;
}
.stage392-message-form {
    position: sticky;
    bottom: 0;
    display: grid;
    gap: 12px;
    margin-top: 10px;
    padding: 16px;
    border: 1px solid #eadfd0;
    border-radius: 24px;
    background: rgba(255,250,243,.96);
    box-shadow: 0 -10px 30px rgba(117, 82, 50, .08);
}
.stage392-form-tools label { display: flex; align-items: center; gap: 10px; color: #6d6259; font-weight: 950; }
.stage392-form-tools select,
.stage392-input-row textarea {
    border: 1px solid #eadfd0;
    border-radius: 16px;
    background: #fff;
    padding: 12px 14px;
    font-weight: 850;
    outline: none;
}
.stage392-form-tools select:focus,
.stage392-input-row textarea:focus {
    border-color: rgba(235, 113, 91, .9);
    box-shadow: 0 0 0 4px rgba(235, 113, 91, .12);
}
.stage392-input-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 12px; align-items: stretch; }
.stage392-input-row textarea { width: 100%; resize: vertical; min-height: 78px; }
.stage392-input-row button {
    border: 0;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #ef8068, #e56751);
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(229, 103, 81, .22);
}
@media (max-width: 980px) {
    .stage392-hero,
    .stage392-chat-layout { grid-template-columns: 1fr; }
    .stage392-chat-info-card { position: static; }
    .stage392-room-card { grid-template-columns: 150px minmax(0, 1fr); }
    .stage392-room-actions { grid-column: 1 / -1; flex-direction: row; }
}
@media (max-width: 680px) {
    .stage392-hero > div,
    .stage392-summary-card,
    .stage392-chatroom-section,
    .stage392-chat-info-card,
    .stage392-chat-panel { padding: 18px; border-radius: 24px; }
    .stage392-summary-grid { grid-template-columns: 1fr; }
    .stage392-room-card { grid-template-columns: 1fr; }
    .stage392-room-card > img { height: 210px; }
    .stage392-room-actions { flex-direction: column; }
    .stage392-chat-head { flex-direction: column; }
    .stage392-message { max-width: 100%; }
    .stage392-input-row { grid-template-columns: 1fr; }
    .stage392-input-row button { min-height: 48px; }
}

/* Stage 393 member event review */
.stage393-review-shell .event-topbar { margin-bottom: 0; }
.stage393-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: stretch;
    padding: 34px 0 20px;
}
.stage393-hero > div,
.stage393-score-card,
.stage393-side-card,
.stage393-review-card,
.stage393-form-hero,
.stage393-review-form {
    background: rgba(255, 252, 246, .94);
    border: 1px solid rgba(218, 199, 174, .82);
    border-radius: 30px;
    box-shadow: var(--shadow);
}
.stage393-hero > div { padding: 32px; }
.stage393-hero h1,
.stage393-form-hero h1 {
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 1.18;
    letter-spacing: .04em;
}
.stage393-hero p:not(.eyebrow),
.stage393-form-hero p:not(.eyebrow) {
    margin: 14px 0 22px;
    color: #62584f;
    font-weight: 750;
    line-height: 1.9;
}
.stage393-score-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(150deg, rgba(255,250,243,.96), rgba(255,240,226,.96));
}
.stage393-score-card span { color: #8d6656; font-size: 13px; font-weight: 950; }
.stage393-score-card strong { margin-top: 8px; color: var(--brand-dark); font-size: 62px; line-height: 1; font-family: Georgia, serif; }
.stage393-score-card small { margin-top: 12px; color: #63584f; font-weight: 800; line-height: 1.7; }
.stage393-flash { margin: 12px 0; padding: 14px 18px; border-radius: 18px; font-weight: 900; }
.stage393-flash.success { background: #e8f5ee; color: #23715f; border: 1px solid #bfe1d2; }
.stage393-flash.danger { background: #fff0ec; color: #b34533; border: 1px solid #f2c4b8; }
.stage393-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 10px 0 22px;
}
.stage393-summary-grid article {
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(218, 199, 174, .82);
    background: rgba(255, 252, 246, .92);
    box-shadow: 0 16px 34px rgba(117, 82, 50, .09);
}
.stage393-summary-grid span { display: block; color: #7a6b61; font-size: 13px; font-weight: 900; }
.stage393-summary-grid strong { display: block; margin-top: 4px; color: #303437; font-size: 30px; font-family: Georgia, serif; }
.stage393-layout,
.stage393-form-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.stage393-form-layout { grid-template-columns: minmax(0, 1fr) 320px; }
.stage393-side-card { padding: 24px; position: sticky; top: 104px; }
.stage393-side-card h2 { margin: 0 0 12px; font-family: "Noto Serif TC", serif; }
.stage393-side-card ul { margin: 0; padding-left: 20px; color: #655b52; font-weight: 800; line-height: 2; }
.stage393-review-list { display: grid; gap: 18px; }
.stage393-review-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    overflow: hidden;
}
.stage393-review-cover { position: relative; min-height: 220px; background: #eadfd0; }
.stage393-review-cover img { width: 100%; height: 100%; object-fit: cover; }
.stage393-review-cover span {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(47, 124, 120, .92);
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.stage393-review-content { padding: 22px; min-width: 0; }
.stage393-review-content h3 { margin: 10px 0 8px; font-size: 24px; line-height: 1.35; }
.history-meta-grid.compact { margin-top: 14px; }
.stage393-rating-preview { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.stage393-rating-preview span {
    padding: 8px 10px;
    border-radius: 999px;
    background: #fff3e8;
    color: #8c4f3d;
    font-size: 13px;
    font-weight: 900;
}
.stage393-rating-preview strong { font-family: Georgia, serif; }
.stage393-comment { margin: 12px 0 0; color: #4d4540; font-weight: 750; line-height: 1.8; }
.stage393-comment.muted { color: #786c62; }
.stage393-actions { margin-top: 16px; }
.stage393-actions form button {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #efc7bb;
    border-radius: 12px;
    background: #fff3ee;
    color: #b34c38;
    font-size: 13px;
    font-weight: 900;
}
.stage393-form-hero {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    padding: 20px;
    margin: 28px 0 22px;
    overflow: hidden;
}
.stage393-form-hero img { width: 100%; height: 240px; object-fit: cover; border-radius: 24px; }
.stage393-form-hero > div { align-self: center; }
.stage393-review-form { padding: 26px; }
.stage393-rating-grid,
.stage393-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}
.stage393-rating-grid label,
.stage393-field-grid label,
.stage393-textarea-label {
    display: grid;
    gap: 8px;
    color: #554c45;
    font-size: 13px;
    font-weight: 950;
}
.stage393-rating-grid select,
.stage393-field-grid input,
.stage393-review-form textarea {
    width: 100%;
    border: 1px solid rgba(218, 199, 174, .92);
    border-radius: 16px;
    background: rgba(255,255,255,.72);
    color: #303437;
    font-weight: 800;
    outline: none;
}
.stage393-rating-grid select,
.stage393-field-grid input { min-height: 48px; padding: 0 14px; }
.stage393-review-form textarea { padding: 14px; resize: vertical; line-height: 1.7; }
.stage393-textarea-label { margin-top: 16px; }
.stage393-checkbox-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.stage393-checkbox-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 999px;
    background: #fff5ea;
    border: 1px solid rgba(218,199,174,.82);
    font-weight: 900;
    color: #5e5148;
}
.stage393-form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.stage393-form-actions button.primary-cta { border: 0; }

@media (max-width: 960px) {
    .stage393-hero,
    .stage393-layout,
    .stage393-form-layout,
    .stage393-form-hero { grid-template-columns: 1fr; }
    .stage393-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stage393-side-card { position: static; }
    .stage393-review-card { grid-template-columns: 1fr; }
    .stage393-review-cover { min-height: 210px; }
}

@media (max-width: 640px) {
    .stage393-summary-grid,
    .stage393-rating-grid,
    .stage393-field-grid { grid-template-columns: 1fr; }
    .stage393-hero > div,
    .stage393-score-card,
    .stage393-review-content,
    .stage393-review-form { padding: 20px; }
    .stage393-form-hero img { height: 190px; }
}

/* Stage 394 member event reports */
.stage394-report-shell .event-topbar { margin-bottom: 0; }
.stage394-hero {
    margin: 24px 0 22px;
    padding: 38px;
    border-radius: 34px;
    background:
            radial-gradient(circle at 88% 14%, rgba(196, 75, 60, .20), transparent 34%),
            linear-gradient(135deg, #fff7ed 0%, #f7dfcd 58%, #f0c5b5 100%);
    border: 1px solid rgba(136, 88, 58, .14);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: stretch;
    box-shadow: 0 26px 70px rgba(94, 65, 43, .12);
}
.stage394-hero h1 { margin: 8px 0 12px; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; color: #2f332f; font-weight: 950; letter-spacing: -1px; }
.stage394-hero p { margin: 0; max-width: 720px; color: #6d6259; line-height: 1.75; font-weight: 850; }
.stage394-alert-card {
    border-radius: 28px;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(116, 68, 48, .12);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(105, 67, 44, .12);
}
.stage394-alert-card span { color: #9f4c3b; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.stage394-alert-card strong { font-family: Georgia, serif; font-size: 76px; line-height: 1; color: #a94132; margin: 10px 0; }
.stage394-alert-card small { color: #6d6259; line-height: 1.55; font-weight: 850; }
.stage394-summary-grid article:nth-child(5) strong { color: #a94132; }
.stage394-layout { align-items: start; }
.stage394-side-card .danger-note,
.danger-note {
    background: #fff0ec;
    border-color: rgba(169, 65, 50, .22);
}
.stage394-report-list { display: grid; gap: 18px; }
.stage394-report-card { grid-template-columns: 250px minmax(0, 1fr); }
.stage394-report-cover span.danger { background: #a94132; color: #fff; }
.stage394-report-content h3 a { color: #2f332f; text-decoration: none; }
.stage394-report-content h3 a:hover { color: #a94132; }
.stage394-report-form label {
    display: grid;
    gap: 8px;
    color: #62564d;
    font-size: 13px;
    font-weight: 950;
}
.stage394-report-form input,
.stage394-report-form select,
.stage394-report-form textarea {
    width: 100%;
    border: 1px solid rgba(108, 82, 61, .16);
    background: #fffaf3;
    border-radius: 18px;
    padding: 14px 15px;
    font: inherit;
    color: #342f2a;
    outline: none;
}
.stage394-report-form textarea { resize: vertical; line-height: 1.7; }
.stage394-report-form input:focus,
.stage394-report-form select:focus,
.stage394-report-form textarea:focus { border-color: rgba(169, 65, 50, .44); box-shadow: 0 0 0 4px rgba(169, 65, 50, .08); }
.stage394-checkbox-row label { display: flex; align-items: center; gap: 8px; }
.stage394-checkbox-row input { width: auto; }
.danger-cta { background: linear-gradient(135deg, #a94132, #d36f55) !important; }
.danger-link { color: #a94132 !important; border-color: rgba(169, 65, 50, .24) !important; }
.stage394-detail-report-link { color: #a94132; border-color: rgba(169, 65, 50, .24); }

@media (max-width: 960px) {
    .stage394-hero { grid-template-columns: 1fr; padding: 28px; }
    .stage394-alert-card { min-height: 190px; }
    .stage394-report-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .stage394-hero { padding: 22px; border-radius: 26px; }
    .stage394-hero h1 { font-size: 36px; }
    .stage394-alert-card strong { font-size: 58px; }
    .stage394-report-form { padding: 20px; }
}

/* Stage 395 - 會員端活動社群分享 */
.stage395-share-shell,
.stage395-share-form-shell {
    background:
            radial-gradient(circle at 12% 8%, rgba(255, 210, 167, .32), transparent 28%),
            radial-gradient(circle at 88% 12%, rgba(233, 120, 98, .16), transparent 30%),
            #fffaf4;
}

.stage395-hero,
.stage395-form-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: stretch;
    margin: 34px 0 26px;
}

.stage395-hero > div,
.stage395-form-hero > div,
.stage395-share-card,
.stage395-editor-card,
.stage395-preview-panel,
.stage395-side-card,
.stage395-share-history-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(123, 88, 66, .12);
    box-shadow: 0 24px 60px rgba(102, 74, 50, .08);
    border-radius: 30px;
}

.stage395-hero > div,
.stage395-form-hero > div {
    padding: 42px;
}

.stage395-hero h1,
.stage395-form-hero h1 {
    margin: 8px 0 12px;
    color: #33251e;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.stage395-hero p,
.stage395-form-hero p {
    color: #75685f;
    max-width: 760px;
    line-height: 1.9;
}

.stage395-share-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #fff, #fff0df);
}

.stage395-share-card span,
.stage395-side-card .eyebrow {
    color: #e97862;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.stage395-share-card strong {
    display: block;
    margin: 8px 0;
    color: #33251e;
    font-size: 54px;
    font-weight: 900;
}

.stage395-share-card small {
    color: #6f645c;
    line-height: 1.7;
}

.stage395-layout,
.stage395-form-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.stage395-form-layout {
    grid-template-columns: minmax(0, 1fr) 420px;
}

.stage395-side-card {
    padding: 28px;
    position: sticky;
    top: 22px;
}

.stage395-side-card h2 {
    margin: 6px 0 16px;
    color: #382820;
}

.stage395-side-card ul {
    margin: 0;
    padding-left: 20px;
    color: #6f645c;
    line-height: 1.9;
}

.stage395-share-list {
    display: grid;
    gap: 18px;
}

.stage395-share-history-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    padding: 20px;
}

.stage395-share-thumb {
    min-height: 210px;
    border-radius: 24px;
    padding: 14px;
    position: relative;
    overflow: hidden;
}

.stage395-share-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(80, 45, 24, .14);
}

.stage395-share-thumb span,
.stage395-social-image span {
    position: absolute;
    top: 22px;
    left: 22px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(51, 37, 30, .72);
    backdrop-filter: blur(10px);
}

.stage395-share-history-content h3 {
    margin: 10px 0;
    font-size: 24px;
}

.stage395-share-history-content h3 a {
    color: #33251e;
    text-decoration: none;
}

.stage395-copy-text {
    width: 100%;
    min-height: 88px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(123, 88, 66, .16);
    border-radius: 18px;
    background: #fffaf5;
    color: #5d514a;
    line-height: 1.7;
    resize: vertical;
    font-family: inherit;
}

.stage395-actions,
.stage395-quick-share,
.stage395-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.stage395-actions button,
.stage395-quick-share button {
    border: 0;
    cursor: pointer;
}

.stage395-editor-card,
.stage395-preview-panel {
    padding: 28px;
}

.stage395-editor-card label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: #47362d;
    font-weight: 800;
}

.stage395-editor-card input[type="text"],
.stage395-editor-card select,
.stage395-editor-card textarea {
    width: 100%;
    border: 1px solid rgba(123, 88, 66, .16);
    border-radius: 18px;
    padding: 13px 15px;
    background: #fffdf9;
    color: #3d2d24;
    font: inherit;
    outline: none;
}

.stage395-editor-card textarea {
    min-height: 150px;
    line-height: 1.8;
    resize: vertical;
}

.stage395-copy-option {
    display: flex !important;
    grid-template-columns: auto 1fr;
    gap: 10px !important;
    align-items: center;
    color: #6f645c !important;
    font-weight: 700 !important;
}

.stage395-copy-option input {
    width: 18px;
    height: 18px;
    accent-color: #e97862;
}

.stage395-social-card {
    border-radius: 30px;
    padding: 18px;
    box-shadow: inset 0 0 0 1px rgba(123, 88, 66, .12), 0 24px 50px rgba(102, 74, 50, .08);
}

.stage395-social-image {
    position: relative;
    height: 240px;
    border-radius: 24px;
    overflow: hidden;
}

.stage395-social-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stage395-social-copy {
    padding: 22px 8px 6px;
}

.stage395-social-copy small {
    color: #e97862;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.stage395-social-copy h2 {
    margin: 8px 0 10px;
    color: #33251e;
    font-size: 28px;
    line-height: 1.2;
}

.stage395-social-copy p {
    color: #665950;
    line-height: 1.8;
}

.stage395-social-copy dl {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.stage395-social-copy dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
}

.stage395-social-copy dt {
    color: #9a8272;
    font-weight: 800;
}

.stage395-social-copy dd {
    margin: 0;
    color: #382820;
    font-weight: 900;
    text-align: right;
}

.stage395-social-copy strong {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    color: #8c3c2f;
    background: #fff6ec;
}

.stage395-privacy-note {
    margin-top: 14px;
    color: #897a70;
    line-height: 1.7;
    font-size: 14px;
}

.stage395-detail-share-link {
    text-align: center;
}

@media (max-width: 980px) {
    .stage395-hero,
    .stage395-form-hero,
    .stage395-layout,
    .stage395-form-layout {
        grid-template-columns: 1fr;
    }
    .stage395-side-card {
        position: static;
    }
    .stage395-share-history-card {
        grid-template-columns: 1fr;
    }
    .stage395-share-thumb {
        min-height: 240px;
    }
}

@media (max-width: 640px) {
    .stage395-hero > div,
    .stage395-form-hero > div,
    .stage395-share-card,
    .stage395-editor-card,
    .stage395-preview-panel,
    .stage395-side-card,
    .stage395-share-history-card {
        border-radius: 22px;
        padding: 20px;
    }
    .stage395-social-image {
        height: 200px;
    }
    .stage395-social-copy dl div {
        display: grid;
    }
    .stage395-social-copy dd {
        text-align: left;
    }
}

/* Stage 396：會員端活動完整整合 */
.stage396-integration-shell {
    background:
        radial-gradient(circle at top left, rgba(255, 214, 175, .55), transparent 34%),
        linear-gradient(180deg, #fff8ef 0%, #f8efe5 48%, #f5e7d8 100%);
}
.stage396-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: 28px;
    align-items: stretch;
    margin-top: 28px;
    padding: 42px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,244,231,.9));
    box-shadow: 0 24px 70px rgba(97, 65, 38, .12);
    border: 1px solid rgba(140, 88, 47, .12);
}
.stage396-hero h1 {
    margin: 8px 0 14px;
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    line-height: .95;
    letter-spacing: -.05em;
    font-family: 'Noto Serif TC', serif;
    color: #2c2119;
}
.stage396-hero p {
    max-width: 760px;
    color: #6d5a4e;
    line-height: 1.9;
    font-size: 1.04rem;
}
.stage396-status-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    padding: 28px;
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(35, 27, 21, .08), rgba(143, 86, 43, .14)),
        url('/images/stage314/activity-coffee.jpg') center/cover;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.stage396-status-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(35, 23, 14, .68));
}
.stage396-status-card > * { position: relative; z-index: 1; }
.stage396-status-card span { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; opacity: .82; }
.stage396-status-card strong { display: block; margin: 10px 0 6px; font-size: 1.55rem; line-height: 1.35; }
.stage396-status-card small { opacity: .92; }
.stage396-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}
.stage396-kpi-grid article,
.stage396-action-grid a,
.stage396-main-panel,
.stage396-side-panel > section,
.stage396-flow-card {
    border: 1px solid rgba(140, 88, 47, .12);
    box-shadow: 0 18px 52px rgba(97, 65, 38, .08);
}
.stage396-kpi-grid article {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,.86);
}
.stage396-kpi-grid span,
.stage396-action-grid small,
.stage396-flow-body p,
.stage396-task-card span,
.stage396-ai-card p {
    color: #846f60;
}
.stage396-kpi-grid strong {
    display: block;
    margin: 6px 0;
    font-size: 2rem;
    color: #35261b;
}
.stage396-kpi-grid small { color: #9a8372; }
.stage396-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}
.stage396-action-grid a {
    display: grid;
    gap: 8px;
    text-decoration: none;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,.8);
    color: #3a2a20;
    transition: transform .18s ease, box-shadow .18s ease;
}
.stage396-action-grid a:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 58px rgba(97, 65, 38, .12);
}
.stage396-action-grid b {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #2f241c;
    color: #fff4e7;
    font-size: .86rem;
}
.stage396-action-grid span {
    font-weight: 800;
    font-size: 1.08rem;
}
.stage396-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 22px;
    align-items: start;
}
.stage396-main-panel,
.stage396-side-panel > section {
    border-radius: 30px;
    padding: 24px;
    background: rgba(255,255,255,.88);
}
.stage396-main-panel .section-heading,
.stage396-ai-panel .section-heading {
    margin-bottom: 18px;
}
.stage396-flow-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff, #fff8ef);
    margin-top: 14px;
}
.stage396-flow-date {
    border-radius: 20px;
    background: #2f241c;
    color: #fff4e7;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.stage396-flow-date strong { font-size: 1.4rem; }
.stage396-flow-date span { opacity: .88; }
.stage396-flow-body h3 { margin: 8px 0 6px; }
.stage396-flow-body h3 a { color: #34251b; text-decoration: none; }
.stage396-flow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.stage396-flow-actions a,
.ghost-cta.small {
    text-decoration: none;
    border: 1px solid rgba(140, 88, 47, .18);
    border-radius: 999px;
    padding: 8px 12px;
    color: #6b4630;
    background: #fffaf4;
    font-weight: 700;
    font-size: .88rem;
}
.stage396-side-panel {
    display: grid;
    gap: 18px;
}
.stage396-task-card h2,
.stage396-ai-panel h2 { margin: 4px 0 16px; color: #33251c; }
.stage396-check-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px dashed rgba(140, 88, 47, .16);
}
.stage396-check-row b {
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff2df;
    color: #8c582f;
}
.stage396-check-row.done b { background: #edf8ed; color: #40754a; }
.stage396-check-row.warning b { background: #fff0ed; color: #b64a35; }
.primary-cta.block { display: block; text-align: center; margin-top: 18px; }
.stage396-ai-card {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(140, 88, 47, .12);
}
.stage396-ai-card:last-child { border-bottom: 0; }
.stage396-ai-card img {
    width: 94px;
    height: 82px;
    border-radius: 18px;
    object-fit: cover;
}
.stage396-ai-card span {
    display: inline-block;
    color: #8c582f;
    font-weight: 800;
    font-size: .82rem;
}
.stage396-ai-card h3 { margin: 4px 0; font-size: 1rem; }
.stage396-ai-card h3 a { text-decoration: none; color: #34251b; }
.empty-mini {
    padding: 18px;
    border-radius: 18px;
    background: #fff7ed;
    color: #8a6d5b;
}
.event-menu .stage396-overview-link {
    border-color: rgba(140, 88, 47, .28);
    background: rgba(255,255,255,.68);
}
@media (max-width: 1100px) {
    .stage396-hero,
    .stage396-layout { grid-template-columns: 1fr; }
    .stage396-kpi-grid,
    .stage396-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .stage396-hero { padding: 26px; border-radius: 26px; }
    .stage396-kpi-grid,
    .stage396-action-grid { grid-template-columns: 1fr; }
    .stage396-flow-card { grid-template-columns: 1fr; }
    .stage396-flow-date { min-height: 72px; flex-direction: row; gap: 8px; }
}

/* Clean member event card action block. */
.member-row.member-row-count-only {
    margin: 14px 0 10px;
    padding: 10px 12px;
    border: 1px solid rgba(218, 199, 174, .7);
    border-radius: 14px;
    background: rgba(255, 248, 240, .82);
}
.member-row.member-row-count-only span {
    color: var(--ink, #12342f);
    font-size: 13px;
    font-weight: 950;
}
.card-actions .signup-action {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #f57f69, #ee745f);
}


/* Member event card: clean real count + action layout (no fake avatar / no awkward button block). */
.member-event-capacity {
    margin: 12px 0 10px;
    color: var(--ink, #12342f);
    font-size: 13px;
    font-weight: 950;
    line-height: 1.35;
}
.member-event-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 10px;
    align-items: stretch;
    margin-top: 8px;
}
.member-event-actions form {
    margin: 0;
}
.member-event-actions a,
.member-event-actions button {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(203, 226, 220, .95);
    text-decoration: none;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: .02em;
    cursor: pointer;
}
.member-event-actions .detail-action {
    color: var(--teal, #0f766e);
    background: rgba(236, 250, 247, .95);
}
.member-event-actions .save-action {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #f57f69, #ee745f);
}
.member-event-actions .signup-action,
.member-event-actions .joined {
    grid-column: 1 / -1;
    min-height: 48px;
}
.member-event-actions .signup-action {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #f57f69, #ee745f);
    box-shadow: 0 12px 26px rgba(238, 116, 95, .18);
}
.member-event-actions .joined {
    color: #7d756c;
    border-color: rgba(218, 199, 174, .9);
    background: #f1ece4;
}
@media (max-width: 560px) {
    .member-event-actions { grid-template-columns: 1fr; }
    .member-event-actions .signup-action,
    .member-event-actions .joined { grid-column: auto; }
}

/* 2026-07-08 報名成功 / 報名明細簡化版 */
.event-registration-clean-shell .event-actions.clean-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
.registration-success-hero {
    margin: 36px auto 26px;
    max-width: 1560px;
    border: 1px solid rgba(219, 198, 169, 0.9);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,247,237,0.92));
    box-shadow: 0 26px 60px rgba(63, 49, 35, 0.08);
    padding: clamp(28px, 4vw, 54px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
    gap: 32px;
    align-items: center;
}
.registration-success-copy h1 {
    margin: 8px 0 14px;
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(44px, 6vw, 82px);
    line-height: 1.08;
    color: #0d2638;
    letter-spacing: -0.04em;
}
.registration-success-copy p {
    margin: 0;
    color: #6f6259;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.8;
}
.registration-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.registration-status-pills span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 10px 18px;
    background: rgba(224, 247, 242, 0.92);
    color: #0b7e72;
    font-weight: 900;
    border: 1px solid rgba(114, 193, 184, 0.38);
}
.registration-success-image {
    border-radius: 28px;
    overflow: hidden;
    min-height: 250px;
    box-shadow: 0 20px 50px rgba(31, 34, 31, 0.12);
}
.registration-success-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 340px;
    object-fit: cover;
}
.registration-detail-grid {
    max-width: 1560px;
    margin: 0 auto 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.registration-info-card,
.registration-next-step-card {
    border: 1px solid rgba(219, 198, 169, 0.9);
    border-radius: 30px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 22px 48px rgba(63, 49, 35, 0.06);
    padding: clamp(24px, 3vw, 40px);
}
.registration-info-card h2,
.registration-next-step-card h2 {
    margin: 8px 0 22px;
    font-family: 'Noto Serif TC', serif;
    color: #0d2638;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.16;
}
.registration-info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.registration-info-list div {
    border: 1px solid rgba(219, 198, 169, 0.76);
    border-radius: 18px;
    background: #fffaf3;
    padding: 16px 18px;
    min-height: 86px;
}
.registration-info-list span {
    display: block;
    color: #9a6c52;
    font-weight: 900;
    font-size: 0.92rem;
    margin-bottom: 8px;
}
.registration-info-list strong {
    display: block;
    color: #0d2638;
    font-size: 1.05rem;
    line-height: 1.55;
    word-break: break-word;
}
.registration-next-step-card {
    max-width: 1560px;
    margin: 0 auto 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.registration-next-step-card p {
    margin: 0;
    color: #6f6259;
    font-weight: 800;
    line-height: 1.7;
}
.registration-next-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    min-width: 320px;
}
.registration-next-actions .primary-cta,
.registration-next-actions .ghost-cta {
    min-width: 150px;
    text-align: center;
}
@media (max-width: 1100px) {
    .registration-success-hero,
    .registration-detail-grid {
        grid-template-columns: 1fr;
    }
    .registration-next-step-card {
        align-items: stretch;
        flex-direction: column;
    }
    .registration-next-actions {
        justify-content: flex-start;
        min-width: 0;
    }
}
@media (max-width: 720px) {
    .registration-info-list {
        grid-template-columns: 1fr;
    }
    .registration-success-copy h1 {
        font-size: 42px;
    }
    .registration-success-image {
        min-height: 190px;
    }
}
.registration-success-image.empty {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f5eadb, #eef7f3);
    color: #6f6259;
    font-weight: 900;
    font-size: 1.35rem;
}

/* 2026-07-08 報名成功 / 報名明細 UI clean v2 */
.event-registration-clean-shell {
    background: linear-gradient(135deg, #fffaf3 0%, #fff7ee 48%, #eef8f3 100%);
}
.event-registration-clean-shell .detail-breadcrumb,
.event-registration-clean-shell .registration-alert,
.event-registration-clean-shell .registration-result-card,
.event-registration-clean-shell .registration-detail-grid-clean,
.event-registration-clean-shell .registration-next-step-card-clean {
    width: min(1480px, calc(100% - 72px));
}
.event-registration-clean-shell .detail-breadcrumb {
    margin: 22px auto 0;
}
.event-registration-clean-shell .registration-alert {
    margin: 18px auto 0;
}
.registration-result-card {
    margin: 22px auto 22px;
    border: 1px solid rgba(219, 198, 169, .86);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 20px 48px rgba(63,49,35,.07);
    padding: clamp(22px, 3vw, 34px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(18px, 3vw, 32px);
    align-items: center;
}
.registration-result-icon {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0d8b7d, #2fb7a8);
    color: #fff;
    font-size: 2.25rem;
    font-weight: 900;
    box-shadow: 0 18px 34px rgba(13,139,125,.22);
}
.registration-result-main h1 {
    margin: 4px 0 10px;
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.08;
    letter-spacing: -.035em;
    color: #0d2638;
}
.registration-result-main p {
    margin: 0;
    color: #675d55;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.7;
}
.registration-result-card .registration-status-pills {
    margin-top: 16px;
}
.registration-result-actions {
    display: grid;
    gap: 12px;
    min-width: 180px;
}
.registration-detail-grid-clean {
    margin: 0 auto 22px;
    gap: 18px;
}
.registration-detail-grid-clean .registration-info-card {
    border-radius: 26px;
    padding: clamp(20px, 2.7vw, 30px);
}
.registration-detail-grid-clean .registration-info-card h2,
.registration-next-step-card-clean h2 {
    margin: 4px 0 18px;
    font-size: clamp(26px, 2.4vw, 36px);
    letter-spacing: -.025em;
}
.registration-card-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 168px;
    gap: 18px;
    align-items: start;
}
.registration-thumb {
    width: 168px;
    height: 118px;
    border-radius: 20px;
    overflow: hidden;
    background: #f4eadc;
    box-shadow: 0 12px 26px rgba(63,49,35,.08);
}
.registration-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.registration-detail-grid-clean .registration-info-list {
    gap: 12px;
}
.registration-detail-grid-clean .registration-info-list div {
    min-height: 74px;
    border-radius: 16px;
    padding: 14px 16px;
    background: #fffbf6;
}
.registration-detail-grid-clean .registration-info-list span {
    margin-bottom: 6px;
    font-size: .86rem;
}
.registration-detail-grid-clean .registration-info-list strong {
    font-size: 1rem;
    line-height: 1.45;
}
.registration-next-step-card-clean {
    margin: 0 auto 58px;
    border-radius: 26px;
    padding: clamp(22px, 3vw, 32px);
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,250,244,.95));
}
.registration-next-step-card-clean .registration-next-actions a,
.registration-result-actions a {
    border-radius: 16px;
    padding: 14px 18px;
    font-size: .98rem;
    font-weight: 900;
}
.registration-next-step-card-clean .registration-next-actions {
    min-width: 300px;
}
.event-registration-clean-shell .registration-success-hero {
    display: none;
}
@media (max-width: 1120px) {
    .registration-result-card {
        grid-template-columns: auto minmax(0, 1fr);
    }
    .registration-result-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .event-registration-clean-shell .detail-breadcrumb,
    .event-registration-clean-shell .registration-alert,
    .event-registration-clean-shell .registration-result-card,
    .event-registration-clean-shell .registration-detail-grid-clean,
    .event-registration-clean-shell .registration-next-step-card-clean {
        width: min(100% - 28px, 1480px);
    }
    .registration-result-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .registration-result-icon {
        width: 58px;
        height: 58px;
        border-radius: 18px;
        font-size: 1.8rem;
    }
    .registration-result-actions,
    .registration-next-step-card-clean .registration-next-actions {
        grid-template-columns: 1fr;
        min-width: 0;
        width: 100%;
    }
    .registration-card-heading {
        grid-template-columns: 1fr;
    }
    .registration-thumb {
        width: 100%;
        height: 180px;
    }
}


/* 2026-07-08 報名明細 UI clean v3：縮小成功區、整理資訊卡、移除多餘下一步大區塊 */
.event-registration-clean-shell {
    background: linear-gradient(135deg, #fffaf3 0%, #fff8f0 54%, #eef8f3 100%);
}
.event-registration-clean-shell .detail-breadcrumb,
.event-registration-clean-shell .registration-alert,
.event-registration-clean-shell .registration-result-card,
.event-registration-clean-shell .registration-detail-grid-clean {
    width: min(1180px, calc(100% - 64px));
}
.event-registration-clean-shell .detail-breadcrumb {
    margin: 18px auto 0;
    font-size: .98rem;
}
.event-registration-clean-shell .registration-alert {
    margin: 14px auto 0;
    border-radius: 18px;
    padding: 14px 18px;
    font-size: 1rem;
}
.registration-result-card {
    margin: 18px auto 18px;
    border-radius: 24px;
    padding: 24px 28px;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 20px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 16px 34px rgba(63,49,35,.06);
}
.registration-result-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.85rem;
    box-shadow: 0 12px 24px rgba(13,139,125,.16);
}
.registration-result-main h1 {
    margin: 2px 0 8px;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
}
.registration-result-main p {
    font-size: .98rem;
    line-height: 1.65;
}
.registration-result-card .registration-status-pills {
    margin-top: 12px;
    gap: 8px;
}
.registration-status-pills span {
    padding: 8px 14px;
    font-size: .92rem;
}
.registration-result-actions {
    min-width: 170px;
    gap: 10px;
}
.registration-result-actions a {
    border-radius: 14px !important;
    padding: 12px 16px !important;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.registration-detail-grid-clean {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 auto 56px;
}
.registration-detail-grid-clean .registration-info-card {
    border-radius: 24px;
    padding: 22px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 14px 30px rgba(63,49,35,.045);
}
.registration-detail-grid-clean .registration-info-card h2 {
    margin: 4px 0 16px;
    font-size: clamp(24px, 2.1vw, 32px);
    line-height: 1.2;
}
.registration-card-heading {
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 14px;
    align-items: start;
}
.registration-thumb {
    width: 128px;
    height: 92px;
    border-radius: 18px;
    box-shadow: none;
}
.registration-detail-grid-clean .registration-info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.registration-detail-grid-clean .registration-info-list div {
    min-height: 0;
    padding: 12px 14px;
    border-radius: 15px;
    background: #fffbf6;
}
.registration-detail-grid-clean .registration-info-list span {
    margin-bottom: 5px;
    font-size: .82rem;
}
.registration-detail-grid-clean .registration-info-list strong {
    font-size: .96rem;
    line-height: 1.45;
}
.registration-next-step-card-clean {
    display: none !important;
}
.event-registration-clean-shell .mobile-bottom-nav {
    display: none;
}
@media (max-width: 980px) {
    .registration-detail-grid-clean {
        grid-template-columns: 1fr;
    }
    .registration-result-card {
        grid-template-columns: 58px minmax(0, 1fr);
    }
    .registration-result-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }
}
@media (max-width: 640px) {
    .event-registration-clean-shell .detail-breadcrumb,
    .event-registration-clean-shell .registration-alert,
    .event-registration-clean-shell .registration-result-card,
    .event-registration-clean-shell .registration-detail-grid-clean {
        width: min(100% - 24px, 1180px);
    }
    .registration-result-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .registration-card-heading,
    .registration-detail-grid-clean .registration-info-list {
        grid-template-columns: 1fr;
    }
    .registration-thumb {
        width: 100%;
        height: 170px;
    }
    .registration-result-actions {
        grid-template-columns: 1fr;
    }
}

/* Member event approval/payment status badges */
.ticket-tags span.is-pending,
.registration-status-pills span.is-pending {
    background: #fff7e6;
    color: #b96a14;
    border: 1px solid rgba(224, 158, 71, .32);
}

.ticket-tags span.is-approved,
.registration-status-pills span.is-approved {
    background: #e9faf5;
    color: #0b7e72;
    border: 1px solid rgba(70, 165, 151, .3);
}

.ticket-tags span.is-waitlist,
.registration-status-pills span.is-waitlist {
    background: #eef4ff;
    color: #2f5fa8;
    border: 1px solid rgba(84, 124, 202, .28);
}

.ticket-tags span.is-cancelled,
.registration-status-pills span.is-cancelled {
    background: #fff0f0;
    color: #b64840;
    border: 1px solid rgba(198, 79, 65, .3);
}

/* 2026-07-09 member event transfer payment UI/UX */
.event-transfer-shell {
    width: min(1200px, calc(100% - 44px));
    padding-bottom: 72px;
}
.transfer-breadcrumb {
    margin-top: 22px;
    margin-bottom: 0;
}
.transfer-checkout-hero {
    margin: 22px auto 16px;
    border: 1px solid rgba(231, 205, 178, .95);
    border-radius: 30px;
    background:
        radial-gradient(circle at 3% 0%, rgba(255,255,255,.95), transparent 34%),
        linear-gradient(135deg, rgba(255, 252, 247, .98), rgba(255, 246, 235, .92));
    box-shadow: 0 22px 56px rgba(101, 67, 45, .08);
    padding: 28px 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 24px;
    align-items: center;
}
.transfer-hero-copy h1 {
    margin: 5px 0 8px;
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -.045em;
    color: #26303a;
}
.transfer-hero-copy p:not(.eyebrow) {
    margin: 0;
    max-width: 740px;
    color: #665d54;
    font-weight: 850;
    line-height: 1.8;
}
.transfer-status-card {
    min-height: 118px;
    border: 1px solid #ecd9c5;
    border-radius: 24px;
    padding: 22px;
    background: rgba(255,255,255,.86);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.transfer-status-card span {
    color: #8a7968;
    font-size: 14px;
    font-weight: 950;
    margin-bottom: 6px;
}
.transfer-status-card strong {
    display: block;
    font-size: 34px;
    line-height: 1.1;
    color: #0b7c78;
}
.transfer-status-card.is-unpaid strong { color: #d7654f; }
.transfer-status-card.is-paid strong { color: #0b7c78; }
.transfer-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 auto 16px;
}
.transfer-steps div {
    min-height: 62px;
    border: 1px solid rgba(231, 205, 178, .9);
    border-radius: 20px;
    background: rgba(255,255,255,.72);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    color: #6f6255;
    font-weight: 950;
}
.transfer-steps div.active,
.transfer-steps div:hover {
    background: #fff6ed;
    border-color: rgba(235, 113, 91, .38);
}
.transfer-steps b {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 18px rgba(235, 113, 91, .25);
}
.transfer-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    gap: 18px;
    align-items: start;
}
.transfer-info-column {
    display: grid;
    gap: 18px;
}
.transfer-panel {
    border: 1px solid rgba(231, 205, 178, .95);
    border-radius: 28px;
    background: rgba(255, 255, 255, .94);
    padding: 26px;
    box-shadow: 0 18px 44px rgba(101, 67, 45, .06);
}
.transfer-panel-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.transfer-panel-title h2,
.transfer-payment-card h2 {
    margin: 0;
    font-family: 'Noto Serif TC', serif;
    font-size: 30px;
    color: #26303a;
    letter-spacing: -.02em;
}
.transfer-activity-panel h3 {
    margin: 0 0 14px;
    color: #102b3c;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 950;
    line-height: 1.35;
}
.transfer-info-list {
    display: grid;
    gap: 10px;
}
.transfer-info-list div {
    position: relative;
    min-height: 64px;
    border: 1px solid rgba(234, 216, 196, .85);
    border-radius: 18px;
    background: #fffaf5;
    padding: 13px 110px 13px 16px;
}
.transfer-info-list div:not(:has(.copy-btn)) {
    padding-right: 16px;
}
.transfer-info-list div.highlight {
    background: linear-gradient(135deg, #fff7ed, #fffdf9);
    border-color: rgba(235, 113, 91, .26);
}
.transfer-info-list span {
    display: block;
    color: #8a7968;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 5px;
}
.transfer-info-list strong {
    display: block;
    color: #26303a;
    font-size: 18px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.transfer-info-list .account-text,
.transfer-info-list .code-text {
    letter-spacing: .02em;
}
.copy-btn {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: 1px solid rgba(47, 124, 120, .24);
    border-radius: 999px;
    background: #fff;
    color: var(--teal);
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    transition: .18s ease;
}
.copy-btn:hover,
.copy-btn.copied {
    background: var(--teal-soft);
    border-color: rgba(47, 124, 120, .45);
}
.transfer-tip-card {
    margin-top: 14px;
    border: 1px solid rgba(47, 124, 120, .2);
    border-radius: 18px;
    background: #eef9f6;
    padding: 14px 16px;
    color: #536760;
    font-weight: 850;
}
.transfer-tip-card b {
    display: block;
    color: #0b7c78;
    margin-bottom: 4px;
}
.transfer-tip-card p {
    margin: 0;
    line-height: 1.7;
}
.transfer-form-sticky {
    position: sticky;
    top: 104px;
}
.transfer-form-panel {
    background: rgba(255, 252, 247, .98);
    border-color: rgba(235, 113, 91, .28);
    box-shadow: 0 24px 58px rgba(101, 67, 45, .1);
}
.transfer-form {
    display: grid;
    gap: 15px;
}
.transfer-form label {
    display: grid;
    gap: 8px;
    color: #5f544b;
    font-weight: 950;
}
.transfer-form label > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.transfer-form em {
    font-style: normal;
    color: #d7654f;
    font-size: 12px;
    font-weight: 950;
}
.transfer-form small {
    color: #8a7968;
    font-weight: 800;
    line-height: 1.5;
}
.transfer-form input,
.transfer-form textarea {
    width: 100%;
    border: 1px solid #ead8c4;
    border-radius: 18px;
    padding: 14px 16px;
    font: inherit;
    font-weight: 850;
    color: #26303a;
    background: #fffaf5;
    outline: none;
    transition: .18s ease;
}
.transfer-form textarea { resize: vertical; min-height: 112px; }
.transfer-form input:focus,
.transfer-form textarea:focus {
    border-color: #ef765f;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(239, 118, 95, .12);
}
.transfer-form button,
.ticket-actions .pay-link {
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #ef765f, #e35e49);
    color: #fff !important;
    font-weight: 950;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(227, 94, 73, .22);
}
.transfer-form button {
    cursor: pointer;
    padding: 16px 22px;
    font-size: 17px;
}
.ticket-actions .pay-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.form-safe-note {
    margin: -2px 0 0;
    color: #847567;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.7;
    text-align: center;
}
.transfer-already-paid {
    border: 1px solid #bfe7df;
    border-radius: 22px;
    background: #f2fffb;
    padding: 22px;
}
.transfer-already-paid strong {
    display: block;
    color: #0b7c78;
    font-size: 24px;
    margin-bottom: 10px;
}
.transfer-already-paid p {
    color: #786b5d;
    font-weight: 850;
    line-height: 1.7;
}
@media (max-width: 980px) {
    .transfer-checkout-hero,
    .transfer-checkout-layout {
        grid-template-columns: 1fr;
    }
    .transfer-status-card {
        min-height: auto;
    }
    .transfer-form-sticky {
        position: static;
    }
}
@media (max-width: 720px) {
    .event-transfer-shell {
        width: min(100% - 28px, 1200px);
    }
    .transfer-checkout-hero,
    .transfer-panel {
        border-radius: 24px;
        padding: 22px;
    }
    .transfer-steps {
        grid-template-columns: 1fr;
    }
    .transfer-info-list div {
        padding-right: 16px;
    }
    .copy-btn {
        position: static;
        transform: none;
        margin-top: 10px;
    }
}

/* 2026-07-09 transfer payment UI/UX v3 - compact checkout layout */
.transfer-v3-shell {
    width: min(1160px, calc(100% - 48px));
    padding-bottom: 72px;
}
.transfer-v3-shell .transfer-breadcrumb {
    margin-top: 20px;
}
.transfer-v3-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 18px;
    align-items: stretch;
    margin: 20px 0 14px;
    padding: 24px;
    border: 1px solid rgba(226, 203, 179, .86);
    border-radius: 28px;
    background:
        radial-gradient(circle at 10% -10%, rgba(255,255,255,.96), transparent 32%),
        linear-gradient(135deg, rgba(255, 253, 248, .98), rgba(255, 244, 233, .88));
    box-shadow: 0 20px 44px rgba(100, 72, 50, .07);
}
.transfer-v3-hero::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -70px;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    background: rgba(235, 113, 91, .08);
    pointer-events: none;
}
.transfer-v3-hero-main,
.transfer-v3-hero-side {
    position: relative;
    z-index: 1;
}
.transfer-v3-hero-main h1 {
    margin: 4px 0 8px;
    color: #26303a;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(34px, 4.2vw, 52px);
    line-height: 1.08;
    letter-spacing: -.04em;
}
.transfer-v3-hero-main p:not(.eyebrow) {
    max-width: 720px;
    margin: 0;
    color: #6a5d51;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 850;
}
.transfer-v3-hero-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.transfer-v3-status,
.transfer-v3-amount {
    display: grid;
    align-content: center;
    min-height: 118px;
    padding: 18px;
    border: 1px solid rgba(224, 202, 178, .92);
    border-radius: 22px;
    background: rgba(255,255,255,.86);
}
.transfer-v3-status span,
.transfer-v3-amount span {
    display: block;
    color: #8a7968;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 6px;
}
.transfer-v3-status strong,
.transfer-v3-amount strong {
    color: #26303a;
    font-size: 30px;
    line-height: 1.08;
    font-weight: 950;
    overflow-wrap: anywhere;
}
.transfer-v3-status.is-unpaid strong { color: #d7654f; }
.transfer-v3-status.is-paid strong { color: #0b7c78; }
.transfer-v3-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 16px;
}
.transfer-v3-steps div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 14px;
    border: 1px solid rgba(224, 202, 178, .8);
    border-radius: 18px;
    background: rgba(255,255,255,.76);
    color: #6b5d51;
    font-size: 14px;
    font-weight: 950;
}
.transfer-v3-steps b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #f0806c, #df604a);
    box-shadow: 0 10px 18px rgba(225, 95, 74, .2);
}
.transfer-v3-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, .82fr);
    gap: 18px;
    align-items: start;
}
.transfer-v3-left {
    display: grid;
    gap: 16px;
}
.transfer-v3-card {
    border: 1px solid rgba(224, 202, 178, .84);
    border-radius: 26px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 42px rgba(100, 72, 50, .06);
    padding: 22px;
}
.transfer-v3-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.transfer-v3-card-head.compact {
    align-items: center;
}
.transfer-v3-card-head h2 {
    margin: 0;
    color: #26303a;
    font-family: "Noto Sans TC", sans-serif;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -.02em;
}
.transfer-v3-chip,
.transfer-v3-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}
.transfer-v3-chip {
    color: #0b7c78;
    background: #eaf8f4;
    border: 1px solid rgba(47, 124, 120, .18);
}
.transfer-v3-required {
    color: #d7654f;
    background: #fff1eb;
    border: 1px solid rgba(215, 101, 79, .16);
}
.transfer-v3-key-grid,
.transfer-v3-bank-list,
.transfer-v3-event-meta {
    display: grid;
    gap: 10px;
}
.transfer-v3-key-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 10px;
}
.transfer-v3-bank-list,
.transfer-v3-event-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.transfer-v3-key-item,
.transfer-v3-bank-list div,
.transfer-v3-event-meta div {
    position: relative;
    min-height: 78px;
    padding: 14px 92px 14px 16px;
    border: 1px solid rgba(234, 216, 196, .82);
    border-radius: 18px;
    background: #fffaf5;
}
.transfer-v3-bank-list div:not(:has(button)),
.transfer-v3-event-meta div {
    padding-right: 16px;
}
.transfer-v3-key-item.is-important,
.transfer-v3-bank-list div.is-important {
    background: linear-gradient(135deg, #fff7ee, #fffdf9);
    border-color: rgba(235, 113, 91, .23);
}
.transfer-v3-bank-list .wide {
    grid-column: 1 / -1;
}
.transfer-v3-key-item span,
.transfer-v3-bank-list span,
.transfer-v3-event-meta span {
    display: block;
    margin-bottom: 6px;
    color: #8a7968;
    font-size: 13px;
    font-weight: 950;
}
.transfer-v3-key-item strong,
.transfer-v3-bank-list strong,
.transfer-v3-event-meta strong {
    display: block;
    color: #26303a;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 950;
    overflow-wrap: anywhere;
}
.transfer-v3-key-item.is-important strong,
.transfer-v3-bank-list .is-important strong {
    color: #102b3c;
    font-size: 20px;
}
.transfer-v3-copy {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    min-width: 60px;
    height: 38px;
    border: 1px solid rgba(47, 124, 120, .22);
    border-radius: 999px;
    background: #fff;
    color: #0b7c78;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    transition: .18s ease;
}
.transfer-v3-copy:hover,
.transfer-v3-copy.copied {
    background: #eaf8f4;
    border-color: rgba(47, 124, 120, .44);
}
.transfer-v3-event-card h3 {
    margin: 4px 0 14px;
    color: #102b3c;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.25;
    font-weight: 950;
}
.transfer-v3-form-card {
    border-color: rgba(235, 113, 91, .26);
    background: rgba(255, 252, 248, .98);
    box-shadow: 0 22px 54px rgba(100, 72, 50, .1);
}
.transfer-v3-form {
    display: grid;
    gap: 14px;
}
.transfer-v3-form label {
    display: grid;
    gap: 8px;
    color: #5d5148;
    font-weight: 950;
}
.transfer-v3-form label > span {
    color: #5d5148;
    font-size: 14px;
    font-weight: 950;
}
.transfer-v3-form input,
.transfer-v3-form textarea {
    width: 100%;
    border: 1px solid #ead8c4;
    border-radius: 16px;
    padding: 13px 15px;
    background: #fffaf5;
    color: #26303a;
    font: inherit;
    font-weight: 850;
    outline: none;
    transition: .18s ease;
}
.transfer-v3-form textarea {
    min-height: 106px;
    resize: vertical;
}
.transfer-v3-form input:focus,
.transfer-v3-form textarea:focus {
    border-color: #ef765f;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(239, 118, 95, .12);
}
.transfer-v3-form small {
    color: #86786b;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 850;
}
.transfer-v3-form button {
    min-height: 54px;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(135deg, #ef765f, #e45d48);
    color: #fff;
    font-size: 16px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(228, 93, 72, .22);
}
.transfer-v3-form button:hover {
    filter: brightness(.98);
    transform: translateY(-1px);
}
.transfer-v3-safe-note {
    margin: -2px 0 0;
    color: #87786b;
    font-size: 12px;
    line-height: 1.65;
    text-align: center;
    font-weight: 850;
}
@media (max-width: 1080px) {
    .transfer-v3-hero,
    .transfer-v3-layout {
        grid-template-columns: 1fr;
    }
    .transfer-v3-right {
        order: -1;
    }
}
@media (max-width: 760px) {
    .transfer-v3-shell {
        width: min(100% - 28px, 1160px);
    }
    .transfer-v3-hero,
    .transfer-v3-card {
        border-radius: 22px;
        padding: 20px;
    }
    .transfer-v3-hero-side,
    .transfer-v3-steps,
    .transfer-v3-key-grid,
    .transfer-v3-bank-list,
    .transfer-v3-event-meta {
        grid-template-columns: 1fr;
    }
    .transfer-v3-key-item,
    .transfer-v3-bank-list div,
    .transfer-v3-event-meta div {
        padding-right: 16px;
    }
    .transfer-v3-copy {
        position: static;
        transform: none;
        margin-top: 10px;
    }
    .transfer-v3-card-head {
        display: grid;
    }
    .transfer-v3-chip,
    .transfer-v3-required {
        justify-self: start;
    }
}

/* 2026-07-09 活動轉帳付款：商家自訂提醒 */
.transfer-v3-bank-list .transfer-v3-bank-note {
    background: linear-gradient(135deg, #eefbf8, #fffdf9);
    border-color: rgba(47, 129, 125, .22);
}

.transfer-v3-bank-list .transfer-v3-bank-note strong {
    color: #0f7e79;
    font-size: 16px;
    line-height: 1.65;
}
