/* Styles belong exclusively to the Telugu page's Yaasa integration. */
.grid-wrap.two-cols.yaasa-stacked-layout { grid-template-columns: minmax(0, 1fr); }
#telugu-yasalu { height: auto; min-height: 0; padding: 14px 20px; overflow: hidden; }
#telugu-yasalu .yaasa-header { display: flex; align-items: center; gap: 12px; min-width: 0; }
#telugu-yasalu h3 { margin: 0; flex-shrink: 0; }
#yaasa-status { flex: 0 1 auto; min-width: 0; margin: 0 0 0 auto; text-align: right; font-size: .78rem; line-height: 1.4; overflow-wrap: anywhere; opacity: .8; }
#yaasa-status[data-error="true"] { color: #d1664d; opacity: 1; }
#telugu-yasalu .yaasa-ticker {
  overflow: hidden; margin: 8px -20px 8px; padding: 7px 0;
  border-block: 1px solid #8883;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
#telugu-yasalu .yaasa-ticker-track { display: flex; width: max-content; }
#telugu-yasalu .yaasa-ticker-track.is-ready { animation: yaasa-word-drift var(--yaasa-ticker-duration, 180s) linear infinite; }
#telugu-yasalu .yaasa-ticker-group { display: flex; align-items: center; gap: 32px; padding-right: 32px; flex-shrink: 0; }
#telugu-yasalu .yaasa-ticker-word { white-space: nowrap; font-size: 1.05rem; }
#telugu-yasalu .yaasa-ticker-word::before { content: '·'; color: #ff9933; margin-right: 32px; }
#telugu-yasalu .yaasa-ticker-loading { padding-inline: 20px; opacity: .65; font-size: .9rem; }
#telugu-yasalu .yaasa-ticker:hover .yaasa-ticker-track,
#telugu-yasalu .yaasa-ticker:focus-within .yaasa-ticker-track { animation-play-state: paused; }
#yaasa-form { display: grid; gap: 0; }
#telugu-yasalu .yaasa-composer {
  display: flex; align-items: center; min-width: 0; padding: 3px 4px 3px 14px;
  border: 1px solid #8885; border-radius: 999px; background: #8881;
  transition: border-color .2s, box-shadow .2s;
}
#telugu-yasalu .yaasa-composer:focus-within { border-color: #8885; box-shadow: none; }
#yaasa-form input, #yaasa-form select { box-sizing: border-box; min-width: 0; font: inherit; line-height: 1.6; color: inherit; }
#yaasa-input { flex: 1 1 0; width: 0; height: 34px; padding: 0 12px 0 0; background: transparent; border: 0; border-radius: 0; }
#yaasa-form input::placeholder { color: inherit; opacity: .5; }
#telugu-yasalu .yaasa-controls { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
#yaasa-region { width: auto; min-width: 175px; flex-shrink: 0; height: 30px; padding: 0 8px 0 14px; background: transparent; border: 0; border-left: 1px solid #8884; border-radius: 0; font-size: .9rem; cursor: pointer; }
#yaasa-form option { color: #222; background: #fff; }
#yaasa-submit { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; padding: 0; color: #171717; background: #ff9933; border: 0; border-radius: 50%; cursor: pointer; transition: opacity .2s, transform .2s; }
#yaasa-submit:hover:not(:disabled) { transform: scale(1.04); }
#yaasa-submit:disabled { opacity: .4; cursor: default; }
#yaasa-form :focus-visible, #telugu-yasalu .yaasa-ticker:focus-visible { outline: 1px solid #8888; outline-offset: 2px; }
#yaasa-input:focus-visible { outline: none; }
#yaasa-region:focus, #yaasa-region:focus-visible { outline: none; box-shadow: none; }
#telugu-yasalu .yaasa-result { margin-top: 6px; border: 1px solid #8883; border-radius: 999px; background: #88888808; }
#yaasa-output { display: block; width: 100%; height: 40px; padding: 0 14px; border: 0; border-radius: inherit; background: transparent; }
#telugu-yasalu .yaasa-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes yaasa-word-drift { to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  #telugu-yasalu { padding: 12px; }
  #telugu-yasalu .yaasa-ticker { margin-inline: -12px; }
  #telugu-yasalu .yaasa-composer { padding-left: 12px; }
  #yaasa-input, #yaasa-output { font-size: .9rem; }
  #yaasa-region { width: auto; min-width: 160px; padding-left: 8px; font-size: .8rem; }
  #telugu-yasalu .yaasa-controls { gap: 5px; }
  #yaasa-submit { flex-basis: 30px; width: 30px; height: 30px; }
  #telugu-yasalu .yaasa-header { gap: 8px; flex-wrap: wrap; }
  #yaasa-status { flex-basis: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  #telugu-yasalu .yaasa-ticker { overflow-x: auto; mask-image: none; }
  #telugu-yasalu .yaasa-ticker-track.is-ready { animation: none; }
  #telugu-yasalu .yaasa-ticker-group[aria-hidden="true"] { display: none; }
  #yaasa-submit { transition: none; }
}
