/* Homepage-only chrome. Never import the editorial pages' global resets here. */
.home-support,.home-footer{width:100%;max-width:800px;margin-inline:auto;box-sizing:border-box}
.home-support{margin-top:22px;color:#37474f;font-family:inherit}
.home-support__caption{display:flex;justify-content:space-between;gap:12px;margin:0 6px 10px;color:#567088;font-size:13px;font-weight:700;line-height:1.5}
.home-support .home-panel{--panel-accent:#168878;--panel-soft:#edfaf6;--panel-rim:#c5e8de;margin:0 0 12px;border:2px solid #fff;border-radius:20px;background:#fff;box-shadow:0 4px 0 #cddfec,0 8px 18px #4886ad0c;overflow:hidden}
.home-support .home-panel--guide{--panel-accent:#7151bd;--panel-soft:#f5f1ff;--panel-rim:#dfd6f2}
.home-support .home-panel--about{--panel-accent:#2874bd;--panel-soft:#f0f7ff;--panel-rim:#d1e4f6}
.home-panel>.home-panel__summary{display:flex;align-items:center;gap:14px;min-height:84px;padding:16px 18px;list-style:none;cursor:pointer;user-select:none;background:linear-gradient(110deg,var(--panel-soft),#fff 82%);touch-action:manipulation}
.home-support summary::-webkit-details-marker{display:none}
.home-support summary::marker{content:""}
.home-panel__icon{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border:2px solid #fff;border-radius:15px;color:var(--panel-accent);background:var(--panel-soft);box-shadow:0 3px 0 var(--panel-rim),inset 0 0 0 1px var(--panel-rim)}
.home-panel__icon svg{display:block;width:29px;height:29px}
.home-panel__label{display:grid;gap:3px;flex:1;min-width:0;line-height:1.4}
.home-panel__label strong{font-size:17px;font-weight:900;color:#37474f}
.home-panel__label small{font-size:13px;font-weight:650;color:#60798b}
.home-panel__toggle{display:flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:36px;padding:5px 10px;border:1px solid var(--panel-rim);border-radius:12px;color:var(--panel-accent);background:#fff;font-size:13px;font-weight:800}
.home-panel__toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}
.home-panel>.home-panel__summary .when-open{display:none}
.home-panel[open]>.home-panel__summary .when-open{display:inline}
.home-panel[open]>.home-panel__summary .when-closed{display:none}
.home-panel[open]>.home-panel__summary .home-panel__toggle svg{transform:rotate(180deg)}
.home-panel[open]>.home-panel__summary{border-bottom:1px solid var(--panel-rim)}
.home-panel>.home-panel__body{padding:18px}
.home-panel:not([open])>.home-panel__body{display:none}
.home-panel__intro{margin:0 0 14px;color:#526b7c;font-size:14px;line-height:1.6}
.home-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.home-resource{display:flex;flex-direction:column;gap:7px;padding:15px;border:1px solid #dbe7ef;border-radius:15px;background:#f8fbfe;text-decoration:none;color:#37474f;transition:border-color .15s,background .15s}
.home-resource--featured{background:#f0faf5;border-color:#c4e6d6}
.home-resource__tag{align-self:flex-start;padding:2px 8px;border-radius:7px;background:#e6f0fb;color:#356691;font-size:13px;font-weight:800}
.home-resource--featured .home-resource__tag{background:#dff4e7;color:#247653}
.home-resource strong{font-size:14px;font-weight:850;line-height:1.5}
.home-resource>span:last-child{display:flex;justify-content:space-between;gap:8px;margin-top:auto;color:#627b8c;font-size:13px;line-height:1.6}
.home-resource b{color:#2876ba}
.home-panel__links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.home-panel__links a,.home-play-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #d7e5f1;border-radius:12px;color:#31699c;background:#f5f9fd;font-size:13px;font-weight:800;text-decoration:none;line-height:1.5}
.home-support .home-faq-list{display:grid;gap:8px}
.home-faq-list>details{border:1px solid #e0e6ee;border-radius:13px;overflow:hidden;background:#fafbfe}
.home-faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 14px;list-style:none;cursor:pointer;color:#46576e;font-size:14px;font-weight:800;line-height:1.5}
.home-faq-list summary::after{content:"+";display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:8px;background:#eee8f9;color:#7151bd;font-size:19px;line-height:1}
.home-faq-list details[open]>summary::after{content:"−"}
.home-faq-list details[open]>summary{color:#6747a2}
.home-faq-list p{margin:0;padding:0 14px 15px;color:#566b7b;font-size:14px;line-height:1.8}
.home-about picture,.home-about img{display:block;width:100%;height:auto;border-radius:14px}
.home-about .seo-hero-title{margin:18px 0 10px;font-size:20px;font-weight:900;line-height:1.5;text-shadow:none;color:#265b92;letter-spacing:0}
.home-about p{font-size:14px;line-height:1.8;color:#567085}
.home-about .home-play-link{gap:10px;color:#fff;background:#2979ff;border-color:#2979ff}
.home-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:16px;margin-bottom:8px;padding:0 6px;color:#59718a;font-size:13px;line-height:1.6}
.home-footer strong{color:#3b6894}
.home-footer a{display:inline-flex;align-items:center;min-height:44px;color:#366b9a;text-underline-offset:3px}
.home-support summary:focus-visible,.home-support a:focus-visible,.home-footer a:focus-visible{outline:3px solid #2979ff;outline-offset:-3px;border-radius:12px}
@media(hover:hover){.home-panel__summary:hover{filter:brightness(.985)}.home-resource:hover{border-color:#75b9a6;background:#eef8f6}.home-panel__links a:hover{background:#e8f3ff}}
@media(max-width:520px){.home-panel>.home-panel__summary{gap:10px;min-height:78px;padding:13px 12px}.home-panel__icon{width:38px;height:38px;flex-basis:38px;border-radius:12px}.home-panel__icon svg{width:24px;height:24px}.home-panel__label strong{font-size:15px}.home-panel__label small{font-size:13px}.home-panel__toggle{padding:5px 7px;gap:4px;font-size:13px}.home-panel>.home-panel__body{padding:13px}.home-resource-grid{grid-template-columns:1fr}.home-panel__links>a{flex:1 1 auto}.home-support__caption{font-size:13px}.home-footer{font-size:13px}.home-about .seo-hero-title{font-size:18px}}
@media(prefers-reduced-motion:reduce){.home-support *{transition:none!important}}
/* 開場畫面：主程式接手前先佔住第一個畫面，下方說明區塊不會被推來推去（避免畫面跳動）。 */
#root{min-height:100vh;min-height:100svh}
.app-boot{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%;max-width:800px;margin:0 auto;padding:48px 16px 0;box-sizing:border-box;text-align:center;font-family:inherit}
.app-boot__title{margin:0;font-size:2.4rem;font-weight:900;line-height:1.3;color:var(--color-primary-dark,#1565c0);text-shadow:3px 3px 0 #fff}
.app-boot__eyebrow{display:block;margin-bottom:4px;font-size:14px;font-weight:800;letter-spacing:.08em;color:#4f6f8f;text-shadow:none}
.app-boot__spinner{width:44px;height:44px;border:5px solid #d6e6f7;border-top-color:#2979ff;border-radius:50%;animation:app-boot-spin .9s linear infinite}
.app-boot__message{margin:0;font-size:15px;font-weight:700;color:#567088}
@keyframes app-boot-spin{to{transform:rotate(360deg)}}
@media(max-width:520px){.app-boot{padding-top:36px}.app-boot__title{font-size:2rem}}
@media(prefers-reduced-motion:reduce){.app-boot__spinner{animation-duration:2.4s}}
