@import '../../../styles/variables.scss'; @import '../../../styles/mixins.scss'; .checkin-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; &__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); } &__card { position: relative; width: 320px; background: $card; border-radius: $r; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); overflow: hidden; z-index: 1; } &__header { background: linear-gradient(135deg, $pri 0%, $pri-d 100%); padding: $sp-lg; padding-bottom: 20px; text-align: center; position: relative; overflow: hidden; } &__header-deco { position: absolute; top: -15px; right: -15px; width: 60px; height: 60px; border-radius: 30px; background: rgba(255, 255, 255, 0.08); } &__title { font-size: var(--tk-font-body); color: rgba(255, 255, 255, 0.8); margin-bottom: $sp-xs; display: block; } &__points-row { display: flex; align-items: baseline; justify-content: center; gap: $sp-2xs; } &__points-num { @include serif-number; font-size: 36px; font-weight: 700; color: $white; line-height: 1; } &__points-unit { font-size: var(--tk-font-body-sm); color: rgba(255, 255, 255, 0.8); } &__streak { font-size: var(--tk-font-cap); color: rgba(255, 255, 255, 0.65); margin-top: $sp-xs; display: block; } &__calendar { padding: $sp-section $sp-lg 0; } &__calendar-title { font-size: var(--tk-font-body-sm); font-weight: 600; color: $tx; margin-bottom: $sp-sm; text-align: center; display: block; } &__calendar-body { position: relative; padding-bottom: 52px; } &__footer { padding: 0 $sp-lg $sp-lg; } &__btn { width: 100%; padding: 12px 0; border-radius: $r-pill; background: $pri; text-align: center; cursor: pointer; box-shadow: $shadow-btn; @include touch-target; &:active { opacity: var(--tk-touch-feedback-opacity); } } &__btn-text { font-size: 15px; color: $white; font-weight: 600; } // 长者模式 .elder-mode & { &__card { width: 340px; } &__points-num { font-size: 42px; } &__title { font-size: 17px; } &__btn { padding: 16px 0; } &__btn-text { font-size: 17px; } } }