:root { color-scheme: light; color: #281c2d; background: #f3eee4; font: 17px/1.7 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(100% - 32px, 720px); margin-inline: auto; }
.mast { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid #d9cdb9; color: #5d4c5e; font-size: .86rem; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: #281c2d; text-decoration: none; font-size: 1rem; font-weight: 700; }
.brand img { border-radius: 50%; }
.hero { padding: clamp(26px, 6vw, 54px) 0 25px; }
h1, h2 { font-family: "Songti TC", "Noto Serif CJK TC", serif; line-height: 1.2; color: #442b4e; }
h1 { font-size: clamp(2.03rem, 6.2vw, 3.85rem); margin: 0 0 .24em; }
h2 { font-size: clamp(1.35rem, 4vw, 2rem); margin: 0; }
p { margin: 12px 0; }
.lede { font-weight: 650; color: #442b4e; margin: 8px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; border: 1px solid #462d53; padding: 9px 17px; border-radius: 8px; background: #462d53; color: #fffaf1; text-decoration: none; font-weight: 700; text-align: center; }
.button.secondary { background: #fffaf1; color: #462d53; }
.hero .button { margin-top: 4px; }
.panel { background: #fffbf2; padding: clamp(16px, 4vw, 30px); margin-bottom: 16px; border: 1px solid #ded2bf; border-radius: 12px; scroll-margin-top: 12px; }
.lessons { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; margin-block: 18px; font-variant-numeric: tabular-nums; }
.lessons caption { text-align: left; padding-bottom: 6px; color: #625062; font-weight: 650; }
.lessons td, .lessons th { border-bottom: 1px solid #dbceba; padding: 4px 1px; }
.lessons thead td, .lessons tbody th { width: 29px; }
.lessons :is(thead, tbody th), .lessons small { color: #625062; font-size: .8rem; }
.lessons tbody td { font-size: 1.17rem; }
.lessons small { display: block; line-height: 1; padding: 0 0 4px; }
details { margin-top: 12px; padding-inline: 11px; border: 1px solid #d8c9b5; border-radius: 8px; background: #f8f0e4; }
summary { min-height: 46px; padding-block: 8px; cursor: pointer; font-weight: 700; color: #462d53; }
figure { margin: 16px 0; }
figcaption { color: #60505f; font-size: .87rem; }
.plate { display: grid; grid-template-columns: repeat(4,minmax(0, 1fr)); gap: 6px; margin: 8px 0; }
.plate div { display: flex; flex-direction: column-reverse; text-align: center; border: 1px solid #dacbb5; border-radius: 6px; overflow: hidden; }
.plate dt, .plate dd { margin: 0; line-height: 1.55; }
.plate dt { background: #f1e7d7; color: #59485b; }
.plate dd { font-size: 1.18rem; font-weight: 700; color: #442b4e; }
.result { display: flex; flex-wrap: wrap; gap: 6px; }
.result span { background: #eee2ef; color: #442b4e; border-radius: 5px; padding: 4px 7px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sources { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 4px 0 26px; font-size: .87rem; }
.sources a { color: #594060; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #8d4d28; outline-offset: 3px; }
@media (max-width: 390px) { .actions { display: grid; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
