:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#303f36;background:#f6f5ef;font-synthesis:none;--green:#365d49;--muted:#737a6f;--line:#e4e7dc;--paper:#fffef9}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 0 0,#e7ecdf70,transparent 50%),var(--bg-color,#f6f5ef);transition:background 1.5s ease}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}button,a,input,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #799569}button{transition:background .18s,box-shadow .18s,transform .18s}button:active{transform:translateY(1px)}
.shell{max-width:1140px;margin:auto;padding:0 40px}header{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe3d5}.brand{display:flex;align-items:center;gap:12px;color:var(--green);font-size:35px;text-decoration:none}.brand span{font-size:19px;letter-spacing:3px;font-weight:600}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:7px;font-weight:400;color:var(--muted)}.private{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted)}.private i{width:6px;height:6px;background:#7d9261;border-radius:50%}.greeting{display:flex;align-items:center;justify-content:space-between;margin:32px 0 25px}.eyebrow{font-size:9px;letter-spacing:2.5px;color:#778665;margin:0 0 10px}h1{font-family:"Songti SC",STSong,"Noto Serif CJK SC",serif;font-weight:500;font-size:34px;letter-spacing:1px;margin:0 0 10px}.muted{color:var(--muted);font-size:12px;line-height:1.8;margin:0}.text-button{background:var(--paper);border:1px solid var(--line);border-radius:30px;color:#71786b;font-size:11px;min-height:40px;padding:0 18px}.text-button:hover{background:#eaf0e3}
.hero-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.score-card{position:relative;isolation:isolate;overflow:hidden;border-radius:22px;padding:28px 30px 20px;background:linear-gradient(120deg,#264936,#3b6249);color:#f9f8e9;box-shadow:0 14px 30px #293f3012}.score-card:after{content:"";position:absolute;width:300px;height:300px;border:1px solid #c1d3a715;border-radius:50%;right:-80px;top:-80px;z-index:-1}.score-top,.score-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;position:relative;z-index:1}.score-label{font-size:13px;letter-spacing:1px}.score-label small{display:block;font-size:8px;letter-spacing:2px;color:#bacab0;margin-top:6px}.tag{font-size:9px;padding:7px 10px;border:1px solid #c1d3a733;border-radius:20px;color:#e1e7cd;background:#ffffff06;white-space:nowrap}.score-number{position:relative;z-index:1;display:flex;align-items:baseline;gap:14px;margin-top:10px}.score-number strong{display:inline-block;font-family:Georgia,"Times New Roman",serif;font-size:94px;font-weight:400;letter-spacing:-5px;line-height:1.12;overflow-wrap:anywhere;max-width:100%}.score-number span{font-size:12px;color:#cfdbbe}.score-card p{position:relative;z-index:1;font-size:11px;color:#d4dfc8;line-height:1.8;max-width:72%;margin:13px 0 24px}.score-bottom{font-size:9px;color:#d4ddc4;border-top:1px solid #d3e5b622;padding-top:16px}.score-bottom span span{margin:0 8px;color:#869d78}.score-bottom>span:last-child{font-size:8px;letter-spacing:1.3px}.sprout-art,.sapling-container{position:absolute;right:15px;top:64px;width:158px;height:158px;color:#b9cd95;opacity:.65;z-index:0}.sapling-container svg{width:100%;height:100%}.letter{position:relative;overflow:hidden;padding:27px 29px 23px;background:linear-gradient(115deg,#eeeddf,#f1efdf);border:1px solid #e1dfcc;border-radius:20px}.letter:after{content:"";position:absolute;right:-15px;top:-15px;width:65px;height:65px;border:1px solid #ddd9bd;border-radius:50%}.letter-label{font-size:9px;letter-spacing:1.8px;color:#7d826b}.letter h2{font-family:"Songti SC",STSong,serif;font-size:26px;font-weight:400;line-height:1.65;margin:17px 0 12px;color:#4b5943}.letter p{font-size:11px;line-height:2;color:#747861;margin:0 0 17px}.letter-sign{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#687453}.letter-sign span{font-size:22px}
.card{border:1px solid var(--line);background:var(--paper);border-radius:18px;padding:26px;box-shadow:0 4px 12px #233e2402}.section-title{display:flex;justify-content:space-between;align-items:center;gap:8px}h2{font-size:16px;font-weight:600;margin:0}.section-index{font-family:Georgia,serif;font-weight:400;font-size:13px;color:#80916f;margin-right:9px}.journey{margin-top:22px;padding:22px 28px 17px}.journey .eyebrow{font-size:8px;margin-bottom:6px}.journey h2{font-size:15px}.progress-percent{font-family:Georgia,serif;font-size:26px;color:#5e774a}.journey progress{display:block;width:100%;height:4px;border:0;border-radius:8px;overflow:hidden;appearance:none;margin:17px 0;background:#e9ecdf;color:#83996a}.journey progress::-webkit-progress-bar{background:#e9ecdf}.journey progress::-webkit-progress-value{background:#83996a;border-radius:8px}.journey progress::-moz-progress-bar{background:#83996a}.milestones{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.milestones li{display:grid;grid-template-columns:28px auto;grid-template-rows:auto auto;align-items:center;justify-content:center;column-gap:9px;row-gap:4px;color:#8b9083}.milestone-dot{grid-row:1/3;width:24px;height:24px;display:grid;place-items:center;border:1px solid #dfe5d3;background:#f2f4ec;border-radius:50%;font-size:9px}.milestones strong{font-family:Georgia,serif;font-size:17px;font-weight:400}.milestones li>span:not(.milestone-dot){font-size:10px}.milestones small{display:none}.milestones .reached{color:#4a693b}.reached .milestone-dot{background:#dfe9d5;border-color:#b9cca6}.current .milestone-dot{background:#567443;color:white;border-color:#567443;box-shadow:0 0 0 3px #edf2e5}.next-milestone{text-align:center;border-top:1px solid var(--line);margin:18px 0 0;padding-top:13px;color:#69775b;font-size:11px;line-height:1.7}.journey-note{display:none}
.stats{display:grid;grid-template-columns:repeat(3,1fr);margin:19px 0 23px;border:1px solid var(--line);border-radius:14px;background:#f0f2e8;padding:16px 0}.stats>div{display:flex;align-items:center;justify-content:center;gap:12px;padding:0 10px}.stats>div+div{border-left:1px solid #dce2d2}.stat-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;font-size:22px}.pink{background:#e4ebda;color:#5f7c49}.blue{background:#e6ebeb;color:#587780}.sand{background:#efebd9;color:#95814c}.stats small{display:block;font-size:10px;color:#78806e;margin-bottom:5px}.stats strong{font-family:Georgia,serif;font-size:23px;font-weight:400}.stats em{font-size:10px;font-style:normal;color:#7c8473;margin-left:3px}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.mini-heart{font-size:23px;color:#8d9d79}.subtext{font-size:11px;margin:7px 0 19px}.mode-tabs{display:flex;gap:5px;padding:4px;background:#eef0e8;border-radius:12px;margin-bottom:22px}.mode-tabs button{flex:1;border:0;border-radius:9px;background:transparent;color:#737d69;min-height:44px;padding:10px 3px;font-size:12px}.mode-tabs .active{background:#fffef9;box-shadow:0 2px 5px #2f422612;color:#476835}.mode-tabs .active[data-mode="-1"]{color:#557681}label{display:block;font-size:12px;margin-bottom:10px}.amount-row{display:flex;gap:9px;margin-bottom:21px}.preset,.custom-amount{flex:1;min-width:0;border:1px solid #dfe4d6;background:#fffef9;border-radius:10px;color:#727b67;font-size:13px}.preset{min-height:46px}.preset:hover{background:#f0f4e8}.preset.selected{background:#eaf0df;border-color:#9db488;color:#3f612f;box-shadow:inset 0 0 0 1px #9db488}.custom-amount{position:relative;display:flex;align-items:center;padding-right:8px}.custom-label{position:absolute;top:-7px;left:8px;font-size:9px;line-height:12px;padding:0 3px;background:var(--paper);color:#79836d;margin:0}.custom-amount input{width:100%;min-width:0;border:0;background:none;color:#4f6246;padding:10px 0 10px 9px;outline-offset:-3px;font-size:16px}.label-row{display:flex;align-items:baseline;justify-content:space-between}.label-row span{font-size:10px;color:#7d8475}textarea,input[type="password"]{width:100%;border:1px solid #e1e5d8;border-radius:10px;background:#f8f9f2;padding:13px;color:#3c4b34;font-size:16px}textarea{resize:vertical;min-height:100px;line-height:1.8}textarea::placeholder,input::placeholder{color:#858c7d;font-size:12px}.suggestions{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 22px}.suggestions button{border:1px solid #e2e7d8;border-radius:20px;background:var(--paper);font-size:10px;color:#6c795e;padding:8px 9px;min-height:32px}.suggestions button:hover{background:#edf2e3}.primary{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 18px;min-height:48px;background:#365b42;color:#fffef3;border:0;border-radius:11px;font-size:13px;box-shadow:0 5px 10px #33572c12}.primary:hover{background:#294a34}.primary.minus{background:#597980}.form-hint{font-size:10px;color:#7c8371;text-align:center;margin:12px 0 0}.history-card .section-title .muted{font-size:10px;white-space:nowrap}.filters{display:flex;gap:23px;border-bottom:1px solid var(--line);margin-top:15px}.filters button{min-height:44px;padding:10px 0 12px;border:0;border-bottom:2px solid transparent;color:#78806e;background:none;font-size:11px}.filters .active{color:#4b6b38;border-bottom-color:#698853}.history-item{display:flex;align-items:flex-start;gap:12px;border-bottom:1px dashed #e1e6d7;padding:21px 0}.history-item:last-child{border:0}.entry-icon{flex-shrink:0;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:15px}.entry-copy{flex:1;min-width:0}.entry-copy p{font-size:12px;line-height:1.8;margin:0 0 7px;overflow-wrap:anywhere;white-space:pre-wrap}.entry-copy time{font-size:10px;color:#7d8672}.delta{font-size:22px;font-family:Georgia,serif;color:#648345;white-space:nowrap}.delta.negative{color:#5f7e88}#history{max-height:465px;overflow:auto}.empty{padding:43px 16px 30px;text-align:center;font-size:12px;color:#758268;line-height:1.9}.empty b{display:block;margin:0 auto 18px;border:1px solid #dce6ce;border-radius:50%;width:63px;height:63px;line-height:63px;font-size:30px;background:#f0f4e8;color:#809867;font-weight:400}.sync-status{font-size:10px;color:#7c8670;text-align:center;margin:21px 0}.viewer-card{text-align:center;padding:50px 22px}.viewer-card>span{font-size:36px}.viewer-card h2{margin:20px 0 14px}.viewer-card p{line-height:2}.login{position:relative;max-width:440px;margin:55px auto;text-align:center;padding:38px;border-top:3px solid #718960}.envelope{font-size:58px;color:#5a7850;margin-bottom:16px}.login h1{font-size:29px;line-height:1.6}.login form{text-align:left;margin:28px 0 20px}.login .primary{margin-top:14px}.error{min-height:16px;font-size:12px;color:#aa4858}footer{display:flex;align-items:center;justify-content:center;gap:14px;margin:34px 0 25px;color:#7e8574;font-size:9px;letter-spacing:1.5px}footer span{color:#6c8856;font-size:17px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:14px 22px;background:#304733f5;color:#fffef3;border-radius:12px;font-size:13px;max-width:90vw;z-index:5;box-shadow:0 8px 26px #20312226}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.score-pop{animation:pop .4s ease}@keyframes pop{50%{transform:scale(1.04)}}
@media(max-width:760px){.shell{padding:0 18px}header{height:75px}.brand{font-size:29px;gap:9px}.brand span{font-size:16px}.brand small{font-size:7px;letter-spacing:1.5px}.private{font-size:10px}.greeting{margin:26px 0 20px}.greeting h1{font-size:26px;letter-spacing:0}.eyebrow{font-size:8px}.muted{font-size:11px}.text-button{min-height:36px;padding:0 12px;font-size:10px}.hero-grid{grid-template-columns:1fr;gap:12px}.score-card{padding:23px 23px 18px;border-radius:20px}.score-label{font-size:12px}.score-label small{font-size:7px}.tag{font-size:8px;padding:6px 8px}.score-number{margin-top:17px}.score-number strong{font-size:82px;letter-spacing:-4px}.score-card p{font-size:11px;margin:11px 0 21px;max-width:75%}.sprout-art{right:4px;top:65px;width:130px;height:130px}.score-bottom{font-size:8px;padding-top:13px}.score-bottom>span:last-child{font-size:7px;letter-spacing:1px}.score-bottom span span{margin:0 3px}.letter{padding:15px 19px;border-radius:13px}.letter-label{font-size:8px;letter-spacing:1.3px}.letter h2{display:none}.letter p{font-size:11px;line-height:1.9;margin:7px 0 0}.letter-sign{display:none}.journey{padding:19px 15px 15px;margin-top:16px;border-radius:16px}.journey h2{font-size:14px}.journey .eyebrow{font-size:7px}.journey progress{margin:16px 0}.progress-percent{font-size:24px}.milestones{gap:2px}.milestones li{display:flex;flex-direction:column;gap:6px}.milestones strong{font-size:16px}.milestones li>span:not(.milestone-dot){font-size:10px}.milestone-dot{height:23px;width:23px}.next-milestone{font-size:10px;margin-top:14px;padding-top:11px}.stats{margin:15px 0 18px;padding:13px 0}.stats>div{gap:6px}.stat-icon{display:none}.stats small{font-size:9px}.stats strong{font-size:23px}.content-grid{grid-template-columns:1fr;gap:17px}.card{padding:22px 20px}.journey{padding:19px 15px 15px}.section-title h2{font-size:15px}.section-index{font-size:12px;margin-right:5px}.subtext{font-size:11px}.history-card{min-height:240px}.history-card .section-title .muted{font-size:9px}.login{padding:30px 23px;margin:34px auto}.login h1{font-size:27px}.login input{min-height:48px}.toast{bottom:max(24px,env(safe-area-inset-bottom));width:max-content;max-width:90vw}footer{font-size:7px;letter-spacing:1px;gap:10px}.empty{padding:34px 5px 20px}}
@media(max-width:360px){.shell{padding:0 14px}.greeting h1{font-size:23px}.score-card{padding:20px}.score-number strong{font-size:75px}.score-bottom>span:last-child{letter-spacing:0}.letter p{font-size:10px}.card{padding:20px 16px}.journey{padding:18px 12px 13px}.section-title h2{font-size:14px}.amount-row{gap:7px}.suggestions button{font-size:9px;padding:7px}.milestones li>span:not(.milestone-dot){font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* photo upload feature */
.photo-section{margin-bottom:16px}
.photo-btn{border:1px solid #dfe4d6;background:#fffef9;border-radius:10px;color:#727b67;font-size:13px;min-height:42px;padding:0 14px;width:100%;display:flex;align-items:center;justify-content:center;gap:6px}
.photo-btn:hover{background:#f0f4e8}
.photo-preview{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.photo-thumb{position:relative;width:72px;height:72px;border-radius:8px;overflow:hidden;border:1px solid var(--line)}
.photo-thumb img{width:100%;height:100%;object-fit:cover}
.photo-remove{position:absolute;top:2px;right:2px;width:20px;height:20px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;border:0;font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0}
.entry-photos{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.entry-photos img{width:60px;height:60px;border-radius:6px;object-fit:cover;border:1px solid var(--line);cursor:pointer}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}
.lightbox img{max-width:92vw;max-height:92vh;border-radius:8px;object-fit:contain}
@media(max-width:760px){.photo-thumb{width:64px;height:64px}.entry-photos img{width:54px;height:54px}}
@media(max-width:360px){.photo-thumb{width:58px;height:58px}.entry-photos img{width:48px;height:48px}}
/* entry delete button */
.entry-copy{position:relative}
.entry-delete{position:absolute;top:0;right:0;background:#f5f5f0;border:1px solid #e4e7dc;color:#a09b8f;font-size:10px;cursor:pointer;padding:4px 8px;border-radius:6px;min-height:28px;min-width:40px;-webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center}
.entry-delete:hover{color:#c75b5b;border-color:#e0c8c8}
.entry-delete:active{background:#ede9e0}
.hero-grid > .score-card:only-child{grid-column:1/-1}
/* user badge */
.user-badge{display:flex;align-items:center;gap:10px}
.user-badge img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid #dfe3d5}
.user-badge span{font-size:13px;color:#5a6b52;font-weight:600;letter-spacing:.5px}
/* record-only mode */
.mode-tabs button[data-mode="0"].active{color:#7a6d9e}
#score-input-area{transition:opacity .3s,height .3s,margin .3s;overflow:hidden}
#score-input-area.hidden{opacity:0;height:0;margin:0;pointer-events:none}
/* entry author avatar */
.entry-author{display:flex;align-items:center;gap:6px;margin-bottom:4px}
.entry-author img{width:20px;height:20px;border-radius:50%;object-fit:cover;border:1px solid var(--line)}
.entry-author span{font-size:10px;color:var(--muted)}
/* record-only entries have no delta badge */
.entry-icon.record{background:#eeeaf2;color:#7a6d9e}
.delta.record{background:#eeeaf2;color:#7a6d9e;font-size:10px}
/* score card background transitions with score */
.score-card{transition:background 1.5s ease,box-shadow 1.5s ease}
/* mobile: user badge */
@media(max-width:760px){.user-badge span{font-size:11px}.user-badge img{width:30px;height:30px}.sapling-container,.sprout-art{right:4px;top:65px;width:130px;height:130px}}
@media(max-width:360px){.user-badge span{font-size:10px}.user-badge img{width:26px;height:26px}}
/* view switch: score mode vs record mode */
body.view-record .view-score{display:none}
body.view-score .view-record{display:none}
body.view-record .delta{display:none}
body.view-record .entry-icon.pink,body.view-record .entry-icon.blue{display:none}
body.view-record .entry-icon.record{display:grid}
#view-toggle{white-space:nowrap}
@media(max-width:760px){#view-toggle{font-size:9px;padding:0 10px}}
/* Upload tiles retain the original page palette. */
.upload-tile{width:100px;display:flex;flex-wrap:wrap;gap:4px;padding:5px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.upload-tile img{width:88px;height:72px;object-fit:cover;border-radius:6px}
.upload-status{width:100%;font-size:10px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.upload-tile button{flex:1;min-height:32px;border:1px solid var(--line);border-radius:6px;color:var(--green);background:var(--paper);font-size:11px}
.entry-copy{padding-top:42px}
.entry-author{margin-top:-32px;margin-bottom:12px;padding-right:64px;min-height:20px}
@media(max-width:760px){input,textarea,.custom-amount input{font-size:16px}.entry-delete{min-height:44px!important}.brand span{letter-spacing:1px}.private{flex-shrink:0}.content-grid>*{min-width:0}.section-title{flex-wrap:wrap}}
/* Custom in-page confirmation. */
.confirm-modal{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1100;display:flex;align-items:center;justify-content:center;padding:24px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.confirm-dialog{background:var(--paper,#fffef9);border-radius:16px;padding:28px 24px 20px;max-width:340px;width:100%;box-shadow:0 12px 40px rgba(0,0,0,.18)}
.confirm-msg{font-size:14px;line-height:1.7;color:#4a5749;margin:0 0 22px;text-align:center}
.confirm-actions{display:flex;gap:10px}
.confirm-btn{flex:1;border:0;border-radius:10px;min-height:46px;font-size:14px;font-weight:600;cursor:pointer;-webkit-appearance:none;appearance:none}
.confirm-btn.cancel{background:#eef0e8;color:#737d69}
.confirm-btn.cancel:active{background:#e4e8de}
.confirm-btn.ok{background:#c75b5b;color:#fff}
.confirm-btn.ok:active{background:#b54a4a}
/* Keep comment and own-entry delete actions together, without changing the card layout. */
.entry-actions{position:absolute;top:0;right:0;display:flex;align-items:center;gap:6px}
.entry-actions .entry-delete{position:static}
.comment-toggle{min-height:28px;min-width:40px;padding:4px 8px;border:1px solid var(--line);border-radius:6px;background:#f5f5f0;color:#66765e;font-size:10px}
.comment-toggle:hover{background:#edf2e7;color:var(--green)}
.entry-author{padding-right:120px}
@media(max-width:760px){.entry-actions .entry-delete,.comment-toggle{min-height:44px;min-width:44px;font-size:11px}}
/* Small inline conversations, shared by score and record views. */
.entry-comments{margin-top:16px;padding-top:13px;border-top:1px solid var(--line)}
.comment-heading{color:#66765e;font-size:11px;font-weight:600;margin-bottom:9px}
.comment-list{display:grid;gap:11px}
.comment-item{display:flex;align-items:flex-start;gap:8px}
.comment-avatar{flex:0 0 24px;width:24px;height:24px;border-radius:50%;object-fit:cover;border:1px solid var(--line)}
.comment-details{position:relative;min-width:0;flex:1;padding-right:42px}
.comment-meta{display:flex;flex-wrap:wrap;gap:5px;align-items:baseline;font-size:10px;line-height:1.5}
.comment-meta strong{color:#4b6348;font-size:11px}
.comment-meta time{color:var(--muted)}
.entry-copy .comment-text{color:#48564a;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0 0}
.comment-delete{position:absolute;right:0;top:0;min-width:40px;min-height:28px;border:0;background:transparent;color:#929b8c;font-size:10px;border-radius:6px}
.comment-delete:active{background:#f1f1ea}
.comment-form{display:flex;gap:8px;align-items:flex-end;margin-top:11px}
.comment-input{min-width:0;min-height:42px;flex:1;border:1px solid var(--line);border-radius:9px;padding:10px;font-size:12px;line-height:1.5;color:#303f36;background:#fffef9;resize:vertical}
.comment-submit{min-width:52px;min-height:42px;border:1px solid #a2b293;border-radius:9px;background:#edf2e7;color:var(--green);font-size:12px;font-weight:600}
.comment-submit:disabled,.comment-delete:disabled{opacity:.5}
@media(max-width:760px){.comment-input{font-size:16px}.comment-submit,.comment-delete{min-height:44px}.comment-delete{min-width:44px}.comment-details{padding-right:48px}}
/* mobile: history items & delete button */
@media(max-width:760px){
  .greeting{flex-direction:column;align-items:flex-start;gap:12px}
  .greeting>div:first-child{width:100%}
  .user-badge{flex-wrap:wrap;gap:6px;width:100%}
  .history-item{padding:17px 0;gap:10px}
  .entry-icon{width:28px;height:28px;font-size:13px}
  .entry-copy p{font-size:13px;line-height:1.75}
  .entry-delete{font-size:11px;padding:4px 10px;min-height:32px;min-width:44px;border-radius:6px;background:#f0f0ec;border:1px solid #e0e0d8;top:0;right:0}
  .entry-delete:active{background:#e8e8e0;color:#c75b5b}
  .confirm-dialog{padding:24px 20px 18px;border-radius:14px}
  .confirm-msg{font-size:13px;margin-bottom:18px}
  .confirm-btn{min-height:44px;font-size:13px}
}

/* Shared entrance in both journal and score views. */
.arcade-link{display:flex;align-items:center;gap:16px;padding:19px 22px;margin:0 0 22px;background:#fffaf0;border:1px solid #e3dfcb;border-radius:16px;color:#536847;text-decoration:none;transition:background .2s}
.arcade-link:hover{background:#f2f5e7}.arcade-link>span{font-size:30px;color:#9c885b}.arcade-link div{flex:1;min-width:0}.arcade-link strong{display:block;font-size:15px;line-height:1.6}.arcade-link small{display:block;font-size:11px;line-height:1.8;color:#7a816c}.arcade-link>b{font-size:22px;font-weight:400}.arcade-link:focus-visible{outline:2px solid #718960;outline-offset:3px}
@media(max-width:760px){.arcade-link{padding:15px 17px;gap:12px;margin-bottom:18px}.arcade-link strong{font-size:14px}.arcade-link small{font-size:10px}}
