/* Final common typography and two-axis alignment for all 20 card pairs. */
.face{font-family:Fredoka,'Nirmala UI','Segoe UI',sans-serif}
.face .number,.face .cap,.face .wood,.face .topic{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;transform:none!important;line-height:1.1;direction:ltr}
.face .number{font-size:8.6cqw;font-weight:600;color:#08294b}
.face .cap{font-size:5.8cqw;font-weight:700}
.face .wood{font-size:5.5cqw;font-weight:600;color:#38230b}
.face .topic{font-size:4.3cqw;font-weight:600;color:#08294b}
.face .label-wording,.face .number svg,.face .cap svg,.face .wood svg,.face .topic svg{transform:none!important;position:static!important}
.question-group,.answer-group{align-items:center;text-align:center;justify-content:safe center}
.question-group .question,.question-group .frontExample,.answer-group .answer,.answer-group .backExample{display:block;text-align:center;flex-shrink:0;max-width:100%;margin:0}
.points ul{align-items:stretch}.points li{display:flex;justify-content:safe center;align-items:safe center;text-align:center}

/* One original raster frame and one transparent text overlay per face. */
.card{aspect-ratio:2/3!important;height:auto!important;min-height:0!important;outline:0!important}
.card:focus-visible{outline:0!important;filter:drop-shadow(0 0 9px #fff8)}
.face>img{width:100%!important;height:100%!important;object-fit:fill!important}
.question-group,.answer-group,.points{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important}
.question-group,.answer-group{display:flex!important;flex-direction:column;align-items:center!important;justify-content:safe center!important;text-align:center!important;overflow:auto!important;gap:1.4cqw}
.question-group .question{font-size:clamp(18px,6.2cqw,25px)!important;line-height:1.18}
.question-group .frontExample{font-size:clamp(14px,4.6cqw,19px)!important;line-height:1.16}
.answer-group .answer{font-size:clamp(16px,4.8cqw,21px)!important;line-height:1.14}
.answer-group .backExample{font-size:clamp(14px,4.1cqw,18px)!important;line-height:1.14}
.frontExample:empty{display:none!important}
.face .number,.face .cap,.face .wood,.face .topic{display:grid!important;place-items:center!important;padding:0!important;margin:0!important;text-align:center!important;transform:none!important;line-height:1.05;box-sizing:border-box}
.face .label-wording{position:static!important;inset:auto!important;width:auto!important;height:auto!important;max-width:100%;max-height:100%;display:block!important;font:inherit!important;line-height:1.05!important;text-align:center!important;transform:none!important;margin:0!important;padding:0!important;white-space:normal}
.face .number{direction:ltr!important;unicode-bidi:isolate;font-variant-numeric:tabular-nums}
.face .topic{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;overflow:hidden!important}
.face .topic::before,.face .topic::after,.points li::before,.points li::after{content:none!important;display:none!important}
.points ul{height:100%!important;display:grid!important;grid-template-rows:repeat(4,minmax(0,1fr));gap:0!important;list-style:none!important;margin:0!important;padding:0!important}
.points li{display:flex!important;align-items:safe center!important;justify-content:safe center!important;text-align:center!important;margin:0!important;padding:0!important;overflow:auto!important;line-height:1.16}

.back .answer-group,.back .points,.back .points ul,.back .points li{overflow:hidden!important;scrollbar-width:none!important;min-height:0}
.back .answer-group::-webkit-scrollbar,.back .points li::-webkit-scrollbar{display:none}

/* Keep complete vowel signs and let longer explanations use more space. */
.back .points{overflow:visible!important;padding:4px 1px!important}
.back .points ul{display:flex!important;flex-direction:column!important;justify-content:space-evenly!important;gap:2px!important;overflow:visible!important;min-height:0!important}
.back .points li{display:flex!important;flex:0 0 auto!important;min-height:0!important;max-height:none!important;height:auto!important;overflow:visible!important;padding:1px 0!important;line-height:1.5!important;align-items:center!important;justify-content:center!important}
.back .points .point-text{position:static!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;font:inherit!important;line-height:1.5!important;text-align:center!important;white-space:normal!important;overflow-wrap:break-word!important}

.back #pointsLabel {display:grid!important;position:absolute!important;place-items:center;left:0;top:-31%;width:93%;height:29%;color:#08294b;font-size:4.3cqw!important;font-weight:650;line-height:1.04;text-align:center;overflow:hidden}
.back .points ul {display:grid!important;grid-template-rows:repeat(4,minmax(0,1fr))!important}
.back .points .point-text {text-align:start!important;line-height:1.13!important}
.back .points li {line-height:1.13!important;padding:0!important}
.face .topic {font-size:clamp(8px,4cqw,17px)}
#title {color:#163547!important;text-shadow:0 1px 0 rgba(255,255,255,0.9)!important}

.back #pointsLabel{position:absolute!important;display:grid!important;place-items:center;height:auto;color:#08294b;font-size:4cqw!important;font-weight:650;line-height:1;text-align:center}
.back .points ul{height:100%!important;gap:0!important}
.back .points li{padding:0!important;min-height:0!important}
.card{aspect-ratio:2/3!important}
#title{-webkit-text-fill-color:#163547!important}
.face .topic .label-wording{white-space:nowrap}
.back .points li{font-size:clamp(10px,4.05cqw,17px)!important}
html, html body{background:#fdf6ec url('images/clean-plain-bg.webp?v=cream1') center center / cover no-repeat fixed!important}
.face{background:transparent!important}
.front .topic[dir="rtl"]{direction:rtl!important}
.card.changing .inner{transition:none!important}

.back .points ul {position:relative;display:block!important}
.back .points li {position:absolute;left:0;width:100%;height:4.55%!important;transform:translateY(-50%);overflow:hidden!important}
.back .points .point-text {text-align:start!important}
.back .points{padding:0!important;pointer-events:none}

.face .topic {display:flex!important;align-items:center!important;justify-content:center!important;}
.face .topic .label-wording {height:auto!important;max-height:none!important;line-height:1!important;margin:0!important;}
