.gamification-card{gap:16px;min-width:0;display:grid}.gamification-heading{align-items:flex-start;gap:10px;display:flex}.gamification-heading>svg{width:23px;height:23px;color:var(--section-ink,var(--foreground));flex:0 0 23px;margin-top:3px}.gamification-heading>div{min-width:0}.gamification-heading h3{margin:0;font-size:1.05rem;line-height:1.35}.gamification-heading .eyebrow{color:var(--section-ink,var(--foreground));margin-bottom:5px;font-size:.65rem;display:block}.gamification-heading p,.gamification-muted,.gamification-footnote{color:var(--muted-foreground);font-size:.8rem;line-height:1.55}.gamification-heading p{margin:5px 0 0}.gamification-footnote{margin:0;font-size:.75rem}.gamification-card p{overflow-wrap:anywhere}.gamification-card button,.gamification-dialog button,.gamification-notice button{white-space:normal;overflow-wrap:anywhere;min-height:44px}.gamification-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.gamification-actions [data-slot=button]{font-size:.8rem}.gamification-actions .text-link{text-align:left;padding:8px;font-size:.8rem}.gamification-goal{gap:12px;display:grid}.gamification-goal-total{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.gamification-goal-total>div{flex:1;min-width:0}.gamification-goal-total strong{font-size:1rem;line-height:1.4}.gamification-goal-total p{color:var(--muted-foreground);margin:5px 0 0;font-size:.8rem;line-height:1.5}.gamification-goal-total>span{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--section-ink,var(--foreground));font-size:1.55rem;font-weight:750;line-height:1.2}.gamification-goal-total>span small{color:var(--muted-foreground);font-size:.9rem;font-weight:500}.gamification-goal progress{-webkit-appearance:none;appearance:none;background:var(--muted);width:100%;height:9px;accent-color:var(--section-ink,var(--foreground));border:0;border-radius:10px;display:block;overflow:hidden}.gamification-goal progress::-webkit-progress-bar{background:var(--muted);border-radius:10px}.gamification-goal progress::-webkit-progress-value{background:var(--section-ink,var(--foreground));border-radius:10px}.gamification-goal progress::-moz-progress-bar{background:var(--section-ink,var(--foreground));border-radius:10px}.gamification-complete{color:var(--section-ink,var(--foreground));align-items:center;gap:6px;min-height:44px;font-size:.8rem;font-weight:650;display:flex}.gamification-complete svg{width:18px;height:18px}.gamification-scheduled{border:1px solid var(--section-line,var(--border));background:var(--section-wash,var(--muted));border-radius:10px;margin:0;padding:10px 12px;font-size:.8rem;line-height:1.5}.gamification-start{justify-items:start;gap:12px;display:grid}.gamification-start p{color:var(--muted-foreground);margin:0;font-size:.875rem;line-height:1.6}.gamification-nearest{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px;padding-top:16px;display:flex}.gamification-nearest>div{flex:1;min-width:120px}.gamification-nearest .eyebrow{color:var(--muted-foreground);margin-bottom:4px;font-size:.6rem;display:block}.gamification-nearest strong{font-size:.875rem;line-height:1.4}.gamification-nearest p{color:var(--muted-foreground);margin:4px 0 0;font-size:.75rem;line-height:1.5}.gamification-medal.achievement-medal{flex:none;width:auto;padding:0;display:inline-flex}.gamification-medal.achievement-medal>span{border-style:solid;border-width:2px;border-color:var(--border);background:var(--muted);width:66px;height:66px;min-height:0;color:var(--muted-foreground);filter:grayscale();border-radius:50%;justify-content:center;align-items:center;gap:4px;display:flex}.gamification-medal.achievement-medal.earned>span{filter:none;background:var(--section-wash);color:var(--section-ink);border-color:var(--section-ink)}.gamification-medal.achievement-medal.earned.century>span{filter:none;color:#62420a;background:linear-gradient(135deg,#fff4bc,#f4d470 55%,#dba939);border-color:#ad7916;box-shadow:0 2px 8px #ad79162b}.gamification-medal.achievement-medal svg{flex:0 0 21px;width:21px;height:21px}.gamification-medal.achievement-medal strong{white-space:nowrap;font-size:1rem;line-height:1}.gamification-medal.achievement-medal.century strong{font-size:.9rem}.gamification-dialog{overscroll-behavior:contain;min-width:0;max-height:calc(100dvh - 32px);overflow-y:auto}.gamification-dialog p,.gamification-dialog li{overflow-wrap:anywhere;line-height:1.6}.gamification-form{gap:14px;display:grid}.gamification-form label{gap:6px;font-size:.85rem;font-weight:600;display:grid}.gamification-form select{border:1px solid var(--border);background:var(--background);width:100%;min-width:0;min-height:44px;color:var(--foreground);border-radius:8px;padding:9px;font-size:.9rem}.gamification-form p{margin:0}.gamification-pause{border-top:1px solid var(--border);padding-top:14px}.gamification-pause p{color:var(--muted-foreground);margin:0 0 10px;font-size:.8rem}.gamification-notice{z-index:45;right:max(16px,env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom));background:var(--card,var(--background));width:min(430px,100vw - 32px);max-height:calc(100dvh - 170px);color:var(--foreground);border:1px solid var(--border);border-radius:16px;gap:16px;padding:20px;display:grid;position:fixed;overflow-y:auto;box-shadow:0 12px 40px #0002}.gamification-notice-body{align-items:flex-start;gap:12px;padding-right:20px;display:flex}.gamification-notice-body>div{min-width:0}.gamification-notice .eyebrow{color:var(--muted-foreground);font-size:.6rem;line-height:1.6;display:block}.gamification-notice h3{margin:5px 0;font-size:1rem;line-height:1.4}.gamification-notice p{color:var(--muted-foreground);margin:0;font-size:.8rem;line-height:1.5}.gamification-notice-close{width:44px;height:44px;color:var(--foreground);background:0 0;border:0;border-radius:10px;place-items:center;display:grid;position:absolute;top:4px;right:4px}.gamification-notice-close svg{width:17px;height:17px}.gamification-award-icon{background:var(--section-wash,var(--muted));width:52px;height:52px;color:var(--section-ink,var(--foreground));border-radius:50%;flex:0 0 52px;place-items:center;display:grid}.gamification-award-icon svg{width:24px;height:24px}.gamification-share-image{border-radius:14px;justify-self:center;width:min(100%,310px);height:auto}.gamification-share-placeholder{background:var(--muted);text-align:center;border-radius:12px;place-items:center;gap:8px;min-height:180px;padding:20px;display:grid}.gamification-share-placeholder>span:last-child{color:var(--muted-foreground);font-size:.8rem}.gamification-share-text{color:var(--muted-foreground);gap:6px;font-size:.8rem;display:grid}.gamification-share-text textarea{border:1px solid var(--border);background:var(--background);width:100%;min-width:0;min-height:90px;color:var(--foreground);resize:vertical;border-radius:8px;padding:10px;font-size:.85rem;line-height:1.5}.gamification-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.gamification-featured-badge{border:1px solid var(--border);background:var(--background);text-align:center;min-width:0;color:var(--foreground);border-radius:12px;flex-direction:column;justify-content:flex-start;align-items:center;gap:9px;padding:14px 8px;display:flex}.gamification-featured-badge strong{font-size:.8rem;line-height:1.4}.gamification-featured-badge>span:last-child{color:var(--muted-foreground);margin-top:auto;font-size:.7rem}.gamification-featured-badge small{font-size:.7rem;line-height:1.3}.gamification-badge-picker{gap:8px;display:grid}.gamification-badge-picker label{border:1px solid var(--border);cursor:pointer;border-radius:10px;align-items:center;gap:12px;min-width:0;padding:10px;font-size:.875rem;line-height:1.4;display:flex}.gamification-badge-picker input{width:20px;height:20px;accent-color:var(--section-ink,var(--foreground));flex:0 0 20px}.gamification-badge-picker .gamification-medal>span{width:52px;height:52px}.gamification-badge-picker .gamification-medal svg{flex-basis:17px;width:17px;height:17px}.gamification-badge-picker .gamification-medal strong{font-size:.8rem}.gamification-rewards-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.gamification-rewards-list article{border:1px solid var(--border);background:var(--background);border-radius:12px;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;padding:14px;display:flex}.gamification-rewards-list h4{margin:0;font-size:.9rem;line-height:1.4}.gamification-rewards-list p{color:var(--muted-foreground);margin:0;font-size:.8rem;line-height:1.6}.gamification-rewards-list [data-slot=button],.gamification-rewards-list article>small{margin-top:auto;font-size:.75rem}.gamification-rewards-list article>small{color:var(--muted-foreground);line-height:1.5}.gamification-reward-status{color:var(--muted-foreground);align-items:flex-start;gap:5px;font-size:.7rem;line-height:1.5;display:flex}.gamification-reward-status svg{flex:0 0 15px;width:15px;height:15px;margin-top:2px}.reward-unlocked .gamification-reward-status{color:var(--section-ink,var(--foreground))}.gamification-pack-dialog{max-width:min(720px,100vw - 32px)}.gamification-pack-content{gap:24px;display:grid}.gamification-pack-content section{gap:10px;display:grid}.gamification-pack-content h3{margin:0;font-size:1rem;line-height:1.5}.gamification-pack-content p{margin:0;font-size:.9rem}.gamification-pack-content ul{background:var(--muted);border-radius:10px;gap:8px;margin:4px 0 0;padding:14px 14px 14px 32px;font-size:.85rem;display:grid}.gamification-pack-closing{border-top:1px solid var(--border);padding-top:20px;font-weight:600}.gamification-history{display:block}.gamification-history>summary{cursor:pointer;min-height:44px;padding:6px 0;font-size:.95rem;font-weight:650;line-height:1.5}.gamification-history[open]>summary{margin-bottom:16px}.gamification-history>p{margin:12px 0}.gamification-consistency{background:var(--section-wash,var(--muted));border:1px solid var(--section-line,var(--border));border-radius:12px;align-items:center;gap:16px;padding:14px;display:flex}.gamification-consistency>strong{color:var(--section-ink,var(--foreground));white-space:nowrap;font-variant-numeric:tabular-nums;font-size:1.45rem;line-height:1.2}.gamification-consistency b{font-size:.8rem}.gamification-consistency p{color:var(--muted-foreground);margin:4px 0 0;font-size:.8rem;line-height:1.5}.gamification-week-history,.gamification-milestone-history ul{margin:16px 0 0;padding:0;list-style:none}.gamification-week-history li{border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;padding:13px 0;display:flex}.gamification-week-history li>div{gap:4px;min-width:0;display:grid}.gamification-week-history b,.gamification-week-history strong{font-size:.8rem;line-height:1.4}.gamification-week-history span,.gamification-week-history small{color:var(--muted-foreground);font-size:.75rem;line-height:1.5}.gamification-milestone-history{margin-top:24px}.gamification-milestone-history h3{font-size:.95rem;line-height:1.5}.gamification-milestone-history li{border-bottom:1px solid var(--border);align-items:flex-start;gap:12px;padding:14px 0;display:flex}.gamification-milestone-history li>svg{width:20px;height:20px;color:var(--section-ink,var(--foreground));flex:0 0 20px;margin-top:3px}.gamification-milestone-history li>div{justify-items:start;gap:6px;min-width:0;display:grid}.gamification-milestone-history strong{font-size:.85rem;line-height:1.4}.gamification-milestone-history p{color:var(--muted-foreground);margin:0;font-size:.8rem;line-height:1.5}.gamification-milestone-history small{color:var(--muted-foreground);font-size:.7rem}:is(.gamification-card :is(button,select,summary,input):focus-visible,.gamification-dialog :is(button,select,textarea,input):focus-visible,.gamification-notice button:focus-visible){outline:3px solid var(--section-ink,var(--foreground));outline-offset:3px}@media (max-width:700px){.gamification-rewards-list{grid-template-columns:1fr}.gamification-notice{bottom:calc(88px + env(safe-area-inset-bottom))}}@media (max-width:380px){.gamification-featured-grid{grid-template-columns:1fr}.gamification-featured-badge{text-align:left;grid-template-columns:auto 1fr;column-gap:12px;display:grid}.gamification-featured-badge .gamification-medal{grid-row:span 3}.gamification-nearest>button{width:100%}.gamification-consistency{flex-direction:column;align-items:flex-start;gap:8px}.gamification-week-history li{flex-direction:column;gap:7px}.gamification-notice{padding:16px}.gamification-notice-body{gap:9px}.gamification-notice .gamification-medal>span{width:54px;height:54px}}@media (prefers-reduced-motion:reduce){.gamification-dialog,.gamification-notice,.gamification-card *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
