/* ===== 打卡苹果风 ===== */
.ios-checkin { padding: 8px 0 24px; }
.ios-checkin .ios-header { padding: 20px 20px 12px; }
.checkin-view-wrap { margin-top: 24px; }
.checkin-view-switch { display: flex; background: #f0f0f3; border-radius: 10px; padding: 2px; margin: 0 16px 16px; }
.checkin-view-switch button { border: 0; background: transparent; padding: 6px 14px; font-size: 13px; color: var(--ink-2); border-radius: 8px; cursor: pointer; }
.checkin-view-switch button.is-active { background: #fff; color: var(--ink-1); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.ios-checkin .ios-header__eyebrow { font-size: 11px; color: var(--ink-3); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.ios-checkin .ios-header__title { font-size: 34px; font-weight: 700; color: var(--ink-1); margin: 0; letter-spacing: -0.5px; }
.checkin-today { padding: 8px 20px 16px; display: flex; align-items: flex-end; justify-content: space-between; }
.checkin-today__date { font-size: 14px; color: var(--ink-3); margin-bottom: 4px; }
.checkin-today__title { font-size: 22px; font-weight: 700; color: var(--ink-1); }
.checkin-today__count { font-size: 40px; font-weight: 700; color: var(--accent); letter-spacing: -1px; line-height: 1; }
.checkin-today__count span { font-size: 18px; color: var(--ink-3); font-weight: 400; }
.ios-checkin .ios-group { margin: 0 16px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.check-row { display: grid; grid-template-columns: 28px 1fr 24px; align-items: center; gap: 14px; padding: 14px 16px; border: 0; border-bottom: .5px solid #e8e8ed; background: transparent; text-align: left; cursor: pointer; width: 100%; }
.check-row:last-child { border-bottom: 0; }
.check-row:active { background: #f5f5f7; }
.check-circle { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #d6d2cc; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; transition: all .2s ease; }
.check-circle.is-done { background: var(--accent); border-color: var(--accent); }
.check-name { font-size: 16px; color: var(--ink-1); }
.check-del { border: 0; background: transparent; color: #c8c4be; font-size: 18px; cursor: pointer; padding: 0 4px; align-self: center; justify-self: end; line-height: 1; }
.year-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ym-card { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; background: #fff; border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.ym-card.is-current { background: var(--accent-bg); }
.ym-card b { font-size: 14px; color: var(--ink-1); }
.ym-card.is-current b { color: var(--accent); }
.ym-card small { font-size: 11px; color: var(--ink-3); }
.wdot.empty { opacity: 0; }
.checkin-add { display: block; margin: 12px auto 0; padding: 10px 20px; border: 0; background: transparent; color: var(--accent); font-size: 15px; cursor: pointer; }
.checkin-history { margin: 24px 16px 0; }
.checkin-history__title { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; padding: 0 4px; }
.checkin-history__list { display: flex; flex-direction: column; gap: 8px; }
.wthumb { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 0; border-radius: 12px; cursor: pointer; text-align: left; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.wthumb:active { background: #f5f5f7; }
.wthumb__label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.wthumb__dots { display: flex; gap: 8px; align-items: center; }
.wdot { width: 18px; height: 18px; border-radius: 50%; background: #e8e8ed; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; }
.wdot.d1 { background: #f0b8b5; }
.wdot.d2 { background: #e07c77; }
.wdot.d3 { background: #d15a55; }
.wdot.full { background: var(--accent); }
.wdot.is-today { box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px var(--accent); }
