.home-hub {
    --hub-bg: #101916;
    --hub-field: #18231e;
    --hub-line: #66775e65;
    --hub-gold: #dfc28a;
    --hub-text: #e3e7dd;
    --hub-muted: #aeb9a6;
    padding: 28px 0 34px;
    background: var(--hub-bg);
    border-top: 1px solid #b198634f;
    border-bottom: 1px solid #b198634f;
    color: var(--hub-text);
    text-align: left;
}
.home-hub *, .home-hub *::before, .home-hub *::after { box-sizing: border-box; letter-spacing: 0; }
.home-hub [hidden] { display: none !important; }
.home-hub svg { width: 17px; height: 17px; flex-shrink: 0; }
.home-hub button, .home-hub a, .home-hub input, .home-hub select, .home-hub summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.home-hub :focus-visible { outline: 2px solid #f0d49a; outline-offset: 3px; }
.home-hub .container.home-layout { width: min(1400px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 264px minmax(0, 1fr) 312px; grid-template-areas: "sidebar announcement activity"; gap: 24px; padding: 0; align-items: start; }
.home-hub .home-layout > .sidebar { grid-area: sidebar; display: flex; flex-direction: column; gap: 26px; min-width: 0; padding-right: 20px; border-right: 1px solid var(--hub-line); }
.home-hub .home-layout > .announcement { grid-area: announcement; }
.home-hub .home-layout > .home-news-column { grid-area: activity; display: flex; flex-direction: column; gap: 28px; min-width: 0; padding-left: 20px; border-left: 1px solid var(--hub-line); }
.home-hub .home-layout .activity-board { grid-area: auto; }
.home-hub .player-pass, .home-hub .announcement-panel, .home-hub .featured-activity, .home-hub .carousel-container, .home-hub .guide-carousel { width: 100%; max-width: none; min-width: 0; max-height: none; margin: 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.home-hub .home-block-heading { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 43px; margin: 0 0 20px; text-align: left; }
.home-hub .home-block-heading > div { min-width: 0; }
.home-hub .section-kicker { color: #9fb4a3; font-size: 10px; font-weight: 500; line-height: 1.4; }
.home-hub .home-block-heading h2 { display: block; margin: 5px 0 0; color: var(--hub-gold); font: 700 20px/1.35 "Noto Serif TC", "Microsoft JhengHei", serif; }
.home-hub .player-pass__header { display: block; }
.home-hub .section-link { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; border: 0; color: #b8c9b9; font-size: 12px; line-height: 1.8; text-decoration: none; }
.home-hub .section-link:hover { color: #f0d49a; }
.home-hub .player-pass__note { margin: 0 0 16px; color: var(--hub-muted); font-size: 13px; line-height: 1.8; }
.home-hub .player-pass__identity { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 0 0 16px; margin-bottom: 16px; border: 0; border-bottom: 1px solid var(--hub-line); border-radius: 0; background: none; text-align: left; }
.home-hub .player-pass__crest { width: 38px; height: 38px; color: #d8bd88; border: 1px solid #b49a624f; border-radius: 4px; background: #1c2a22; }
.home-hub .player-pass__crest svg { width: 22px; height: 22px; }
.home-hub .player-pass__identity span, .home-hub .pass-stats span { color: var(--hub-muted); font-size: 11px; font-weight: 400; }
.home-hub .player-pass__identity strong { color: var(--hub-text); font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.home-hub .pass-stats { grid-template-columns: minmax(0, 1fr) 65px; gap: 8px; margin-bottom: 18px; }
.home-hub .pass-stats > div { min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.home-hub .pass-stats strong { margin-top: 5px; color: #ecdbb5; font-size: 22px; line-height: 1.4; overflow-wrap: anywhere; }
.home-hub .pass-stats .pass-status { display: inline-block; color: #b3d6b5; font-size: 13px; padding-top: 5px; }
.home-hub .pass-status[data-status="1"] { color: #edca85; }
.home-hub .pass-status[data-status="2"] { color: #edaaaa; }
.home-hub .player-pass__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.home-hub .player-pass__actions > :first-child { grid-column: 1 / -1; }
.home-hub .player-pass__actions .pass-action, .home-hub .player-pass__secondary > button, .home-hub .player-pass__secondary > a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-width: 0; min-height: 42px; margin: 0; padding: 9px 7px; border: 1px solid #6b7d617a; border-radius: 4px; background: #19261f; color: #dce3d4; box-shadow: none; text-shadow: none; font: 600 12px/1.5 "Microsoft JhengHei", sans-serif; text-decoration: none; cursor: pointer; transform: none; }
.home-hub .player-pass__actions .pass-action--primary { min-height: 44px; background: #dcc087; border-color: #dcc087; color: #192017; font-size: 14px; }
.home-hub .player-pass__actions .pass-action:hover, .home-hub .player-pass__secondary > :hover { color: #fff0ce; border-color: #c6aa71; background: #2a3a2b; transform: none; }
.home-hub .player-pass__actions .pass-action--primary:hover { color: #151e15; background: #eed5a0; }
.home-hub .player-pass__secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 16px; padding-top: 14px; border-color: var(--hub-line); }
.home-hub .player-pass__secondary > button, .home-hub .player-pass__secondary > a { justify-content: flex-start; padding: 8px 5px; border-color: transparent; background: none; font-size: 12px; }
.home-hub .player-pass__secondary .pass-logout { color: #ddb4ae; border-color: transparent; background: none; }
.home-hub .pass-recovery-link { display: flex; align-items: center; justify-content: flex-end; gap: 5px; padding: 12px 0 0; color: #aab9a5; font-size: 11px; text-decoration: none; }
.home-hub .campaign-disclosure { min-width: 0; border-top: 1px solid var(--hub-line); padding-top: 20px; }
.home-hub .campaign-disclosure summary { list-style: none; cursor: pointer; }
.home-hub .campaign-disclosure summary::-webkit-details-marker { display: none; }
.home-hub .campaign-disclosure summary > svg { transition: transform 180ms ease; }
.home-hub .campaign-disclosure[open] summary > svg { transform: rotate(180deg); }
.home-hub .campaign-disclosure:not([open]) summary { margin-bottom: 0; }
.home-hub .campaign-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -8px 0 8px; color: var(--hub-muted); font: 11px/1.4 Consolas, monospace; }
.home-hub .campaign-meta a { display: grid; place-items: center; width: 30px; height: 30px; color: #c8b78e; }
.home-hub .home-carousel-track { display: flex; width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-behavior: auto; touch-action: pan-x pan-y; transform: none; transition: none; }
.home-hub [data-enhanced] .home-carousel-track { scrollbar-width: none; }
.home-hub [data-enhanced] .home-carousel-track::-webkit-scrollbar { display: none; }
.home-hub .campaign-slide { flex: 0 0 100%; min-width: 0; margin: 0; aspect-ratio: 3 / 4; scroll-snap-align: start; scroll-snap-stop: always; background: #0a100e; }
.home-hub .carousel img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 4px; object-fit: contain; }
.home-hub .home-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 3px; padding-top: 12px; border-color: var(--hub-line); }
.home-hub .home-carousel-controls button { position: static; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 40px; min-height: 40px; margin: 0; padding: 0; border: 1px solid #66775e65; border-radius: 4px; color: #d0d9c5; background: #19261f; box-shadow: none; transform: none; }
.home-hub .home-carousel-controls button:hover { background: #2b3c2c; color: #f2d6a0; border-color: #baa06e; transform: none; }
.home-hub .home-carousel-controls .guide-carousel__dots { display: flex; gap: 0; }
.home-hub .home-carousel-controls .guide-carousel__dots button { flex-basis: 24px; width: 24px; border: 0; background: none; }
.home-hub .home-carousel-controls .guide-carousel__dots button span { background: #70826d; }
.home-hub .home-carousel-controls .guide-carousel__dots [aria-current] span { background: #e9c98d; }
.home-hub .guide-carousel { scroll-margin-top: 110px; }
.home-hub .guide-carousel__image { border-color: #7a886153; aspect-ratio: 16 / 10; border-radius: 4px; }
.home-hub .guide-carousel__copy { padding: 13px 0 14px; }
.home-hub .guide-carousel__copy h3 { font-size: 17px; min-height: 24px; color: #e6d2a5; }
.home-hub .guide-carousel__copy p { color: var(--hub-muted); font-size: 12px; }
.home-hub .guide-carousel__category { color: #a1c1a8; }
.home-hub .guide-carousel__cta { color: #dfc28a; }
.home-hub .guide-carousel__count { font-size: 11px; color: var(--hub-muted); }
.home-hub .big-reward-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding: 15px 16px; border: 1px solid #986f6870; border-left: 3px solid #ac8275; border-radius: 4px; background: #302322; box-shadow: none; }
.home-hub .big-reward-banner-left { flex: 1; min-width: 0; }
.home-hub .big-reward-tag { margin: 0 0 6px; padding: 0; border: 0; border-radius: 0; background: none; color: #c6a398; font-size: 10px; }
.home-hub .big-reward-title { color: #eddbb5; font-size: 16px; line-height: 1.6; text-shadow: none; }
.home-hub .big-reward-sub { color: #c6b6a8; font-size: 12px; line-height: 1.7; }
.home-hub .big-reward-banner-right { flex: 0 0 auto; min-width: 0; text-align: right; }
.home-hub .big-reward-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0 8px 10px; border: 0; border-radius: 0; background: none; color: #edc8ab; box-shadow: none; font-size: 12px; line-height: 1.5; transform: none; }
.home-hub .big-reward-btn:hover { color: #fff0ce; background: none; box-shadow: none; transform: none; }
.home-hub .notice-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 10px; margin: 0 0 14px; }
.home-hub .notice-search { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 11px; border: 1px solid #65745b65; border-radius: 4px; background: #0c1411; color: #a3b39c; }
.home-hub .notice-search input { min-width: 0; width: 100%; min-height: 40px; margin: 0; padding: 8px 0; border: 0; border-radius: 0; background: none; color: var(--hub-text); font: 13px/1.6 "Microsoft JhengHei", sans-serif; }
.home-hub .notice-search:focus-within { outline: 2px solid #d4b780; outline-offset: 2px; }
.home-hub .notice-search input:focus-visible { outline: none; }
.home-hub .notice-search input::placeholder { color: #95a38e; }
.home-hub .notice-toolbar select { min-width: 0; min-height: 40px; padding: 7px 10px; border: 1px solid #65745b65; border-radius: 4px; background: #19261f; color: #d7decd; font: 12px/1.6 "Microsoft JhengHei", sans-serif; color-scheme: dark; }
.home-hub .announcement-list { display: grid; gap: 0; padding: 0; }
.home-hub .announcement-card { position: relative; display: grid; gap: 6px; width: 100%; min-width: 0; margin: 0; padding: 15px 26px 15px 12px; border: 0; border-bottom: 1px solid #66775e45; border-left: 2px solid transparent; border-radius: 0; color: var(--hub-text); background: none; box-shadow: none; text-align: left; transform: none; transition: background 180ms ease, border-color 180ms ease; }
.home-hub .announcement-card::after { content: ""; position: absolute; top: 50%; right: 8px; width: 5px; height: 5px; border-right: 1px solid #aeb792; border-top: 1px solid #aeb792; transform: rotate(45deg); }
.home-hub .announcement-card:hover, .home-hub .announcement-card:focus-visible { background: #1e2b22; border-left-color: #b79f69; box-shadow: none; transform: none; }
.home-hub .announcement-card.is-featured { padding: 16px 26px 16px 12px; background: #1d2b22; border-left-color: #bda774; }
.home-hub .announcement-card__meta { color: #9fb6a3; font-size: 10px; line-height: 1.6; }
.home-hub .announcement-card__title { color: #e8d8b3; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.home-hub .announcement-card__summary { color: #aeb9a6; font-size: 12px; line-height: 1.8; font-weight: 400; }
.home-hub .announcement-card:not(.is-featured) .announcement-card__summary { -webkit-line-clamp: 1; }
.home-hub .notice-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; color: #9cac97; font-size: 11px; }
.home-hub .notice-pagination > div { display: flex; align-items: center; gap: 12px; }
.home-hub .notice-pagination button { display: grid; place-items: center; width: 34px; height: 36px; min-height: 36px; padding: 0; margin: 0; border: 1px solid #66775e65; border-radius: 4px; background: #19261f; color: #d0d9c5; box-shadow: none; transform: none; }
.home-hub .notice-pagination button:disabled { opacity: .35; cursor: default; }
.home-hub .notice-empty { padding: 30px 8px; color: var(--hub-muted); font-size: 13px; }
.home-hub .back-button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0 0 14px; padding: 8px 12px; border: 1px solid #66775e65; border-radius: 4px; color: #dfcca4; background: #19261f; box-shadow: none; font-size: 12px; }
.home-hub .announcement-detail { padding: 0; background: none; border: 0; border-radius: 0; color: #c5cdbd; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; scroll-margin-top: 130px; }
.home-hub .announcement-detail h3 { color: #e8d8b3; font-size: 20px; line-height: 1.7; }
.home-hub .announcement-detail__meta { color: #9fb6a3; font-size: 11px; }
.home-hub .featured-activity { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.home-hub .featured-activity .home-block-heading { grid-column: auto; }
.home-hub .featured-activity .activity-item { display: grid; grid-template-columns: 92px minmax(0, 1fr) 17px; align-items: center; gap: 10px; width: 100%; min-width: 0; min-height: 91px; padding: 11px 0; margin: 0; border: 0; border-bottom: 1px solid #66775e45; border-radius: 0; background: none; color: var(--hub-text); box-shadow: none; text-align: left; transform: none; }
.home-hub .featured-activity .activity-item:first-of-type { padding-top: 0; min-height: 80px; }
.home-hub .featured-activity .activity-item:hover { background: #1d2b22; transform: none; }
.home-hub .activity-media { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: #0a100e; }
.home-hub .activity-media video, .home-hub .activity-media img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; pointer-events: none; }
.home-hub .activity-copy { display: grid; gap: 5px; min-width: 0; }
.home-hub .activity-copy small { color: #a5baa6; font-size: 10px; font-weight: 400; }
.home-hub .activity-copy strong { color: #dce0d0; font-size: 12px; line-height: 1.7; font-weight: 600; }
.home-hub .activity-item > svg { color: #bcaa7c; }
.home-hub #activity-modal { z-index: 1200; padding: 16px; overflow: auto; background: #040907d9; }
.home-hub #activity-modal .modal-content { width: min(880px, 100%); max-height: calc(100dvh - 32px); margin: auto; padding: 20px; overflow-y: auto; border: 1px solid #9a8e607a; border-radius: 6px; background: #111c17; box-shadow: 0 20px 80px #0007; text-align: left; }
.home-hub .home-media-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 16px; }
.home-hub .home-media-heading h2 { margin: 0; color: #e8d8b3; font-size: 18px; line-height: 1.7; }
.home-hub #activity-modal .close { position: static; float: none; flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #66775e65; border-radius: 4px; background: #19261f; color: #d0d9c5; box-shadow: none; transform: none; }
.home-hub #modal-image video, .home-hub #modal-image img { display: block; width: 100%; max-height: 68dvh; object-fit: contain; border-radius: 4px; background: #070d0a; }
.home-hub #modal-description { color: #c5cdbd; font-size: 13px; line-height: 1.8; }
.home-hub .home-media-retry { padding: 8px 14px; border: 1px solid #8a9b727a; border-radius: 4px; background: #19261f; color: #dfc28a; font-size: 13px; box-shadow: none; }
.carpediem-home-body.home-media-open { overflow: hidden; }
.carpediem-home-body .carpediem-nav > .music-btn { position: sticky; top: auto; right: 0; bottom: auto; z-index: 2; flex: 0 0 38px; width: 38px; height: 38px; min-height: 38px; margin: 0; padding: 6px; border: 1px solid #66775e65; border-radius: 4px; background: #19261f; box-shadow: 0 0 0 6px #0b0e0be8; font-size: 17px; }
@media (max-width: 1180px) {
    .home-hub .container.home-layout { grid-template-columns: 244px minmax(0, 1fr); grid-template-areas: "sidebar announcement" "activity activity"; }
    .home-hub .home-layout > .home-news-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--hub-line); }
    .home-hub .home-layout > .sidebar { padding-right: 16px; }
    .home-hub .home-carousel-controls .guide-carousel__dots button { flex-basis: 22px; width: 22px; }
}
@media (max-width: 860px) {
    .home-hub { padding-top: 24px; }
    .home-hub .container.home-layout { width: calc(100% - 36px); grid-template-columns: minmax(0, 1fr); grid-template-areas: "sidebar" "announcement" "activity"; gap: 26px; }
    .home-hub .home-layout > .sidebar { padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--hub-line); gap: 18px; }
    .home-hub .campaign-disclosure { padding-top: 16px; }
    .home-hub .player-pass__secondary > button, .home-hub .player-pass__secondary > a { justify-content: center; font-size: 12px; }
    .home-hub .campaign-slide { aspect-ratio: 4 / 3; }
    .home-hub .notice-search input { font-size: 16px; }
    .home-hub .big-reward-banner { flex-direction: row; align-items: center; }
    .home-hub .big-reward-banner-right { width: auto; }
    .home-hub .big-reward-btn { width: auto; text-align: left; }
}
@media (max-width: 600px) {
    .home-hub .home-layout > .home-news-column { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .home-hub .featured-activity .activity-item { grid-template-columns: 108px minmax(0, 1fr) 20px; gap: 12px; min-height: 98px; }
    .home-hub .activity-media { aspect-ratio: 16 / 10; }
    .home-hub .activity-copy strong { font-size: 13px; }
    .home-hub .big-reward-banner { align-items: flex-start; padding: 13px; gap: 10px; }
    .home-hub .big-reward-sub { font-size: 11px; }
    .home-hub .big-reward-btn { padding-left: 0; font-size: 11px; }
    .home-hub .big-reward-title { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .home-hub *, .home-hub *::before, .home-hub *::after { scroll-behavior: auto; transition: none; } }
