* { box-sizing: border-box; }
html { min-height: 100%; background: #103c40; }
body { width: min(100%, 580px); min-width: 320px; min-height: 100vh; margin: 0 auto; padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); color: #fff; background: var(--snowflake-background) center top / 580px auto no-repeat, linear-gradient(180deg, #216b70 0%, #008f92 52%, #008f92 100%); font-family: "Plus Jakarta Sans", "PingFang HK", sans-serif; }
.topbar { position: relative; z-index: 2; display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 12px; background: transparent; }
.topbar-home { min-width: 0; }
.topbar-logo { display: block; max-width: min(80vw, 320px); height: auto; width: auto; }
.topbar-menu { position: relative; flex-shrink: 0; }
.topbar-menu summary { display: flex; width: 32px; height: 32px; margin: 6px; align-items: center; justify-content: center; border-radius: 6px; cursor: pointer; list-style: none; }
.topbar-menu summary::-webkit-details-marker { display: none; }
.topbar-menu summary img { display: block; width: 32px; height: 32px; object-fit: contain; }
.topbar-menu-content { position: absolute; top: calc(100% + 8px); right: 0; display: grid; min-width: 148px; padding: 6px; border: 1px solid #289799; border-radius: 10px; background: #125562; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.topbar-menu-content a { padding: 10px; border-radius: 6px; color: #fff; font-size: 13px; text-decoration: none; }
.topbar-menu-content a:hover { background: rgba(255, 255, 255, .1); }
main { width: 100%; max-width: 480px; margin: 0 auto; padding: 0 16px; }
h1 { font-family: "Playfair Display SC", "PingFang HK", serif; font-size: 22px; line-height: 28px; text-transform: uppercase; overflow-wrap: anywhere; }
.highlight-list { display: grid; gap: 12px; }
.highlight-card { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; height: 106px; padding: 12px; border: 1px solid #b2dedb; border-radius: 13px; color: #124e60; background: #fff; text-decoration: none; }
.highlight-thumbnail { display: block; width: 80px; height: 100%; border-radius: 10px; object-fit: cover; background: #edf2ef; }
.highlight-card-content { min-width: 0; }
.highlight-card.has-member-offer, .highlight-card.has-live-logo { height: auto; min-height: 106px; }
.highlight-card-live-logo { float: right; height: 32px; width: auto; margin: 0 0 8px 8px; }
.highlight-card-member-offer { display: flex; align-items: center; gap: 4px; width: fit-content; max-width: 100%; margin-top: 8px; padding: 4px 8px; border-radius: 14px; color: #125562; background: #f8d174; font-size: 12px; line-height: 16px; font-weight: 600; overflow-wrap: anywhere; }
.highlight-card-member-offer span { min-width: 0; }
.highlight-category { margin: 0 0 4px; color: #168d99; font-size: 12px; line-height: 16px; overflow-wrap: anywhere; }
.highlight-card h2 { margin: 0 0 4px; font-family: "Playfair Display", "PingFang HK", serif; font-size: 18px; line-height: 24px; overflow-wrap: anywhere; }
.highlight-location { display: flex; align-items: flex-start; gap: 4px; margin: 0; color: #168d99; font-size: 12px; line-height: 16px; overflow-wrap: anywhere; }
.highlight-location img { flex: 0 0 12px; width: 12px; height: 12px; object-fit: contain; margin: 2px 0px; }
.empty-state { margin: 0; padding: 20px; border-radius: 13px; color: #123f48; background: #fff; text-align: center; }
.home-bottom-nav-container { position: fixed; right: 0; bottom: 0; left: 0; z-index: 5; height: 96px; display: flex; align-items: center; justify-content: center; background: linear-gradient(to bottom, rgba(40, 151, 153, 0) 0%, rgba(40, 151, 153, .4) 80%, rgba(40, 151, 153, .8) 100%); pointer-events: none; }
.home-bottom-nav { width: min(calc(100vw - 32px), 358px); height: 64px; padding: 0 19px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid rgba(255, 255, 255, .15); border-radius: 9999px; background: rgba(13, 43, 46, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); pointer-events: auto; }
.home-bottom-nav-item { min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 24px; color: #fff; background: transparent; text-decoration: none; }
.home-bottom-nav-item img { width: 64px; height: 64px; max-width: none; flex-shrink: 0; object-fit: contain; }
.home-bottom-nav-item:disabled { opacity: .5; cursor: not-allowed; }
.home-bottom-nav-item.is-active { color: #f4d075; }
a.home-bottom-nav-item:hover { background: rgba(255, 255, 255, .1); }
a:focus-visible, summary:focus-visible { outline: 2px solid #f4d075; outline-offset: 3px; }
footer { padding: 32px 16px; font-size: 12px; line-height: 16px; text-align: center; }
.highlight-detail { display: flow-root; padding-bottom: env(safe-area-inset-bottom, 0px); }
.highlight-detail .topbar { position: sticky; top: 8px; margin: 8px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 9999px; background: linear-gradient(180deg, #0a4353 0%, rgba(18, 85, 98, .8) 52%, rgba(0, 143, 146, .5) 100%); }
.close-link { display: inline-flex; width: 24px; height: 24px; margin: 10px; flex-shrink: 0; align-items: center; justify-content: center; text-decoration: none; }
.close-link img { display: block; width: 24px; height: 24px; object-fit: contain; }
.breadcrumb { margin: 0 0 8px; color: #f4d075; font-size: 12px; line-height: 16px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb-chevron { width: 12px; height: 12px; margin: 0 4px; object-fit: contain; vertical-align: middle; }
.highlight-detail h1 { margin: 0 0 4px 0; padding: 8px 0 0; }
.detail-location { margin-bottom: 16px; color: #fff; }
.content-panel { padding: 16px; border-radius: 14px; color: #121212; background: #fff; }
.highlight-description { font-size: 14px; line-height: 24px; white-space: pre-line; overflow-wrap: anywhere; }
.highlight-detail-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.kid-zone-badge { flex-shrink: 0; padding: 2px 8px; border-radius: 999px; background: #289799; color: #fff; font-size: 12px; line-height: 18px; font-weight: 600; }
.kid-zone-badge.weekend { background: #125562; margin-bottom: 16px; }
.kid-zone-activity { margin-top: 28px; padding-top: 12px; border-top: 1px solid #9ed5d2; }
.kid-zone-activity-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #289799; font-size: 14px; line-height: 22px; }
.kid-zone-activity-meta > span:first-child { min-width: 0; }
.kid-zone-activity-type { font-weight: 600; }
.kid-zone-activity h2 { margin: 0 0 12px; color: #0a4353; font-family: "Playfair Display", "PingFang HK", serif; font-size: 18px; line-height: 26px; }
.kid-zone-activity-body { display: flex; align-items: flex-start; gap: 8px; }
.kid-zone-activity img { display: block; flex: 0 0 66px; width: 66px; height: 66px; object-fit: cover; border-radius: 10px; }
.kid-zone-activity p { flex: 1; min-width: 0; margin: 0; font-size: 14px; line-height: 21px; white-space: pre-line; overflow-wrap: anywhere; }
.kid-zone-date { margin: 20px 0 0; }
.kid-zone-date .detail-row { border: 0; margin: 0; }
.kid-zone-register { display: flex; gap: 4px; width: 100%; align-items: center; justify-content: center; min-height: 44px; margin-top: 12px; padding: 8px 20px; border: 1px solid #289799; border-radius: 24px; color: #125562; background: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.highlight-member-offer { display: flex; align-items: center; width: fit-content; max-width: 100%; margin: 0 0 12px; padding: 4px 12px; border-radius: 14px; color: #125562; background: #f8d174; font-size: 12px; line-height: 16px; font-weight: 600; overflow-wrap: anywhere; }
.highlight-live-banner { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 16px; padding: 16px; border: 1px solid #289799; border-radius: 18px; color: #125562; text-decoration: none; }
.highlight-live-logo { display: block; flex: 0 0 auto; width: auto; height: 32px; }
.highlight-live-copy { flex: 1; min-width: 0; font-size: 12px; line-height: 16px; font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.highlight-live-arrow { display: block; align-self: flex-start; flex: 0 0 32px; width: 32px; height: 32px; object-fit: contain; }
.highlight-remark { margin: 24px 0 0; font-size: 12px; line-height: 16px; white-space: pre-line; overflow-wrap: anywhere; }
.highlight-contents { margin: 24px 0 0; }
.kid-zone-date dd, .highlight-contents dd { font-weight: 600; }
.detail-row { display: flex; padding: 8px 0; margin-bottom: 12px; border-top: 1px solid #9ed5d2; font-size: 14px; line-height: 22px; }
.detail-row dt { flex: 0 0 auto; color: #289799; font-weight: 600; }
.detail-row dd { flex: 1; min-width: 0; margin: 0; text-align: right; white-space: pre-line; overflow-wrap: anywhere; }
.highlight-map { display: block; width: 100%; height: auto; margin: 0 0 12px; }
.google-map-embed { display: block; width: 100%; height: 280px; margin-top: 8px; border: 1px solid #d6ddd8; background: #edf2ee; }
.google-map-embed[hidden] { display: none; }
.back-link { display: flex; width: 140px; height: 44px; align-items: center; justify-content: center; margin: 24px auto 8px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; color: #fff; font-size: 14px; text-align: center; text-decoration: none; }
@media (max-width: 360px) {
    .highlight-card { grid-template-columns: 66px minmax(0, 1fr); gap: 9px; padding: 9px; }
    .highlight-thumbnail { width: 66px; height: 66px; }
}
@media (width > 580px) { html { background: linear-gradient(180deg, #216b70 0%, #008f92 52%, #008f92 100%); } }
