/* WordlyPlay — result card (2026-10-15): your board when solved, the word when missed; one layout for every mode. Same file on the website and in the app. */
#word-card-modal .modal { padding: 16px 16px 14px; max-width: 380px; max-height: 94vh; }
#word-card-modal .modal__close { top: 8px; right: 10px; }
#word-card-modal .word-card__result-icon { display: none !important; }
#word-card-modal .word-card__result-msg { font-size: 18px; margin: 0 0 8px; }
#word-card-modal .word-card__word { font-size: 30px; letter-spacing: .14em; margin: 4px 0 2px; line-height: 1.15; }
#word-card-modal.wc-lost .word-card__word { font-size: 38px; margin-top: 0; }
#word-card-modal .word-card__pos { font-size: 11.5px; padding: 1px 9px; margin-bottom: 4px; }
#word-card-modal .word-card__definition { font-size: 14px; line-height: 1.45; margin: 0 auto 4px; max-width: 30ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#word-card-modal .word-card__example { display: none !important; }
#word-card-modal #wc-actions { margin-top: 8px !important; gap: 8px !important; display: flex; flex-direction: column; }
.wc-mini { display: grid; gap: 4px; justify-content: center; margin: 0 auto 4px; }
.wc-mini b { width: var(--wct, 20px); height: var(--wct, 20px); border-radius: 5px; display: block; }
.wc-mini .c { background: var(--correct, #22C55E); } .wc-mini .p { background: var(--present, #F59E0B); } .wc-mini .a { background: #334155; }
.wc-was { font: 800 12px/1 var(--font-body, 'Nunito', sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--text-tertiary, #94A3B8); text-align: center; margin: 2px 0 0; }
.wc-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.wc-chip { display: inline-flex; align-items: center; gap: 5px; font: 800 12.5px/1.2 var(--font-body, 'Nunito', sans-serif); padding: 5px 10px; border-radius: 99px; background: rgba(148,163,184,.12); color: var(--text-primary, #E2E8F0); }
.wc-chip.s { background: rgba(249,115,22,.14); color: #FDBA74; }
.wc-chip.p { background: rgba(251,146,60,.14); color: #FDBA74; }
.wc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wc-row .btn { width: 100%; min-width: 0; padding-left: 6px; padding-right: 6px; justify-content: center; white-space: nowrap; }
.wc-row .btn.wc-full { grid-column: 1 / -1; }
.wc-next { text-align: center; font: 800 13px/1.2 var(--font-body, 'Nunito', sans-serif); color: #FACC15; }
.wc-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; }
.wc-link { background: none; border: 0; padding: 4px 2px; font: 700 13px/1.2 var(--font-body, 'Nunito', sans-serif); color: var(--text-secondary, #94A3B8); text-decoration: none; cursor: pointer; }
.wc-link:hover { color: var(--text-primary, #F1F5F9); text-decoration: underline; }
[data-theme="light"] .wc-mini .a { background: #94A3B8; }
[data-theme="light"] .wc-chip { background: rgba(15,23,42,.06); color: #0F172A; }
