/* 專欄／閱讀好文／繪本專區：樣式沿用官網與行事曆的配色；全部掛在 .sh 底下，放進 books.html 首頁也不會撞到原本的樣式 */
.sh{--warm:#f9f5f0;--cream:#fdf9f3;--brown:#5c4033;--brown-light:#8b6f5e;--gold:#c4944a;--gold-light:#e8c88a;--coral:#e07c5a;--dark:#2c2420;--text:#2c2420;--text-light:#574a42;--hair:rgba(92,64,51,.1);
--serif:"Noto Serif TC","Songti TC","PMingLiU",serif;--sans:"Noto Sans TC","PingFang TC","Heiti TC","Microsoft JhengHei",sans-serif;
color:var(--text);font-family:var(--sans);line-height:1.8;-webkit-font-smoothing:antialiased}
.sh *{box-sizing:border-box}
.sh a{color:inherit;text-decoration:none}
.sh img{display:block;max-width:100%}
body.sh-page{margin:0;background:#f9f5f0;overflow-x:hidden}
.sh-top{position:sticky;top:0;z-index:20;background:rgba(249,245,240,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--hair)}
.sh-top .in{max-width:1120px;margin:0 auto;height:68px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.sh-brand{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-weight:700;font-size:19px;color:var(--brown);letter-spacing:1px;white-space:nowrap}
.sh-brand img{width:34px;height:34px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(92,64,51,.12)}
.sh-nav{display:flex;align-items:center;gap:24px;font-size:14.5px}
.sh-nav a:hover,.sh-nav a.on{color:var(--coral)}
.sh-nav a.on{font-weight:600}
.sh-lock{border:1px solid rgba(92,64,51,.25);background:transparent;border-radius:100px;width:34px;height:34px;cursor:pointer;color:var(--brown);font-size:15px;display:flex;align-items:center;justify-content:center}
.sh-lock.on{background:var(--brown);color:#fff;border-color:var(--brown)}
.sh-wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.sh-crumbs{display:flex;gap:8px;font-size:13px;color:var(--text-light);padding-top:40px;flex-wrap:wrap}
.sh-crumbs .sep{color:var(--gold)}
.sh-crumbs b{color:var(--brown);font-weight:600}
.sh-kick{font-size:12.5px;letter-spacing:3px;color:var(--coral);font-weight:600;text-transform:uppercase;margin:0}
.sh-h1{font-family:var(--serif);font-size:38px;font-weight:700;color:var(--dark);letter-spacing:1px;line-height:1.35;margin:10px 0 0}
.sh-h2{font-family:var(--serif);font-size:30px;font-weight:700;color:var(--dark);letter-spacing:1px;line-height:1.3;margin:8px 0 0}
.sh-sec{padding:56px 0 8px}
.sh-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px}
.sh-hd .acts{display:flex;gap:10px;flex-wrap:wrap}
.sh-more,.sh-btn{font-size:14px;color:var(--brown);border:1px solid rgba(92,64,51,.35);border-radius:100px;padding:8px 18px;white-space:nowrap;transition:all .2s;background:transparent;cursor:pointer;font-family:inherit;display:inline-block}
.sh-more:hover,.sh-btn:hover{background:var(--brown);color:#fff}
.sh-btn.pri{background:var(--coral);border-color:var(--coral);color:#fff}
.sh-btn.pri:hover{background:#c9663f;border-color:#c9663f}
.sh-btn.danger{color:#b3402a;border-color:rgba(179,64,42,.4)}
.sh-btn.danger:hover{background:#b3402a;color:#fff}
.sh-pills{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0 30px}
.sh-pill{font-size:14px;border:1px solid rgba(92,64,51,.22);border-radius:100px;padding:7px 16px;color:var(--text);background:transparent;cursor:pointer;font-family:inherit}
.sh-pill.on{background:var(--brown);border-color:var(--brown);color:#fff}
.sh-pill small{opacity:.75;margin-left:4px}
.sh-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.sh-grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.sh-grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.sh-empty{background:#fff;border-radius:18px;padding:40px 24px;text-align:center;color:var(--text-light);font-size:15px;box-shadow:0 4px 16px rgba(92,64,51,.07)}
.sh-draft{display:inline-block;font-size:11.5px;color:#fff;background:#9a8a7c;border-radius:100px;padding:1px 9px;margin-left:6px;vertical-align:middle;font-weight:500;letter-spacing:0}
/* 專欄卡 */
.sh-card{background:#fff;border-radius:18px;padding:26px 24px 20px;box-shadow:0 4px 16px rgba(92,64,51,.07);display:flex;flex-direction:column;transition:transform .3s ease,box-shadow .3s ease}
.sh-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(92,64,51,.14)}
.sh-card .lab{font-size:12.5px;color:var(--gold);font-weight:600;letter-spacing:.5px}
.sh-card .row{display:flex;gap:16px;align-items:flex-start}
.sh-card .row .tx{flex:1;min-width:0}
.sh-card .mini{width:46px;flex:none;border-radius:3px;box-shadow:0 4px 10px rgba(92,64,51,.2);transition:transform .3s}
.sh-card:hover .mini{transform:rotate(-3deg) scale(1.04)}
.sh-card h3{font-family:var(--serif);font-size:19px;font-weight:700;color:var(--dark);line-height:1.55;margin:10px 0 0}
.sh-card p.ex{font-size:14px;color:var(--text-light);line-height:1.85;margin:12px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sh-card .ft{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:18px;font-size:13px;color:var(--text-light)}
.sh-card .who{display:flex;align-items:center;gap:8px;min-width:0}
.sh-ava{width:30px;height:30px;border-radius:50%;background:linear-gradient(140deg,#f3e6d3,#e8d3b8);flex:none;display:grid;place-items:center;font-family:var(--serif);color:var(--brown);font-size:13px;font-weight:700;overflow:hidden}
.sh-ava img{width:100%;height:100%;object-fit:cover}
.sh-go{color:var(--coral);font-weight:600;white-space:nowrap}
/* 閱讀好文卡 */
.sh-ecard{background:#fff;border-radius:18px;box-shadow:0 4px 16px rgba(92,64,51,.07);display:flex;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease}
.sh-ecard:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(92,64,51,.14)}
.sh-ecard .cv{flex:0 0 150px;background:linear-gradient(160deg,#f6ecdf,#efe0cc);display:flex;align-items:center;justify-content:center;padding:22px 18px}
.sh-ecard .cv img{width:100%;mix-blend-mode:multiply;filter:drop-shadow(0 8px 14px rgba(92,64,51,.22));transition:transform .4s}
.sh-ecard:hover .cv img{transform:scale(1.05) rotate(-2deg)}
.sh-ecard .bd{flex:1;min-width:0;padding:24px 24px 20px;display:flex;flex-direction:column}
.sh-ecard .lab{font-size:12.5px;color:var(--gold);font-weight:600}
.sh-ecard h3{font-family:var(--serif);font-size:19px;font-weight:700;color:var(--dark);line-height:1.55;margin:8px 0 0}
.sh-ecard .meta{font-size:13px;color:var(--brown-light);margin-top:6px}
.sh-ecard p.ex{font-family:var(--serif);font-size:14.5px;color:var(--text);line-height:1.9;margin:12px 0 0;padding-left:12px;border-left:2px solid var(--gold-light);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sh-ecard .ft{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:16px;font-size:12.5px;color:var(--text-light)}
/* 繪本卡 */
.sh-pcard{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 4px 16px rgba(92,64,51,.07);display:flex;flex-direction:column;transition:transform .3s ease,box-shadow .3s ease}
.sh-pcard:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(92,64,51,.14)}
.sh-pcard .cv{aspect-ratio:1/1;background:linear-gradient(160deg,#f6ecdf,#efe0cc);display:flex;align-items:center;justify-content:center;padding:26px}
.sh-pcard .cv img{max-height:100%;width:auto;mix-blend-mode:multiply;filter:drop-shadow(0 10px 16px rgba(92,64,51,.22));transition:transform .4s}
.sh-pcard:hover .cv img{transform:scale(1.05) rotate(-2deg)}
.sh-pcard .bd{padding:18px 20px;display:flex;flex-direction:column;flex:1}
.sh-pcard .lab{font-size:12px;color:var(--gold);font-weight:600;line-height:1.6}
.sh-pcard h3{font-family:var(--serif);font-size:18px;font-weight:700;color:var(--dark);line-height:1.5;margin:6px 0 0}
.sh-pcard .m{font-size:12.5px;color:var(--text-light);margin-top:4px;line-height:1.7}
.sh-tags{display:flex;gap:6px;margin-top:auto;padding-top:14px;flex-wrap:wrap}
.sh-tag{font-size:11.5px;color:var(--brown);background:var(--cream);border:1px solid var(--hair);border-radius:100px;padding:3px 10px}
/* 文章頁 */
.sh-art{max-width:680px;margin:0 auto;padding:0 24px}
.sh-art .sh-crumbs{padding-top:48px}
.sh-art .lab{display:inline-block;margin-top:30px;font-size:13px;color:var(--gold);font-weight:600;letter-spacing:1px}
.sh-art h1{font-family:var(--serif);font-size:34px;font-weight:700;color:var(--dark);line-height:1.5;letter-spacing:.5px;margin:12px 0 0}
.sh-by{display:flex;align-items:center;gap:12px;margin-top:24px;padding-bottom:26px;border-bottom:1px solid var(--hair);font-size:14px;color:var(--text-light)}
.sh-by .sh-ava{width:44px;height:44px;font-size:16px}
.sh-by b{color:var(--brown);font-weight:600}
.sh-body{padding-top:30px;font-size:17px;line-height:2;color:var(--text)}
.sh-body p{margin:0 0 1.5em}
.sh-body h2{font-family:var(--serif);font-size:23px;color:var(--dark);margin:2em 0 .9em;line-height:1.5}
.sh-body blockquote{margin:1.8em 0;padding:4px 0 4px 22px;border-left:3px solid var(--coral);font-family:var(--serif);font-size:18px;color:var(--brown);line-height:1.9}
.sh-fig{margin:2em 0}
.sh-fig img{display:block;max-width:100%;max-height:520px;width:auto;height:auto;margin:0 auto;border-radius:14px}
.sh-fig figcaption{margin-top:.8em;font-size:.86em;line-height:1.7;color:var(--brown-light);text-align:center}
.sh-body.book{font-family:var(--sans);font-size:17.5px;line-height:2.05}
.sh-lic{margin-top:14px;background:var(--cream);border:1px solid var(--hair);border-radius:14px;padding:16px 20px;font-size:13.5px;color:var(--text-light);line-height:1.9}
.sh-lic b{color:var(--brown);margin-right:8px}
.sh-blk{margin-top:46px}
.sh-blk .t{font-size:12.5px;letter-spacing:3px;color:var(--coral);font-weight:600;margin:0 0 14px}
.sh-author{display:flex;gap:18px;background:#fff;border-radius:18px;padding:22px;box-shadow:0 4px 16px rgba(92,64,51,.07)}
.sh-author .sh-ava{width:64px;height:64px;font-size:22px}
.sh-author b{font-family:var(--serif);font-size:18px;color:var(--dark)}
.sh-author p{font-size:14px;color:var(--text-light);margin:6px 0 0;line-height:1.85;white-space:pre-line}
.sh-author a{display:inline-block;margin-top:8px;font-size:13.5px;color:var(--coral);font-weight:600}
.sh-bookcard{display:flex;gap:20px;align-items:center;background:linear-gradient(160deg,#f6ecdf,#efe0cc);border-radius:18px;padding:22px 24px;transition:transform .3s,box-shadow .3s}
.sh-bookcard:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(92,64,51,.14)}
.sh-bookcard img{width:84px;flex:none;mix-blend-mode:multiply;filter:drop-shadow(0 8px 14px rgba(92,64,51,.25))}
.sh-bookcard b{font-family:var(--serif);font-size:18px;color:var(--dark);line-height:1.5;display:block}
.sh-bookcard .m{font-size:13.5px;color:var(--brown-light);margin-top:4px}
.sh-bookcard .sh-go{display:inline-block;margin-top:10px;font-size:14px}
.sh-related{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.sh-related .sh-card{padding:20px}
.sh-related .sh-card h3{font-size:16.5px;margin-top:6px}
.sh-ehead{background:linear-gradient(160deg,#f6ecdf,#efe0cc);margin-top:30px;border-radius:22px;padding:30px;display:flex;gap:28px;align-items:center}
.sh-ehead img{width:130px;flex:none;mix-blend-mode:multiply;filter:drop-shadow(0 12px 20px rgba(92,64,51,.28))}
.sh-ehead.photo img{width:210px;mix-blend-mode:normal;border-radius:12px}
.sh-ehead .lab{margin-top:0}
.sh-ehead h1{font-size:28px;margin-top:8px}
.sh-ehead .m{font-size:14px;color:var(--brown-light);margin-top:10px;line-height:1.8}
.sh-ehead .m b{color:var(--brown)}
.sh-orig{margin-top:30px;font-size:13.5px;color:var(--brown-light);display:flex;align-items:center;gap:10px}
.sh-orig::before{content:"";width:26px;height:2px;background:var(--gold)}
.sh-admin{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.sh-back{display:inline-block;margin:44px 0 0;font-size:14px;color:var(--brown);border:1px solid rgba(92,64,51,.35);border-radius:100px;padding:9px 20px}
.sh-back:hover{background:var(--brown);color:#fff}
/* 繪本內頁 */
.sh-pwrap{max-width:860px;margin:0 auto;padding:0 24px}
.sh-pwrap .sh-crumbs{padding-top:40px}
.sh-phead{background:linear-gradient(160deg,#f6ecdf,#efe0cc);border-radius:24px;padding:36px;display:flex;gap:36px;align-items:center;margin-top:28px}
.sh-phead .cv{flex:0 0 260px}
.sh-phead .cv img{width:100%;mix-blend-mode:multiply;filter:drop-shadow(0 16px 26px rgba(92,64,51,.28))}
.sh-phead .lab{font-size:13px;color:var(--gold);font-weight:600;letter-spacing:1px}
.sh-phead h1{font-family:var(--serif);font-size:36px;font-weight:700;color:var(--dark);line-height:1.4;margin:8px 0 0}
.sh-phead .m{font-size:14.5px;color:var(--brown-light);margin-top:12px;line-height:1.9}
.sh-phead .sh-tags{padding-top:16px}
.sh-phead .sh-tag{background:rgba(255,255,255,.7)}
.sh-psec{margin-top:52px}
.sh-psec .t{font-size:12.5px;letter-spacing:3px;color:var(--coral);font-weight:600;margin:0}
.sh-psec h2{font-family:var(--serif);font-size:24px;color:var(--dark);margin:6px 0 18px}
.sh-psec .sh-body{padding-top:0}
.sh-gal{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.sh-gal a{display:block;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#efe0cc}
.sh-gal a:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}
.sh-gal img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.sh-gal a:hover img{transform:scale(1.04)}
.sh-gal.n1{grid-template-columns:1fr}.sh-gal.n1 a:first-child{grid-column:auto;grid-row:auto;aspect-ratio:4/3}
.sh-gcap{font-size:13px;color:var(--text-light);margin-top:12px}
.sh-media{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.sh-media .col{display:flex;flex-direction:column;gap:18px}
.sh-pod{display:flex;gap:16px;align-items:center;background:#fff;border-radius:18px;padding:18px;box-shadow:0 4px 16px rgba(92,64,51,.07);transition:transform .3s,box-shadow .3s}
.sh-pod:hover,.sh-vid:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(92,64,51,.14)}
.sh-pod img{width:84px;height:84px;border-radius:12px;object-fit:cover;flex:none}
.sh-pod .k,.sh-vid .k{font-size:12px;color:var(--gold);font-weight:600}
.sh-pod b,.sh-vid b{display:block;font-family:var(--serif);font-size:16.5px;color:var(--dark);line-height:1.5;margin-top:4px}
.sh-pod .sh-go,.sh-vid .sh-go{display:inline-block;font-size:13.5px;margin-top:6px}
.sh-vid{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 4px 16px rgba(92,64,51,.07);transition:transform .3s,box-shadow .3s}
.sh-vid .sc{aspect-ratio:16/9;background:linear-gradient(140deg,#4a3524,#2c1810) center/cover;display:flex;align-items:center;justify-content:center;position:relative}
.sh-vid .sc span{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:var(--coral);font-size:20px;padding-left:4px;transition:transform .3s}
.sh-vid:hover .sc span{transform:scale(1.1)}
.sh-vid .sc em{position:absolute;left:14px;bottom:10px;font-style:normal;font-size:12px;color:#fce9c9;background:rgba(0,0,0,.35);padding:1px 8px;border-radius:6px}
.sh-vid .tx{padding:14px 18px 16px}
.sh-foot{margin-top:80px;border-top:1px solid var(--hair);padding:30px 24px 40px;text-align:center;font-size:13px;color:var(--text-light)}
.sh-loading{padding:80px 24px;text-align:center;color:var(--text-light)}
/* 進場動態 */
.sh .rv{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.sh .rv.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.sh .rv{opacity:1;transform:none;transition:none}}
/* 編輯視窗 */
.sh-modal{position:fixed;inset:0;z-index:9999;background:rgba(44,36,32,.45);display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:30px 16px}
.sh-form{background:#fff;border-radius:20px;width:100%;max-width:760px;padding:28px 28px 22px;box-shadow:0 30px 70px rgba(44,36,32,.3)}
.sh-form h2{font-family:var(--serif);font-size:24px;color:var(--dark);margin:0 0 18px}
.sh-form .grp{margin:22px 0 6px;padding-top:16px;border-top:1px solid var(--hair);font-size:12.5px;letter-spacing:2px;color:var(--coral);font-weight:600}
.sh-form label{display:block;margin-top:14px;font-size:13.5px;color:var(--brown);font-weight:600}
.sh-form label small{font-weight:400;color:var(--text-light);margin-left:6px}
.sh-form input[type=text],.sh-form input[type=url],.sh-form input[type=date],.sh-form input[type=password],.sh-form textarea{width:100%;margin-top:6px;padding:10px 12px;border:1px solid rgba(92,64,51,.25);border-radius:10px;font-size:15px;font-family:inherit;color:var(--text);background:#fff}
.sh-form textarea{min-height:120px;line-height:1.8;resize:vertical}
.sh-form textarea.big{min-height:340px}
.sh-form input:focus,.sh-form textarea:focus{outline:none;border-color:var(--coral);box-shadow:0 0 0 3px rgba(224,124,90,.15)}
.sh-form .two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sh-form .hint{font-size:12.5px;color:var(--text-light);margin-top:6px;line-height:1.7}
.sh-form .chk{display:flex;align-items:center;gap:8px;margin-top:18px;font-weight:600}
.sh-form .imgs{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.sh-form .imgs div{position:relative;width:96px;height:96px;border-radius:10px;overflow:hidden;background:#f3e9db}
.sh-form .imgs img{width:100%;height:100%;object-fit:cover}
.sh-form .imgs button{position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;border:none;background:rgba(0,0,0,.6);color:#fff;cursor:pointer;font-size:14px;line-height:1}
.sh-form .upl{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:13.5px;color:var(--brown);border:1px dashed rgba(92,64,51,.4);border-radius:10px;padding:8px 14px;cursor:pointer;background:var(--cream)}
.sh-form .upl input{display:none}
.sh-form .bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:26px;position:sticky;bottom:-22px;background:#fff;padding:14px 0 4px}
.sh-form .msg{font-size:13.5px;color:var(--coral);min-height:1em}
.sh-form .msg.ok{color:#2f7d4f}
@media(max-width:900px){.sh-grid3{grid-template-columns:1fr 1fr}.sh-grid2{grid-template-columns:1fr}.sh-grid4{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){
 .sh-top .in{height:60px;padding:0 16px}
 .sh-brand{font-size:17px}.sh-brand img{width:30px;height:30px}
 .sh-nav{gap:13px;font-size:13.5px}
 .sh-nav .hide-m{display:none}
 .sh-wrap,.sh-art,.sh-pwrap{padding:0 16px}
 .sh-grid3{grid-template-columns:1fr}
 .sh-grid4{grid-template-columns:1fr 1fr;gap:14px}
 .sh-sec{padding-top:44px}
 .sh-hd{flex-direction:column;align-items:flex-start;gap:12px}
 .sh-h1{font-size:30px}.sh-h2{font-size:26px}
 .sh-ecard .cv{flex-basis:108px;padding:18px 12px}
 .sh-ecard .bd{padding:18px 16px 16px}
 .sh-ecard h3,.sh-card h3{font-size:17.5px}
 .sh-pcard .cv{padding:16px}.sh-pcard .bd{padding:14px}.sh-pcard h3{font-size:16px}
 .sh-art h1{font-size:27px}
 .sh-body{font-size:16.5px}
 .sh-ehead{flex-direction:column;align-items:flex-start;padding:24px 20px;gap:18px}
 .sh-ehead img{width:104px}
 .sh-ehead h1{font-size:24px}
 .sh-related{grid-template-columns:1fr}
 .sh-author{padding:18px}
 .sh-phead{flex-direction:column;align-items:flex-start;padding:24px 20px;gap:20px}
 .sh-phead .cv{flex-basis:auto;width:200px}
 .sh-phead h1{font-size:28px}
 .sh-gal{grid-template-columns:1fr 1fr}
 .sh-gal a:first-child{grid-column:span 2;grid-row:auto;aspect-ratio:4/3}
 .sh-media{grid-template-columns:1fr}
 .sh-form{padding:22px 18px 18px}
 .sh-form .two{grid-template-columns:1fr}
}
