:root{--ink:#191919;--shell:402px}html{scroll-padding-top:86px}body{background:#f7f7f7}button:disabled{cursor:default}button,a,input,textarea{font-family:inherit}.v2-shell{width:100%;max-width:var(--shell);margin:auto;min-height:100svh;background:#fff;overflow:clip}.primary{display:block;width:100%;min-height:52px;border:0;border-radius:30px;background:var(--ink);color:#fff;font-size:14px;font-weight:600}.primary:disabled{opacity:.48}.intro{position:relative;min-height:100svh;overflow:hidden}.intro h1{position:relative;z-index:2;font-size:22px;line-height:1.55;margin:30px 16px 0;font-weight:700;letter-spacing:-.035em}.intro-hands{position:absolute;inset:0}.intro-hand{position:absolute;padding:0;border:0;background:none;width:43%;height:100%;top:32%;left:0;transform-origin:bottom center;transition:transform .2s}.intro-hand img{width:100%;height:auto;display:block;pointer-events:none}.intro-hand:nth-child(1){top:26%;left:34%;z-index:1}.intro-hand:nth-child(2){top:36%;left:0;z-index:2}.intro-hand:nth-child(3){top:32%;left:57%;z-index:3}.intro-hand:nth-child(4){top:55%;left:50%;z-index:4}.intro-hand:nth-child(5){top:58%;left:7%;z-index:5}.intro-hand:active{transform:translateY(-15px) rotate(-2deg)}.intro-hands::after{content:'';position:absolute;inset:68% 0 0;z-index:6;background:linear-gradient(transparent,#fff 95%);pointer-events:none}.intro-footer{position:absolute;z-index:7;bottom:calc(32px + env(safe-area-inset-bottom,0px));left:16px;right:16px}.intro-footer p{font-size:14px;text-align:center;line-height:1.5;min-height:42px;color:#5b5b5b;margin-bottom:20px}.v2-header{height:80px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:8;background:#fff}.v2-header a,.header-spacer{width:40px;height:44px;display:grid;place-items:center}.v2-header a img{width:28px;height:28px;object-fit:cover;object-position:top}.v2-header>div{text-align:center}.v2-header strong{font-size:16px}.v2-header p{margin:3px 0 0;font-size:14px}.app-view{min-height:100svh;padding-bottom:110px}#hub{padding-top:8px}.hub-heading{padding:0 16px}.hub-heading h1{font-size:22px;line-height:1.45;letter-spacing:-.035em;margin:0 0 12px}.hub-heading p{font-size:14px;color:#777;margin:0}.hub-tabs{display:flex;padding:0 16px;margin:24px 0 20px;gap:0}.hub-tabs button{width:50%;min-height:48px;border:0;border-radius:28px;background:none;font-size:14px;font-weight:600}.hub-tabs [aria-selected=true]{background:var(--ink);color:white}.mission-carousel{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:16px;padding:0 16px 12px;scrollbar-width:none}.mission-carousel::-webkit-scrollbar{display:none}.deed-card{position:relative;display:block;isolation:isolate;flex:0 0 284px;height:380px;border-radius:16px;background:var(--card-color);border:0;overflow:hidden;text-align:left;padding:24px 16px;scroll-snap-align:start;color:#111;text-decoration:none;transition:transform .2s}.deed-card:active{transform:scale(.985)}.deed-card h2{font-size:20px;line-height:1.4;margin:0 0 8px;letter-spacing:-.04em;position:relative;z-index:2}.deed-card .card-meta{font-size:14px;position:relative;z-index:2;line-height:1.6}.category{display:inline-block;border-radius:20px;background:#222;color:white;font-size:12px;padding:3px 12px;margin-right:4px}.deed-card img{position:absolute;top:120px;left:calc(50% - var(--palm,68.5px));width:172px;height:580px;z-index:0}.card-description{position:absolute;bottom:22px;left:16px;right:56px;margin:0;font-size:14px;line-height:1.55;white-space:pre-line;z-index:2}.card-arrow{position:absolute;right:16px;bottom:20px;width:44px;height:44px;background:#191919;color:white;display:grid;place-items:center;border-radius:50%;font-size:27px;z-index:2}.counts-status{font-size:13px;padding:0 16px;color:#777}.v2-nav{position:fixed;z-index:10;bottom:calc(20px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:370px;height:64px;border-radius:36px;background:#191919;display:flex;align-items:center;justify-content:space-around;padding:8px}.v2-nav a{width:64px;height:48px;border-radius:28px;display:grid;place-items:center;color:#777}.v2-nav a[aria-current=page]{background:white;color:#191919}.v2-nav img{opacity:.5}.v2-nav [aria-current=page] img{opacity:1}.v2-top{position:fixed;bottom:104px;right:max(16px,calc((100vw - 370px)/2));z-index:9;width:44px;height:44px;border:0;border-radius:50%;background:#191919;color:#fff;font-size:26px}#records-panel{padding:0 16px}.records-status{font-size:14px;color:#777;line-height:1.6}.v2-record{position:relative;border:1px solid #d5d5d5;border-radius:17px;padding:12px 16px 16px;margin:0 0 12px;background:white}.record-heading{display:flex;align-items:center;gap:8px;padding-right:16px}.record-avatar{width:48px;height:48px;flex-shrink:0}.record-heading h2{font-size:16px;line-height:1.4;margin:0 0 4px;letter-spacing:-.035em}.record-heading time{font-size:12px;color:#888}.record-content{display:flex;gap:16px;margin-top:12px}.record-photo{width:100px;height:100px;flex-shrink:0;border:0;border-radius:12px;padding:0;background:#f2f2f2;overflow:hidden}.record-photo img{width:100%;height:100%;object-fit:cover}.record-body{flex:1;min-width:0}.record-body p{font-size:14px;line-height:1.5;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.v2-record .record-menu{top:2px;right:0;font-size:22px}.v2-record .record-like{position:static;padding:0;min-height:32px;margin-top:8px;display:flex;gap:4px;color:#191919;font-size:14px;transform:none}.v2-record .record-like::before{content:'♡';font-size:21px}.v2-record .record-like[aria-pressed=true]::before{content:'♥';color:#fa3697}.v2-record .record-like i{display:none}.v2-record .record-like span{order:1}.v2-record .record-action-status{position:static;margin:6px 0 0}.writer{position:relative;isolation:isolate;min-height:100svh;overflow:hidden;background:var(--writer-bg,#a4b4e8);padding:calc(18px + env(safe-area-inset-top,0px)) 16px 24px;color:white}.writer-top{height:46px;display:flex;align-items:center;justify-content:center;position:relative;z-index:4}.progress{display:flex;gap:5px}.progress i{width:20px;height:3px;background:#0003}.progress i.active{background:#191919}#close-writer{position:absolute;right:0;top:0;width:44px;height:44px;border:0;background:none;font-size:28px;color:#191919}.writer-character{position:absolute;z-index:-1;top:110px;left:0;width:100%;height:auto;min-height:100%;object-fit:cover;object-position:top;pointer-events:none}.write-content{padding-top:clamp(290px,43svh,390px);position:relative;display:flex;flex-direction:column;min-height:calc(100svh - 88px)}.write-content h1{font-size:20px;line-height:1.5;text-align:center;margin:0 0 24px;word-break:keep-all}.v2-emotions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;max-width:280px;margin:0 auto 20px}.v2-emotions label{position:relative;padding:9px 13px;border-radius:22px;background:#0001;font-size:14px;cursor:pointer;white-space:nowrap}.v2-emotions input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.v2-emotions label:has(:checked){background:#191919}.v2-emotions label:has(:focus-visible){outline:2px solid white;outline-offset:2px}.note-wrap{border-radius:18px;background:#0001;overflow:hidden;margin-bottom:24px;padding-bottom:12px}.note-wrap textarea{background:none;color:#fff;box-shadow:none;border-radius:18px;font-size:16px;min-height:90px;max-height:none;overflow-y:auto;padding:16px}.note-wrap textarea::placeholder{color:#ffffffb3;font-size:13px}.note-wrap span{display:block;text-align:right;font-size:12px;padding-right:16px}.next,.finish{margin-top:auto}.custom-field input{width:100%;padding:14px;border:1px solid #ffffff77;border-radius:14px;margin-bottom:18px;background:#ffffff33;font:inherit;color:#191919}.photo-caption{text-align:center;font-size:13px;margin:-15px 0 26px;color:#fff}.photo-add{position:relative;width:100%;min-height:160px;max-height:210px;aspect-ratio:2.2;background:#0001;border:0;border-radius:18px;color:#fff;overflow:hidden}.photo-add span{font-size:32px}.photo-add img{width:100%;height:100%;object-fit:contain;display:block}.photo-remove,.edit-feeling{background:transparent;border:0;min-height:40px;color:white;font-size:14px}.writer .public-notice{font-size:12px;color:white;text-align:center;margin:10px 0}.writer .photo-status,.writer .save-error{color:white;font-size:14px;margin:8px 0}.writer .save-error:empty,.writer .photo-status:empty{display:none}#complete-step{text-align:center;padding-top:80px;color:#191919;min-height:calc(100svh - 90px)}#complete-step h1{font-size:22px;margin:0 0 10px}#complete-step p{font-size:13px;margin:0 0 35px}.completion-home{display:block;margin:auto;width:55%;padding:0;border:0;background:none}.completion-home img{width:100%;height:auto;display:block}.writer.is-complete .writer-character{display:none}.about-page{padding-inline:16px}.image-lightbox img{max-height:75svh;object-fit:contain}.photo-picker{width:min(370px,calc(100% - 32px));border:0;border-radius:20px;padding:24px}.photo-picker button{display:block;width:100%;min-height:48px;background:white;border:0;font-size:16px}.photo-picker h2{font-size:20px}.record-date{font-size:12px;color:#888;text-align:center;margin:20px}.request-dialog{max-width:370px}.intro-hand:focus-visible{outline:3px solid #191919;outline-offset:-5px}@media(max-width:359px){.deed-card{flex-basis:260px}.record-content{gap:10px}.record-photo{width:82px;height:82px}.writer{padding-inline:12px}.write-content h1{font-size:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.deed-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.intro-hand{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.v2-emotions{max-width:340px}.writer.is-complete{height:100svh;overflow:hidden}h1[tabindex="-1"]:focus{outline:none}
.intro-hand:nth-child(1){left:24.2%}.intro-hand:nth-child(5){left:7.4%}
.card-arrow{line-height:1}.card-arrow svg{display:block}
.v2-nav img{opacity:1;filter:brightness(0) invert(.48)}.v2-nav [aria-current=page] img{filter:none}
.notification-button{width:40px;height:44px;display:grid;place-items:center;border:0;background:none;color:#191919;padding:0}
#notifications{border:1px solid #ddd;border-radius:16px;padding:22px;font-size:14px;box-shadow:0 8px 32px #0002}
.record-body{display:flex;flex-direction:column}.v2-record .record-like{align-self:flex-end;margin-top:auto;padding-top:8px}
.record-placeholder{background:url(v2-assets/logo.png) center/cover;border:0}
.writer-art{position:absolute;z-index:-1;top:110px;left:-2px;width:calc(100% + 4px);aspect-ratio:137/580;pointer-events:none}
.writer-art .writer-character{position:static;display:block;width:100%;height:auto;min-height:0}
.writer-face{position:absolute;left:25.55%;top:9.31%;width:49.64%;height:auto}
.writer.is-complete .writer-art{display:none}
.writer .primary:disabled{opacity:1;background:#d4d4d4;color:#777;box-shadow:none}
.completion-home{position:relative;transform:translateX(var(--palm-shift,0));transform-origin:center 25%;touch-action:manipulation}
.completion-home .completion-body{display:block;width:100%;height:auto}
.completion-home .completion-face{position:absolute;top:9.31%;width:39.53%;height:auto}
.completion-actions{position:absolute;z-index:5;bottom:calc(24px + env(safe-area-inset-bottom,0px));left:16px;right:16px;display:grid;gap:10px}
.completion-actions .view-records{background:#fff;color:#191919;border:1px solid #ddd}
#complete-step .card-save-status{margin:0;font-size:13px;line-height:1.5;background:#fffd;border-radius:12px}.card-save-status:empty{display:none}
@media(max-height:700px){#complete-step{padding-top:30px}}
.writer{overflow:clip}.writer.is-complete{overflow:clip}
/* Shared motion: small distances, quick response, no layout movement. */
:root{--motion-ease:cubic-bezier(.22,1,.36,1)}
.v2-shell button,.v2-shell a{-webkit-tap-highlight-color:transparent}
.primary,.hub-tabs button,.v2-nav a,.v2-emotions label,.photo-add{transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .2s var(--motion-ease)}
.primary:not(:disabled):active,.photo-add:active{transform:scale(.985)}
.deed-card,.about-banner{transition:transform .24s var(--motion-ease),opacity .2s ease}
.deed-card:active,.about-banner:active{transform:scale(.99)}
.intro-hand{transition:transform .32s var(--motion-ease)}.intro-hand:active{transform:translateY(-6px)}
.note-wrap{transition:background-color .18s ease,box-shadow .18s ease}
.note-wrap:focus-within{background:#00000014;box-shadow:inset 0 0 0 1.5px #ffffff85}
.note-wrap textarea:focus,.note-wrap textarea:focus-visible{outline:none;box-shadow:none}
.custom-field input:focus{outline:0;box-shadow:0 0 0 2px #ffffff85}
.v2-emotions label:has(:focus-visible){outline:2px solid #ffffffb3;outline-offset:3px}
.v2-emotions label:active{transform:scale(.97)}
.progress i{transition:background-color .2s ease}
.photo-picker[open],.request-dialog[open],#notifications:popover-open{animation:soft-arrival .2s var(--motion-ease) both}
@keyframes soft-arrival{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.about-index,.about-story,.about-contact{animation:none}
@media(prefers-reduced-motion:reduce){.v2-shell *,dialog,[popover]{animation:none!important;transition:none!important}.intro-hand:active,.deed-card:active,.about-banner:active,.primary:not(:disabled):active,.photo-add:active,.v2-emotions label:active{transform:none}}
.write-content{padding-top:clamp(350px,43svh,390px)}
.alive-svg{display:block;width:100%;height:auto;overflow:visible;transform-origin:50% 28%;pointer-events:none}
.has-living-hand>img{display:none!important}.has-living-hand .alive-svg{position:relative}
.intro-hand.has-living-hand:active{transform:none}
.living-face{position:absolute;left:25.55%;top:9.31%;width:49.64%;height:auto;pointer-events:none;overflow:visible}
.alive-eye{animation:character-blink 4.7s infinite;transform-box:view-box}
.alive-eye:nth-last-child(1){animation-delay:.035s}
.intro-hand:nth-child(2) .alive-eye{animation-delay:1.1s}.intro-hand:nth-child(3) .alive-eye{animation-delay:2.3s}.intro-hand:nth-child(4) .alive-eye{animation-delay:.7s}
@keyframes character-blink{0%,42%,47%,100%{transform:scaleY(1)}44%,45%{transform:scaleY(.08)}}
.alive-finger{transform-box:view-box}
@media(prefers-reduced-motion:reduce){.alive-eye{animation:none}}
.intro{overflow:clip}.intro-hand:focus-visible{outline:none}.intro-hand:focus-visible .alive-svg{filter:drop-shadow(0 0 3px #fff)}
.completion-home .alive-svg{animation:hand-ready 5.8s ease-in-out infinite}
@keyframes hand-ready{0%,100%{transform:perspective(650px) rotateY(-4deg) rotate(-2deg)}50%{transform:perspective(650px) rotateY(5deg) rotate(2deg)}}
@media(prefers-reduced-motion:reduce){.completion-home .alive-svg{animation:none}}
.intro{display:flow-root}
.deed-card.has-living-hand .alive-svg{position:absolute;top:120px;left:calc(50% - var(--palm,68.5px));width:172px;height:580px;z-index:0}
.completion-home:focus-visible{outline:none}.completion-home:focus-visible .alive-svg{filter:drop-shadow(0 0 3px #fff)}
/* Keep the same centered canvas when document height changes. */
html{overflow-y:scroll;scrollbar-gutter:stable both-edges;overflow-x:clip}
body{margin:0;min-width:0;overflow-x:clip}
.v2-shell{max-width:402px;width:100%;margin-inline:auto}
.v2-header,.hub-heading,#records-panel,.about-page{padding-inline:16px}
.writer{padding-inline:16px}
.v2-nav{width:calc(100% - 32px);max-width:370px}
.completion-home .alive-svg{animation:none;transform:none}
.alive-upper{transform-box:view-box}
.completion-home .alive-upper{animation:palm-ready 5.8s ease-in-out infinite}
.alive-pupil{animation:pupil-look 8.6s ease-in-out infinite;transform-box:view-box}
@keyframes palm-ready{0%,100%{transform:skewX(-2deg)}50%{transform:skewX(2deg)}}
@keyframes pupil-look{0%,18%,52%,100%{transform:translate(0,0)}24%,35%{transform:translate(.65px,-.2px)}65%,77%{transform:translate(-.5px,.25px)}}
@media(prefers-reduced-motion:reduce){.alive-pupil,.completion-home .alive-upper{animation:none}}
@media(max-width:430px){html{scrollbar-gutter:auto;scrollbar-width:none}html::-webkit-scrollbar{display:none}}
.v2-nav a{width:31%;display:flex;flex-direction:column;justify-content:center;gap:2px;text-decoration:none}.gnb-label{font-size:10px;line-height:12px;white-space:nowrap}
.completion-home .alive-svg{transform-origin:50% 24%}.completion-home .alive-upper{animation:none}.hand-spark{position:absolute;pointer-events:none;overflow:visible;z-index:2}
/* Writer face: start blink/look soon after an emotion is picked. */
.writer-art .alive-eye{animation-delay:-1.6s}.writer-art .alive-eye:nth-last-child(1){animation-delay:-1.565s}.writer-art .alive-pupil{animation-delay:-1.3s}
.contact-form textarea{min-height:120px;max-height:none;padding:14px 16px;border:1px solid #dedede;border-radius:14px;color:#191919;overflow-y:auto}.contact-form textarea:focus{outline:2px solid #54d5b1;outline-offset:2px}
.about-survey{animation:about-enter .26s ease both}
