/* Swiss Art Gallery · La revue des histoires · 6 December 2026.
   Archive only. No changes to artwork pixels, credits, scripts or story data. */
body.sag-histories-page main.ed-library-page{
  --sm-ink:#253d31;--sm-gold:#88622d;--sm-line:#d9cbb4;
  width:min(1280px,calc(100% - 64px));max-width:1280px;
  padding-top:12px;
}
body.sag-histories-page main#contenu.ed-library-page>.collection-hero{
  min-height:0!important;margin:8px 0 18px!important;padding:22px 0 18px!important;
}
body.sag-histories-page main.ed-library-page>.collection-hero>.collection-kicker{
  font-size:clamp(.64rem,.9vw,.75rem)!important;letter-spacing:.16em!important;
}
body.sag-histories-page main.ed-library-page>.collection-hero>h1{
  font-size:clamp(2.65rem,5.1vw,4.7rem)!important;margin:10px auto!important;
}
body.sag-histories-page main.ed-library-page>.collection-hero>p{
  font-size:clamp(.94rem,1.3vw,1.08rem)!important;line-height:1.55!important;margin:4px auto 0!important;
}
body.sag-histories-page main.ed-library-page>.collection-hero::after{
  content:"";display:block;width:74px;height:1px;margin:18px auto 0;background:linear-gradient(90deg,transparent,#ad894b,transparent);
}
body.sag-histories-page main.ed-library-page .ed-library-tools{
  padding:16px clamp(16px,3vw,32px);margin:0 0 28px;
  border:1px solid var(--sm-line);border-radius:6px;background:linear-gradient(135deg,#fffdf8,#f3ebdd);
}
body.sag-histories-page main.ed-library-page .ed-search-form{width:min(100%,58rem)}
body.sag-histories-page main.ed-library-page .ed-search-label{color:var(--sm-ink);font-size:.9rem}
body.sag-histories-page main.ed-library-page .ed-search-form input[type=search]{border-color:#b5a182;background:#fffefa}
body.sag-histories-page main.ed-library-page .ed-search-form button[type=submit]{background:#2b4738;border-color:#2b4738;color:#fffaf1}
body.sag-histories-page main.ed-library-page .ed-search-options{margin-top:0}
body.sag-histories-page main.ed-library-page .ed-library-featured{margin:0 0 42px}
body.sag-histories-page main.ed-library-page :is(.ed-week-heading,.collection-section-head){gap:12px;margin-bottom:17px}
body.sag-histories-page main.ed-library-page :is(.ed-week-heading,.collection-section-head) h2{
  color:var(--sm-ink)!important;font-size:clamp(1.85rem,3vw,2.6rem);font-weight:600;line-height:1.12;
}
body.sag-histories-page main.ed-library-page .ed-week-heading p{font-size:.88rem!important;line-height:1.5}
body.sag-histories-page main.ed-library-page .ed-week-heading>a.ed-link{
  display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px;
}
body.sag-histories-page main.ed-library-page :is(.ed-library-featured,.ed-library-section) .ed-library-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;grid-auto-rows:auto;align-items:stretch;margin-top:0;
}
body.sag-histories-page main.ed-library-page :is(.ed-library-featured,.ed-library-section) .ed-card.ed-library-card{
  color:#403b31!important;background:#fffdf8!important;border:1px solid var(--sm-line)!important;border-radius:5px;
  box-shadow:0 5px 20px #5f482008;min-width:0;transform:none;
}
body.sag-histories-page main.ed-library-page .ed-library-card .ed-library-media{background:#e8decc}
body.sag-histories-page main.ed-library-page .ed-library-media>a{
  aspect-ratio:4/3;padding:clamp(10px,1.2vw,17px);background:radial-gradient(ellipse at 50% 35%,#faf5e8,#e8deca);
}
body.sag-histories-page main.ed-library-page .ed-library-media img{
  object-fit:contain;object-position:center;filter:none;opacity:1;transform:none;
}
body.sag-histories-page main.ed-library-page .ed-library-media figcaption{
  color:#51483b;background:#f2eadc;padding:5px 12px;border-top:1px solid #dacdb8;font-size:.72rem!important;line-height:1.45;
}
body.sag-histories-page main.ed-library-page .ed-library-credit summary{min-height:36px}
body.sag-histories-page main.ed-library-page .ed-library-credit a{color:#634a23}
body.sag-histories-page main.ed-library-page .ed-library-card .ed-card-content{padding:20px 17px 16px}
body.sag-histories-page main.ed-library-page :is(.ed-library-featured,.ed-library-section) .ed-library-card .collection-kicker{
  color:#755326!important;font-size:.74rem!important;font-weight:650;letter-spacing:.015em;
}
body.sag-histories-page main.ed-library-page :is(.ed-library-featured,.ed-library-section) .ed-card.ed-library-card :is(h2,h3,h4){
  color:var(--sm-ink)!important;font-weight:600;font-size:clamp(1.42rem,2.1vw,1.86rem);line-height:1.12;margin-bottom:10px;
}
body.sag-histories-page main.ed-library-page .ed-card.ed-library-card .ed-card-content>p.ed-library-summary{font-size:.87rem!important;line-height:1.6}
body.sag-histories-page main.ed-library-page .ed-library-card .ed-date{font-size:.72rem!important}
body.sag-histories-page main.ed-library-page .ed-library-card-actions{gap:4px 12px}
body.sag-histories-page main.ed-library-page :is(.ed-library-featured,.ed-library-section) .ed-library-card-actions :is(a.ed-link,a.ed-audio-link){
  color:#695023!important;font-size:.79rem;line-height:1.4;text-underline-offset:4px;
}
body.sag-histories-page main.ed-library-page .ed-library-card-actions a:hover{text-decoration:underline}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child{
  grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,1fr);align-items:stretch;
  background:linear-gradient(135deg,#1b3228,#304a3b)!important;color:#fff8e9!important;border-color:#a48b5c!important;
  box-shadow:0 12px 35px #20372b1f;
}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-library-media{
  display:flex;flex-direction:column;min-width:0;background:#f0e5d2;
}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-library-media>a{
  flex:1;aspect-ratio:auto;min-height:260px;max-height:390px;padding:clamp(18px,3vw,38px);
}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-library-media img{
  width:100%;height:100%;max-height:320px;object-fit:contain;
}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-card-content{
  align-self:center;padding:clamp(24px,4vw,48px);min-width:0;
}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child:not(:has(.ed-library-media)) .ed-card-content{grid-column:1/-1}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .collection-kicker{
  color:#ead3a2!important;font-size:.83rem!important;margin-bottom:13px;
}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child h3{
  color:#fff3da!important;font-size:clamp(2.15rem,3.4vw,3.4rem);line-height:1.07;
}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-library-summary{
  display:block!important;-webkit-line-clamp:unset;overflow:visible;color:#f0ecdf!important;font-size:1rem!important;line-height:1.65;margin:5px 0 15px;
}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-date{color:#dbcba8!important}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-library-card-actions{
  gap:10px;margin-top:12px;
}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-library-card-actions a{
  padding:10px 15px;border:1px solid #c7ae75;border-radius:4px;color:#f8e8c6!important;font-size:.84rem;justify-content:center;text-align:center;
}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-library-card-actions a.ed-link{
  background:#ead3a2;color:#26382a!important;font-weight:650;
}
body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-card-content a:focus-visible{outline-color:#f2dca7!important}
body.sag-histories-page main.ed-library-page .ed-library-section{border-top:1px solid var(--sm-line);padding-top:25px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 body.sag-histories-page main.ed-library-page .ed-library-card{transition:box-shadow .22s,border-color .22s}
 body.sag-histories-page main.ed-library-page .ed-library-card:hover{border-color:#b29761!important;box-shadow:0 10px 26px #5f48201c}
 body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-library-card-actions a{transition:background-color .2s,box-shadow .2s}
 body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-library-card-actions a.ed-link:hover{background:#fff0cb;box-shadow:0 0 19px #f2dca73a}
}
@media(max-width:1050px){
 body.sag-histories-page main.ed-library-page :is(.ed-library-featured,.ed-library-section) .ed-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 body.sag-histories-page main.ed-library-page{width:calc(100% - 32px);padding-top:6px}
 body.sag-histories-page main#contenu.ed-library-page>.collection-hero{margin:0 0 12px!important;padding:14px 0 10px!important}
 body.sag-histories-page main.ed-library-page>.collection-hero>h1{font-size:clamp(2.2rem,8vw,3.4rem)!important}
 body.sag-histories-page main.ed-library-page .ed-library-tools{padding:12px;margin-bottom:20px}
 body.sag-histories-page main.ed-library-page :is(.ed-library-featured,.ed-library-section) .ed-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child{grid-template-columns:minmax(0,1fr)}
 body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-library-media>a{min-height:200px;max-height:310px;padding:18px}
 body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-library-media img{max-height:260px}
 body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-card-content{padding:22px}
 body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child h3{font-size:clamp(2rem,7vw,2.8rem)}
 body.sag-histories-page main.ed-library-page .ed-library-credit summary{min-height:44px}
}
@media(max-width:480px){
 body.sag-histories-page main.ed-library-page :is(.ed-library-featured,.ed-library-section) .ed-library-grid{grid-template-columns:minmax(0,1fr)}
 body.sag-histories-page main.ed-library-page .ed-library-card .ed-card-content{padding:17px}
 body.sag-histories-page main.ed-library-page .ed-library-featured .ed-library-grid>.ed-library-card:first-child .ed-card-content{padding:20px 17px}
 body.sag-histories-page main.ed-library-page .ed-search-row button{font-size:.82rem;padding-inline:.65rem}
}
@media(prefers-reduced-motion:reduce){body.sag-histories-page main.ed-library-page .ed-library-card,body.sag-histories-page main.ed-library-page .ed-library-card a{transition:none!important;animation:none!important}}
@media(forced-colors:active){body.sag-histories-page main.ed-library-page .ed-library-card{border:1px solid CanvasText!important}body.sag-histories-page main.ed-library-page .ed-library-card a{color:LinkText!important}}

/* V2: editorial finishing and reviewed source-only covers.
   Reading page styles do not change player or illustration behavior. */
body.sag-histories-page main#contenu.ed-library-page>.collection-hero>h1{
  color:#253d31!important;text-shadow:none!important;
  -webkit-text-fill-color:currentColor!important;background:none!important;
  filter:none!important;
}
body.collection-body :is(main.ed-library-page,main.ed-story) .ed-library-media>a.ed-magazine-source-cover{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;
  aspect-ratio:auto;min-height:220px;height:auto;padding:22px 16px;text-align:center;text-decoration:none;
  color:#604a28!important;background:radial-gradient(ellipse at 50% 30%,#fcf8ef,#e9dfcc);
  overflow:visible;
}
body.collection-body :is(main.ed-library-page,main.ed-story) .ed-magazine-source-cover svg{flex:none;color:#8a6b36}
body.collection-body :is(main.ed-library-page,main.ed-story) .ed-magazine-source-cover .ed-magazine-source-caption{
  font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(1.12rem,1.6vw,1.4rem);font-weight:600;line-height:1.2;overflow-wrap:anywhere;color:#34483b;
}
body.collection-body :is(main.ed-library-page,main.ed-story) .ed-magazine-source-cover strong{font-size:.85rem;text-decoration:underline;text-underline-offset:3px}
body.collection-body :is(main.ed-library-page,main.ed-story) .ed-magazine-source-cover small{font-size:.75rem;line-height:1.45;color:#645746}
body.collection-body :is(main.ed-library-page,main.ed-story) .ed-magazine-source-cover:focus-visible{outline:3px solid #775623;outline-offset:-5px}
body.collection-body main.ed-story{
  --sm-ink:#253d31;--sm-gold:#88622d;--sm-line:#d9cbb4;
  width:min(1180px,calc(100% - 64px));max-width:1180px;padding-top:18px;
}
body.collection-body main.ed-story .collection-breadcrumbs a{color:#66543a;text-underline-offset:4px}
body.collection-body main.ed-story .ed-reading-layout.ed-story-top{
  grid-template-columns:minmax(0,1fr) minmax(0,.65fr);gap:24px clamp(25px,4vw,58px);margin-top:20px;
}
body.collection-body main.ed-story .ed-story-head h1{
  color:var(--sm-ink)!important;text-shadow:none!important;
  font-size:clamp(2.5rem,4.3vw,4rem)!important;line-height:1.055!important;letter-spacing:-.018em;
  margin:12px 0 17px!important;overflow-wrap:break-word;text-wrap:balance;
}
body.collection-body main.ed-story .ed-story-head .collection-kicker{color:#805b2d!important;letter-spacing:.1em!important}
body.collection-body main.ed-story .ed-story-head .ed-deck{
  color:#544a3c!important;font-size:clamp(1.02rem,1.4vw,1.18rem)!important;line-height:1.65!important;
}
body.collection-body main.ed-story .ed-story-head .ed-date{color:#685b49!important}
body.collection-body main.ed-story .ed-story-head .ed-story-actions>button{
  border-radius:4px;min-height:44px;border:1px solid #b8a17b;color:#614820;background:#fffaf0;
  font-size:.9rem;line-height:1.35;
}
body.collection-body main.ed-story .ed-story-actions>.ed-play-toggle-external{
  background:#2b4738!important;color:#fff9e9!important;border-color:#2b4738!important;
}
body.collection-body main.ed-story .ed-prose{max-width:67ch;border-top:1px solid #d8c9af;padding-top:19px}
body.collection-body main.ed-story .ed-prose>p{
  font-size:clamp(1.03rem,1.38vw,1.17rem)!important;line-height:1.88!important;color:#39352e!important;margin:0 0 1.45em!important;
}
body.collection-body main.ed-story .ed-prose>p:first-child:first-letter{color:#89632f!important;font-size:3.9em!important;line-height:.86!important}
body.collection-body main.ed-story .ed-story-top .ed-illustrations{
  border:1px solid #b7a37d;border-radius:5px;overflow:hidden;background:#f9f3e7;box-shadow:0 10px 28px #35291a10;
}
body.collection-body main.ed-story .ed-illustrations-title{
  color:#304639!important;margin:13px 17px!important;font-size:1.35rem!important;line-height:1.2;
}
body.collection-body main.ed-story .ed-illustration-frame{
  background:radial-gradient(ellipse at 50% 38%,#faf6e9,#e2d5bb)!important;
  height:clamp(240px,30vw,360px);padding:20px;border:0;box-shadow:none;
}
body.collection-body main.ed-story .ed-illustration-frame img{object-fit:contain;object-position:center;filter:none;transform:none}
body.collection-body main.ed-story .ed-illustration-figure figcaption{background:#f6efe0!important;color:#493d2b!important;padding:12px 16px!important}
body.collection-body main.ed-story .ed-illustration-caption{color:#493d2b!important;font-size:.88rem!important;line-height:1.55}
body.collection-body main.ed-story .ed-illustration-rights,
body.collection-body main.ed-story .ed-illustration-rights :is(summary,small,p,a){color:#695432!important;font-size:.78rem!important;line-height:1.5;overflow-wrap:anywhere}
body.collection-body main.ed-story .ed-illustration-rights summary{min-height:36px}
body.collection-body main.ed-story .ed-illustration-controls{color:#50442e!important;background:#f6efe0}
body.collection-body main.ed-story .ed-illustration-controls button{color:#5f4826!important;border-color:#ae966e!important;background:#fff9ee!important}
body.collection-body main.ed-story .ed-illustration-follow{color:#594b36!important}
body.collection-body main.ed-story .ed-illustration-error{color:#56462d!important;line-height:1.5}
body.collection-body main.ed-story .ed-story-top .ed-player{
  background:linear-gradient(120deg,#203a2e,#304c3b)!important;border:1px solid #947d51!important;border-radius:5px;
  color:#fff9ec!important;padding:18px!important;box-shadow:0 7px 22px #263b3215;margin-top:12px;
}
body.collection-body main.ed-story .ed-player-title,body.collection-body main.ed-story .ed-player-title strong,
body.collection-body main.ed-story .ed-player-title span{color:#f6e4ba!important}
body.collection-body main.ed-story .ed-player-options,body.collection-body main.ed-story .ed-player-options :is(label,span),
body.collection-body main.ed-story .ed-player small,body.collection-body main.ed-story .ed-player [data-audio-error]{color:#f0eadc!important}
body.collection-body main.ed-story .ed-player-options button,
body.collection-body main.ed-story .ed-player [data-audio-retry]{
  color:#fff4dc!important;background:transparent!important;border:1px solid #b5a174!important;min-height:38px;
}
body.collection-body main.ed-story .ed-player-options button:disabled{color:#d0c7b5!important;opacity:.66}
body.collection-body main.ed-story .ed-player select{background:#f8f1df!important;color:#263b32!important;border-color:#b9a37d!important}
body.collection-body main.ed-story .ed-player audio{width:100%;color-scheme:light;height:42px}
body.collection-body main.ed-story .ed-player :is(button,a,select,audio):focus-visible{outline:3px solid #f0d9a0!important;outline-offset:3px}
body.collection-body main.ed-story .ed-artist-link{
  margin-top:12px;padding:17px 18px!important;border:1px solid #d4c3a3;border-radius:4px;background:#fffaf0;color:#574523!important;
}
body.collection-body main.ed-story .ed-artist-link strong{color:#304639!important;font-size:1.6rem}
body.collection-body main.ed-story .ed-sources{
  background:#fffdf7!important;border:1px solid #d9cbb4!important;border-radius:5px;padding:clamp(20px,3vw,36px)!important;
}
body.collection-body main.ed-story .ed-sources h2{color:#304639!important}
body.collection-body main.ed-story .ed-sources a{color:#624823!important;text-underline-offset:4px}
body.collection-body main.ed-story .ed-library-grid--related .ed-library-card{background:#fffdf8;border-color:#d9cbb4}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  body.collection-body main.ed-story .ed-story-actions button,
  body.collection-body :is(main.ed-library-page,main.ed-story) .ed-magazine-source-cover{transition:background-color .2s,box-shadow .2s}
  body.collection-body main.ed-story .ed-story-actions button:hover{box-shadow:0 5px 15px #61482019}
  body.collection-body :is(main.ed-library-page,main.ed-story) .ed-magazine-source-cover:hover{box-shadow:inset 0 0 35px #fffaf1}
}
@media(max-width:1000px) and (min-width:761px){
  body.collection-body main.ed-story .ed-reading-layout.ed-story-top{grid-template-columns:minmax(0,1fr) minmax(270px,.78fr);gap:20px 25px}
}
@media(max-width:760px){
  body.collection-body main.ed-story{width:calc(100% - 32px);padding-top:9px}
  body.collection-body main.ed-story .ed-reading-layout.ed-story-top{grid-template-columns:minmax(0,1fr);grid-template-areas:"header" "visuals" "prose";gap:20px;margin-top:12px}
  body.collection-body main.ed-story .ed-story-head h1{font-size:clamp(2.15rem,8vw,3rem)!important;margin:9px 0 12px!important}
  body.collection-body main.ed-story .ed-illustration-frame{height:clamp(220px,55vw,310px);padding:14px}
  body.collection-body main.ed-story .ed-story-top .ed-player{padding:14px!important}
  body.collection-body main.ed-story .ed-story-actions button{font-size:.85rem;min-height:44px}
}
@media print{
  body.collection-body main.ed-story{width:100%;max-width:none}
  body.collection-body main.ed-story .ed-reading-layout.ed-story-top{display:block}
  body.collection-body main.ed-story .ed-prose{max-width:none}
  body.collection-body main.ed-story .ed-player{display:none!important}
  body.collection-body main.ed-story .ed-illustration-frame{height:240px}
  body.collection-body main.ed-story .ed-sources{background:white!important}
}
@media(forced-colors:active){
 body.collection-body main.ed-story .ed-player{border:1px solid CanvasText!important}
 body.collection-body main.ed-story .ed-player :is(strong,span,label,button,small){color:CanvasText!important}
}
