/* Le Petit Dico: thirty first French words (dico-fr.html). A mid-century French school dictionary:
   bleu-de-France cloth with a white-and-red label and a street-lamp emblem, métro-line endpapers,
   cream pages, the written syllables set as letterpress type sorts, on a Paris apartment wall in
   morning light. Book units: a page is 540 × 740. */
:root {
  --paper: #f8f5ee;
  --paper-2: #ebe6da;
  --ink: #1f2229;
  --ink-2: #4c4f57;
  --ink-3: #8c8b86;
  --cloth: #1d356b;      /* bleu de France book cloth */
  --rouge: #c8242f;      /* the label's border, the teacher's red ink */
  --brique: #b8452f;
  --bleu: #2f5d8a;
  --moutarde: #b38418;
  --vert: #4f7a5a;
  --prune: #5a2f4d;      /* the Gros mots */
  --rose: #c4507a;       /* the Mots doux */
  --wall: #efebe3;
  --W: 540px;
  --H: 740px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
body {
  color: var(--ink); font-family: 'EB Garamond', serif; overflow: hidden; -webkit-font-smoothing: antialiased;
  /* a painted plaster wall in Paris, cool morning light from the window on the left */
  background-color: var(--wall);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008' numOctaves='4' seed='14'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .45 0 0 0 0 .42 0 0 0 .32 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .35 0 0 0 0 .33 0 0 0 .28 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    radial-gradient(55% 70% at 22% 40%, rgba(255,247,226,.85), transparent 70%),
    radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(110,110,120,.26) 100%);
  background-size: cover, 180px 180px, auto, auto;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat;
  background-attachment: fixed;
}
/* the French window's shadow, slanting across the wall from the left */
.fenetre { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.fenetre .win { position: absolute; left: -2vw; top: -4vh; height: 112vh; width: auto; fill: #26262e; stroke: #26262e; opacity: .1; filter: blur(4px); transform-origin: 0 0; }

/* ---------------------------------------------------------------- the book */
.frame { position: fixed; left: 50%; top: 50%; width: calc(var(--W) * 2); height: var(--H); z-index: 10; }
.frame.single { width: var(--W); clip-path: inset(-40px 0 -220px 0); touch-action: none; }
.book { position: absolute; left: 0; top: 0; width: calc(var(--W) * 2); height: var(--H); perspective: 3800px; }
.block { position: absolute; top: 0; height: 100%; width: var(--W); border-radius: 2px; background: var(--paper-2); }
.block.l { left: 0; } .block.r { left: var(--W); }
.page, .face { position: absolute; top: 0; width: var(--W); height: var(--H); overflow: hidden; background: var(--paper); }
.slot-l { left: 0; } .slot-r { left: var(--W); }
.page::before, .face::before { /* laid paper: faint chain lines and grain */
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(120,90,50,.045) 34px 35px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .26 0 0 0 0 .18 0 0 0 .4 -.17'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.pg-l::after, .pg-r::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.pg-l::after { background: linear-gradient(270deg, rgba(70,45,20,.15), transparent 7%); }
.pg-r::after { background: linear-gradient(90deg, rgba(70,45,20,.15), transparent 7%); }
.page > *, .face > * { position: absolute; z-index: 1; }
.gutter { position: absolute; left: calc(var(--W) - 1px); width: 2px; top: 0; height: 100%; pointer-events: none; z-index: 60; background: rgba(70,45,20,.16); }
.frame.closed .gutter, .frame.closed .tabs { display: none; }

.leaf { position: absolute; left: var(--W); top: 0; width: var(--W); height: var(--H); transform-origin: 0% 50%; transform-style: preserve-3d; z-index: 100; }
.leaf .face { left: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.leaf .face.back { transform: rotateY(180deg); }
.leaf .shade { position: absolute; inset: 0; z-index: 30; pointer-events: none; opacity: 0; }
.leaf .front .shade { background: linear-gradient(90deg, rgba(50,30,10,.5), rgba(50,30,10,.12) 40%, transparent); }
.leaf .back .shade { background: linear-gradient(270deg, rgba(50,30,10,.4), rgba(50,30,10,.1) 40%, transparent); }

/* ---------------------------------------------------------------- the cover: bleu-de-France cloth, a white-and-red label */
.cover { inset: 0; background: var(--cloth); overflow: hidden; border-radius: 0 4px 4px 0; }
.cover > * { position: absolute; }
.cover::before { /* book cloth: a fine woven grain, worn a little at the edges */
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.1) 0 1px, transparent 1px 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.04' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .6 0 0 0 0 .7 0 0 0 0 .9 0 0 0 .22 -.06'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23l)'/%3E%3C/svg%3E"),
    radial-gradient(70% 50% at 42% 24%, rgba(150,180,240,.18), transparent 70%),
    radial-gradient(60% 45% at 75% 92%, rgba(0,0,20,.3), transparent 70%),
    linear-gradient(90deg, rgba(0,0,15,.38), rgba(0,0,15,.1) 9%, transparent 11%); }
.cv-band { left: 0; top: 0; bottom: 0; width: 38px; z-index: 1;
  background: linear-gradient(90deg, #233f80 0 33%, #efeae0 33% 66%, #c8242f 66%); opacity: .92; box-shadow: 2px 0 4px rgba(0,0,0,.35); }
.cover-art { inset: 0; width: 100%; height: 100%; }
.cv-label { left: 112px; right: 74px; top: 150px; padding: 26px 20px 22px; background: #f6f2e8; border: 3px solid var(--rouge); box-shadow: inset 0 0 0 4px #f6f2e8, inset 0 0 0 5.5px var(--rouge), 0 2px 5px rgba(0,0,0,.35); text-align: center; }
.cv-kicker { margin: 0; font: 400 14px 'Playfair Display SC', serif; letter-spacing: .3em; color: var(--rouge); }
.cover-title { margin: 8px 0 4px; font: 700 54px/1 'Playfair Display', serif; color: var(--ink); letter-spacing: -.005em; }
.cover-sub { margin: 0; font: italic 500 19px 'Playfair Display', serif; color: var(--ink-2); }
.cv-emblem { left: 50%; top: 400px; width: 84px; height: 168px; margin-left: -10px; }
.cv-emblem svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cv-emblem .hi { transform: translate(-1.5px, -1.5px); }   /* pressed blind into the cloth: a dark bite and a light edge */
.cover-foot { left: 38px; right: 0; bottom: 70px; margin: 0; text-align: center; color: rgba(230,225,210,.8); font: 400 17px 'Playfair Display SC', serif; letter-spacing: .5em; }

/* ---------------------------------------------------------------- page furniture */
.head { left: 52px; right: 52px; top: 36px; height: 34px; display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid rgba(42,34,28,.6); padding-bottom: 6px; font: 600 16px 'Playfair Display SC', serif; letter-spacing: .08em; color: var(--ink-2); }
.head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; border-bottom: .6px solid rgba(42,34,28,.45); }
.head i { font: italic 15px 'EB Garamond', serif; letter-spacing: 0; color: var(--ink-3); margin-left: 8px; }
.head .sw { display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: 0; transform: rotate(45deg); }
.folio { bottom: 22px; font: 500 16px 'Playfair Display', serif; color: var(--ink-3); }
.pg-l .folio { left: 52px; } .pg-r .folio { right: 52px; }

/* ---------------------------------------------------------------- headword page: the syllables as letterpress type sorts */
.hw-lamp { left: 52px; top: 86px; width: 30px; height: 60px; }
.tiles { left: 40px; right: 40px; top: 176px; display: flex; justify-content: center; align-items: flex-end; gap: 6px; flex-wrap: nowrap; }
/* a sort: the body of the type (warm grey metal), a nick on its side, the letters printed in black on its face */
.sort { position: relative; display: grid; place-items: center; border-radius: 3px; color: var(--ink); line-height: 1; transition: background .15s, transform .15s;
  background: linear-gradient(180deg, #e9e3d6, #d9d1c0); box-shadow: inset 0 0 0 1.5px rgba(60,50,35,.35), inset 0 -6px 0 rgba(60,50,35,.12), 0 2px 3px rgba(40,30,20,.25); }
.sort::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: 9px; height: 3px; border-radius: 2px; background: rgba(60,50,35,.22); }   /* the nick */
.sort span { font-family: 'Playfair Display', serif; font-weight: 700; filter: url(#press); margin-top: -8px; white-space: nowrap; }
.sort.on { background: linear-gradient(180deg, #2f4f8f, #1d356b); color: #fff; transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px rgba(0,0,20,.4), inset 0 -6px 0 rgba(0,0,0,.18), 0 6px 8px rgba(20,30,60,.3); }
.whole .sort { color: var(--rouge); }
.sort.on, .whole .sort.on { color: #fff; }
.tgap { width: 16px; }
.entry { left: 40px; right: 40px; top: 352px; margin: 0; text-align: center; font: 600 44px/1.1 'Playfair Display', serif; letter-spacing: .005em; }
.entry .dot { color: var(--rouge); margin: 0 .03em; }
.ipa { left: 46px; right: 46px; top: 432px; margin: 0; text-align: center; font: 400 23px 'Noto Sans', 'EB Garamond', sans-serif; color: var(--ink-2); letter-spacing: .02em; }
.pos { left: 46px; right: 46px; top: 474px; margin: 0; text-align: center; font: italic 19px 'EB Garamond', serif; color: var(--ink-3); }
.gloss { left: 46px; right: 46px; bottom: 92px; margin: 0; text-align: center; font: 500 32px/1.15 'EB Garamond', serif; }

/* ---------------------------------------------------------------- notes page */
.notes { top: 92px; left: 60px; right: 56px; bottom: 66px; display: flex; flex-direction: column; gap: 18px; }
.notes > * { position: relative; }
.n-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid rgba(42,34,28,.3); padding-bottom: 8px; }
.n-head .w { font: 700 28px/1.1 'Playfair Display', serif; }
.n-head .no { font: italic 14px 'EB Garamond', serif; color: var(--ink-3); white-space: nowrap; flex: none; margin-left: 12px; }
.lbl { display: flex; align-items: center; gap: 10px; margin: 0 0 7px; font: italic 14px 'EB Garamond', serif; color: var(--ink-3); font-weight: 400; }
.lbl b { font: 400 14px 'Playfair Display SC', serif; font-style: normal; color: #fff; background: var(--cloth); padding: 1px 8px 2px; border-radius: 2px; letter-spacing: .08em; }
.mean { margin: 0; font: 500 28px/1.2 'EB Garamond', serif; }
.pr-line { margin: 0; font: 400 21px 'Noto Sans', sans-serif; color: var(--ink-2); }
.pr-note { margin: 6px 0 0; font: italic 18px/1.35 'EB Garamond', serif; color: var(--bleu); }
.ex-es { margin: 0; font: 500 23px/1.35 'Playfair Display', serif; transition: color .2s; }
.ex-es.on { color: var(--rouge); }
.ex-en { margin: 2px 0 0; font: italic 17px 'EB Garamond', serif; color: var(--ink-2); }
.act { appearance: none; background: none; border: 0; padding: 4px 2px; cursor: pointer; color: var(--ink); font: 600 18px 'Playfair Display', serif; letter-spacing: .04em; display: inline-flex; align-items: baseline; gap: 8px; border-bottom: 1.5px solid rgba(42,34,28,.5); }
.act i { font: italic 14px 'EB Garamond', serif; letter-spacing: .02em; color: var(--ink-3); }
.act:hover { color: var(--rouge); border-color: var(--rouge); }
.act .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; align-self: center; }
.act.rec { color: var(--rouge); border-color: var(--rouge); }
.act.rec .dot { animation: breathe 1s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.7); opacity: .4; } }
.ex-act { position: absolute; right: 0; top: -2px; font-size: 16px; }
.practice .row { display: flex; gap: 26px; align-items: center; }
.heard { min-height: 28px; margin: 10px 0 0; font: italic 19px 'EB Garamond', serif; color: var(--ink-2); }
.heard .ok { color: var(--rouge); font-style: normal; font-weight: 500; }
/* the teacher's red-ink « Très bien ! » stamp */
.muybien { position: absolute; right: 0; bottom: -6px; width: 150px; height: 86px; border-radius: 50%; border: 3px solid var(--rouge); color: var(--rouge); display: grid; place-items: center; text-align: center; filter: url(#stamp); opacity: 0; transform: rotate(-10deg); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4.5px var(--rouge); }
.muybien.shown { opacity: .9; }
.muybien b { display: block; font: 700 italic 25px/1 'Playfair Display', serif; white-space: nowrap; }
.muybien em { display: block; font-style: normal; font-size: 12px; letter-spacing: .3em; line-height: 1; margin-top: 4px; }
.ripple { position: absolute; border: 1.5px solid rgba(200,36,47,.5); border-radius: 50%; pointer-events: none; }

/* ---------------------------------------------------------------- title, index, alphabet, colophon, endpapers */
.endp { inset: 0; }
.endp svg { width: 100%; height: 100%; display: block; }
.tp-lamp { left: 50%; top: 70px; width: 46px; height: 92px; margin-left: -23px; }
.tp-title { left: 0; right: 0; top: 196px; margin: 0; text-align: center; font: 700 70px/1 'Playfair Display', serif; }
.tp-sub { left: 0; right: 0; top: 288px; margin: 0; text-align: center; font: italic 500 22px 'Playfair Display', serif; color: var(--ink-2); }
.tp-rule { left: 210px; right: 210px; top: 344px; height: 4px; display: flex; }
.tp-rule i { flex: 1; } .tp-rule i:nth-child(1) { background: #233f80; } .tp-rule i:nth-child(2) { background: #e6e0d2; } .tp-rule i:nth-child(3) { background: var(--rouge); }
.tp-how { left: 60px; right: 60px; bottom: 90px; margin: 0; text-align: center; font: 400 15px/1.8 'EB Garamond', serif; color: var(--ink-3); }
.tp-how b { color: var(--rouge); font-weight: 500; }
.sec-title { left: 52px; right: 52px; top: 88px; margin: 0; text-align: center; font: 400 42px 'Playfair Display SC', serif; letter-spacing: .06em; }
.sec-sub { left: 52px; right: 52px; top: 146px; margin: 0; text-align: center; font: italic 17px 'EB Garamond', serif; color: var(--ink-2); }
.toc { left: 60px; right: 60px; top: 194px; bottom: 80px; columns: 2; column-gap: 40px; }
.toc .sec { break-inside: avoid; margin-bottom: 18px; }
.toc .sh { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; font: 600 19px 'Playfair Display SC', serif; letter-spacing: .06em; }
.toc .sh i { width: 10px; height: 10px; transform: rotate(45deg); }
.toc .sh em { font: italic 14px 'EB Garamond', serif; color: var(--ink-3); letter-spacing: 0; }
.toc .ent { display: flex; align-items: baseline; gap: 6px; padding: 2px 4px; margin: 0 -4px; border-radius: 2px; cursor: pointer; font: 500 19px 'Playfair Display', serif; }
.toc .ent:hover { background: rgba(200,36,47,.08); color: var(--rouge); }
.toc .ent .d { flex: 1; border-bottom: 1.5px dotted rgba(42,34,28,.3); align-self: center; }
.toc .ent .p { font: 500 16px 'EB Garamond', serif; }
.toc .ent .ok { color: var(--rouge); font: 600 14px 'EB Garamond', serif; }
.toc-foot { left: 0; right: 0; bottom: 46px; text-align: center; font: italic 15px 'EB Garamond', serif; color: var(--ink-3); }
.toc-foot b { color: var(--rouge); font-style: normal; }
.abc { left: 52px; right: 52px; top: 182px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.accents { left: 92px; right: 92px; top: 466px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.accents .c { text-align: center; padding: 3px 0 2px; border: 1px solid var(--rouge); background: #fbf8f1; }
.accents .c b { display: block; font: 600 26px/1.1 'Playfair Display', serif; color: var(--rouge); }
.accents .c i { display: block; font: italic 12px 'EB Garamond', serif; color: var(--ink-2); white-space: nowrap; }
.abc .c { text-align: center; padding: 3px 0 2px; border: 1px solid rgba(29,53,107,.3); background: #fbf8f1; }
.abc .c b { display: block; font: 600 24px/1.15 'Playfair Display', serif; color: var(--cloth); }
.abc .c i { display: block; font: italic 13px 'EB Garamond', serif; color: var(--ink-2); white-space: nowrap; }
.tilde { left: 60px; right: 60px; bottom: 54px; margin: 0; padding: 14px 16px; border: 1px solid rgba(42,34,28,.3); font: 400 16.5px/1.5 'EB Garamond', serif; color: var(--ink-2); }
.tilde b { font: 600 20px 'Playfair Display', serif; color: var(--ink); }
.tilde em { color: var(--rouge); font-style: normal; font-weight: 600; }
.colo { left: 110px; right: 110px; top: 280px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 18px 8px; font: 400 17px/2.1 'EB Garamond', serif; }
.colo b { display: block; text-align: center; font: 600 32px 'Playfair Display SC', serif; letter-spacing: .14em; margin-bottom: 6px; font-weight: 600; }
.colo span { display: flex; justify-content: space-between; border-bottom: .6px dotted rgba(42,34,28,.25); }
.colo span:last-child { border: 0; }
.colo-lamp { left: 50%; top: 540px; width: 36px; height: 72px; margin-left: -18px; }

/* ---------------------------------------------------------------- section tabs on the fore-edge */
.tabs { position: absolute; left: calc(var(--W) * 2); top: 86px; display: flex; flex-direction: column; gap: 10px; z-index: -1; }
.tab { appearance: none; width: 40px; height: 82px; border: 0; border-radius: 0 4px 4px 0; padding: 0 0 0 9px; margin-left: -4px; cursor: pointer; color: #fff8ec; font: 600 14px/1 'Playfair Display SC', serif; letter-spacing: .08em; writing-mode: vertical-rl; display: grid; place-items: center; box-shadow: inset 6px 0 8px rgba(0,0,0,.16); transition: transform .2s; opacity: .92; }
.tab:hover, .tab.on { transform: translateX(6px); opacity: 1; }
.tab.light { color: var(--ink); }
.frame.single .tabs { display: none; }

/* ---------------------------------------------------------------- the bookmark ribbon (bleu-blanc-rouge) */
.ribbon { position: absolute; left: 0; top: 0; overflow: visible; z-index: 70; pointer-events: none; filter: drop-shadow(1px 2px 1.5px rgba(60,20,10,.35)); }
.ribbon .band { pointer-events: visibleStroke; cursor: pointer; }
.ribbon .hit { pointer-events: all; cursor: pointer; }

/* ---------------------------------------------------------------- around the book */
.nav { position: fixed; top: 50%; z-index: 20; appearance: none; background: none; border: 1px solid rgba(42,34,28,.25); border-radius: 999px; color: rgba(42,34,28,.75); cursor: pointer; display: flex; align-items: center; gap: 8px; transform: translateY(-50%); transition: color .2s, border-color .2s; padding: 9px 16px; font: 500 16px 'EB Garamond', serif; letter-spacing: .06em; }
.nav:hover { color: var(--ink); border-color: rgba(42,34,28,.6); }
.nav .a { font-size: 22px; line-height: 1; }
.nav.back { left: 18px; } .nav.fwd { right: 18px; }
.nav[disabled] { opacity: .25; cursor: default; }
.markbtn { position: fixed; right: 18px; bottom: 58px; z-index: 20; appearance: none; background: none; border: 1px solid rgba(42,34,28,.25); border-radius: 999px; color: rgba(42,34,28,.75); cursor: pointer; padding: 7px 14px; font: 500 15px 'EB Garamond', serif; display: flex; gap: 6px; align-items: baseline; transition: color .2s, border-color .2s; }
.markbtn b { font: 600 15px 'Playfair Display', serif; color: var(--rouge); }
.markbtn:hover { color: var(--ink); border-color: rgba(42,34,28,.6); }
.markbtn.on { border-color: var(--rouge); }
.markbtn[hidden], .tocbtn { display: none; }
.hint { position: fixed; left: 0; right: 0; bottom: 70px; margin: 0; text-align: center; z-index: 20; font: italic 15px 'EB Garamond', serif; color: rgba(42,34,28,.55); letter-spacing: .04em; }
.credit { position: fixed; left: 0; right: 0; bottom: 50px; margin: 0; text-align: center; z-index: 20; font: italic 13px 'EB Garamond', serif; color: rgba(42,34,28,.55); letter-spacing: .04em; pointer-events: none; }
.credit a { color: var(--rouge); text-decoration: none; border-bottom: 1px solid rgba(200,36,47,.35); pointer-events: auto; }

/* ---------------------------------------------------------------- one page at a time (phones) */
body.single .fenetre .win { opacity: .06; }
body.single .credit { bottom: auto; top: calc(10px + env(safe-area-inset-top)); font-size: 12px; }
body.single .hint { bottom: calc(76px + env(safe-area-inset-bottom)); font-size: 14px; }
body.single .nav, body.single .tocbtn:not([hidden]), body.single .markbtn {
  top: auto; bottom: calc(14px + env(safe-area-inset-bottom)); transform: none; height: 44px; padding: 0 16px;
  background: rgba(248,245,238,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
body.single .nav.back { left: 12px; } body.single .nav.fwd { right: 12px; }
body.single .tocbtn:not([hidden]) {
  display: grid; place-items: center; position: fixed; z-index: 20; left: 50%; width: 84px; margin-left: -88px; font-size: 14px; appearance: none;
  border: 1px solid rgba(42,34,28,.25); border-radius: 999px; color: rgba(42,34,28,.8); font: 500 15px 'EB Garamond', serif; padding: 0; cursor: pointer;
}
body.single .markbtn { left: 50%; right: auto; margin-left: 6px; width: 60px; justify-content: center; align-items: center; padding: 0; }
body.single .markbtn .t { display: none; }
body.single .markbtn.on { background: var(--rouge); border-color: var(--rouge); }
body.single .markbtn.on b { color: #fff; }
/* a tall phone page: everything under the tiles drops by --dy, the notes get bigger type */
.frame.tall .headword .entry, .frame.tall .headword .ipa, .frame.tall .headword .pos, .frame.tall .headword .feel { translate: 0 var(--dy, 0px); }
.frame.tall .headword .tiles { translate: 0 calc(var(--dy, 0px) * .5); }
.frame.single.tall .notes { zoom: 1.2; top: 76px; left: 50px; right: 46px; bottom: 56px; gap: 15px; }

/* ink not settled yet (arrival) */
.pre .sort, .pre .tp-title, .pre .hw-lamp, .pre .accents .c, .pre .toc .ent, .pre .abc .c { opacity: 0; }

/* back to the bookshelf (shelf.html), top-left */
.shelf-link { position: fixed; top: 14px; left: 18px; z-index: 30; display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px 6px; border: 1px solid rgba(30,26,22,.22); border-radius: 999px; color: rgba(30,26,22,.7); text-decoration: none; font: 500 15px 'EB Garamond', serif; letter-spacing: .05em; transition: color .2s, border-color .2s; }
.shelf-link .a { font-size: 19px; line-height: 1; }
.shelf-link:hover { color: rgba(30,26,22,1); border-color: rgba(30,26,22,.55); }
body.single .shelf-link { top: calc(6px + env(safe-area-inset-top)); left: 10px; padding: 3px 10px 4px; font-size: 13px; background: rgba(255,255,255,.35); }
body.single .credit { left: 80px; right: 12px; text-align: right; }

/* no mic (window.NO_MIC, a static deploy): no say-it button, no R hint */
.no-mic .act.say, .no-mic .mic-only { display: none; }

/* Gros mots and Mots doux: how the word is said, in the section colour */
.feel { left: 46px; right: 46px; top: 516px; margin: 0; display: flex; justify-content: center; align-items: baseline; gap: 12px; }
.feel b { font: italic 600 30px/1 'Playfair Display', serif; color: var(--c); }
.feel i { font: italic 17px 'EB Garamond', serif; color: var(--ink-2); }
.ex-mood { margin: 0 0 2px; font: italic 13.5px/1.3 'EB Garamond', serif; color: var(--ink-3); }
/* thirty words in six sections: a tighter Sommaire so it stays two columns */
.contents .sec-title { top: 80px; }
.contents .sec-sub { top: 136px; }
.toc { top: 176px; bottom: 72px; column-gap: 34px; }
.toc .sec { margin-bottom: 11px; }
.toc .sh { margin-bottom: 3px; font-size: 17px; white-space: nowrap; }
.toc .sh em { font-size: 12.5px; }
.toc .ent { padding: 0 4px; font-size: 17.5px; line-height: 1.3; }
.toc .ent .p { font-size: 14.5px; }
.toc-foot { bottom: 40px; }
