/* Compact controls with explicit touch targets; preserve noun and card-builder colors. */
body[data-dg-page=dictionary] .wotd-word .art{margin-right:.3em}
body[data-dg-page=dictionary] .wotd>.w-btn{width:auto!important;min-width:48px;flex:0 0 auto;padding:9px 14px}
body[data-dg-page=dictionary] .wotd-meaning{overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html[data-dg-mode=dark] body[data-dg-page=flashcards] .fc-subtitle,html[data-dg-mode=dark] body[data-dg-page=flashcards] .fc-stat-label{color:#bfd1c2!important}
html[data-dg-mode=dark] body[data-dg-page=flashcards] .fc-stat-num{color:#8cdb86!important}
body[data-dg-page] button,body[data-dg-page] summary{-webkit-tap-highlight-color:transparent}
@media(max-width:600px){
 body[data-dg-page=flashcards] .fc-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:18px}
 body[data-dg-page=flashcards] .fc-stat{padding:12px 7px;border-radius:12px;min-width:0}
 body[data-dg-page=flashcards] .fc-stat-icon,body[data-dg-page=flashcards] .fc-stat:after{display:none}
 body[data-dg-page=flashcards] .fc-stat-label{font-size:9px;letter-spacing:0;line-height:1.3;min-height:24px;margin-bottom:5px}
 body[data-dg-page=flashcards] .fc-stat-num{font-size:22px}
 body[data-dg-page=dictionary] .wotd{gap:10px;padding:12px}
 body[data-dg-page=dictionary] .wotd-icon{display:none}
 body[data-dg-page=dictionary] .wotd-meaning{font-size:13px;line-height:1.5}
 .footer-main{margin-top:28px!important}
 .footer-main>div.max-w-7xl{padding-top:24px!important;padding-bottom:100px!important}
 .footer-main>div>.grid{gap:18px!important;margin-bottom:20px!important}
 .footer-main>div>.grid>div:first-child p,.footer-main>div>.grid>div:first-child .footer-badge,.footer-main>div>.grid>div:nth-child(2),.footer-main .footer-social{display:none}
 .footer-main .footer-logo-wrap{margin-bottom:0!important}
 .footer-main .footer-heading{margin-bottom:6px}
 .footer-main .footer-link-contact{min-height:36px}
}
@media(prefers-reduced-motion:reduce){body[data-dg-page] .fc-stat,body[data-dg-page] .fc-header,body[data-dg-page] .fc-stats-grid{animation:none!important;transition:none!important}}
