.wl-ring { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke-width: 2.6; stroke-linecap: round; }
.wl-ring path { stroke: #24382d26; }
.wl-ring path.on { stroke: #355343; }
.wl-ring.is-rusty path.on { stroke: #b07a2c; stroke-dasharray: 2.2 2.6; }
.wl-ring.is-known path.on { stroke: #2f6b45; }
.wl-ring-lg { width: 46px; height: 46px; stroke-width: 2.2; }
.wl-ring path.is-fresh { animation: wl-fill .7s cubic-bezier(.22, 1, .36, 1) both; stroke-dasharray: 12; }
@keyframes wl-fill { from { stroke-dashoffset: 12; } to { stroke-dashoffset: 0; } }

.living-wall .wh-word-card .lw-word > .wl-ring { position: absolute; top: 16px; right: 16px; }

.lw-hide-meanings .lw-grid .wh-translation { visibility: hidden; }
.lw-hide-meanings .wl-card:not(.is-revealed) :is(.wp-definition, .wp-example > span) { filter: blur(7px); cursor: pointer; user-select: none; transition: filter .25s; }
.lw-hide-meanings .wl-card:not(.is-revealed) .wp-definition:hover { filter: blur(5px); }

.living-wall .word-detail-dialog:not([data-full]):has(.wl)[open] { display: flex; flex-direction: column; overflow: hidden; }
.word-detail-dialog:not([data-full]):has(.wl) > .lw-modal, .word-detail-dialog:not([data-full]) .wl { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.word-detail-dialog:not([data-full]) .wl-card { flex: 1; min-height: 0; overflow: auto; scrollbar-width: none; }
.word-detail-dialog:not([data-full]) .wl-card::-webkit-scrollbar { display: none; }
.word-detail-dialog:not([data-full]) .wl-card[hidden] { display: none; }
.word-detail-dialog > .lw-error:empty { display: none; }
.wl-panel { flex-shrink: 0; padding: 14px 20px; border-top: 1px solid #dce2d1; background: #f3f4ea; }
.wl-panel-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wl-summary { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 4px 0; border: 0; background: none; color: #283d2d; text-align: left; }
.wl-summary .wl-ring { width: 30px; height: 30px; }
.wl-summary strong { display: block; font-size: 15px; font-weight: 600; }
.wl-summary small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: #5f6a58; }
.living-wall .wl-panel .wl-go { flex-shrink: 0; padding: 10px 18px; font-size: 15px; }


.wl-stage { padding: 26px 28px 28px; }
.wl-stage .lw-eyebrow { color: #4f5d48; }
.word-detail-dialog .wl-stage h2 { font: 400 27px/1.3 Lora, Georgia, serif; letter-spacing: -.4px; margin: 18px 0 6px; color: #283d2d; }
.wl-word { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.wl-word span { font: 400 44px/1.1 Gabarito, system-ui, sans-serif; letter-spacing: -1px; color: #283d2d; }
.wl-word + h2 { font-size: 19px !important; font-family: Gabarito, system-ui, sans-serif !important; color: #4f5d48 !important; margin-top: 6px !important; }
.living-wall .wl-play { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 4px; padding: 12px 20px 12px 16px; border: 1px solid #b9c7ad; border-radius: 30px; background: #e4ebda; color: #36512c; font-weight: 500; }
.wl-play[aria-busy=true] svg { animation: wp-pulse 1s ease-in-out infinite; }
.word-detail-dialog .wl-context { font: italic 17px/1.6 Lora, Georgia, serif; color: #4f5d48; margin: 8px 0 0; }
.wl-options { margin: 20px 0 0; }
.living-wall .wl-options .lw-option { font-size: 16px; line-height: 1.45; transition: border-color .15s, background .15s; }
.living-wall .wl-options .lw-option:hover:not(:disabled) { border-color: #355343; }
.living-wall .wl-options .lw-option:disabled { opacity: 1; }
.living-wall .wl-options .lw-option:disabled:not(.is-correct, .is-wrong) { color: #66705f; }
.living-wall .lw-option.is-correct { border-color: #2f6b45; background: #e3efe2; box-shadow: inset 0 0 0 1px #2f6b45; }
.living-wall .lw-option.is-wrong { border-color: #a5463a; background: #f7e6e1; }
.wl-form label { font-size: 14px !important; color: #4f5d48; margin-top: 22px !important; }
.wl-form input { font-size: 20px !important; }
.wl-form input::placeholder { color: #8a9180; }
.wl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.word-detail-dialog .wl-note { font-size: 14px; line-height: 1.55; color: #5f6a58; margin: 10px 0 0; }

.wl-result { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 18px; border-radius: 14px; background: #eef1e6; }
.wl-result.is-pass { background: #e3efe2; }
.wl-result.is-miss { background: #f4ede0; }
.wl-result strong { display: block; font: 400 22px/1.3 Gabarito, system-ui, sans-serif; color: #283d2d; }
.word-detail-dialog .wl-result p { margin: 3px 0 0; font-size: 15px; line-height: 1.5; color: #44523e; }
.wl-review { margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid #e0e3d7; }
.word-detail-dialog .wl-review p { margin: 0 0 6px; }
.word-detail-dialog .wl-was { color: #66705f; font-size: 15px; }
.word-detail-dialog .wl-now { font: 400 19px/1.5 Lora, Georgia, serif; color: #283d2d; }
.word-detail-dialog .wl-translation { font-size: 14px; color: #5f6a58; }
.word-detail-dialog .wl-error { color: #9b4232; font-size: 14px; margin: 14px 0 0; }

@media (max-width: 700px) {
  .wl-panel { padding: 12px 16px; }
  .wl-stage { padding: 22px 20px 24px; }
  .wl-word span { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { .wl-ring path.is-fresh { animation: none; } }
