/* Shared compact, foldaway instructions for all opened quest cards. */
html #modal .compactQuestDetail .detailPad{padding-top:24px}
html #modal .compactQuestDetail .detailTitleRow{align-items:start;gap:12px;padding-right:42px}
html #modal .compactQuestDetail .detailTitleRow>div{min-width:0}
html #modal .compactQuestDetail .detailTitleRow h2{font-size:clamp(25px,5.8vw,34px);line-height:1.1;margin-top:6px}
html #modal .compactQuestDetail .detailRemind{flex:none;margin-top:3px}
html #modal .compactQuestDetail .detailTiming{margin:12px 0 10px;padding:6px 10px;font-size:12px;line-height:1.45}
html #modal .compactQuestDetail .zzzTicketIntro{font:400 14px/1.5 'DM Sans',sans-serif;margin:0 0 14px;color:#505a51;overflow-wrap:anywhere}
html #modal .compactQuestDetail .detailPanels{display:flex;flex-direction:column;gap:0}
html .compactQuestDetail .compactQuestGuide,html #modal .compactQuestDetail .compactQuestGuide{
 display:block;box-sizing:border-box;width:100%;margin:0 0 14px;padding:0;border:1px solid #d9cbb4;border-radius:12px;background:#fffaf3;box-shadow:none;overflow:hidden;
}
html .compactQuestGuide>summary{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 13px;box-sizing:border-box;list-style:none;cursor:pointer;color:#263b39;font:700 15px/1.3 'DM Sans',sans-serif}
html .compactQuestGuide>summary::-webkit-details-marker{display:none}
html .compactQuestGuide>summary::marker{content:''}
html .compactQuestGuide>summary .detailSectionIcon{display:flex;flex:none;width:20px;height:20px;color:#997542;background:transparent}
html .compactQuestGuide>summary svg{width:20px;height:20px}
html .compactQuestGuide>summary small{font:400 12px/1.3 'DM Sans',sans-serif;color:#716b60}
html .compactQuestGuide .guideChevron{margin-left:auto;font:500 21px/1 system-ui;transition:transform .15s}
html .compactQuestGuide[open] .guideChevron{transform:rotate(180deg)}
html .compactQuestGuide .compactGuideBody{padding:0 14px 14px;border-top:1px solid #e4d9c7}
html .compactQuestGuide .detailGuideDescription{font-size:14px;line-height:1.55;color:#505a51;margin:14px 0}
html #modal .compactQuestDetail .compactQuestGuide .detailSteps{margin-top:14px}
html #modal .compactQuestDetail .compactQuestGuide .detailSteps li{font-size:13px;line-height:1.55;padding-bottom:12px}
html #modal .compactQuestDetail .zzzTicketRewards,html #modal .compactQuestDetail .detailDescription{border-top:0;padding-top:0;padding-bottom:16px}
html #modal .compactQuestDetail .rewardHeading{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:12px}
html #modal .compactQuestDetail .rewardHeading h3{margin:0;font-size:22px!important}
html #modal .compactQuestDetail .rewardProgress{margin-left:auto;white-space:nowrap;font-size:12px}
html #modal .compactQuestDetail .hideRewardToggle{margin-left:0;font-size:12px;min-height:30px}
html body aside.siteHeader #gameTabs a[data-game]{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;font:inherit;color:inherit;cursor:pointer}
@media(max-width:480px){
 html #modal .compactQuestDetail .detailPad{padding-top:22px}
 html #modal .compactQuestDetail .detailTitleRow{gap:8px;padding-right:32px}
 html #modal .compactQuestDetail .detailTitleRow h2{font-size:26px;letter-spacing:-.5px}
 html #modal .compactQuestDetail .detailRemind{width:36px;height:36px;min-width:36px;min-height:36px;padding:8px}
 html #modal .compactQuestDetail .hideRewardToggle{border-left:0;padding-left:0}
 html #modal .compactQuestDetail .rewardHeading{gap:6px 10px}
}
@media(prefers-reduced-motion:reduce){html .compactQuestGuide .guideChevron{transition:none}}
html #modal .gameDetailTicket .compactQuestGuide{border-color:color-mix(in srgb,var(--ticket-from) 22%,#d9cbb4)}
html #modal .gameDetailTicket .compactQuestGuide>summary .detailSectionIcon{color:var(--ticket-ink)}
/* Page navigation keeps the same controls, with native link behavior. */
html #nav a[data-view],html #nav .accountButton{text-decoration:none}
html #taskViewTabs a[data-view]{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;color:inherit;font:inherit;box-sizing:border-box}
html #taskViewTabs a[aria-current="page"]{background:var(--wide-chip,#e9f3ed);font-weight:700}
.mainPageFallback{grid-column:1/-1;padding:24px;color:var(--wide-ink,#164751)}
