:root { font-family:"Avenir Next","PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif; color:#202d40; background:#f7f9fc; letter-spacing:0; color-scheme:light; }
* { box-sizing:border-box; }
body { margin:0; min-height:100dvh; }
a { color:#285f9d; text-underline-offset:4px; }
button { font:inherit; cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.5; }
button:focus-visible,a:focus-visible { outline:3px solid #285f9d; outline-offset:4px; }
[hidden] { display:none !important; }
svg { width:19px; height:19px; stroke-width:1.7; flex-shrink:0; }
.presentation-header { display:flex; align-items:center; gap:26px; min-height:92px; padding:18px 32px; border-bottom:1px solid #dbe2ec; background:#fff; }
.home-link { display:flex; align-items:center; gap:8px; font-size:12px; text-decoration:none; min-height:44px; white-space:nowrap; }
.presentation-title { border-left:1px solid #dbe2ec; padding-left:26px; min-width:0; }
.presentation-title > span { font-size:10px; color:#697789; }
h1 { font-size:19px; font-weight:600; margin:5px 0 0; overflow-wrap:anywhere; line-height:1.45; }
.presentation-actions { display:flex; gap:10px; margin-left:auto; align-items:center; flex-shrink:0; }
.icon-button { width:44px; height:44px; border:1px solid #dbe2ec; background:#fff; color:#285f9d; border-radius:5px; display:inline-grid; place-items:center; }
.fullscreen-button { display:flex; align-items:center; gap:8px; min-height:44px; padding:9px 15px; border:1px solid #285f9d; border-radius:5px; background:#285f9d; color:#fff; font-size:13px; }
.fullscreen-button:hover { background:#204c7e; }
main { max-width:1600px; padding:24px 32px 0; margin:auto; }
.presentation-stage { position:relative; background:#080908; aspect-ratio:16/9; width:100%; max-height:calc(100dvh - 172px); min-height:180px; }
#slide-frame { display:block; width:100%; height:100%; border:0; position:absolute; inset:0; }
.presentation-stage:fullscreen { width:100vw; height:100dvh; max-height:none; min-height:0; aspect-ratio:auto; background:#080908; }
.presentation-stage:-webkit-full-screen { width:100vw; height:100vh; max-height:none; min-height:0; aspect-ratio:auto; background:#080908; }
#presentation-status { font-size:13px; line-height:1.7; color:#695538; padding:12px 16px; background:#faf4e9; border-left:2px solid #a87939; }
.presentation-footer { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:18px 0; font-size:10px; color:#697789; }
.presentation-footer a { display:flex; align-items:center; gap:7px; text-decoration:none; font-size:12px; min-height:36px; }
.presentation-footer svg { width:15px; height:15px; }
.chapter-dock { margin-top:18px; background:rgba(255,255,255,.86); border:1px solid #dde5ef; border-radius:8px; box-shadow:0 8px 30px #354f7510; backdrop-filter:blur(16px); }
.chapter-toolbar { display:flex; align-items:center; gap:18px; padding:16px 20px; }
.chapter-current { min-width:0; }
.chapter-current > span { font-size:11px; color:#697789; display:block; margin-bottom:5px; }
.chapter-current strong { font-family:"Songti TC","Noto Serif TC","PMingLiU",serif; font-size:21px; font-weight:600; line-height:1.5; }
.slide-actions { display:flex; gap:8px; margin-left:auto; flex-shrink:0; }
.chapter-lab { display:inline-flex; gap:8px; align-items:center; padding:10px 14px; background:#edf3fb; color:#375f8f; border-radius:5px; font-size:13px; text-decoration:none; margin-left:auto; }
.chapter-lab + .slide-actions { margin-left:0; }
.chapter-lab[hidden] + .slide-actions { margin-left:auto; }
.chapter-navigation { display:flex; gap:8px; flex-wrap:wrap; padding:0 20px 18px; }
.chapter-navigation button { border:1px solid transparent; background:transparent; color:#63738a; padding:8px 11px; border-radius:5px; min-height:40px; font-size:12px; }
.chapter-navigation button:hover { background:#f0f4fa; }
.chapter-navigation button[aria-current="location"] { border-color:#ccd9e9; color:#365c89; background:#eaf0f9; font-weight:600; }
@media (max-width:760px) { .presentation-header { padding:12px 16px; gap:12px; flex-wrap:wrap; } .presentation-title { order:3; flex-basis:100%; border-left:0; padding:0; } h1 { font-size:18px; } main { padding:18px 12px 0; } .presentation-stage { min-height:0; max-height:none; } .presentation-footer { flex-wrap:wrap; gap:4px; } .chapter-toolbar { padding:14px; gap:10px; flex-wrap:wrap; } .chapter-current { flex:1 1 160px; } .chapter-current strong { font-size:19px; } .chapter-lab { order:3; width:100%; justify-content:center; } .chapter-navigation { padding:0 12px 12px; gap:3px; } .chapter-navigation button { font-size:11px; padding:8px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; } }