/* Daily fortune card; the learning ledger remains the source of rewards. */
.study-checkin{--checkin-ink:#2d3540;--checkin-muted:#7b8793;--checkin-accent:#2875b7;box-sizing:border-box;max-width:720px;margin:0 auto 28px;padding:28px 32px 22px;border:1px solid #e2e7ed;border-radius:18px;background:#fff;color:var(--checkin-ink);font:inherit;text-align:center}
.study-checkin *{box-sizing:border-box}.study-checkin [hidden]{display:none!important}
.study-checkin .checkin-head{position:relative;display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap}.study-checkin h2{margin:0;font-size:23px;line-height:1.6;font-weight:750;overflow-wrap:anywhere}.fortune-owner{color:#1594cf;margin-right:.3em}
.study-checkin .checkin-level{font-size:12px;color:#778493;border:1px solid #dde5ec;border-radius:99px;padding:3px 9px;background:#f8fafc;font-variant-numeric:tabular-nums}
.study-checkin .checkin-description{font-size:13px;line-height:1.6;color:var(--checkin-muted);margin:8px 0 0}
.study-checkin .fortune-rating{display:flex;align-items:center;justify-content:center;gap:22px;margin:12px 0 16px;min-height:104px;font-size:clamp(60px,10vw,86px);font-weight:800;line-height:1.3;letter-spacing:.06em}.fortune-decoration{font-size:.75em;font-family:Georgia,serif;letter-spacing:0}.fortune-good{color:#ed4a3e}.fortune-neutral{color:#ad7b27}.fortune-bad{color:#4a5364}
.study-checkin .fortune-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;text-align:center}.study-checkin .fortune-item+.fortune-item{margin-top:16px}.study-checkin .fortune-item h3{font-size:21px;line-height:1.5;margin:0 0 5px;font-weight:650;overflow-wrap:anywhere}.study-checkin .fortune-column.fortune-good{color:#ed4a3e}.study-checkin .fortune-column.fortune-bad{color:#303947}.study-checkin .fortune-item p{font-size:13px;line-height:1.7;margin:0;color:#87909c;text-wrap:pretty}
.study-checkin .fortune-streak{margin:24px 0 16px;font-size:14px;color:#7c8999}.study-checkin .fortune-unopened{padding:32px 0 22px;font-size:23px;color:#a2aeba;margin:0}
.study-checkin .checkin-xp-line{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #edf0f4;padding-top:16px;margin-top:16px;font-size:12px;color:#7c8999;font-variant-numeric:tabular-nums}
.study-checkin .checkin-progress{display:block;width:100%;height:5px;border:0;border-radius:99px;overflow:hidden;background:#edf1f6;accent-color:#8eb8d9;margin-top:7px}.study-checkin .checkin-progress::-webkit-progress-bar{background:#edf1f6;border-radius:99px}.study-checkin .checkin-progress::-webkit-progress-value{background:#8eb8d9;border-radius:99px}.study-checkin .checkin-progress::-moz-progress-bar{background:#8eb8d9;border-radius:99px}
.study-checkin .checkin-stats{font-size:12px;line-height:1.6;color:#8893a1;margin:8px 0 0}
.study-checkin .checkin-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:17px}.study-checkin button,.study-checkin .checkin-login{min-height:44px;padding:10px 20px;border:1px solid var(--checkin-accent);border-radius:10px;background:var(--checkin-accent);color:white;font:inherit;font-size:14px;line-height:1.4;font-weight:600;text-decoration:none;cursor:pointer}.study-checkin button:disabled{background:#f3f6f9;border-color:#e0e7ed;color:#8a99a7;cursor:default}.study-checkin button:not(:disabled):hover,.study-checkin .checkin-login:hover{background:#1c6098}.study-checkin .checkin-retry{background:transparent;color:var(--checkin-accent);border-color:#cbdce9}.study-checkin .checkin-retry:not(:disabled):hover{background:#edf5fc}.study-checkin :is(button,a):focus-visible{outline:3px solid #efa844;outline-offset:3px}.study-checkin .checkin-status{font-size:13px;line-height:1.6;color:#7c8999;overflow-wrap:anywhere;margin:12px 0 0}
@media(max-width:600px){.study-checkin{padding:22px 18px 18px;margin-bottom:20px}.study-checkin h2{font-size:21px}.study-checkin .fortune-rating{gap:13px;font-size:62px;min-height:90px;margin:12px 0 20px}.study-checkin .fortune-columns{gap:18px}.study-checkin .fortune-item h3{font-size:19px}.study-checkin .fortune-item p{font-size:12px}.study-checkin .fortune-streak{font-size:13px}.study-checkin .fortune-unopened{font-size:20px}}
