:root{color-scheme:light dark;--bg:#f8f0e2;--card:#fffaf1;--fg:#2d2319;--line:#b49b76;--accent:#7b2823}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font:17px/1.7 system-ui,sans-serif}a{color:inherit}button,input{font:inherit}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px max(16px,calc((100% - 880px)/2));border-bottom:1px solid var(--line)}.page-head>a:first-child{font-size:26px;font-weight:750;text-decoration:none}.page-head>a:last-child{font-size:14px}main{max-width:880px;margin:auto;padding:16px}.languages{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.languages a{padding:6px 10px;border:1px solid var(--line);border-radius:8px;text-decoration:none;font-size:14px}.languages [aria-current=page]{background:var(--accent);color:white}.hero{overflow:hidden;border-radius:20px;border:1px solid var(--line);background:var(--card)}.hero img{width:100%;height:280px;object-fit:cover;display:block}.hero>div{padding:18px 24px}.hero h1{font-size:34px;line-height:1.4;margin:0 0 12px}.hero p{margin:8px 0}.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.actions>*{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--card);text-decoration:none;color:var(--fg);text-align:center;line-height:1.5;cursor:pointer}.facts,main>section:not(.hero),main>details{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:20px;margin:16px 0}dl{margin:0;display:grid;grid-template-columns:6em 1fr;gap:14px}dt{font-weight:700}dd{margin:0;overflow-wrap:anywhere}h2{font-size:23px;margin:0 0 12px}main>details summary{cursor:pointer;font-weight:650}input{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px}footer{padding:24px 16px;max-width:880px;margin:auto;font-size:14px}.main-link a{display:block;text-align:center;font-weight:700}a:focus-visible,button:focus-visible{outline:3px solid #3974ab;outline-offset:3px}@media(max-width:360px){.hero h1{font-size:28px}dl{grid-template-columns:1fr;gap:5px}dd{margin-bottom:12px}}@media(prefers-color-scheme:dark){:root{--bg:#1b2228;--card:#242c32;--fg:#f4ebdc;--line:#a38c67;--accent:#a86b36}}

.bb250-comm-entry{display:flex;align-items:center;justify-content:center;gap:.5em;width:100%;padding:12px 16px;margin:12px 0;border:1px solid currentColor;border-radius:14px;font:inherit;white-space:normal;line-height:1.45;color:inherit;background:transparent;cursor:pointer}
.bb250-share{margin:12px 0;padding:12px;border:1px solid currentColor;border-radius:12px}.bb250-share summary{cursor:pointer;font-weight:650}.bb250-share-actions,.bb250-view-switch{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.bb250-share-actions>*{flex:1;min-width:70px;padding:10px;text-align:center;border:1px solid currentColor;border-radius:10px;font:inherit;color:inherit;background:transparent}.bb250-share input{width:100%;box-sizing:border-box;font:inherit;padding:10px;color:inherit;background:transparent;border:1px solid currentColor;border-radius:8px}.bb250-view-switch button{flex:1;border:1px solid currentColor;border-radius:10px;padding:12px;font:inherit;color:inherit;background:transparent}.bb250-view-switch button[aria-pressed=true]{background:#dfbd80;color:#302317;font-weight:700}.bb250-map-canvas{height:340px;height:min(50vh,400px);min-height:260px;border-radius:12px}.bb250-find-map{position:relative;z-index:0;margin-bottom:14px}.bb250-find-map p{font-size:.9em}.bb250-find-map .leaflet-popup-content button{background:white;color:#29231b;border:1px solid #736452;border-radius:8px;padding:8px;min-height:44px;margin-top:8px}.bb250-find-map .leaflet-control-attribution{max-width:100%;font-size:11px}.bb250-find-map .bb-mk{width:30px;height:30px;border-radius:50%;border:2px solid #fff;background:#742b25;color:white;font-weight:bold;text-align:center;line-height:26px}
.bb250-comm{position:fixed;inset:0;z-index:2147483000;background:#f6f0e5;color:#25221d;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:env(safe-area-inset-top,0px) 14px env(safe-area-inset-bottom,0px);font:16px/1.6 system-ui,sans-serif;text-align:left}
.bb250-comm *{box-sizing:border-box}.bb250-comm-pane{max-width:680px;margin:0 auto;padding:10px 0 24px}.bb250-comm-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #b8a48b}.bb250-comm-head h2{font-size:20px;margin:0;line-height:1.4}.bb250-comm button,.bb250-comm select{font:inherit;min-height:44px;border:1px solid #927a60;border-radius:10px;background:#fffaf2;color:#25221d;padding:9px 12px;cursor:pointer}.bb250-comm-close{flex-shrink:0}.bb250-comm-language{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.bb250-comm-language select{max-width:100%;flex:1}.bb250-comm-hint,.bb250-comm-note{font-size:14px;color:#584e43;margin:12px 0}.bb250-comm-card{background:#fff;border:2px solid #a97b43;border-radius:18px;padding:24px 18px;box-shadow:0 6px 20px #48311312}.bb250-comm-zh{font-family:system-ui,'Noto Sans TC',sans-serif;font-size:36px;font-weight:750;line-height:1.55;letter-spacing:.025em;margin:0 0 20px;word-break:normal;overflow-wrap:anywhere;color:#201c17}.bb250-comm-pinyin{font-size:20px;line-height:1.6;color:#79531c;margin:0 0 14px;overflow-wrap:anywhere}.bb250-comm-meaning{font-size:18px;border-top:1px solid #ddd1c1;padding-top:14px;margin:0;color:#3c3730}.bb250-comm .bb250-comm-show{display:block;width:100%;margin:14px 0;background:#49351e;color:white;border-color:#49351e;font-weight:650}.bb250-comm-phrases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.bb250-comm-phrase{white-space:normal;text-align:left;overflow-wrap:anywhere}.bb250-comm-phrase[aria-pressed=true]{background:#eee0c9;border:2px solid #79531c}.bb250-comm button:focus-visible,.bb250-comm select:focus-visible{outline:3px solid #315c94;outline-offset:3px}.bb250-comm-large .bb250-comm-card{margin-top:24px}.bb250-comm-large .bb250-comm-zh{font-size:52px}.bb250-comm-large .bb250-comm-pinyin{font-size:24px}.bb250-comm-large .bb250-comm-meaning{font-size:20px}
@media(max-width:359px){.bb250-comm-phrases{grid-template-columns:1fr}.bb250-comm-large .bb250-comm-zh{font-size:42px}.bb250-comm-head h2{font-size:18px}}
.bb250-comm[data-theme=dark]{background:#171e23;color:#f6f0e5}.bb250-comm[data-theme=dark] .bb250-comm-card{background:#242d34;border-color:#dab77a}.bb250-comm[data-theme=dark] .bb250-comm-zh{color:#fff7e9}.bb250-comm[data-theme=dark] .bb250-comm-pinyin{color:#edc889}.bb250-comm[data-theme=dark] .bb250-comm-meaning,.bb250-comm[data-theme=dark] .bb250-comm-note,.bb250-comm[data-theme=dark] .bb250-comm-hint{color:#e4dacb}.bb250-comm[data-theme=dark] button,.bb250-comm[data-theme=dark] select{background:#26323b;color:#fff7e9;border-color:#b79e79}.bb250-comm[data-theme=dark] .bb250-comm-phrase[aria-pressed=true]{background:#48412f;border-color:#edc889}.bb250-comm[data-theme=dark] .bb250-comm-show{background:#e2bf81;color:#201c17}

.bb251-comm-home{display:flex;flex-direction:column;gap:10px;margin-block:14px}
.bb251-comm-home h2{margin:0;font-size:1.22em;line-height:1.4}
.bb251-comm-home p{margin:0;line-height:1.55}
.bb251-comm-home button,.bb251-comm-speak{min-height:44px;padding:10px 16px;border-radius:12px;border:1px solid currentColor;background:transparent;color:inherit;font:inherit;font-weight:650;cursor:pointer}
.bb251-comm-home button{width:100%}
.bb251-comm-speak{width:100%;margin:14px 0 4px!important}
.bb251-comm-speech-status{min-height:1.5em;margin:4px 0;color:inherit}
.bb251-heritage{border:1px solid currentColor;border-radius:14px;padding:14px 18px;margin:14px 0;overflow-wrap:anywhere}
.bb251-heritage summary{cursor:pointer;font-weight:700;line-height:1.5}
.bb251-heritage article{border-top:1px solid currentColor;margin-top:12px;padding-top:12px}
.bb251-heritage article p{margin:5px 0}
.bb251-heritage article a{display:inline-block;margin:8px 0;text-decoration:underline}
.bb251-heritage small{display:block;margin-top:12px;opacity:.85}
.bb251-heritage-badge{display:inline-block;border:1px solid currentColor;border-radius:999px;padding:2px 9px;margin:6px 0;font-size:.78em;font-weight:700;line-height:1.6;background:rgba(255,255,255,.12)}
.bb251-comm-home button:focus-visible,.bb251-comm-speak:focus-visible,.bb251-heritage summary:focus-visible,.bb251-heritage a:focus-visible{outline:3px solid #3974ab;outline-offset:3px}
.heritage article{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}
.heritage article p{margin:4px 0}.heritage small{display:block;margin-top:16px;color:var(--fg);opacity:.8}

/* V267 approved A */
:root{--bg:#161c1b;--card:#161c1b;--fg:#f3ede2;--line:#ffffff26;--accent:#ddbd7f}body{background:var(--bg);color:var(--fg);font-size:15px;line-height:1.85}main{max-width:620px;padding:0 0 28px}main>section,main>details{margin:0 24px;padding:26px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.page-head{max-width:620px;margin:auto;background:var(--bg);padding:16px 22px;font-size:13px;border-bottom:1px solid var(--line);gap:12px}.page-head a{min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}.languages{padding:14px 22px;gap:6px 12px;font-size:12px}.languages a{background:transparent;border:0;border-radius:0;color:var(--accent);min-height:44px;padding:6px}.languages [aria-current]{border-bottom:1px solid var(--accent)}main>.hero{position:relative;margin:0;border:0;border-radius:0;min-height:260px;padding:0;overflow:hidden;background:#212825}.hero:has(img){min-height:385px}.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:58% center;border-radius:0}.hero>div{position:relative;z-index:1;padding:150px 26px 32px;background:linear-gradient(180deg,transparent,#0a0c0be6);min-height:385px;display:flex;flex-direction:column;justify-content:flex-end}.hero h1{font-family:"Songti TC","PMingLiU",serif;font-size:clamp(32px,9vw,45px);font-weight:600;line-height:1.3;letter-spacing:.05em;color:#fff;overflow-wrap:anywhere}.hero p{color:#eadaba;font-size:15px;line-height:1.85}.actions{margin:24px 22px;gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.actions>a,.actions>button{background:transparent;color:var(--accent);border:0;border-left:1px solid var(--line);border-radius:0;font-size:14px;padding:8px;min-height:56px;overflow-wrap:anywhere}.actions>:first-child{border-left:0}.facts{background:#212825!important;padding:24px!important;margin:0!important}h2{font-family:"Songti TC","PMingLiU",serif;letter-spacing:.035em;font-size:23px;font-weight:600}p,dd{color:#bfc0b3}a{color:var(--accent)}input{background:#212825;color:var(--fg)}footer{max-width:620px;color:#bfc0b3;font-size:12px;padding:24px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:350px){.actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hero:has(img),.hero>div{min-height:340px}.hero>div{padding-inline:22px}}@media(prefers-color-scheme:dark){:root{--bg:#161c1b;--card:#161c1b;--fg:#f3ede2;--line:#ffffff26;--accent:#ddbd7f}}

/* A black gradient revision */
main{background:#000}.hero>div{background:linear-gradient(180deg,rgba(0,0,0,.02) 25%,rgba(0,0,0,.24) 48%,rgba(0,0,0,.72) 76%,#000 100%)}
