/* The original home modules and their AJAX handlers retain their identities. */
html.front-workspace :is(.member-story-carousel,.member-showcase-mini-stage,.member-showcase-stage) { --relaxed-text: #fff9ed; --relaxed-muted: #e1e7f0; --premium-text: #fff9ed; --premium-muted: #e1e7f0; }
html.front-workspace .member-story-showcase-art.showcase-art-style-classic { color: #fff9ed !important; }
html.front-workspace body.site-app.home-premium-page :is(.home-secondary-stage-grid,.home-news-hub > .container) { gap: 1.25rem; }
html.front-workspace body.site-app.home-premium-page .home-secondary-stage-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; }
html.front-workspace body.site-app.home-premium-page :is(.home-front-section,.home-news-hub) { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
html.front-workspace body.site-app.home-premium-page .home-secondary-stage { padding-top: 0 !important; }
html.front-workspace body.site-app.home-premium-page .home-secondary-instagram-slot { display: grid; gap: 1.25rem; min-width: 0; }
html.front-workspace body.site-app.home-premium-page .home-secondary-instagram-slot > :is(section,.home-news-hub),
html.front-workspace body.site-app.home-premium-page #guild-calendar {
    border: 1px solid var(--fw-line) !important;
    border-radius: 1rem;
    background: var(--fw-card) !important;
    color: var(--fw-ink) !important;
    box-shadow: 0 8px 24px #18263c0d;
    margin: 0 !important;
    padding: 1.25rem !important;
}
html.front-workspace body.site-app.home-premium-page :is(.home-secondary-instagram-slot,#guild-calendar) .container { padding: 0 !important; max-width: none; }
html.front-workspace body.site-app.home-premium-page :is(.home-secondary-instagram-slot,#guild-calendar) :is(.section-head,.home-news-hub-head) { align-items: start !important; gap: .75rem; flex-wrap: wrap; }
html.front-workspace body.site-app.home-premium-page .member-story-home-grid { gap: 1.25rem; }
html.front-workspace body.site-app.home-premium-page .member-story-mobile-welcome-suite { border: 1px solid var(--fw-line); border-radius: 1rem; overflow: hidden; box-shadow: 0 8px 24px #18263c0d; }
html.front-workspace body.site-app.home-premium-page .member-story-hero-intro { background: var(--fw-card) !important; padding: 1rem !important; border: 0 !important; }
html.front-workspace body.site-app.home-premium-page .member-story-hero-intro .hero-subtitle { color: #596677 !important; font-size: .95rem; line-height: 1.7; }
html.front-workspace body.site-app.home-premium-page .hero-pill { color: #71511c !important; background: #f7f0df !important; border-color: #d6c296 !important; }
html.front-workspace body.site-app.home-premium-page .member-story-carousel { border-radius: 0 0 1rem 1rem; max-height: 510px; }
html.front-workspace body.site-app.home-premium-page .member-story-sponsor-stage { background: #182139 !important; border: 1px solid #31415d !important; border-radius: 1rem; }
html.front-workspace body.site-app.home-premium-page .guild-sponsor-rank-card { background: transparent !important; color: #fff4dc !important; border: 0 !important; box-shadow: none !important; }
html.front-workspace body.site-app.home-premium-page .guild-sponsor-rank-name { color: #fff0bc !important; }
html.front-workspace body.site-app.home-premium-page .guild-sponsor-rank-card { color: #fff4dc !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
html.front-workspace body.site-app.home-premium-page .member-story-dialogue { --premium-text: #fff9ed; --premium-muted: #e1e7f0; }
html.front-workspace body.site-app.home-premium-page .member-story-dialogue :is(h3,p,a) { color: #fff9ed !important; }
html.front-workspace body.site-app.home-premium-page .ig-feed-shell { padding: .75rem; background: #f5f4ef !important; border: 1px solid var(--fw-line) !important; box-shadow: none !important; }
html.front-workspace body.site-app.home-premium-page .ig-feed-card { background: #fffefa !important; border: 1px solid var(--fw-line) !important; box-shadow: none !important; }
html.front-workspace body.site-app.home-premium-page .ig-feed-caption { color: #18263c !important; }
html.front-workspace body.site-app.home-premium-page .ig-feed-time { color: #596677 !important; }
html.front-workspace body.site-app.home-premium-page .ig-feed-badge { color: white !important; background: #142139 !important; }
html.front-workspace body.site-app.home-premium-page .ig-feed-nav { background: #142139 !important; color: #fff7e5 !important; box-shadow: 0 3px 8px #14213930; }
html.front-workspace body.site-app.home-premium-page .home-news-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
html.front-workspace body.site-app.home-premium-page .home-news-tabs button { color: #213d5c !important; background: #f0f2f4 !important; border: 1px solid #c3ceda !important; border-radius: .6rem; padding: .6rem 1rem; font-weight: 700; }
html.front-workspace body.site-app.home-premium-page .home-news-tabs button.is-active { color: #fff7e5 !important; background: #21324d !important; }
html.front-workspace body.site-app.home-premium-page :is(.official-news-card,.mainland-news-card,.guild-feature-card,.guild-feature-card .rule-text,.guild-feature-card .rule-title) { color: #18263c !important; }
html.front-workspace body.site-app.home-premium-page :is(.official-news-card,.mainland-news-card,.guild-feature-card,.guild-feature-card::before) { background: #fffefa !important; border-color: var(--fw-line) !important; box-shadow: none !important; }
html.front-workspace body.site-app.home-premium-page .guild-feature-card { padding: .9rem; }
html.front-workspace body.site-app.home-premium-page .guild-feature-thumb { max-height: 140px; object-fit: cover; }
html.front-workspace body.site-app.home-premium-page .guild-feature-excerpt { font-size: .9rem; line-height: 1.7; }
html.front-workspace body.site-app.home-premium-page .guild-calendar-card { padding: .35rem; box-shadow: none !important; }
html.front-workspace body.site-app.home-premium-page .guild-calendar-toolbar { padding: .6rem 0; }
html.front-workspace body.site-app.home-premium-page .guild-calendar-table { min-width: 440px; table-layout: fixed; }
html.front-workspace body.site-app.home-premium-page .guild-calendar-table th { padding: .5rem .2rem; }
html.front-workspace body.site-app.home-premium-page .guild-day-cell { height: auto !important; min-height: 0 !important; padding: .3rem !important; vertical-align: top; }
html.front-workspace body.site-app.home-premium-page .workspace-day-items { max-height: 7.5rem; overflow-y: auto; scrollbar-width: thin; }
html.front-workspace body.site-app.home-premium-page .guild-day-event { min-height: 0 !important; padding: .3rem !important; margin: .2rem 0 !important; border-radius: .45rem; }
html.front-workspace body.site-app.home-premium-page .guild-day-title { font-size: .8rem; line-height: 1.4; }
html.front-workspace body.site-app.home-premium-page .guild-day-tag { font-size: .75rem; line-height: 1.4; }
html.front-workspace body.site-app.home-premium-page .guild-day-num { color: #18263c !important; background: #f5eedf !important; }
html.front-workspace body.site-app.home-premium-page .guild-day-head { margin-bottom: .25rem; }
html.front-workspace body.site-app.home-premium-page #features .row { margin-top: .5rem; }
html.front-workspace body.site-app.home-premium-page #features .row > div { width: 100%; }
html.front-workspace body.site-app.home-premium-page .rule-card.feature-card { padding: 1rem; }
@media (max-width: 991.98px) {
    html.front-workspace body.site-app.home-premium-page .home-secondary-stage-grid { grid-template-columns: minmax(0,1fr); }
    html.front-workspace body.site-app.home-premium-page .member-story-carousel { max-height: none; }
    html.front-workspace body.site-app.home-premium-page .member-story-sponsor-stage { min-height: 0; }
}
@media (max-width: 575.98px) {
    html.front-workspace body.site-app.home-premium-page :is(.home-secondary-instagram-slot > section,.home-secondary-instagram-slot > .home-news-hub,#guild-calendar) { padding: 1rem !important; }
    html.front-workspace body.site-app.home-premium-page .member-story-hero-intro { flex-wrap: wrap; }
    html.front-workspace body.site-app.home-premium-page .section-head-action { width: auto; flex: 0 0 auto; }
    html.front-workspace body.site-app.home-premium-page .home-news-tabs button { min-height: 2.75rem; }
}

html.front-workspace body.site-app.home-premium-page .home-secondary-instagram-slot { grid-template-columns: minmax(0,1fr); }
html.front-workspace body.site-app.home-premium-page .home-secondary-instagram-slot > * { min-width: 0; max-width: 100%; width: 100%; }
html.front-workspace body.site-app.home-premium-page .home-secondary-instagram-slot .container { min-width: 0; width: 100% !important; max-width: 100% !important; margin: 0 !important; }
html.front-workspace body.site-app.home-premium-page #guildSponsorRankFloatPanel .guild-sponsor-rank-card { color: #fff4dc !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
