.growth-book{--g-ink:#173f35;--g-muted:#51674d;box-sizing:border-box;color:var(--g-ink);background:#e8eee2;border-radius:16px;padding:28px;text-align:left}.growth-book *{box-sizing:border-box}.growth-book h2,.growth-book p{margin:0}.growth-main{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:40px;align-items:center}.growth-section-title{font-size:17px;font-weight:650;line-height:1.4;letter-spacing:0}.growth-word-tally{font-size:14px;line-height:1.4;margin:8px 0 20px!important}.growth-word-tally strong{font-size:36px;font-weight:750;line-height:1.15;letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin-right:4px}.growth-word-cards{display:flex;align-items:stretch;gap:10px;padding:3px;min-height:76px}.growth-word-card{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;max-width:180px;padding:16px 10px;background:#fffdf7;border-radius:10px;color:#294a36;font-size:clamp(14px,1.8vw,18px);font-weight:600;overflow-wrap:anywhere;box-shadow:0 3px 9px #29442d0a;text-align:center}.growth-word-card:first-child{transform:rotate(-3deg)}.growth-word-card:nth-child(2){transform:translateY(-3px) rotate(2deg)}.growth-word-card:nth-child(3){transform:rotate(-2deg)}.growth-word-cards.is-empty{align-items:center;gap:14px;color:var(--g-muted);padding:16px 0}.growth-word-cards.is-empty svg{width:32px;height:32px;flex:none}.growth-word-cards.is-empty p{font-size:14px;line-height:1.7}.growth-rank{text-align:center}.growth-portrait{display:grid;place-items:center;position:relative;margin:0 auto 6px;width:116px;height:116px;border-radius:50%;overflow:hidden;background:#fffdf7}.growth-pip{position:absolute;width:100%;height:100%;object-fit:contain;inset:0;border-radius:50%}.growth-portrait-fallback{font-size:28px;font-weight:750;color:#647b58}.growth-portrait:has(.growth-pip:not([hidden])) .growth-portrait-fallback{visibility:hidden}.growth-rank-number{font-size:12px;font-weight:650;color:var(--g-muted);margin-bottom:3px!important}.growth-rank-name{font-size:18px;font-weight:700;line-height:1.35;letter-spacing:-.01em;overflow-wrap:anywhere}.growth-level-meter{display:block;appearance:none;-webkit-appearance:none;border:0;border-radius:8px;overflow:hidden;background:#c9d6c0;width:150px;max-width:100%;height:5px;margin:12px auto 9px;color:#4d7045}.growth-level-meter::-webkit-progress-bar{background:#c9d6c0;border-radius:8px}.growth-level-meter::-webkit-progress-value{background:#4d7045;border-radius:8px}.growth-level-meter::-moz-progress-bar{background:#4d7045;border-radius:8px}.growth-level-next{color:var(--g-muted);font-size:12px;line-height:1.6}.growth-level-next span{display:block;color:#294a36;font-weight:600}.growth-bottom{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:center;gap:28px;border-top:1px solid #c7d4be;padding-top:20px;margin-top:24px}.growth-stars{display:flex;align-items:center;gap:12px;min-width:0}.growth-star-art{width:56px;height:56px;display:grid;place-items:center;flex:none}.growth-star-art img{width:100%;height:100%;object-fit:contain}.growth-stat-line{font-size:17px;font-weight:650;line-height:1.5;font-variant-numeric:tabular-nums}.growth-habit-head{display:flex;gap:8px;align-items:center}.growth-habit-head>svg{width:20px;height:20px;flex:none}.growth-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;list-style:none;padding:0;margin:10px 0 0}.growth-day{text-align:center;color:#5a7053}.growth-week-name{display:block;font-size:10px;line-height:1.2;margin-bottom:4px}.growth-date{display:grid;place-items:center;width:25px;height:25px;border:1px solid #becdb3;border-radius:50%;margin:auto;font-size:11px;font-variant-numeric:tabular-nums}.growth-date svg{width:16px;height:16px}.growth-day.checked .growth-date{background:#4d7045;border-color:#4d7045;color:#fffdf7}.growth-day.today .growth-date{outline:2px solid #4d7045;outline-offset:2px}.growth-day.future{color:#718068}.growth-day.future .growth-date{border-color:#cdd7c5}.growth-state{min-height:340px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:36px}.growth-state>svg{width:44px;height:44px;margin-bottom:20px;color:#6b865e}.growth-state h2{font-size:20px;font-weight:650}.growth-state .quiet{margin-top:20px;min-height:48px;color:#173f35}.growth-book [hidden]{display:none!important}.growth-book ::selection{background:#e2c565;color:#173f35}
@media(max-width:850px){.growth-main{grid-template-columns:minmax(0,1fr) 180px;gap:24px}.growth-bottom{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.growth-book{padding:24px}.growth-word-tally strong{font-size:32px}}
@media(max-width:620px){.growth-main{grid-template-columns:minmax(0,1fr);gap:24px}.growth-rank{display:grid;grid-template-columns:90px minmax(0,1fr);column-gap:18px;text-align:left;align-items:center}.growth-portrait{grid-row:1/5;width:90px;height:90px;margin:0}.growth-rank-number{align-self:end}.growth-level-meter{margin:8px 0;width:100%}.growth-level-next{font-size:12px}.growth-bottom{grid-template-columns:1fr;gap:22px;margin-top:24px}.growth-habit{max-width:280px}.growth-stat-line{font-size:16px}.growth-book{padding:24px 20px}.growth-word-card{font-size:15px;padding:14px 8px}.growth-state{min-height:300px;padding:28px 22px}}
@media(min-width:700px) and (max-height:820px){.growth-book{padding:24px}.growth-portrait{width:104px;height:104px}.growth-word-tally{margin-bottom:16px!important}.growth-bottom{margin-top:20px;padding-top:18px}.growth-state{min-height:340px}}

.renewal-modal{box-sizing:border-box;width:min(480px,calc(100% - 32px));max-width:none;max-height:calc(100svh - 32px);overflow:auto;border:0;border-radius:16px;padding:24px 28px;background:#fffdf7;color:#173f35;box-shadow:0 24px 80px #173f3533;font:15px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;overscroll-behavior:contain}.renewal-modal::backdrop{background:#173f3566;backdrop-filter:none}.renewal-modal *{box-sizing:border-box}.renewal-modal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:4px}.renewal-modal h2{font-size:24px;line-height:1.4;letter-spacing:-.02em;margin:0;color:#173f35}.renewal-modal button{font:650 15px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:#173f35;cursor:pointer;touch-action:manipulation;min-height:48px;border-radius:10px;padding:12px 16px;letter-spacing:0}.renewal-modal .renewal-modal-close{display:grid;place-items:center;flex:none;width:48px;height:48px;border:0;background:transparent;padding:12px;margin-right:-12px}.renewal-modal-close svg{width:20px;height:20px}.renewal-modal .renewal-modal-date{font-size:12px;color:#51674d;margin:0 0 20px;font-variant-numeric:tabular-nums}.renewal-modal .renewal-modal-instruction{font-size:15px;line-height:1.8;color:#36532e;margin:0 0 16px}.renewal-modal-identity{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#e8eee2;padding:10px 12px;border-radius:12px}.renewal-modal-identity strong{font-size:17px;overflow-wrap:anywhere;min-width:0;user-select:text}.renewal-modal .renewal-modal-copy{flex:none;background:#173f35;color:#fffdf7;border:0;font-size:14px}.renewal-modal .renewal-modal-status{font-size:13px;color:#36532e;line-height:1.6;margin:12px 0 0}.renewal-modal-status:empty{display:none}.renewal-modal-actions{display:grid;gap:8px;margin-top:24px}.renewal-modal .renewal-modal-check{width:100%;background:transparent;border:1px solid #afc0a7}.renewal-modal .renewal-modal-back{width:100%;background:transparent;border:0}.renewal-modal button:hover{filter:brightness(.94)}.renewal-modal button:disabled{opacity:.55;cursor:wait}.renewal-modal button:focus-visible{outline:3px solid #bd8f2b;outline-offset:3px}.renewal-modal ::selection{background:#e2c565;color:#173f35}
@media(max-width:420px){.renewal-modal{padding:20px}.renewal-modal-identity{gap:8px;padding:8px}.renewal-modal-identity strong{font-size:16px}.renewal-modal .renewal-modal-copy{padding:10px;font-size:13px}}
