/* V1.1 P3: improve readability of word senses, example audio, and no empty blocks. */
#wordPop .v11-word-pron{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:9px 0}
#wordPop .v11-pron-ipa{font:normal 15px/1.5 Georgia,serif;letter-spacing:.02em;color:var(--ink,#322a2b)}
#wordPop .v11-pron-part{display:inline-block;border-radius:8px;padding:4px 9px;
 background:var(--bg,#f8f4ed);color:var(--wine,#672b41);font-weight:700;font-size:12px}
#wordPop .v11-example-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:7px}
#wordPop .v11-example-heading button,
.vocab-card .v11-example-audio{background:transparent;color:var(--wine,#672b41);
 border:1px solid var(--line,#e7ddd4);border-radius:20px;padding:5px 10px;
 font-size:11px;font-weight:600;min-height:32px}
#wordPop .word-extra p{font-size:13px;line-height:1.75;margin:7px 0}
.vocab-card .v11-example-audio{display:inline-flex;align-items:center;margin:8px 0 4px}
html[data-theme="dark"] #wordPop .v11-pron-ipa{color:var(--ink,#eee2d8)}
html[data-theme="dark"] #wordPop .v11-pron-part{color:#f4d2db;background:#42353c}
@media(max-width:700px){#wordPop .v11-word-pron{gap:5px}#wordPop .v11-pron-ipa{font-size:14px}}

/* Example words are small pronunciation controls, never a secondary popover.
   The parent novel card and active bookplate stay visible after each tap. */
.v11-example-word{
 display:inline;
 border:0;
 border-bottom:1px dotted currentColor;
 background:transparent;
 color:var(--wine,#672b41);
 font:inherit;
 line-height:inherit;
 text-align:inherit;
 margin:0;
 padding:0;
 cursor:pointer;
 text-underline-offset:3px;
}
.v11-example-word:hover,.v11-example-word:focus-visible{
 background:rgba(175,110,132,.12);
 outline-offset:2px;
}
html[data-theme="dark"] .v11-example-word{color:#f1b8c6}

/* V1.1 wordbook: example phrases should read as ordinary prose, NOT a row of
   pill buttons. The .vocab-card button rules in styles.css have higher
   specificity than the generic .v11-example-word rule above. */
.vocab-card .vocab-example button.v11-example-word{
 appearance:none;
 display:inline;
 width:auto;
 height:auto;
 min-width:0;
 min-height:0;
 margin:0;
 padding:0;
 border:0;
 border-radius:0;
 background:transparent;
 box-shadow:none;
 color:inherit;
 font:inherit;
 letter-spacing:inherit;
 line-height:inherit;
 text-align:inherit;
 vertical-align:baseline;
 white-space:normal;
 text-decoration-line:underline;
 text-decoration-style:solid;
 text-decoration-thickness:1px;
 text-underline-offset:.16em;
 cursor:pointer;
}
.vocab-card .vocab-example button.v11-example-word:hover{
 background:transparent;
 text-decoration-thickness:2px;
}
.vocab-card .vocab-example button.v11-example-word:focus-visible{
 background:transparent;
 outline:2px solid var(--wine,#672b41);
 outline-offset:2px;
}
html[data-theme="dark"] .vocab-card .vocab-example button.v11-example-word{
 border:0;
 background:transparent;
 color:inherit;
}


/* Paginated memory bookplates, independent of the flashcard learning session. */
.bookplate-page-status{grid-column:1/-1;display:block;margin:8px 0;padding:15px 16px;border:1px solid var(--line,#e7ddd4);border-radius:12px;background:var(--paper,#fffcf7);color:var(--muted,#847675);font-size:13px}
.bookplate-pagination{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:16px 0 2px;padding:10px 0}
.bookplate-page-summary{font-size:12px;color:var(--muted,#847675)}
.bookplate-page-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}
.bookplate-page-controls button{min-height:40px;min-width:40px;border:1px solid var(--line,#e7ddd4);background:var(--paper,#fffcf7);color:var(--wine,#672b41);border-radius:9px;padding:7px 11px;font-size:12px;cursor:pointer}
.bookplate-page-controls button[aria-current=page]{background:var(--wine,#672b41);border-color:var(--wine,#672b41);color:#fff;opacity:1}
.bookplate-page-controls button:disabled:not([aria-current=page]){opacity:.45;cursor:not-allowed}
.bookplate-page-controls button:focus-visible{outline:2px solid var(--wine,#672b41);outline-offset:2px}
html[data-theme=dark] .bookplate-page-status,html[data-theme=dark] .bookplate-page-controls button{background:var(--paper,#302a30);color:var(--ink,#eee2d8)}
html[data-theme=dark] .bookplate-page-controls button[aria-current=page]{background:#854761;color:#fff}
@media(max-width:620px){.bookplate-pagination{flex-direction:column;align-items:flex-start}.bookplate-page-controls{justify-content:flex-start}}
