/* 好心情社区 · 《傷口，讓光照進來》广告位. Palette from the book cover: ivory ground, kintsugi gold, dark brown type. */
.gm-bk{--bk-bg:#fbf7ee;--bk-bg2:#f4ecd9;--bk-ink:#2b2117;--bk-mute:#7a6a55;--bk-gold:#b8913a;--bk-line:#e8dcc2;--bk-btn:#2b2117;--bk-btnt:#f6e7b8;
  box-sizing:border-box;font-family:"PingFang SC","Microsoft YaHei",sans-serif;color:var(--bk-ink);background:linear-gradient(135deg,var(--bk-bg),var(--bk-bg2));
  border:1px solid var(--bk-line);border-radius:14px;position:relative;overflow:hidden;min-height:150px}
.gm-bk *{box-sizing:border-box}
.gm-bk:before{content:"";position:absolute;right:-30px;top:-20px;width:120px;height:220px;background:linear-gradient(115deg,transparent 46%,rgba(201,168,76,.55) 49%,rgba(240,216,120,.8) 50%,rgba(201,168,76,.55) 51%,transparent 54%);pointer-events:none;opacity:.7}
.gm-bk:not(.on){visibility:hidden}
.gm-bk p{margin:0}
.gm-bk-cvl{flex:none;display:block;line-height:0}
.gm-bk-cv{width:96px;height:auto;border-radius:4px;box-shadow:0 6px 16px rgba(43,33,23,.28)}
.gm-bk-head{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--bk-mute);flex-wrap:wrap}
.gm-bk-head b{color:var(--bk-gold);letter-spacing:.06em;font-weight:700}
.gm-bk-tools{margin-left:auto;display:flex;gap:6px}
.gm-bk-tools button{font:inherit;font-size:12px;padding:3px 10px;border-radius:12px;border:1px solid var(--bk-line);background:rgba(255,255,255,.7);color:var(--bk-ink);cursor:pointer}
.gm-bk-tools button:hover,.gm-bk-tools button:focus-visible{border-color:var(--bk-gold);outline:none}
.gm-bk-tools button[aria-pressed=true]{background:var(--bk-btn);color:var(--bk-btnt)}
.gm-bk-q{margin:10px 0 2px}
.gm-bk-zh{font-family:"Songti TC","Songti SC","SimSun",serif;font-size:19px;line-height:1.7;font-weight:600}
.gm-bk-en{font-family:Palatino,"Palatino Linotype","Book Antiqua",Georgia,serif;font-style:italic;font-size:16px;line-height:1.6;margin-top:6px!important}
.gm-bk-sz,.gm-bk-se{font-size:12.5px;color:var(--bk-mute);margin-top:2px!important}
.gm-bk-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:10px}
.gm-bk-title b{font-size:14px;margin-right:6px}.gm-bk-title span{font-family:Palatino,Georgia,serif;font-style:italic;font-size:13px;color:var(--bk-mute)}
.gm-bk-buy{display:inline-block;padding:7px 16px;border-radius:18px;background:var(--bk-btn);color:var(--bk-btnt)!important;font-weight:700;font-size:13.5px;text-decoration:none!important;letter-spacing:.04em;white-space:nowrap}
.gm-bk-buy:hover,.gm-bk-buy:focus-visible{background:var(--bk-gold);color:#fff!important;outline:none}
.gm-bk-sl{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12.5px;color:#6b5740}
.gm-bk-sl li:before{content:"✦ ";color:var(--bk-gold)}
.gm-bk-tag{display:block;font-size:11px;color:#9a8a72;margin-top:8px;letter-spacing:.04em}
.gm-bk-tag sup{font-size:8px}
.gm-bk-one{font-size:13.5px;line-height:1.7;margin:8px 0!important;color:#4a3d30}

/* hero: home + channel tops; topic: under the topic body */
.gm-bk-hero,.gm-bk-topic{display:block;padding:16px 18px}
.gm-bk-hero.on,.gm-bk-topic.on{display:flex;gap:18px;align-items:flex-start}
.gm-bk-hero .gm-bk-body,.gm-bk-topic .gm-bk-body{flex:1;min-width:0;position:relative}
.gm-bk-hero{grid-column:1/-1;margin:2px 0 4px}
.gm-bk-topic{margin:14px 0}
.gm-bk-topic .gm-bk-cv{width:78px}
/* side: right column product card */
.gm-bk-side{padding:16px;text-align:center}
.gm-bk-side .gm-bk-tag{margin:0 0 10px}
.gm-bk-side .gm-bk-cv{width:150px;margin:0 auto 10px}
.gm-bk-side .gm-bk-title b,.gm-bk-side .gm-bk-title span{display:block;margin:0}
.gm-bk-side .gm-bk-sl{display:block;text-align:left;margin:10px 0 12px}.gm-bk-side .gm-bk-sl li{margin:3px 0}
.gm-bk-side .gm-bk-head{border-top:1px dashed var(--bk-line);padding-top:10px}
.gm-bk-side .gm-bk-q{text-align:left}.gm-bk-side .gm-bk-zh{font-size:16px}.gm-bk-side .gm-bk-en{font-size:14px}
.gm-bk-side .gm-bk-buy{margin-top:12px;width:100%}
/* feed: card between topics */
.gm-bk-feed{padding:14px 16px;margin:0 0 10px}
.gm-bk-feed.on{display:flex;gap:14px;align-items:center}
.gm-bk-feed .gm-bk-cv{width:74px}.gm-bk-feed .gm-bk-body{flex:1;min-width:0}.gm-bk-feed .gm-bk-tag{margin:0 0 4px}

@media(max-width:560px){
  .gm-bk-hero.on,.gm-bk-topic.on{gap:12px}.gm-bk-hero,.gm-bk-topic{padding:14px}
  .gm-bk-hero .gm-bk-cv,.gm-bk-topic .gm-bk-cv{width:64px}
  .gm-bk-zh{font-size:16.5px}.gm-bk-en{font-size:14.5px}
  .gm-bk-feed .gm-bk-cv{width:60px}.gm-bk-sl{font-size:12px}
  .gm-bk-tools{margin-left:0;width:100%}
}
@media(prefers-color-scheme:dark){
  .gm-bk{--bk-bg:#1d1812;--bk-bg2:#120f0b;--bk-ink:#f3ead6;--bk-mute:#c2b292;--bk-gold:#e2c06a;--bk-line:#3d3424;--bk-btn:#e2c06a;--bk-btnt:#1d1812}
  .gm-bk-tools button{background:rgba(255,255,255,.06)}.gm-bk-sl{color:#d8c7a0}.gm-bk-one{color:#e6d9bd}.gm-bk-tag{color:#a8977a}
}
