/* Palabrario: twenty first Spanish words (palabrario-es.html). An oxblood leather book with
   gold tooling and an eight-point Mudéjar star, an azulejo endpaper, cream pages, syllables in
   blue-and-white tiles with the stressed one in terracotta, on a sunlit whitewashed wall.
   Book units: a page is 540 × 740. */
:root {
  --paper: #f7f0e3;
  --paper-2: #ece2cf;
  --ink: #2a221c;
  --ink-2: #5b4f45;
  --ink-3: #948777;
  --terra: #b5452b;     /* terracotta */
  --cobalt: #1f4e8c;    /* azulejo blue */
  --saffron: #dfa12a;
  --olive: #6b7a3a;
  --oxblood: #6b1c19;
  --berenjena: #3f2438;  /* aubergine, the Tacos */
  --rosa: #c2416a;       /* rosa/carmine, the Tacos and Piropos */
  --wall: #f1ece2;
  --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 whitewashed wall (cal) in afternoon sun */
  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='21'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .48 0 0 0 0 .38 0 0 0 .4 -.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 .4 0 0 0 0 .35 0 0 0 0 .28 0 0 0 .3 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    radial-gradient(60% 55% at 30% 25%, rgba(255,240,205,.8), transparent 70%),
    radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(150,120,80,.28) 100%);
  background-size: cover, 180px 180px, auto, auto;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat;
  background-attachment: fixed;
}
.reja { position: fixed; left: -40px; top: -60px; width: min(40vw, 460px); pointer-events: none; z-index: 1; opacity: .1; filter: blur(5px); transform: skewX(-12deg) rotate(4deg); transform-origin: 0 0; }
.naranjo { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.naranjo svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #3a2a1c; stroke: #3a2a1c; opacity: .13; filter: blur(2.8px); transform-origin: 100% 0; }
/* the zócalo: a band of azulejos along the foot of the wall, slightly worn and in the wall's shade */
.zocalo { position: fixed; left: 0; right: 0; bottom: 0; height: 44px; pointer-events: none; z-index: 1; opacity: .72; filter: saturate(.75); box-shadow: 0 -2px 6px rgba(80,60,30,.12); }
.zocalo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(120,90,50,.12), transparent 40%), radial-gradient(130% 100% at 50% 0, transparent 50%, rgba(80,60,30,.25) 100%); }

/* ---------------------------------------------------------------- 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: oxblood leather, gold tooling */
.cover { inset: 0; background: var(--oxblood); overflow: hidden; }
.cover > * { position: absolute; }
.cover::before {
  content: ''; position: absolute; inset: 0;
  background:
    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='.35' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23l)'/%3E%3C/svg%3E"),
    radial-gradient(70% 50% at 45% 25%, rgba(255,200,170,.16), transparent 70%),
    radial-gradient(60% 45% at 70% 90%, rgba(0,0,0,.3), transparent 70%),
    linear-gradient(90deg, rgba(0,0,0,.4), rgba(0,0,0,.12) 9%, transparent 11%);
}
.cover-art { inset: 0; width: 100%; height: 100%; }
.cover-title { left: 60px; right: 20px; top: 128px; margin: 0; text-align: center; font: 600 56px/1 'Cormorant SC', serif; letter-spacing: .12em;
  color: transparent; background: linear-gradient(160deg, #f8e19a 0%, #d3a043 38%, #f5d886 55%, #b07d2c 78%, #edc76e 100%); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 1.5px 0 rgba(30,0,0,.6)); }
.cover-sub { left: 60px; right: 20px; top: 214px; margin: 0; text-align: center; color: #e2bd66; font: italic 500 22px 'Cormorant Garamond', serif; letter-spacing: .06em; }
.cover-foot { left: 60px; right: 20px; bottom: 102px; margin: 0; text-align: center; color: #e2bd66; font: 600 17px 'Cormorant SC', serif; letter-spacing: .4em; }

/* ---------------------------------------------------------------- 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 'Cormorant 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 'Cormorant Garamond', serif; color: var(--ink-3); }
.pg-l .folio { left: 52px; } .pg-r .folio { right: 52px; }

/* ---------------------------------------------------------------- headword page: syllables in azulejo tiles */
.hw-star { left: 52px; top: 90px; width: 50px; height: 50px; }
.tiles { left: 46px; right: 46px; top: 182px; display: flex; justify-content: center; align-items: flex-end; gap: 6px; flex-wrap: nowrap; }
.tile { position: relative; display: grid; place-items: center; background: #fbf7ef; border: 2px solid var(--cobalt); box-shadow: inset 0 0 0 3px #fbf7ef, inset 0 0 0 4.5px rgba(31,78,140,.55); font: 600 calc(var(--s, 100px) * .5) 'Cormorant Garamond', serif; color: var(--ink); line-height: 1; transition: background .15s, color .15s; }
.tile::before { /* blue corner quarter-circles, like a tile's printed motif */
  content: ''; position: absolute; inset: 5px; pointer-events: none;
  background: radial-gradient(circle at 0 0, rgba(31,78,140,.28) 0 14%, transparent 15%), radial-gradient(circle at 100% 0, rgba(31,78,140,.28) 0 14%, transparent 15%), radial-gradient(circle at 0 100%, rgba(31,78,140,.28) 0 14%, transparent 15%), radial-gradient(circle at 100% 100%, rgba(31,78,140,.28) 0 14%, transparent 15%); }
.tile.st { background: var(--terra); color: #fff8ec; border-color: var(--terra); box-shadow: inset 0 0 0 3px var(--terra), inset 0 0 0 4.5px rgba(255,248,236,.6); }
.tile.st::before { background: radial-gradient(circle at 0 0, rgba(255,248,236,.25) 0 14%, transparent 15%), radial-gradient(circle at 100% 0, rgba(255,248,236,.25) 0 14%, transparent 15%), radial-gradient(circle at 0 100%, rgba(255,248,236,.25) 0 14%, transparent 15%), radial-gradient(circle at 100% 100%, rgba(255,248,236,.25) 0 14%, transparent 15%); }
.tile.st::after { content: ''; position: absolute; top: calc(var(--s, 100px) * -.22); left: 50%; width: calc(var(--s, 100px) * .16); height: 4px; border-radius: 2px; background: var(--terra); transform: translateX(-30%) rotate(-28deg); }
.tile.on { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.tile.st.on { background: #8e2f1b; }
.whole .tile { color: var(--cobalt); } .whole .tile.st { color: #fff8ec; }
.tgap { width: 18px; }
.entry { left: 46px; right: 46px; top: 360px; margin: 0; text-align: center; font: 500 46px 'Cormorant Garamond', serif; letter-spacing: .01em; }
.entry b { font-weight: 700; color: var(--terra); }
.entry .dot { color: var(--ink-3); margin: 0 .04em; }
.ipa { left: 46px; right: 46px; top: 430px; 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 34px/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: 600 32px 'Cormorant Garamond', serif; }
.n-head .no { font: italic 14px 'EB Garamond', serif; color: var(--ink-3); }
.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: 600 14px 'Cormorant SC', serif; font-style: normal; color: #fff8ec; background: var(--terra); padding: 1px 7px 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(--cobalt); }
.ex-es { margin: 0; font: 600 25px/1.35 'Cormorant Garamond', serif; transition: color .2s; }
.ex-es.on { color: var(--terra); }
.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 19px 'Cormorant Garamond', 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(--terra); border-color: var(--terra); }
.act .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; align-self: center; }
.act.rec { color: var(--terra); border-color: var(--terra); }
.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(--terra); font-style: normal; font-weight: 500; }
/* the teacher's ¡Muy bien! stamp */
.muybien { position: absolute; right: 0; bottom: -10px; width: 104px; height: 104px; border-radius: 50%; border: 3px solid var(--terra); color: var(--terra); display: grid; place-items: center; text-align: center; filter: url(#stamp); opacity: 0; transform: rotate(-12deg); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4.5px var(--terra); }
.muybien.shown { opacity: .9; }
.muybien b { display: block; font: 700 italic 25px/.95 'Cormorant Garamond', serif; }
.muybien em { display: block; font-style: normal; font-size: 18px; line-height: 1; margin: 2px 0; }
.ripple { position: absolute; border: 1.5px solid rgba(181,69,43,.5); border-radius: 50%; pointer-events: none; }

/* ---------------------------------------------------------------- title, index, alphabet, colophon, endpapers */
.endp { inset: 0; }
.endp svg { width: 100%; height: 100%; display: block; }
.tp-star { left: 50%; top: 96px; width: 70px; height: 70px; margin-left: -35px; }
.tp-title { left: 0; right: 0; top: 190px; margin: 0; text-align: center; font: 600 78px/1 'Cormorant SC', serif; letter-spacing: .1em; padding-left: .1em; }
.tp-sub { left: 0; right: 0; top: 290px; margin: 0; text-align: center; font: italic 500 24px 'Cormorant Garamond', serif; color: var(--ink-2); }
.tp-rule { left: 190px; right: 190px; top: 346px; border-top: 1px solid var(--ink); }
.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(--terra); font-weight: 500; }
.sec-title { left: 52px; right: 52px; top: 88px; margin: 0; text-align: center; font: 600 44px 'Cormorant SC', serif; letter-spacing: .12em; }
.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 'Cormorant 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 'Cormorant Garamond', serif; }
.toc .ent:hover { background: rgba(181,69,43,.08); color: var(--terra); }
.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(--terra); 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(--terra); font-style: normal; }
.abc { left: 52px; right: 52px; top: 190px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.abc .c { text-align: center; padding: 3px 0 2px; border: 1px solid rgba(31,78,140,.35); background: #fbf7ef; }
.abc .c b { display: block; font: 600 25px/1.1 'Cormorant Garamond', serif; color: var(--cobalt); }
.abc .c i { display: block; font: italic 13.5px 'EB Garamond', serif; color: var(--ink-2); }
.abc .c.x { border-color: var(--terra); } .abc .c.x b { color: var(--terra); }
.tilde { left: 60px; right: 60px; bottom: 60px; 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 'Cormorant Garamond', serif; color: var(--ink); }
.tilde em { color: var(--terra); 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 'Cormorant 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-star { left: 50%; top: 560px; width: 50px; height: 50px; margin-left: -25px; }

/* ---------------------------------------------------------------- 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 'Cormorant 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 (red-yellow-red) */
.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 'Cormorant Garamond', serif; color: var(--terra); }
.markbtn:hover { color: var(--ink); border-color: rgba(42,34,28,.6); }
.markbtn.on { border-color: var(--terra); }
.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(--terra); text-decoration: none; border-bottom: 1px solid rgba(181,69,43,.35); pointer-events: auto; }

/* ---------------------------------------------------------------- one page at a time (phones) */
body.single .reja { display: none; }
body.single .zocalo { height: 30px; }
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(247,240,227,.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: 70px; margin-left: -76px; 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(--terra); border-color: var(--terra); }
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 .tile, .pre .tp-title, .pre .hw-star, .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; }

/* the Tacos and Piropos: 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 32px/1 'Cormorant Garamond', 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 Índice 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; }
