/* TOPA · spaced word practice. Shared with the existing desktop and mobile app. */
.cards{grid-template-rows:auto auto auto 205px 205px}
.review-launch{display:flex;align-items:center;gap:12px;width:100%;padding:16px;border:1px solid #cbe2ff;border-radius:20px;background:linear-gradient(125deg,#edf7ff,#e0efff);color:#0872ed;text-align:left;transition:transform .18s,box-shadow .18s}
.review-launch:hover{transform:translateY(-2px);box-shadow:0 10px 22px #176cf116}.review-launch:focus-visible,.review-dialog button:focus-visible,.guide-review-add:focus-visible{outline:3px solid #5ba9ff;outline-offset:4px}.review-launch__icon{width:38px;height:38px;flex:none}.review-launch__icon svg{width:100%;height:100%}.review-launch__copy{flex:1;min-width:0}.review-launch strong{display:block;font-size:1rem}.review-launch small{display:block;margin-top:4px;color:#6382ac;font-size:.73rem;line-height:1.4}.review-launch__count{min-width:30px;height:30px;padding:0 7px;display:grid;place-items:center;flex:none;border-radius:10px;background:#fff;color:#0872ed;font-size:.8rem;font-weight:850}
.guide-word{display:flex;flex-direction:column;align-items:flex-start}.guide-review-add{margin-top:15px;padding:8px 11px;border:1px solid #cce1fa;border-radius:10px;background:#f0f7ff;color:#096cdf;font-size:.73rem;font-weight:750;text-align:left;line-height:1.4}.guide-review-add:hover{border-color:#6faeff;background:#e8f3ff}.guide-review-add:disabled{background:#eaf9f2;color:#188366;border-color:#bfe8d7;cursor:default}
.review-modal{z-index:25;padding:24px;backdrop-filter:none;-webkit-backdrop-filter:none}.review-dialog{width:min(1080px,100%);max-height:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain;border:1px solid #deebfb;border-radius:30px;background:#f8fbff;padding:28px 30px 24px;box-shadow:0 30px 95px #09245438;animation:none;transform:none}.review-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:25px}.review-header__title{display:flex;align-items:center;gap:14px}.review-header__symbol{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#e6f2ff;color:#0878ff}.review-header__symbol svg{width:26px;height:26px}.review-header h2{margin:0;font-size:1.3rem;letter-spacing:-.025em}.review-header p{display:inline-flex;margin:8px 0 0;padding:5px 10px;border-radius:9px;background:#e1efff;color:#0865d6;font-size:.95rem;font-weight:800;line-height:1.25}.review-header .close{flex:none}.review-counters{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.review-counter{display:flex;align-items:center;gap:9px;font-size:.8rem;font-weight:800;color:#cf3d50}.review-counter--known{color:#0b9b79}.review-counter b{min-width:32px;height:25px;padding:0 8px;border:1px solid currentColor;border-radius:99px;display:grid;place-items:center;font:inherit}.review-track{height:5px;border-radius:99px;overflow:hidden;background:#e4edf9;margin-bottom:18px}.review-track i{display:block;height:100%;background:#2585fb;border-radius:inherit;transition:width .25s}.review-card-shell{position:relative;height:clamp(280px,46dvh,460px)}.review-flip{width:100%;height:100%;padding:0;border:0;background:transparent;color:#09266e;display:block;border-radius:22px}.review-flip__inner{position:relative;display:block;width:100%;height:100%;transform:none}.review-face{position:absolute;inset:0;border:1px solid #d5e7fb;border-radius:22px;background:#e9f3ff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:68px 38px 45px}.review-face--back{background:#fff;border-color:#bed9fa}.review-face__label{color:#7890b6;font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.12em;margin-bottom:18px}.review-face strong{font-size:clamp(1.8rem,4vw,3rem);font-weight:650;letter-spacing:-.035em;line-height:1.25;overflow-wrap:anywhere;max-width:100%;text-align:center}.review-card-tools{position:absolute;top:20px;left:22px;right:22px;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}.review-card-tools button{pointer-events:auto}.review-audio{width:34px;height:34px;padding:6px;border:0;border-radius:10px;background:#ffffffa8;display:grid;place-items:center}.review-audio img{width:23px;height:23px;object-fit:contain}.review-bottom{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;margin-top:21px}.review-position{display:inline-flex;justify-self:start;align-items:center;gap:7px;flex-wrap:wrap;padding:9px 12px;border-radius:12px;border:1px solid #cce1fa;background:#eaf3ff;font-size:.88rem;font-family:inherit;font-variant-numeric:tabular-nums;color:#125eae;font-weight:750;line-height:1.25}.review-ratings{display:flex;align-items:center;gap:20px}.review-rate{display:flex;align-items:center;justify-content:center;gap:9px;border-radius:15px;padding:12px 18px;border:1px solid transparent;font-size:.8rem;font-weight:800;transition:transform .18s,background .18s}.review-rate svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.review-rate--learning{background:#fff0f2;color:#cf3d50;border-color:#ffd0d8}.review-rate--known{background:#e3f8f0;color:#099b77;border-color:#c2ecdd}.review-rate:hover:not(:disabled){transform:translateY(-2px)}.review-rate:disabled{opacity:.4;cursor:not-allowed}.review-undo{justify-self:end;display:flex;align-items:center;gap:6px;border:0;background:transparent;color:#7290b6;font-size:.72rem;padding:10px 0 10px 10px}.review-undo svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none}.review-undo:disabled{opacity:.35;cursor:default}.review-empty{padding:45px 20px;text-align:center}.review-empty__icon{width:76px;height:76px;border-radius:24px;display:grid;place-items:center;margin:0 auto 23px;color:#1681f8;background:#e5f1ff}.review-empty__icon svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.review-empty h3{font-size:1.65rem;letter-spacing:-.03em;margin:0 0 13px}.review-empty p{max-width:430px;color:#7488ab;line-height:1.65;margin:0 auto 24px;font-size:.92rem}.review-empty .primary{margin-top:2px}.review-summary{display:flex;justify-content:center;gap:12px;margin:24px 0}.review-summary span{display:flex;flex-direction:column;gap:8px;min-width:120px;padding:20px 16px;border:1px solid #dfeaf7;background:#fff;border-radius:18px;font-size:.75rem;color:#7b91b1}.review-summary strong{font-size:1.6rem;color:#0878ff}.review-summary span:last-child strong{color:#0b9b79}.review-empty__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.review-empty__actions .secondary{font-size:.76rem}.review-dialog [hidden]{display:none!important}
@media(min-width:861px) and (max-width:1150px){.review-launch{padding:12px 9px;gap:7px}.review-launch__icon{width:28px;height:28px}.review-launch strong{font-size:.9rem}.review-launch small{font-size:.65rem}.review-launch__count{min-width:26px;height:26px}}
@media(max-width:860px){.cards{grid-template-rows:auto}.review-launch{grid-column:1/-1;min-height:76px}.review-modal{padding:16px}.review-dialog{max-height:calc(100dvh - 32px);padding:22px;border-radius:25px}}
@media(max-width:560px){.review-modal{padding:10px}.review-dialog{padding:20px 16px;max-height:calc(100dvh - 20px);border-radius:24px}.review-header{margin-bottom:23px}.review-header__title{gap:10px}.review-header__symbol{width:36px;height:36px;border-radius:12px}.review-header h2{font-size:1.1rem}.review-header p{font-size:.88rem;padding:5px 9px}.review-counters{gap:8px}.review-counter{font-size:.71rem;gap:7px}.review-card-shell{height:clamp(250px,43dvh,420px)}.review-card-tools{top:14px;left:12px;right:12px}.review-face{padding:62px 20px 50px}.review-face strong{font-size:clamp(1.7rem,7vw,2.4rem)}.review-bottom{grid-template-columns:1fr auto;gap:18px 8px;margin-top:18px}.review-ratings{grid-row:1;grid-column:1/-1;gap:12px;width:100%}.review-rate{flex:1;padding:13px 8px;font-size:.76rem}.review-position{font-size:.85rem;padding:9px 11px}.review-undo{font-size:.69rem}.review-empty{padding:30px 10px}.review-empty h3{font-size:1.35rem}.review-empty p{font-size:.82rem}.review-summary span{min-width:105px;padding:15px}.guide-review-add{font-size:.68rem}}


/* Faces use normal DOM visibility, not 3D compositing, to keep mobile text sharp. */

.review-face--front{padding-bottom:76px}
.review-face__hint{position:absolute;left:18px;right:18px;bottom:22px;color:#647fa5;font-size:.84rem;line-height:1.35;font-weight:600;letter-spacing:normal;text-align:center}
@media(max-width:560px){.review-face--front{padding-bottom:72px}.review-face__hint{font-size:.74rem;bottom:20px}}
