.reading-word-bloom {
  display: inline-flex;
  vertical-align: middle;
  flex-direction: column;
  min-width: 280px;
  max-width: 420px;
  margin: 7px 8px;
  padding: 13px 14px;
  border: 1px solid #f0c46f;
  border-radius: 17px;
  background: linear-gradient(145deg, #fffbe8, #fff6dc);
  box-shadow: 0 12px 28px rgba(115, 80, 30, .14);
  color: #57452d;
  font-size: 12px;
  line-height: 1.55;
  animation: wordBloomIn .22s ease;
}
.reading-word-bloom-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reading-word-bloom-head b { color: #c66027; font-size: 15px; }
.reading-word-bloom-meaning { margin: 7px 0 9px; color: #4e463e; }
.reading-word-bloom-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.reading-word-bloom-actions button {
  padding: 7px 9px;
  border: 1px solid #edd5b1;
  border-radius: 9px;
  background: #fff;
  color: #675443;
  font: 700 10px Lexend, sans-serif;
  cursor: pointer;
}
.reading-word-bloom-actions button.primary { border-color: #79bd8a; background: #eaf8ed; color: #287443; }
@keyframes wordBloomIn { from { opacity: 0; transform: translateY(-5px) scale(.96); } to { opacity: 1; transform: none; } }
@media(max-width:900px) { .reading-word-bloom { display: flex; max-width: 100%; margin: 10px 0; } }
.reading-paper-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.reading-logo-mark {
  position: relative;
  flex: 0 0 100px;
  width: 100px;
  height: 76px;
  margin-top: -10px;
  overflow: hidden;
  border-radius: 14px;
  background: #fffaf6;
}
.reading-logo-mark img {
  position: absolute;
  top: -25px;
  left: -25px;
  width: 150px;
  height: 150px;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
@media(max-width:620px) {
  .reading-logo-mark { flex-basis: 78px; width: 78px; height: 62px; }
  .reading-logo-mark img { top: -20px; left: -20px; width: 118px; height: 118px; }
}
.reading-workspace {
  align-content: start;
  grid-auto-rows: max-content;
}
.reading-tabs {
  align-self: start;
  align-items: center;
  width: 100%;
  min-height: 44px;
}
.reading-tab,
.reading-tab.active {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  margin: 0;
  padding: 0 14px;
  border-width: 1px;
  border-radius: 999px;
  outline: none;
  transform: none;
  line-height: 38px;
}
.reading-tab:focus-visible {
  outline: 3px solid rgba(244, 119, 67, .24);
  outline-offset: 2px;
}
