/* TurkCouncil English Dictionary — redesign 2026-09-21. Part 2: page layouts (results, word, irregular verbs, phrases). */

.btn-linklike { border: 0; background: none; padding: 0; cursor: pointer; }
.select-sm { height: 38px; width: auto; min-width: 140px; font-size: 14px; }
.empty-state { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state h2 { font: 600 20px var(--sans); color: var(--heading); }
.empty-state svg.i { color: var(--teal); }
.did-you-mean { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; padding: 12px 16px; border: 1px dashed var(--border-2); border-radius: 12px; background: var(--surface); }
.dym-label { font-weight: 600; color: var(--heading); margin-right: 4px; }

/* ---------- three-column shell (results / word) ---------- */
.results-layout, .iv-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 316px; gap: 22px; align-items: start; padding-top: 22px; padding-bottom: 20px; }
.rail { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 14px); }
.filters { padding: 18px 16px 16px; position: sticky; top: calc(var(--header-h) + 14px); max-height: calc(100vh - var(--header-h) - 28px); overflow-y: auto; }
.filters-title { display: flex; align-items: center; gap: 10px; font: 600 18px var(--sans); color: var(--heading); padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.filters-title svg.i { color: var(--teal); }
.fgroup { border-bottom: 1px solid var(--border); padding: 10px 0; }
.fgroup > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font: 600 15px var(--sans); color: var(--heading); padding: 4px 0; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary svg.i { color: var(--muted); }
.fgroup ul { list-style: none; margin: 6px 0 2px; display: grid; gap: 2px; }
.fgroup li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; }
.fgroup li em { font-style: normal; font-size: 12.5px; color: var(--muted); background: var(--surface-2); border-radius: 6px; padding: 1px 7px; }
.level-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.lvbtn { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 38px; padding: 0 12px; border-radius: 9px; background: var(--soft-blue); color: var(--nav); cursor: pointer; border: 1.5px solid transparent; font-size: 14px; position: relative; }
.lvbtn input { position: absolute; opacity: 0; pointer-events: none; }
.lvbtn b { font-weight: 600; }
.lvbtn i { font-style: normal; color: var(--muted); font-size: 13px; }
.lvbtn.is-on { background: var(--soft-teal); border-color: var(--teal); color: var(--teal-deep); }
.lvbtn.is-empty { opacity: .5; cursor: default; }
.filters-clear { margin-top: 14px; }

.results-main { min-width: 0; }
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.results-title { font: 600 21px/1.25 var(--sans); color: var(--heading); word-break: break-word; }
.results-meta { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.sortbox { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.result-list { list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.result-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 22px; align-items: center; gap: 20px; padding: 16px 22px; border-bottom: 1px solid var(--border); transition: background var(--ease); }
.result-card:last-child { border-bottom: 0; }
.result-card:hover { background: color-mix(in srgb, var(--soft-teal) 55%, transparent); }
.result-card.is-top { background: color-mix(in srgb, var(--soft-blue) 70%, transparent); box-shadow: inset 3px 0 0 var(--teal); }
.stretch { position: absolute; inset: 0; z-index: 1; }
.rc-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; position: relative; }
.rc-word { font: 700 clamp(24px, 2.2vw, 31px)/1.1 var(--serif); color: var(--heading); }
.rc-audio { position: relative; z-index: 2; }
.rc-pos { color: var(--muted); font-size: 14px; }
.rc-bullets { list-style: none; margin-top: 9px; display: grid; gap: 5px; }
.rc-bullets li { position: relative; padding-left: 16px; }
.rc-bullets li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.rc-tr { font: 500 16px/1.4 var(--sans); color: var(--text); }
.rc-ex { font-size: 15.5px; color: var(--text); }
.rc-ex em { font-style: normal; font-weight: 700; color: var(--heading); }
.rc-ex small { display: block; margin-top: 1px; font-size: 13.5px; color: var(--muted); }
.rc-chev { color: var(--muted); position: relative; }
.rc-pic { width: 158px; min-height: 108px; height: 108px; }
.rc-pic figcaption { font-size: 15px; left: 10px; right: 10px; bottom: 10px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 6px; }
.pg-btn, .pg-num { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 38px; height: 38px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--border-2); background: var(--surface); color: var(--nav); font: 500 14px var(--sans); }
.pg-num { padding: 0; }
.pg-btn:hover, .pg-num:hover { border-color: var(--teal); color: var(--teal-deep); }
.pg-num.is-on { background: var(--teal-solid); border-color: var(--teal-solid); color: var(--on-teal-solid); }
.pg-btn.is-disabled { opacity: .45; pointer-events: none; }
.pg-gap { color: var(--muted); padding: 0 4px; }
.tr-agg { margin-top: 18px; }
.tr-agg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tr-agg-head h2 { font: 600 17px var(--sans); }
.tr-agg-group { margin-top: 10px; }
.tr-agg-pos { font: 700 12px var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--teal-deep); margin-bottom: 4px; }
.tr-agg-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tr-agg-link { font-weight: 600; color: var(--heading); }
.tr-agg-link:hover { color: var(--teal-deep); text-decoration: underline; }
.tr-agg-other { margin-left: 8px; color: var(--muted); font-size: 13.5px; }
.tr-agg-sub { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

.wotd-mini { padding: 16px; }
.wm-body { display: grid; grid-template-columns: 1fr 104px; gap: 12px; }
.wm-word { display: flex; align-items: center; gap: 8px; font: 700 26px/1.1 var(--serif); color: var(--heading); flex-wrap: wrap; }
.wm-ipa { margin-top: 4px; font-size: 15px; }
.wm-tr { margin-top: 8px; font: 600 15px/1.35 var(--sans); }
.pic-card--mini { min-height: 128px; }
.pic-card--mini figcaption { font-size: 13.5px; left: 8px; right: 8px; bottom: 8px; }
.wotd-mini .wotd-ex { font-size: 13.5px; margin-top: 10px; }
.wotd-mini .wotd-ex-tr { font-size: 12.5px; }
.wotd-mini .more-btn { margin-top: 12px; height: 40px; }

@media (max-width: 1240px) {
  .results-layout, .iv-layout { grid-template-columns: 224px minmax(0, 1fr); }
  .rail { position: static; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .results-layout, .iv-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .rail { grid-template-columns: 1fr; }
  .rc-pic { display: none; }
}
@media (max-width: 640px) {
  .results-head { flex-direction: column; align-items: stretch; }
  .sortbox { justify-content: space-between; }
  .result-card { grid-template-columns: minmax(0, 1fr) 18px; padding: 14px 14px; gap: 10px; }
}

/* ---------- word page ---------- */
.crumbbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--link); }
.crumbs a:hover { text-decoration: underline; }
.crumbs b { font-weight: 600; color: var(--heading); }
.crumbs svg.i { width: 18px; height: 18px; }
.crumb-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pn-link { display: inline-flex; align-items: center; gap: 4px; font: 500 14px var(--sans); color: var(--nav); padding: 6px 8px; border-radius: 8px; }
.pn-link:hover { background: var(--soft-teal); color: var(--teal-deep); }
.crumb-sep { width: 1px; height: 26px; background: var(--border-2); margin: 0 4px; }
.menu-wrap { position: relative; }
.pop-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 6px; z-index: 75; box-shadow: var(--shadow-lg); }
.pop-menu a, .pop-menu button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; background: none; border-radius: 9px; font: 500 14.5px var(--sans); color: var(--text); cursor: pointer; text-align: left; }
.pop-menu a:hover, .pop-menu button:hover { background: var(--soft-teal); }
.pop-menu svg.i { color: var(--teal); }

.word-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr) 316px; gap: 20px; align-items: start; padding-bottom: 22px; }
.word-side { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 14px); }
.word-nav { padding: 12px; display: grid; gap: 2px; }
.word-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; font: 500 15px var(--sans); color: var(--nav); }
.word-nav a svg.i { color: var(--teal); width: 19px; height: 19px; }
.word-nav a em { font-style: normal; color: var(--muted); font-size: 13.5px; }
.word-nav a:hover { background: var(--soft-teal); }
.word-nav a.is-active { background: var(--soft-teal); color: var(--teal-deep); font-weight: 600; }
.quote-card--side { padding: 18px 18px 96px; min-height: 200px; }
.quote-card--side p { font-size: 16px; max-width: 190px; }
.quote-card--side .quote-art { width: 100%; height: 84px; }

.word-main { padding: 26px 30px 30px; min-width: 0; }
.entry-tabs { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13.5px; }
.entry-tabs-label { color: var(--muted); margin-right: 2px; }
.entry-tab { padding: 3px 12px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--nav); font-weight: 500; }
.entry-tab.is-current { background: var(--teal-solid); border-color: var(--teal-solid); color: var(--on-teal-solid); }
a.entry-tab:hover { border-color: var(--teal); }
.word-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.word-title { font: 700 clamp(40px, 4.6vw, 62px)/1.05 var(--serif); color: var(--heading); letter-spacing: -.01em; word-break: break-word; }
.star { color: var(--muted); }
.star svg.i { stroke-width: 1.7; }
.level-row { margin-left: auto; display: inline-flex; gap: 6px; }
.lv { display: inline-grid; place-items: center; width: 34px; height: 28px; border-radius: 7px; background: var(--soft-blue); color: var(--nav); font: 600 12.5px var(--sans); }
.lv.is-on { background: var(--teal-solid); color: var(--on-teal-solid); }
:root[data-theme="dark"] .lv.is-on { color: #04202a; }
.pron-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 12px; }
.pron { display: inline-flex; align-items: center; gap: 12px; }
.pron .ipa { font-size: 24px; color: var(--muted); font-weight: 400; }
.pron .accent-btn b { font-weight: 700; letter-spacing: .03em; }
.word-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.word-tags .badge-pos { font-style: italic; font-size: 14.5px; }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.category-tag { padding: 3px 12px; border-radius: 999px; background: var(--soft-teal); color: var(--teal-deep); font: 600 12.5px var(--sans); }
.category-tag.register { background: #fff1d6; color: #9a5b06; }
:root[data-theme="dark"] .category-tag.register { background: rgba(255, 170, 60, .16); color: #ffb85c; }
/* Sensitive-content signal (Vulgar/Offensive only — see word.ejs's
   SENSITIVE_TAGS) — 2026-09-22, professional-use audit item #1. Deliberately
   just a clearer tag, not a gate/toggle: bolder border + warmer red than the
   plain .register amber so it reads as a content note, not merely a
   category chip like "Formal" or "Idiom" share the same base style with. */
.category-tag.sensitive, .sense-filter-btn.sensitive { background: #fee2e2; color: #b42318; border: 1px solid #fca5a5; font-weight: 700; }
:root[data-theme="dark"] .category-tag.sensitive, :root[data-theme="dark"] .sense-filter-btn.sensitive { background: rgba(248, 113, 113, .16); color: #fca5a5; border-color: rgba(248, 113, 113, .4); }
.sense-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 2px; }
.sense-filter-btn { border: 1px solid var(--border-2); background: var(--surface); color: var(--nav); padding: 5px 16px; border-radius: 999px; font: 600 13.5px var(--sans); cursor: pointer; }
.sense-filter-btn.active { background: var(--teal-solid); border-color: var(--teal-solid); color: var(--on-teal-solid); }
.sense-block + .sense-block { margin-top: 24px; padding-top: 6px; border-top: 1px dashed var(--border-2); }
.meanings { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.meanings li { display: flex; align-items: baseline; gap: 12px; }
.mn { flex: none; min-width: 20px; font: 500 20px var(--sans); color: var(--muted); }
.mn::after { content: "."; }
.mt { font: 700 clamp(19px, 1.7vw, 23px)/1.3 var(--sans); color: var(--heading); }
.countable-tag { display: inline-block; vertical-align: 3px; margin-left: 8px; padding: 0 9px; border-radius: 999px; background: var(--soft-blue); color: var(--text-2); font: 600 13px/22px var(--sans); letter-spacing: 0.01em; white-space: nowrap; cursor: help; }
.countable-tag--u { background: #fff1d6; color: #9a5b06; }
:root[data-theme="dark"] .countable-tag--u { background: #3b2a08; color: #f5c46b; }
.sec { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.sec-title { font: 600 20px/1.2 var(--sans); color: var(--heading); }
.sec-title + .chip-row, .sec-title + .def-one { margin-top: 12px; }
.sec-title small { font-weight: 400; color: var(--muted); font-size: 15px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.def-one { margin-top: 10px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.def-list { margin: 10px 0 0 20px; display: grid; gap: 8px; font-size: 16.5px; color: var(--text-2); }
.ex-list { margin: 14px 0 0; padding: 0 0 0 22px; display: grid; gap: 16px; }
.ex-list li::marker { color: var(--muted); font-weight: 500; }
.ex-text { display: flex; align-items: center; gap: 10px; font-size: 17.5px; line-height: 1.45; color: var(--text); }
.ex-text em { font-style: normal; font-weight: 700; color: var(--heading); }
.ex-tr { margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.mini-card { border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px 16px; background: var(--surface); }
.mini-card h2 { font: 600 18px var(--sans); color: var(--nav); margin-bottom: 12px; }
.mini-card .chip { font-size: 13px; }
.usage-note { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 12px 18px; border-radius: 12px; background: #e8f8ef; border: 1px solid #bfe9d0; color: #0e5b3a; }
.usage-note svg.i { color: #10b981; }
.usage-note b { font-weight: 700; }
.usage-note span { color: #0b3d2a; }
:root[data-theme="dark"] .usage-note { background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .35); color: #7ee0b4; }
:root[data-theme="dark"] .usage-note span { color: #c8f3de; }
.phrase-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.phrase-list a { display: flex; align-items: baseline; gap: 8px; padding: 8px 4px; border-bottom: 1px solid var(--border); }
.phrase-list a:hover .pl-word { color: var(--teal-deep); text-decoration: underline; }
.pl-word { font-weight: 600; color: var(--heading); }
.pl-pos { font: italic 500 12px var(--sans); color: var(--muted); }
.pl-tr { margin-left: auto; color: var(--muted); font-size: 13.5px; text-align: right; }
.count-pill { display: inline-block; margin-left: 6px; padding: 0 9px; border-radius: 999px; background: var(--soft-teal); color: var(--teal-deep); font: 700 13px/22px var(--sans); vertical-align: 2px; }
.pill--irr { margin-left: 8px; background: #fff1d6; color: #9a5b06; vertical-align: 3px; }
.vf-chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.vf-form { border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; background: var(--surface-2); }
.vf-label { display: block; font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.vf-word { display: block; margin-top: 2px; font: 700 26px/1.2 var(--serif); color: var(--heading); }
.vf-sound { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.vf-form--matched { background: var(--soft-teal); border-color: var(--teal); border-width: 2px; padding: 11px 15px; }
.vf-form--matched .vf-word { color: var(--teal-deep); font-size: 30px; }
.vf-form--matched .vf-label { color: var(--teal-deep); }
.vf-searched-tag { text-transform: none; letter-spacing: normal; font-weight: 600; color: var(--teal-deep); }

/* Regular / Irregular verb label (2026-10-10): entry-head tag + rule cards in Verb Forms.
   Green = regular (follows a rule), amber = irregular (memorise), same amber as .pill--irr. */
.word-tags { align-items: center; }
.verb-tag, .sec--forms { --vg-bg: #ddf6e8; --vg-fg: #1c8a57; --vg-bd: #bfe9d2; }
:root[data-theme="dark"] .verb-tag, :root[data-theme="dark"] .sec--forms { --vg-bg: rgba(16, 185, 129, .16); --vg-fg: #6ee7b7; --vg-bd: rgba(16, 185, 129, .38); }
.verb-tag { display: inline-flex; align-items: stretch; border: 1px solid var(--vt-bd, var(--vg-bd)); border-radius: 999px; overflow: hidden; background: var(--surface); text-decoration: none; transition: box-shadow var(--ease), transform var(--ease); }
.verb-tag:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15, 31, 92, .10); }
.verb-tag-k { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 10px; background: var(--vt-bg, var(--vg-bg)); color: var(--vt-fg, var(--vg-fg)); font: 700 12.5px/1.4 var(--sans); letter-spacing: .01em; white-space: nowrap; }
.verb-tag-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.verb-tag-f { display: inline-flex; align-items: center; gap: 6px; padding: 4px 13px 4px 11px; color: var(--heading); font: 600 15px/1.3 var(--serif); }
.verb-tag-arrow { color: var(--muted); font: 400 13px var(--sans); }
.verb-tag-f .vf-add { color: var(--vt-fg, var(--vg-fg)); }
.verb-tag--irr { --vt-bg: #fff1d6; --vt-fg: #9a5b06; --vt-bd: #f3d9a8; }
:root[data-theme="dark"] .verb-tag--irr { --vt-bg: #3b2a08; --vt-fg: #f5c46b; --vt-bd: #5c4313; }
.verb-tag-wrap { display: inline-flex; align-items: center; gap: 6px; }
.verb-tag-play { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #f3d9a8; background: #fff1d6; color: #9a5b06; cursor: pointer; flex: none; transition: transform var(--ease), background var(--ease); }
.verb-tag-play > svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.verb-tag-play:hover, .verb-tag-play.is-playing { background: #9a5b06; color: #fff; }
.verb-tag-play.is-playing { transform: scale(1.06); }
:root[data-theme="dark"] .verb-tag-play { background: #3b2a08; border-color: #5c4313; color: #f5c46b; }
:root[data-theme="dark"] .verb-tag-play:hover, :root[data-theme="dark"] .verb-tag-play.is-playing { background: #f5c46b; color: #3b2a08; }

.pill--regv { margin-left: 8px; background: var(--vg-bg); color: var(--vg-fg); vertical-align: 3px; }
.pill--pat { margin-left: 6px; background: var(--soft-blue); color: var(--text-2); vertical-align: 3px; }
.vf-add { color: var(--vg-fg); }
.vf-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; margin-top: 12px; }
.vf-rule { border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px 14px; background: var(--surface); }
.vf-rule-k { display: block; font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.vf-rule-en { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-top: 6px; font: 650 16.5px/1.35 var(--sans); color: var(--heading); }
.vf-rule-demo { font: 600 17px/1.3 var(--serif); color: var(--text); }
.vf-rule-tr { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.vf-rule-tr .ipa { white-space: nowrap; }
.vf-ipa-ex { margin-left: 2px; }
.vf-rule-ex { margin-top: 8px; font-size: 14px; color: var(--muted); }
.vf-rule-ex > span { margin-right: 4px; font-weight: 600; }
.vf-rule-ex a { color: var(--link); white-space: nowrap; }
.vf-rule-ex a:hover { text-decoration: underline; }
.ed-sounds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.ed-s { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); }
.ed-s b { font: 700 17px/1.25 var(--sans); }
.ed-s small { font-size: 12px; }
.ed-s.is-on { background: var(--vg-bg); border-color: var(--vg-fg); color: var(--vg-fg); }
.vf-x { color: #d33a55; font: 700 15px var(--sans); margin-right: 3px; }
.vf-wrong { color: var(--muted); font-weight: 500; text-decoration-thickness: 2px; }
.vf-ok { color: var(--vg-fg); font: 700 15px var(--sans); margin: 0 3px 0 10px; }
.vf-or { color: var(--muted); font: 400 15px var(--sans); margin: 0 2px; }
.sec--forms-irr .vf-add { color: #9a5b06; } /* irregular: the changed letters take the amber of the Irregular tag, not the regular-rule green */
:root[data-theme="dark"] .sec--forms-irr .vf-add { color: #f5c46b; }
.vf-steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.vf-steps li { display: grid; grid-template-columns: 82px 1fr; gap: 0 10px; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--border); }
.vf-step-k { font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.vf-step-f { font: 600 16px/1.3 var(--serif); color: var(--heading); }
.vf-step-tr { grid-column: 2; font-size: 14px; line-height: 1.5; color: var(--text-2); }
/* Phones: the pill becomes a small stacked card — kind on top, the forms
   below and free to wrap — so a long verb (misunderstand → misunderstood →
   misunderstood) can never widen the page (iPhone 13 report, 2026-10-10). */
@media (max-width: 600px) {
  .verb-tag-wrap { display: flex; width: 100%; align-items: center; gap: 8px; }
  .verb-tag { display: flex; flex-wrap: wrap; flex: 1 1 auto; width: 100%; min-width: 0; border-radius: 14px; }
  .verb-tag-k { flex: 1 0 100%; }
  .verb-tag-f { flex: 1 1 auto; flex-wrap: wrap; min-width: 0; row-gap: 2px; padding: 6px 12px 7px; }
  .verb-tag-f > span { overflow-wrap: anywhere; }
  .vf-steps li { grid-template-columns: 1fr; }
  .vf-step-tr { grid-column: 1; }
}
.pic-card--lg { min-height: 236px; }
.pic-card--lg figcaption { font-size: clamp(24px, 2.2vw, 32px); left: 18px; right: 18px; bottom: 20px; }
.card-title-sm { font: 600 17px var(--sans); color: var(--heading); margin-bottom: 10px; }
.forms-list { list-style: none; }
.forms-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-weight: 600; }
.forms-list li:last-child { border-bottom: 0; }
.forms-list li a:hover { color: var(--teal-deep); text-decoration: underline; }
.forms-list li.is-current { color: var(--heading); }
.forms-list em { font: 400 13px var(--sans); color: var(--muted); font-style: normal; }
.tr-lang { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--nav); }
.flag-tr { width: 26px; height: 17px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.tr-words { margin-top: 8px; font-size: 16.5px; line-height: 1.45; color: var(--text); }
.chip-row .chip { font-weight: 500; }

@media (max-width: 1240px) {
  .word-layout { grid-template-columns: 216px minmax(0, 1fr); }
  .word-layout .rail { position: static; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .word-layout .rail .pic-card--lg { grid-column: 1 / 2; }
}
@media (max-width: 980px) {
  .word-layout { grid-template-columns: 1fr; }
  .word-side { display: none; }
  .word-layout .rail { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
  .phrase-list { grid-template-columns: 1fr; }
  .vf-chain { grid-template-columns: 1fr; }
  .word-main { padding: 20px 18px 24px; }
  .level-row { margin-left: 0; width: 100%; }
  .pron .ipa { font-size: 21px; }
  .crumb-actions .btn-secondary:not(.btn-icon) { padding: 0 10px; }
  .pn-link { display: none; }
}
@media print {
  .site-header, .hero, .crumbbar, .word-side, .rail, .site-footer, .bottom-nav, .toast-host { display: none !important; }
  .word-layout { display: block; padding: 0; }
  .word-main { border: 0; box-shadow: none; padding: 0; }
}

/* ---------- irregular verbs / phrases ---------- */
.iv-layout { padding-top: 22px; padding-bottom: 20px; }
.fgroup--flat { border-bottom: 1px solid var(--border); padding: 12px 0; }
.fl { display: block; font: 600 15px var(--sans); color: var(--heading); margin-bottom: 8px; }
.mini-input { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1.5px solid var(--border-2); border-radius: 10px; background: var(--surface); color: var(--muted); }
.mini-input:focus-within { border-color: var(--teal); }
.mini-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 14.5px var(--sans); color: var(--text); }
.radio-col { display: grid; gap: 8px; }
.letter-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.lt { display: grid; place-items: center; height: 32px; border-radius: 8px; background: var(--soft-blue); color: var(--nav); font: 600 13px var(--sans); }
.lt:hover { background: var(--soft-teal); }
.lt.is-on { background: var(--teal-solid); color: var(--on-teal-solid); }
.filters .quote-card--flat { margin-top: 16px; padding: 14px 6px 84px; min-height: 0; background: transparent; border: 0; box-shadow: none; }
.filters .quote-card--flat p { font-size: 15px; max-width: 170px; }
.filters .quote-card--flat .quote-art { width: 100%; height: 76px; }
.iv-main, .ph-main { min-width: 0; }
/* Same 1241-1400px viewport "dead zone" as .pcards above: the irregular-verbs
   table's 7 columns get ~595px and every header/cell gets clipped or broken
   mid-word. Drop the two least essential columns whenever the table's own
   container is that narrow — same thing the <=900px media query below
   already does for phones, just driven by the real available width. */
.iv-main { container-type: inline-size; }
/* (the @container block itself sits AFTER the .iv-table rules below — same
   specificity, so it has to come later in the file to win the cascade) */
.iv-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.iv-title { display: flex; align-items: center; gap: 14px; }
.iv-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; color: var(--teal); }
.iv-ic svg.i { width: 40px; height: 40px; stroke-width: 1.6; }
.iv-title h1 { font: 700 clamp(28px, 2.6vw, 38px)/1.1 var(--serif); color: var(--heading); }
.iv-title p { margin-top: 2px; color: var(--muted); font-size: 15px; }
.iv-stats { display: flex; gap: 0; padding: 8px 6px; }
.iv-stats span { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 4px 22px; }
.iv-stats span + span { border-left: 1px solid var(--border); }
.iv-stats svg.i { grid-row: 1 / 3; width: 30px; height: 30px; color: var(--teal); }
.iv-stats b { font: 700 16px/1.1 var(--sans); color: var(--heading); align-self: end; }
.iv-stats small { font-size: 12.5px; color: var(--muted); align-self: start; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); color: var(--nav); font: 500 14.5px var(--sans); transition: all var(--ease); }
.tab:hover { border-color: var(--teal); color: var(--teal-deep); }
.tab.is-on { background: var(--teal-solid); border-color: var(--teal-solid); color: var(--on-teal-solid); }
:root[data-theme="dark"] .tab.is-on { color: #04202a; }
.tabs--chips { gap: 8px; margin: 0; }
.tabs--chips .tab { height: 36px; padding: 0 16px; font-size: 13.5px; border-radius: 8px; }
.tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.notice { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: var(--soft-teal); color: var(--teal-deep); font-size: 14.5px; }
.table-wrap { overflow: visible; }
.iv-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.iv-table col.cg-n { width: 40px; } .iv-table col.cg-base { width: 12.5%; } .iv-table col.cg-past { width: 11.5%; } .iv-table col.cg-pp { width: 12.5%; } .iv-table col.cg-ing { width: 11%; } .iv-table col.cg-tr { width: 15%; } .iv-table col.cg-m { width: 44px; }
.iv-table td { overflow-wrap: anywhere; }
.iv-table th { position: sticky; top: var(--header-h); background: var(--soft-blue); color: var(--heading); font: 600 13.5px var(--sans); text-align: left; padding: 12px 10px; white-space: nowrap; z-index: 2; }
.iv-table th:first-child { border-top-left-radius: var(--radius); }
.iv-table th:last-child { border-top-right-radius: var(--radius); }
.iv-table td { padding: 10px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; background: var(--surface); }
.iv-table tr:last-child td { border-bottom: 0; }
.iv-table tr:last-child td:first-child { border-bottom-left-radius: var(--radius); }
.iv-table tr:last-child td:last-child { border-bottom-right-radius: var(--radius); }
.iv-table tbody tr:hover td { background: color-mix(in srgb, var(--soft-teal) 45%, var(--surface)); }
.c-n { width: 44px; text-align: center !important; color: var(--muted); }
.c-base { white-space: nowrap; }
.c-base .audio-btn, .iv-table td .audio-btn { margin-left: 8px; vertical-align: middle; }
.vb { font-weight: 700; color: var(--heading); }
.vb:hover { color: var(--teal-deep); text-decoration: underline; }
.vform { color: var(--text); }
.c-ing { color: var(--text-2); }
.c-tr { color: var(--link); overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--link) 40%, transparent); text-underline-offset: 3px; }
.c-ex { color: var(--text); font-size: 14.5px; }
.c-ex em { font-style: normal; font-weight: 700; color: var(--heading); }
.c-m { width: 46px; text-align: right; }
.c-m .pop-menu { right: 0; }
.c-m .pop-menu button.is-on svg { fill: var(--amber); color: var(--amber); }
/* Narrow-container variant of the table (see .iv-main container-type above,
   and the 1241-1400px viewport dead zone note there). Must stay below the
   .iv-table base rules: same specificity, later wins. */
@container (max-width: 760px) {
  .iv-table th.c-ex, .iv-table td.c-ex, .iv-table th.c-ing, .iv-table td.c-ing { display: none; }
  /* The default table-layout is fixed, driven by the <col> widths — and a
     hidden column's <col> keeps claiming its share (the Example col had no
     width and took the whole remainder, so hiding its cells left a blank
     strip and the Turkish column stayed 60px wide). Auto layout sizes the
     five remaining columns from their actual content and fills the width. */
  .iv-table { table-layout: auto; }
  .iv-table th { white-space: normal; }
  /* .c-tr's overflow-wrap:anywhere (a phone-era guard against a single
     long Turkish word overflowing) makes auto layout treat the column's
     minimum as ~one character, so it was still starved to ~65px with all
     the freed space going to the verb columns. Wrap at spaces only here
     and hold a real minimum; the longest single word (~"uyandırmak") fits. */
  .iv-table td.c-tr { overflow-wrap: normal; min-width: 150px; }
  /* Same reason for the verb columns: the base `td { overflow-wrap: anywhere }`
     let auto layout squeeze "became" into "becam/e" — a single verb form
     never needs mid-word breaking, so size the column to the word instead. */
  .iv-table td { overflow-wrap: normal; }
}
.rail-actions { display: flex; gap: 10px; justify-content: flex-end; }
.topv-list { list-style: none; display: grid; gap: 4px; }
.topv-list li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.topv-list li:last-child { border-bottom: 0; }
.topv-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft-blue); color: var(--nav); font: 700 13px var(--sans); }
.topv-w { font-weight: 700; color: var(--heading); }
.topv-w:hover { color: var(--teal-deep); }
.topv-f { color: var(--muted); font-size: 14px; }
.tool-list { list-style: none; display: grid; gap: 4px; margin-top: 8px; }
.tool-list a { display: flex; align-items: center; gap: 14px; padding: 9px 4px; border-radius: 10px; }
.tool-list a:hover { background: var(--soft-teal); }
.tl-ic { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--soft-teal); color: var(--teal); display: grid; place-items: center; }
.tool-list b { display: block; font: 600 14.5px var(--sans); color: var(--heading); }
.tool-list small { display: block; color: var(--muted); font-size: 12.5px; }

/* phrases */
.ph-side { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 14px); }
.ph-cats { padding: 16px 12px; }
.ph-cats .filters-title { padding-left: 4px; }
.ph-cats ul { list-style: none; display: grid; gap: 2px; }
.ph-cats a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 9px; font: 500 14.5px var(--sans); color: var(--nav); }
.ph-cats a svg.i { color: var(--teal); width: 19px; height: 19px; }
.ph-cats a span { flex: 1; }
.ph-cats a em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.ph-cats a:hover { background: var(--soft-teal); }
.ph-cats a.is-on { background: var(--soft-teal); color: var(--teal-deep); font-weight: 600; }
.ph-levels { position: static; max-height: none; }
.lvl-list { list-style: none; display: grid; gap: 2px; }
.lvl-list li { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.lvl-list li em { font-style: normal; font-size: 12.5px; color: var(--muted); background: var(--surface-2); border-radius: 6px; padding: 1px 7px; }
.iv-ic--chat { color: var(--teal); }
.ph-meta { margin: 0 0 10px; }
/* container-type so the card layout below can respond to the width the
   cards ACTUALLY get (.ph-main), not the viewport. Found live 2026-09-25:
   between 1241px and ~1400px of viewport the page is still 3 columns
   (240px sidebar + main + 316px rail, breakpoint 1240px) but main is only
   ~595-730px, and this card's 4 fixed-ish columns (250 + 54 + ~198 + gaps +
   padding = ~592px) left the definition column at 0px — every word on its
   own line. Exactly the effective width of a common laptop/2560px@200%
   setup, and a viewport-based media query can't see it. */
.pcards { display: grid; gap: 10px; container-type: inline-size; }
.pcard { position: relative; display: grid; grid-template-columns: minmax(160px, 250px) 54px minmax(180px, 1fr) auto; gap: 8px 18px; align-items: start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); transition: border-color var(--ease), box-shadow var(--ease); }
.pcard:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.pc-title { display: flex; align-items: center; gap: 10px; }
.pc-word { font: 700 clamp(19px, 1.7vw, 23px)/1.2 var(--serif); color: var(--heading); }
.pc-audio { position: relative; z-index: 2; flex: none; }
.pc-tr { margin-top: 4px; color: var(--muted); font-size: 15px; }
.pc-def { color: var(--text-2); font-size: 14px; line-height: 1.45; }
.pc-ex { list-style: none; margin-top: 6px; display: grid; gap: 3px; }
.pc-ex li { position: relative; padding-left: 14px; font-size: 14px; color: var(--text); }
.pc-ex li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.pc-ex em { font-style: normal; font-weight: 700; color: var(--heading); }
.pc-side { display: flex; align-items: center; gap: 4px; position: relative; z-index: 2; }
.pc-tag { padding: 4px 14px; border-radius: 8px; background: var(--soft-blue); color: var(--nav); font: 500 13px var(--sans); white-space: nowrap; margin-right: 6px; }
.pc-star.is-on { color: var(--amber); }
.pc-more .pop-menu { right: 0; }
.featured .fp-word { display: flex; align-items: center; gap: 12px; margin-top: 12px; font: 700 26px/1.15 var(--serif); color: var(--heading); flex-wrap: wrap; }
.fp-tr { margin-top: 6px; font: 600 16px var(--sans); color: var(--text); }
.fp-def { margin-top: 8px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.fp-ex { position: relative; margin-top: 12px; padding: 14px 16px 60px; border-radius: 12px; background: var(--soft-blue); overflow: hidden; }
.fp-ex ul { list-style: none; display: grid; gap: 6px; position: relative; z-index: 1; }
.fp-ex li { position: relative; padding-left: 14px; font-size: 14px; }
.fp-ex li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.fp-ex em { font-style: normal; font-weight: 700; color: var(--heading); }
.fp-ex .quote-art { width: 60%; height: 64px; }

@media (max-width: 1240px) {
  .ph-side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 1100px) {
  .pcard { grid-template-columns: minmax(0, 1fr) auto; }
  .pc-level { grid-column: 2; grid-row: 1; justify-self: end; }
  .pc-body { grid-column: 1 / -1; }
  .pc-side { grid-column: 1 / -1; justify-content: flex-end; }
}
/* Same stacked layout, keyed on the cards' own container (see .pcards):
   under ~700px of card width the 4-column row can't give the definition
   its 180px minimum, so stack it under the headword instead. */
@container (max-width: 700px) {
  .pcard { grid-template-columns: minmax(0, 1fr) auto; }
  .pc-level { grid-column: 2; grid-row: 1; justify-self: end; }
  .pc-body { grid-column: 1 / -1; }
  .pc-side { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (max-width: 900px) {
  .ph-side { grid-template-columns: 1fr; }
  .iv-table th.c-ex, .iv-table td.c-ex, .iv-table th.c-ing, .iv-table td.c-ing { display: none; }
  .table-wrap { overflow-x: auto; }
  .iv-stats span { padding: 4px 12px; }
}
@media (max-width: 640px) {
  .iv-table td, .iv-table th { padding: 10px 8px; font-size: 14px; }
  .c-n { display: none; }
  .tab { padding: 0 14px; height: 38px; }
  .iv-stats { display: none; }
}

/* results: mobile toolbar, tabs, star */
.m-tabs, .m-toolbar, .rc-star { display: none; }
.rc-star { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .m-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; padding-bottom: 2px; }
  .m-tabs::-webkit-scrollbar { display: none; }
  .m-tabs .tab { height: 36px; padding: 0 18px; flex: none; }
  .m-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; color: var(--text-2); font-size: 14.5px; }
  .m-toolbar .sortbox { margin-left: auto; }
  .m-toolbar .icon-btn { width: 40px; height: 40px; border-radius: 10px; background: var(--soft-blue); }
  .m-toolbar .icon-btn.is-on { background: var(--teal-solid); color: var(--on-teal-solid); }
  .results-head { display: none; }
  .results-layout .filters { display: none; order: 3; }
  .results-layout .filters.is-open { display: block; position: static; max-height: none; }
  .results-layout .results-main { order: 1; }
  .results-layout .rail { order: 4; }
  .rc-star { display: inline-grid; }
  .result-list { border: 0; background: transparent; box-shadow: none; display: grid; gap: 10px; overflow: visible; }
  .result-card { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); }
  .result-card.is-top { box-shadow: var(--shadow-sm); border-color: var(--teal); }
  .rc-top { flex-wrap: wrap; }
  .rc-star { margin-left: auto; }
}

.pill--reg { background: var(--soft-blue); color: var(--nav); }
.pill--reg.pill--sensitive { background: #fee2e2; color: #b42318; border: 1px solid #fca5a5; display: inline-flex; align-items: center; gap: 4px; }
:root[data-theme="dark"] .pill--reg.pill--sensitive { background: rgba(248, 113, 113, .16); color: #fca5a5; border-color: rgba(248, 113, 113, .4); }

/* ---------- mobile: tables become cards, side filters become toggles ---------- */
@media (max-width: 700px) {
  .table-wrap { overflow: visible; }
  .iv-table, .iv-table tbody, .iv-table tr, .iv-table td { display: block; }
  .iv-table thead, .iv-table colgroup { display: none; }
  .iv-table tbody { display: grid; gap: 10px; }
  .table-wrap.card { background: transparent; border: 0; box-shadow: none; }
  .iv-table tr { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: 13px 44px 13px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
  .iv-table td, .iv-table tr:last-child td { padding: 0; border: 0; background: transparent !important; border-radius: 0; }
  .iv-table td.c-n, .iv-table td.c-ing, .iv-table td.c-ex { display: none; }
  .iv-table td.c-base { flex: 1 0 100%; display: flex; align-items: center; gap: 10px; font-size: 19px; }
  .iv-table td.c-base .audio-btn { order: 2; margin: 0; }
  .iv-table td:nth-child(3)::before, .iv-table td:nth-child(4)::before { display: block; font: 600 10.5px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .iv-table td:nth-child(3)::before { content: "Past"; }
  .iv-table td:nth-child(4)::before { content: "Participle"; }
  .iv-table td.c-tr { flex: 1 0 100%; margin-top: 4px; min-width: 0; }
  .iv-table td.c-m { position: absolute; top: 8px; right: 6px; width: auto; }
  .sv-table td.c-fav, .sv-table td.sc-fav { position: absolute; top: 8px; right: 6px; }
  .iv-layout .filters, .sv-layout .filters { display: none; }
  .ph-side { display: none; }
}
@media (max-width: 900px) {
  .iv-layout .filters { display: none; }
  .iv-layout .filters.is-open { display: block; position: static; max-height: none; }
  .m-only { display: flex; }
  .ph-cats { display: none; }
  .sv-side { display: block; }
  .sv-side .quote-card { display: none; }
  .sv-side .ph-cats { display: block; }
  .sv-side .filters-title { display: none; }
  .sv-side .ph-cats ul { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; padding-bottom: 2px; }
  .sv-side .ph-cats ul::-webkit-scrollbar { display: none; }
  .sv-side .ph-cats li { flex: none; }
  .sv-side .ph-cats a { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); white-space: nowrap; }
  .sv-side .ph-cats a svg { display: none; }
  .sv-side .ph-cats a.is-on { background: var(--teal-solid); border-color: var(--teal-solid); color: var(--on-teal-solid); }
  .sv-side .ph-cats a.is-on em { color: rgba(255, 255, 255, .8); }
  .sv-side .ph-cats { padding: 0; background: transparent; border: 0; box-shadow: none; margin-bottom: 10px; }
  .sv-side .sv-lists-head { display: none; }
}
@media (min-width: 901px) { .m-only { display: none !important; } }

@media (max-width: 900px) {
  .ph-side { display: block; }
  .ph-levels { display: none; }
  .ph-levels.is-open { display: block; margin-bottom: 12px; }
  .ph-side .ph-cats { display: none; }
}
@media (max-width: 700px) { .ph-side { display: block; } }

/* Word page, entries with 3+ senses: one numbered list, each sense with its
   own definition and examples (views/word.ejs bySense, 2026-10-16). */
.sense-list { list-style: none; margin: 18px 0 0; padding: 0; }
.sense-item { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; }
.sense-item:first-child { padding-top: 0; }
.sense-item + .sense-item { border-top: 1px solid var(--border-2); }
.sense-item[hidden] { display: none; }
.sense-item > .mn { min-width: 30px; }
.sense-body { flex: 1; min-width: 0; }
.sense-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.sense-head .countable-tag { margin-left: 0; vertical-align: 0; }
.sense-tag { padding: 0 9px; font-size: 12px; line-height: 22px; }
.sense-def { margin-top: 6px; font-size: 16.5px; line-height: 1.5; color: var(--text-2); }
.sense-ex { list-style: none; margin: 10px 0 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--soft-teal); display: grid; gap: 10px; }
.sense-ex .ex-text { font-size: 16.5px; }
@media (max-width: 600px) {
  .sense-item { gap: 8px; }
  .sense-item > .mn { min-width: 24px; font-size: 18px; }
  .sense-def, .sense-ex .ex-text { font-size: 16px; }
  .sense-ex { padding-left: 10px; }
}
