/* Dictionary pages only (/learn-kaltori/dictionary/ and its letter pages). Loaded by those
   pages' head_extra, never by the shared stylesheet. Copied to /assets/dictionary.css by the build. */
.dict-intro{max-width:64ch;text-align:left;margin-inline:auto}
.dict-intro p+p{margin-top:14px}
.dict-intro a{color:var(--red);font-weight:600}
.legend{list-style:none;margin:18px 0 0;padding:16px 18px;background:#fff;border:1px solid var(--cream-deep);border-radius:14px;font-size:.92rem;display:grid;gap:6px}
.legend b{color:var(--red)}
.letters{list-style:none;width:100%;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));margin-top:clamp(22px,4vw,30px)}
.letters a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:14px 6px;background:#fff;border:1px solid #E6D3B4;border-radius:14px;text-decoration:none;color:var(--ink);transition:transform .18s,box-shadow .18s}
.letters a:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(120,40,10,.10)}
.letters .L{font-family:'Playfair Display',Georgia,serif;font-weight:800;font-size:1.6rem;color:var(--red);line-height:1}
.letters .n{font-size:.72rem;color:var(--ink-soft)}
.az{width:100%;margin-top:clamp(22px,4vw,30px);padding:8px 0}
.az ul{list-style:none;display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.az a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border-radius:999px;background:#fff;border:1px solid #E6D3B4;color:var(--red);font-weight:700;text-decoration:none;font-size:.92rem}
.az a:hover{background:var(--red);color:var(--cream);border-color:var(--red)}
.az a[aria-current="page"]{background:var(--red);color:var(--cream);border-color:var(--red)}
@media (min-width:720px){.az.sticky{position:sticky;top:58px;z-index:5;background:var(--cream)}}
.letter{width:100%;padding:clamp(18px,3vw,28px) 0 0;scroll-margin-top:120px;text-align:left}
.letter h2{font-size:clamp(1.4rem,3vw,1.9rem);margin:0 0 6px;padding-bottom:6px;border-bottom:2px solid var(--red);max-width:none}
.dict{width:100%;display:grid;grid-template-columns:minmax(0,1fr);text-align:left;margin-top:clamp(18px,3vw,26px)}
.dict dt{padding:12px 0 2px;font-size:1.04rem;font-weight:600;overflow-wrap:anywhere}
.dict dd{padding:0 0 12px;border-bottom:1px dashed var(--cream-deep);font-size:1rem;overflow-wrap:anywhere}
.dict dd .kt{color:var(--red);font-weight:700;font-size:1.1rem}
.dict dt .kt{color:var(--red);font-weight:700;font-size:1.12rem}
.dict .pos{display:inline-block;margin-left:6px;font-size:.64rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--ink-soft);vertical-align:2px}
.dict .pron{font-size:.88rem;color:var(--ink-soft);font-family:'Inter',system-ui,sans-serif;font-style:normal}
.dict .star{color:var(--gold);font-size:.9rem}
.dict .senses{margin:0 0 0 20px}
.dict .senses li{margin-bottom:4px}
.dict dd .kt.small{font-size:1rem;color:var(--red-dark)}
.pdf{margin-top:18px;font-size:.95rem}
.pdf a{color:var(--red);font-weight:700}
@media (min-width:720px){
  .dict{grid-template-columns:minmax(220px,2fr) minmax(0,5fr);column-gap:28px}
  .dict dt,.dict dd{padding:10px 0;border-bottom:1px dashed var(--cream-deep)}
}
