/* Раздел «Слова по темам» */
.oe-tv { --blue: #008ada; --ink: #26323a; --mute: #6b808c; --line: #e6edf2; --bg: #f5f9fc; margin-bottom: 20px; }
.oe-tv [hidden], .oe-tvbar[hidden] { display: none !important; }
.oe-about { margin: 0 0 14px; color: var(--mute, #6b808c); }
.oe-about summary { cursor: pointer; font-size: 14px; color: #6b808c; }
.oe-about summary:hover { color: #008ada; }
.oe-tv__hero { padding: 22px; border-radius: 16px; background: linear-gradient(135deg, #e8f4fd, #f5fbff); margin-bottom: 16px; }
.oe-tv__lead { margin-bottom: 14px; color: var(--mute); font-size: 15px; }
.oe-tv__lead strong { color: var(--ink); font-size: 22px; }
.oe-tv__search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1.5px solid transparent; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(0, 80, 130, .08); color: var(--mute); }
.oe-tv__search:focus-within { border-color: var(--blue); }
.oe-tv__search svg { width: 20px; height: 20px; flex: none; }
.oe-tv__search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px 0; font-size: 17px; background: none; color: var(--ink); }
.oe-tv__status { min-height: 22px; margin: 4px 2px 8px; color: var(--mute); font-size: 14px; }
.oe-tv__group { margin-bottom: 24px; }
.oe-tv__group h2 { margin: 0 0 12px; font-size: 21px; color: var(--ink); }
.oe-tv__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.oe-tv__tile { display: grid; grid-template-columns: 48px 1fr; grid-template-areas: "ico name" "ico meta" "bar bar" "done done"; gap: 2px 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; transition: border-color .12s, box-shadow .12s, transform .12s; }
.oe-tv__tile:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(0, 138, 218, .13); transform: translateY(-1px); }
.oe-tv__ico { grid-area: ico; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--bg); }
.oe-tv__ico img { width: 34px; height: 34px; object-fit: contain; }
.oe-tv__name { grid-area: name; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.oe-tv__meta { grid-area: meta; font-size: 13px; color: var(--mute); }
.oe-tv__bar { grid-area: bar; margin-top: 10px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.oe-tv__bar i { display: block; height: 100%; width: 0; background: #158a56; }
.oe-tv__done { grid-area: done; margin-top: 4px; font-size: 12px; font-weight: 700; color: #158a56; }
.oe-tv__empty { padding: 20px; text-align: center; color: var(--mute); }

/* Страница темы: панель и карточки */
.oe-tvbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 14px; padding: 10px 14px; border: 1px solid #e6edf2; border-radius: 12px; background: #f5f9fc; font-size: 14px; }
.oe-tvbar__sw { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: #26323a; }
.oe-tvbar__sw input { position: absolute; opacity: 0; }
.oe-tvbar__sw span { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #c9d6de; transition: background .15s; }
.oe-tvbar__sw span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.oe-tvbar__sw input:checked + span { background: #008ada; }
.oe-tvbar__sw input:checked + span::after { transform: translateX(16px); }
.oe-tvbar__sw input:focus-visible + span { outline: 2px solid #008ada; outline-offset: 2px; }
.oe-tvbar__btn { padding: 7px 14px; border: 1px solid #008ada; border-radius: 999px; background: #fff; color: #008ada; font-size: 14px; cursor: pointer; }
.oe-tvbar__btn:hover:not(:disabled) { background: #008ada; color: #fff; }
.oe-tvbar__btn:disabled { border-color: #c9d6de; color: #8aa0ac; cursor: default; }
.oe-tvbar__note { color: #6b808c; }

.main_card_word--content_title { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.oe-spk { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: #e8f4fd; color: #008ada; cursor: pointer; transition: background .12s; flex: none; vertical-align: middle; }
.oe-spk svg { width: 15px; height: 15px; }
.oe-spk:hover { background: #cfe8f9; }
.oe-spk.is-playing { background: #008ada; color: #fff; }
.main_card_word--content_title .oe-fav { width: 26px; height: 26px; }
.main_card_word--content_title .oe-fav svg { width: 20px; height: 20px; }

.main_card_word--list.is-hide-tr .oe-tr { filter: blur(6px); cursor: pointer; user-select: none; transition: filter .15s; }
.main_card_word--list.is-hide-tr .main_card_word.is-open .oe-tr { filter: none; user-select: auto; }
@media (max-width: 600px) {
	.oe-tv__hero { padding: 16px; }
	.oe-tv__grid { grid-template-columns: 1fr; }
}
.oe-tv__emoji { font-size: 28px; line-height: 1; }
.main_card_word--content_title + .main_card_word--content_transcription { margin-top: 2px; }
.main_card_word:not(:has(.main_card_word--img)) .main_card_word--content { padding-top: 24px; }
