﻿:root{--note-blue:#567ace;--note-ink:#26324a}
.guestbook-app{overflow:hidden}
.guestbook-app .stage{display:block}
.guestbook-main{position:relative;min-width:0;height:100%;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:34px 48px 28px;background-color:#faf9f4;background-image:linear-gradient(rgba(86,122,206,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(86,122,206,.045) 1px,transparent 1px);background-size:32px 32px}
.guestbook-main:before{content:"YUJIN";position:absolute;right:-10px;top:4px;color:rgba(86,122,206,.035);font:700 clamp(90px,12vw,185px)/1 Georgia,"Noto Serif SC","Noto Serif CJK SC","Source Han Serif SC","Songti SC",serif;pointer-events:none}
.guestbook-head{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;padding:0 10px 18px;border-bottom:1px solid rgba(86,122,206,.12)}
.guestbook-head small{color:var(--note-blue);font-size:10px;font-weight:700;letter-spacing:.25em}.guestbook-head h1{margin:6px 0 3px;color:#172238;font:500 clamp(31px,3.5vw,50px)/1.12 Georgia,"Noto Serif SC","Noto Serif CJK SC","Source Han Serif SC","Songti SC",serif;letter-spacing:-.035em}.guestbook-head h1 span{color:var(--note-blue)}.guestbook-head p{margin:0;color:#8993a6;font-size:11px;letter-spacing:.04em}.note-total{text-align:right}.note-total strong{display:block;color:var(--note-blue);font:500 30px/1 Georgia,"Noto Serif SC","Noto Serif CJK SC","Source Han Serif SC","Songti SC",serif}.note-total span{color:#a3aabb;font-size:8px;letter-spacing:.2em}
.note-viewport{position:relative;min-height:0;overflow:hidden;margin:8px 0 10px;mask-image:linear-gradient(to bottom,transparent 0,#000 12%,#000 88%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 12%,#000 88%,transparent 100%)}
.note-track{position:relative;display:flex;flex-direction:column;gap:18px;padding:36px 1.5%}.note-track.is-rolling{animation:noteRoll var(--roll-duration,70s) linear infinite}.note-viewport:hover .note-track,.note-viewport:focus-within .note-track{animation-play-state:paused}
.public-note{position:relative;flex:none;display:grid;grid-template-columns:minmax(112px,26%) minmax(0,1fr);align-items:center;column-gap:7%;width:min(760px,77%);min-height:clamp(190px,23vw,290px);height:auto;padding:28px 6% 28px 4.8%;border:1px solid rgba(123,154,211,.32);border-radius:24px;background:linear-gradient(128deg,rgba(249,252,255,.98),rgba(230,241,255,.95));box-shadow:inset 0 0 0 7px rgba(255,255,255,.32),0 14px 28px rgba(39,61,102,.10);transform:rotate(var(--tilt,0deg));isolation:isolate;overflow:hidden}.public-note:before{content:"";position:absolute;z-index:1;inset:16px;border:1px solid rgba(129,157,206,.25);border-radius:17px;pointer-events:none}.public-note:nth-child(3n+1){align-self:flex-start;margin-left:2%;--tilt:-.45deg}.public-note:nth-child(3n+2){align-self:flex-end;margin-right:3%;--tilt:.55deg}.public-note:nth-child(3n){align-self:center;--tilt:-.15deg}.note-theme-2{background:linear-gradient(128deg,rgba(247,252,255,.98),rgba(220,237,255,.96))}.note-theme-3{background:linear-gradient(128deg,rgba(249,252,255,.98),rgba(226,240,255,.96))}.note-stars{position:absolute;z-index:1;inset:0;background:url('/cdn/guestbook/note-stars-paws.webp') center/100% 100% no-repeat;opacity:.72;pointer-events:none}.note-photo{position:relative;z-index:3;width:100%;aspect-ratio:4/5;margin:0;padding:8px 8px 25px;border-radius:5px;background:#fff;box-shadow:0 6px 12px rgba(55,72,105,.18);transform:rotate(-.35deg);overflow:hidden}.note-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 35%;border-radius:2px}.note-photo figcaption{position:absolute;left:0;right:0;bottom:3px;text-align:center;color:#304a82;font:italic 700 clamp(12px,1.3vw,18px)/1.2 cursive}.note-tape{position:absolute;z-index:4;left:9%;top:9px;width:115px;height:18px;background:repeating-linear-gradient(90deg,rgba(132,144,163,.25) 0 5px,rgba(205,213,224,.4) 5px 8px);transform:rotate(5deg)}.note-corner{position:absolute;z-index:2;display:block;background-position:center;background-repeat:no-repeat;background-size:contain;pointer-events:none}.note-corner-tl{left:1.5%;top:2%;width:27%;height:42%;background-image:url('/cdn/guestbook/note-corner-tl.webp');background-position:left top;opacity:.62}.note-corner-br{right:1.5%;bottom:2%;width:23%;height:34%;background-image:url('/cdn/guestbook/note-corner-br.webp');background-position:right bottom;opacity:.55}.note-copy{position:relative;z-index:3;align-self:center;min-width:0;padding:26px 0;color:#5c6d8a;text-shadow:0 1px rgba(255,255,255,.7)}.note-copy blockquote{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:italic 500 clamp(13px,1.25vw,19px)/1.55 Georgia,"Noto Serif SC","Noto Serif CJK SC","Source Han Serif SC","Songti SC",serif}.note-paw{display:block;margin-bottom:7px;color:#86a2d0;font-size:12px}.note-meta{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:15px;color:#7890bd;font-size:9px;letter-spacing:.05em}.note-meta i{width:3px;height:3px;border-radius:50%;background:#7f9bd1}.note-meta strong{font-weight:600}.note-flower{position:absolute;z-index:2;right:-1%;top:3%;width:43%;height:88%;opacity:.34;background:no-repeat right center/contain url('/cdn/guestbook/note-flower.webp');filter:contrast(1.18) saturate(1.08);pointer-events:none}.note-sign{position:absolute;z-index:3;right:5%;bottom:18px;color:#7890bd;font:italic 8px Georgia,"Noto Serif SC","Noto Serif CJK SC","Source Han Serif SC","Songti SC",serif}.loading-note{position:absolute;inset:0;display:grid;place-items:center;color:#96a2b8;font:italic 15px Georgia,"Noto Serif SC","Noto Serif CJK SC","Source Han Serif SC","Songti SC",serif}.loading-note[hidden]{display:none}
.note-composer{position:relative;z-index:4;display:grid;grid-template-columns:auto minmax(260px,1fr) auto;align-items:center;gap:14px;padding:7px 11px 7px 16px;border:1px solid rgba(86,122,206,.18);border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 10px 30px rgba(41,57,89,.08);backdrop-filter:blur(12px)}.composer-copy{min-width:132px}.composer-copy span{display:block;color:#68738a;font-size:10px}.composer-copy b{color:#314f94}.composer-copy small{display:block;margin-top:2px;color:#a1a8b5;font-size:8.5px}.note-composer label{min-width:0}.note-composer textarea{display:block;width:100%;min-height:28px;max-height:72px;resize:none;padding:3px 4px;border:0;outline:0;background:transparent;color:var(--note-ink);font:13px/1.55 "Segoe UI","Microsoft YaHei","Noto Sans CJK SC","Source Han Sans SC",Roboto,sans-serif}.note-composer textarea::placeholder{color:#acb3c0}.composer-action{display:grid;justify-items:end;gap:3px}.composer-action>span{color:#a0a8b7;font-size:8.5px}.composer-action button{height:34px;padding:0 14px;border:0;border-radius:12px;background:var(--note-blue);color:#fff;font-size:11px;cursor:pointer;box-shadow:0 6px 14px rgba(86,122,206,.22)}.composer-action button:disabled{opacity:.55;cursor:wait}.composer-action i{font-style:normal;margin-left:7px}.form-status{position:absolute;left:16px;bottom:-17px;margin:0;color:#5975b6;font-size:9px}.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}
.guestbook-menu[hidden]{display:none}.guestbook-menu{position:fixed;inset:0;z-index:80}.guestbook-menu-mask{position:absolute;inset:56px 0 0;border:0;background:rgba(22,31,48,.18);backdrop-filter:blur(3px)}.guestbook-menu nav{position:absolute;right:12px;top:64px;width:210px;display:grid;padding:8px;border:1px solid rgba(86,122,206,.16);border-radius:18px;background:#fff;box-shadow:0 20px 48px rgba(31,43,70,.18)}.guestbook-menu a{padding:12px 14px;border-radius:11px;color:#59647a;text-decoration:none;font-size:13px}.guestbook-menu a:hover,.guestbook-menu a.active{color:#34539c;background:rgba(86,122,206,.09)}
@keyframes noteRoll{from{transform:translateY(0)}to{transform:translateY(calc(-50% - 9px))}}
@media(max-width:1080px){.guestbook-main{padding:28px 30px 24px}.public-note{width:min(700px,88%)}}
@media(max-width:820px){.guestbook-app{grid-template-rows:56px minmax(0,1fr)}.guestbook-main{height:100%;min-height:0;padding:16px 13px calc(14px + env(safe-area-inset-bottom));grid-template-rows:auto minmax(0,1fr) auto}.guestbook-head{align-items:center;padding:0 5px 10px}.guestbook-head small{font-size:8px}.guestbook-head h1{font-size:26px;margin-top:4px}.guestbook-head p{font-size:9px}.note-total strong{font-size:23px}.note-viewport{margin:4px 0}.note-track{gap:12px;padding:24px 0}.public-note{width:98%;}.public-note:nth-child(3n+1){margin-left:0}.public-note:nth-child(3n+2){margin-right:0}.note-copy{left:32%;right:5%;top:20%;bottom:13%}.note-copy blockquote{font-size:clamp(10px,3.1vw,13px);line-height:1.35;-webkit-line-clamp:3}.note-meta{margin-top:5px;font-size:7px;gap:5px}.note-composer{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:8px 8px 8px 13px;border-radius:18px}.composer-copy{grid-column:1/-1;display:flex;justify-content:space-between;min-width:0}.composer-copy small{margin:0}.note-composer textarea{min-height:44px;max-height:74px;padding:3px 0;font-size:16px}.composer-action>span{display:none}.composer-action button{width:46px;height:46px;padding:0;font-size:0;border-radius:15px}.composer-action button i{margin:0;font-size:18px}.form-status{bottom:-15px;left:12px}.guestbook-main:before{font-size:70px}}
@media(prefers-reduced-motion:reduce){.note-viewport{overflow-y:auto;mask-image:none;-webkit-mask-image:none}.note-track.is-rolling{animation:none}.note-track .public-note:nth-child(n+2){display:block}}
@media(max-width:820px){.public-note{width:92%}}
@media(max-width:820px){.public-note{grid-template-columns:minmax(72px,28%) minmax(0,1fr);column-gap:6%;min-height:132px;padding:18px 5% 18px 4%;border-radius:16px}.public-note:before{inset:9px;border-radius:12px}.note-photo{padding:5px 5px 16px}.note-photo figcaption{bottom:1px;font-size:9px}.note-tape{left:8%;top:5px;width:66px;height:10px}.note-copy{position:relative;left:auto;right:auto;top:auto;bottom:auto;padding:14px 0}.note-copy blockquote{font-size:clamp(10px,3.1vw,13px);line-height:1.4;display:block;overflow:visible;-webkit-line-clamp:unset}.note-meta{margin-top:7px;font-size:6.5px;gap:4px}.note-paw{margin-bottom:3px;font-size:8px}.note-flower{right:2%;top:9%;width:34%;height:72%}.note-sign{right:4%;bottom:10px;font-size:5.5px}}

/* Three independent message streams. */
.guestbook-main{grid-template-rows:minmax(0,1fr) auto;padding-top:22px}.guestbook-head{display:none}.note-viewport{margin:0 0 12px}.note-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;height:100%;padding:0 1%}.note-track.is-rolling{animation:none}.note-column{min-width:0;height:100%;overflow:hidden}.note-column-track{display:flex;flex-direction:column;gap:22px;padding:50px 0 70px;will-change:transform}.note-column-track.is-rolling{animation:noteRoll var(--roll-duration,70s) linear infinite;animation-delay:calc(var(--column) * -13s)}.note-column:hover .note-column-track{animation-play-state:paused}.note-column:nth-child(2) .note-column-track{padding-top:150px}.note-column:nth-child(3) .note-column-track{padding-top:92px}
.note-column .public-note{align-self:stretch;width:100%;min-height:170px;margin:0;padding:20px 5% 20px 4%;grid-template-columns:minmax(72px,31%) minmax(0,1fr);column-gap:6%;border-radius:18px;transform:rotate(var(--tilt,0deg))}.note-column .public-note:before{inset:10px;border-radius:13px}.note-column .note-photo{padding:5px 5px 17px}.note-column .note-photo figcaption{bottom:1px;font-size:10px}.note-column .note-tape{left:8%;top:6px;width:72px;height:11px}.note-column .note-copy{position:relative;left:auto;right:auto;top:auto;bottom:auto;padding:16px 0}.note-column .note-copy blockquote{display:block;overflow:visible;-webkit-line-clamp:unset;font-size:clamp(10px,.9vw,13px);line-height:1.45}.note-column .note-meta{gap:4px;margin-top:8px;font-size:6.5px}.note-column .note-paw{margin-bottom:4px;font-size:8px}.note-column .note-flower{right:2%;top:8%;width:38%;height:72%}.note-column .note-sign{right:4%;bottom:10px;font-size:5.5px}
.dog-sprite{position:relative;display:block;aspect-ratio:1;overflow:visible}.dog-sprite img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}
.note-dog{position:absolute;z-index:7;right:11px;top:9px;width:clamp(42px,4.5vw,62px);filter:drop-shadow(0 5px 7px rgba(43,61,95,.16));pointer-events:none}
@media(max-width:920px){.note-track{gap:14px}.note-column-track{gap:16px}.note-column .public-note{grid-template-columns:1fr;min-height:190px}.note-column .note-photo{display:none}.note-column .note-copy{padding:22px 10px}}
@media(max-width:820px){.guestbook-main{padding-top:10px}.note-track{display:block;padding:0 4%}.note-column{display:none}.note-column:first-child{display:block}.note-column:nth-child(1) .note-column-track{padding-top:32px}.note-column .public-note{grid-template-columns:minmax(72px,28%) minmax(0,1fr);min-height:132px}.note-column .note-photo{display:block}.note-column .note-copy{padding:14px 0}.note-dog{right:7px;top:6px;width:43px}}

.dog-picker[hidden]{display:none}.dog-picker{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:20px}.dog-picker-mask{position:absolute;inset:0;border:0;background:rgba(25,34,52,.32);backdrop-filter:blur(7px)}.dog-picker-panel{position:relative;width:min(590px,100%);max-height:94vh;overflow:auto;padding:25px 28px 22px;border:1px solid rgba(86,122,206,.2);border-radius:26px;background:rgba(252,251,247,.98);box-shadow:0 28px 80px rgba(30,43,69,.24);text-align:center}.dog-picker-panel>small{color:#567ace;font-size:9px;font-weight:700;letter-spacing:.24em}.dog-picker-panel h2{margin:7px 0 4px;color:#26324a;font:500 25px/1.25 Georgia,"Noto Serif SC","Noto Serif CJK SC","Source Han Serif SC","Songti SC",serif}.dog-picker-panel>p{margin:0 0 16px;color:#929bac;font-size:11px}.dog-picker-close{position:absolute;right:13px;top:11px;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#7d8799;font-size:24px;cursor:pointer}.dog-picker-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.dog-picker-grid>button{position:relative;display:grid;place-items:center;padding:6px;border:1px solid rgba(86,122,206,.15);border-radius:18px;background:#fff;color:#68748b;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}.dog-picker-grid>button:hover,.dog-picker-grid>button:focus-visible{outline:0;border-color:#8ca4dc;background:#f7f9ff;transform:translateY(-2px)}.dog-picker-grid>button.is-selected{border-color:#567ace;background:#f3f6ff;box-shadow:0 0 0 3px rgba(86,122,206,.18),0 10px 24px rgba(86,122,206,.13)}.dog-picker-grid .dog-sprite{width:min(92px,100%)}.dog-picker-grid em{position:absolute;z-index:2;left:8px;top:7px;display:grid;place-items:center;min-width:28px;height:20px;padding:0 5px;border-radius:8px;background:rgba(255,255,255,.9);box-shadow:0 2px 9px rgba(35,48,74,.08);color:#567ace;font:700 9px/1 system-ui,sans-serif;letter-spacing:.08em}.dog-picker-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:17px;text-align:left}.dog-picker-actions>span{color:#8993a6;font-size:11px}.dog-picker-send{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:126px;height:44px;padding:0 18px;border:0;border-radius:15px;background:#567ace;color:#fff;font-weight:600;box-shadow:0 9px 22px rgba(86,122,206,.25);cursor:pointer;transform:scale(1);transform-origin:center;transition:opacity .18s ease,filter .18s ease}.dog-picker-send i{font-style:normal}.dog-picker-send:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.dog-picker-send:active:not(:disabled){transform:scale(.96)}.dog-picker-send.is-rebounding{opacity:1;box-shadow:0 9px 22px rgba(86,122,206,.25);animation:dog-send-spring .36s cubic-bezier(.2,.8,.25,1)}.dog-picker-open{overflow:hidden}@keyframes dog-send-spring{0%{transform:scale(.96)}45%{transform:scale(1.055)}72%{transform:scale(.988)}100%{transform:scale(1)}}
@media(max-width:520px){.dog-picker{padding:10px}.dog-picker-panel{padding:23px 12px 14px;border-radius:22px}.dog-picker-panel h2{font-size:21px}.dog-picker-panel>p{margin-bottom:12px}.dog-picker-grid{gap:6px}.dog-picker-grid>button{padding:4px;border-radius:13px}.dog-picker-grid .dog-sprite{width:min(78px,100%)}.dog-picker-grid em{left:5px;top:5px;min-width:24px;height:18px;font-size:8px}.dog-picker-actions{margin-top:13px}.dog-picker-send{min-width:116px;height:42px}}
@media(prefers-reduced-motion:reduce){.dog-picker-send.is-rebounding{opacity:1;box-shadow:0 9px 22px rgba(86,122,206,.25);animation:none}}

/* Keep the supplied lily visible behind the copy on both wide and narrow cards. */
.public-note .note-copy,.note-column .note-copy{padding-right:18%}
.public-note .note-flower,.note-column .note-flower{z-index:4;right:1%;top:6%;width:34%;height:84%;opacity:.76;background-position:right center;background-size:contain;filter:brightness(.48) contrast(1.9) saturate(1.15)}
.note-copy blockquote,.note-copy .note-meta{position:relative;z-index:1}
@media(max-width:820px){.public-note .note-copy,.note-column .note-copy{padding-right:12%}.public-note .note-flower,.note-column .note-flower{right:0;width:31%;opacity:.62}}

/* Weekly note theme: shared transparent decorations + per-note portrait/palette. */
.public-note{border-color:color-mix(in srgb,var(--note-accent,#7890bd) 36%,transparent);background:linear-gradient(128deg,color-mix(in srgb,var(--note-bg,#eef5ff) 72%,#fff),var(--note-bg,#e6f0ff));box-shadow:inset 0 0 0 7px color-mix(in srgb,#fff 38%,transparent),0 14px 28px color-mix(in srgb,var(--note-ink,#26324a) 13%,transparent)}
.public-note:before{border-color:color-mix(in srgb,var(--note-accent,#7890bd) 32%,transparent)}
.public-note .note-copy{color:var(--note-ink,#5c6d8a)}
.public-note .note-paw,.public-note .note-meta,.public-note .note-sign,.public-note .note-photo figcaption{color:var(--note-accent,#7890bd)}
.public-note .note-meta i{background:var(--note-accent,#7890bd)}
.note-theme-2 .note-stars{transform:scaleX(-1);opacity:.62}
.note-theme-2 .note-corner-tl{opacity:.42}
.note-theme-3 .note-stars{transform:scaleY(-1);opacity:.66}
.note-theme-3 .note-corner-br{opacity:.38}
.note-design-copy{position:relative;z-index:2;margin-top:12px;padding-top:9px;border-top:1px solid color-mix(in srgb,var(--note-accent,#7890bd) 24%,transparent);color:var(--note-ink,#5c6d8a)}
.note-design-copy span{display:block;overflow-wrap:anywhere}
.note-design-copy span[lang="en"]{font:italic 500 clamp(8px,.72vw,10px)/1.35 Georgia,"Noto Serif SC","Noto Serif CJK SC","Source Han Serif SC","Songti SC",serif;opacity:.8}
.note-design-copy span[lang="zh-CN"]{margin-top:3px;font-size:clamp(7px,.62vw,9px);line-height:1.35;opacity:.66}
.note-column .public-note{min-height:210px}
.note-column .note-copy blockquote{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}
.note-column .note-meta{margin-top:7px}
@media(max-width:920px){.note-column .public-note{min-height:225px}.note-design-copy span[lang="en"]{font-size:9px}.note-design-copy span[lang="zh-CN"]{font-size:8px}}
@media(max-width:820px){.note-column .public-note{min-height:170px}.note-design-copy{margin-top:7px;padding-top:6px}.note-design-copy span[lang="en"]{font-size:7px}.note-design-copy span[lang="zh-CN"]{font-size:6.5px}.note-column .note-copy blockquote{max-height:calc(3 * 1.4em);line-height:1.4;-webkit-line-clamp:3}}

/* Uniform card size + clickable cards. */
.note-column .public-note{height:260px;min-height:0;overflow:hidden;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.note-column .public-note:hover,.note-column .public-note:focus-visible{transform:rotate(var(--tilt,0deg)) translateY(-3px);box-shadow:inset 0 0 0 7px rgba(255,255,255,.32),0 20px 38px rgba(39,61,102,.16);outline:0}
@media(max-width:920px){.note-column .public-note{height:236px}}
@media(max-width:820px){.note-column .public-note{height:190px}}
body.note-modal-open .note-column-track{animation-play-state:paused}

/* Note detail modal. */
.note-modal[hidden]{display:none}
.note-modal{position:fixed;inset:0;z-index:110;display:grid;place-items:center;padding:22px}
.note-modal-mask{position:absolute;inset:0;border:0;background:rgba(25,34,52,.38);backdrop-filter:blur(8px)}
.note-modal-panel{position:relative;width:min(720px,100%);max-height:92vh;overflow:auto;padding:26px 26px 20px;border:1px solid rgba(86,122,206,.22);border-radius:26px;background:rgba(252,251,247,.97);box-shadow:0 30px 90px rgba(30,43,69,.28)}
.note-modal-close{position:absolute;z-index:5;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#7d8799;font-size:24px;cursor:pointer}
.note-modal-close:hover{color:#314f94}
.note-modal-body .public-note{width:100%;min-height:0;height:auto;grid-template-columns:minmax(120px,30%) minmax(0,1fr);cursor:default;transform:none}
.note-modal-body .public-note:hover{transform:none}
.note-modal-body .note-copy blockquote{-webkit-line-clamp:unset;display:block;overflow-y:auto;overflow-x:hidden;max-height:min(45vh,440px);max-height:min(45dvh,440px);overscroll-behavior:contain;scrollbar-width:thin;padding-right:5px;font-size:clamp(13px,1.15vw,17px)}
.note-modal-body .note-dog{width:clamp(48px,5vw,66px)}
.note-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}
.note-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:42px;padding:0 10px;border:1px solid rgba(86,122,206,.2);border-radius:14px;background:#fff;color:#5c6d8a;font-size:12px;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.note-actions>button:hover{border-color:#8ca4dc;background:#f7f9ff;transform:translateY(-1px)}
.note-actions>button i{font-style:normal;font-size:15px}
.note-actions>button b{font-weight:600;font-variant-numeric:tabular-nums}
.note-actions>button.is-active{border-color:#567ace;background:#eef3ff;color:#314f94}
.note-actions>button.is-active i{color:#e2557b}
.note-actions>button:disabled{opacity:.55;cursor:not-allowed;transform:none}
.note-comments{margin-top:14px;border-top:1px dashed rgba(86,122,206,.25);padding-top:14px}
.comment-form{display:flex;gap:9px}
.comment-form input{flex:1;min-width:0;height:40px;padding:0 13px;border:1px solid rgba(86,122,206,.22);border-radius:12px;background:#fff;color:var(--note-ink);font-size:13px;outline:0}
.comment-form input:focus{border-color:#567ace}
.comment-form button{height:40px;padding:0 16px;border:0;border-radius:12px;background:var(--note-blue);color:#fff;font-size:12px;cursor:pointer}
.comment-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:9px;max-height:220px;overflow:auto}
.comment-list li{padding:9px 12px;border-radius:12px;background:rgba(86,122,206,.06)}
.comment-list li strong{color:#314f94;font-size:11px}
.comment-list li p{margin:3px 0;color:#43506b;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.comment-list li time{color:#9aa4b6;font-size:9px}
.comment-list li.comment-empty{background:transparent;color:#9aa4b6;font-size:11px;text-align:center}
@media(max-width:560px){.note-modal{padding:12px}.note-modal-panel{padding:20px 14px 14px;border-radius:20px}.note-actions{grid-template-columns:repeat(2,1fr)}.note-modal-body .public-note{grid-template-columns:1fr}.note-modal-body .note-photo{display:none}}

/* Delivered template details: exact gradients, ink palette and A/B frames. */
.public-note{border-color:color-mix(in srgb,var(--note-line,#aeb9c9) 72%,transparent);background:linear-gradient(145deg,var(--note-g0,#fafbfc),var(--note-g1,#e2e8f0));box-shadow:inset 0 0 0 1px rgba(255,255,255,.62),inset 0 0 0 7px rgba(255,255,255,.2),0 14px 28px color-mix(in srgb,var(--note-deep,#2a2f39) 16%,transparent)}
.public-note:before{border-color:color-mix(in srgb,var(--note-line,#aeb9c9) 72%,transparent)}
.public-note .note-copy{color:var(--note-ink,#4c5462)}
.public-note .note-copy blockquote{color:var(--note-deep,#2a2f39)}
.note-stars{background:none;background-color:var(--note-accent,#92a5c2);opacity:.72;-webkit-mask:url('/cdn/guestbook/note-stars-paws.webp') center/100% 100% no-repeat;mask:url('/cdn/guestbook/note-stars-paws.webp') center/100% 100% no-repeat}
.note-theme-2 .note-stars,.note-theme-3 .note-stars{transform:none;opacity:.72}
.note-corner{background:none;background-color:var(--note-ink,#4c5462)}
.note-corner-tl{-webkit-mask:url('/cdn/guestbook/note-corner-tl.webp') left top/contain no-repeat;mask:url('/cdn/guestbook/note-corner-tl.webp') left top/contain no-repeat;opacity:.52}
.note-corner-br{-webkit-mask:url('/cdn/guestbook/note-corner-br.webp') right bottom/contain no-repeat;mask:url('/cdn/guestbook/note-corner-br.webp') right bottom/contain no-repeat;opacity:.42}
.note-flower{background:none;background-color:var(--note-ink,#4c5462);filter:none;opacity:.33;-webkit-mask:url('/cdn/guestbook/note-flower.webp') right center/contain no-repeat;mask:url('/cdn/guestbook/note-flower.webp') right center/contain no-repeat}
.public-note .note-flower,.note-column .note-flower{filter:none;opacity:.33}
.note-tape{background-color:color-mix(in srgb,var(--note-tape,#ecf0f6) 82%,transparent);background-image:repeating-linear-gradient(90deg,transparent 0 7px,color-mix(in srgb,var(--note-accent,#92a5c2) 22%,transparent) 7px 11px);transform:rotate(-6deg);border-radius:2px}
.note-photo{border:1px solid color-mix(in srgb,var(--note-line,#aeb9c9) 62%,transparent);box-shadow:0 6px 12px color-mix(in srgb,var(--note-deep,#2a2f39) 22%,transparent);transform:none}
.public-note .note-photo figcaption{color:var(--note-deep,#2a2f39);font-family:"Segoe Script","Segoe Print",cursive}
.public-note .note-paw,.public-note .note-meta,.public-note .note-sign{color:var(--note-mid,#747e8e)}
.public-note .note-meta i{background:var(--note-accent,#92a5c2)}
.note-design-copy{color:var(--note-mid,#747e8e);border-top:0;padding-top:7px}
.note-design-copy:after{content:"";display:block;width:42%;height:1px;margin-top:6px;background:color-mix(in srgb,var(--note-line,#aeb9c9) 72%,transparent)}
.note-meta{width:fit-content;max-width:100%;padding:4px 8px;border:1px solid color-mix(in srgb,var(--note-line,#aeb9c9) 75%,transparent);border-radius:999px;background:color-mix(in srgb,var(--note-accent,#92a5c2) 10%,transparent)}
.note-sign{color:var(--note-mid,#747e8e)}
.note-frame-b .note-corner{display:none}
.note-frame-b:after{content:"";position:absolute;z-index:2;inset:8px;pointer-events:none;opacity:.38;background:linear-gradient(var(--note-ink),var(--note-ink)) left top/24px 1px no-repeat,linear-gradient(var(--note-ink),var(--note-ink)) left top/1px 24px no-repeat,linear-gradient(var(--note-ink),var(--note-ink)) right top/24px 1px no-repeat,linear-gradient(var(--note-ink),var(--note-ink)) right top/1px 24px no-repeat,linear-gradient(var(--note-ink),var(--note-ink)) left bottom/24px 1px no-repeat,linear-gradient(var(--note-ink),var(--note-ink)) left bottom/1px 24px no-repeat,linear-gradient(var(--note-ink),var(--note-ink)) right bottom/24px 1px no-repeat,linear-gradient(var(--note-ink),var(--note-ink)) right bottom/1px 24px no-repeat}
@media(max-width:820px){.note-meta{padding:3px 6px}.note-frame-b:after{inset:6px}.note-design-copy:after{margin-top:4px}}

/* 安卓壳右下角原生浮层（触控热区 48dp、视觉 34dp）：给「贴上便签」发送键让出右侧 100px，空闲态净距到 52dp */
@media(max-width:820px){.in-shell .note-composer{padding-right:100px}}

/* 三列独立手动滚动：隐藏滚动条，滚轮/触摸/键盘暂停自动轮播，5 秒后恢复 */
.note-column{overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;scroll-behavior:auto;scrollbar-width:none;-ms-overflow-style:none}
.note-column:focus-visible{outline:0}
.note-column::-webkit-scrollbar{display:none;width:0;height:0}
.note-column.is-manual .note-column-track{animation-play-state:paused}

/* 正在滚动时，最接近视口中心的那张成为唯一主角 */
.note-column .public-note{transform-origin:center;transition:transform .34s cubic-bezier(.2,.78,.22,1),filter .34s ease,opacity .34s ease,box-shadow .34s ease}
.note-column.is-spotlighting .public-note{opacity:.58;filter:brightness(.68) saturate(.68);box-shadow:inset 0 0 0 1px rgba(255,255,255,.38),0 8px 18px rgba(29,38,57,.10)}
.note-column.is-spotlighting .public-note.is-before-spotlight{transform-origin:center bottom;transform:scale(.88) rotate(2.7deg) translateX(2.5%)}
.note-column.is-spotlighting .public-note.is-after-spotlight{transform-origin:center top;transform:scale(.88) rotate(-2.7deg) translateX(-2.5%)}
.note-column.is-spotlighting .public-note.is-spotlight,.note-column.is-spotlighting .public-note.is-spotlight:hover,.note-column.is-spotlighting .public-note.is-spotlight:focus-visible{z-index:8;opacity:1;filter:brightness(1.04) saturate(1.06);transform:scale(1.045) rotate(0deg);box-shadow:inset 0 0 0 1px rgba(255,255,255,.78),inset 0 0 0 7px rgba(255,255,255,.22),0 24px 48px rgba(34,46,72,.22)}
@media(max-width:820px){.note-column.is-spotlighting .public-note.is-before-spotlight{transform:scale(.9) rotate(2.2deg)}.note-column.is-spotlighting .public-note.is-after-spotlight{transform:scale(.9) rotate(-2.2deg)}.note-column.is-spotlighting .public-note.is-spotlight{transform:scale(1.025) rotate(0deg)}}
@media(prefers-reduced-motion:reduce){.note-column .public-note{transition:opacity .15s ease,filter .15s ease}.note-column.is-spotlighting .public-note.is-before-spotlight,.note-column.is-spotlighting .public-note.is-after-spotlight,.note-column.is-spotlighting .public-note.is-spotlight{transform:none}}

/* 手写拉丁、Unicode 花体字与韩文留言的字体渲染 */
.note-message{font-family:"Segoe Print","Segoe Script","STKaiti","KaiTi","Noto Serif SC",Georgia,serif;font-feature-settings:"liga" 1,"dlig" 1;font-variant-ligatures:common-ligatures discretionary-ligatures}
.note-message.is-script{font-family:"Cambria Math","Segoe Script","Segoe Print","STKaiti","KaiTi",cursive;font-style:normal}
.note-message.is-korean{font-family:"Nanum Pen Script","Nanum Myeongjo","Noto Serif KR","Malgun Gothic","Apple SD Gothic Neo","Segoe Print",serif;font-style:normal;word-break:keep-all;line-break:strict}
.note-composer textarea,.comment-form input,.comment-list li p{font-family:"Segoe Print","Segoe UI","Nanum Gothic","Noto Sans KR","Malgun Gothic","Apple SD Gothic Neo","Microsoft YaHei",sans-serif}

/* 便签底色选择：沿用站内既有色值（奶油/粉/蓝/绿/黄油） */
.composer-input{min-width:0;display:flex;flex-direction:column;gap:5px;padding:3px 5px;border-radius:10px;transition:background .2s}
.composer-input[data-note-color="cream"]{background:rgba(244,241,232,.6)}
.composer-input[data-note-color="rose"]{background:rgba(251,238,241,.7)}
.composer-input[data-note-color="blue"]{background:rgba(220,229,248,.6)}
.composer-input[data-note-color="mint"]{background:rgba(238,245,232,.7)}
.composer-input[data-note-color="butter"]{background:rgba(253,246,216,.7)}
.note-color-row{display:flex;align-items:center;gap:8px;padding:1px 1px 0}
.note-color{width:18px;height:18px;padding:0;border:1px solid rgba(49,66,94,.2);border-radius:50%;cursor:pointer;background:var(--swatch,#f4f1e8);box-shadow:inset 0 0 0 2px rgba(255,255,255,.65);transition:transform .16s,box-shadow .16s;flex:none}
.note-color[data-note-color="cream"]{--swatch:#f4f1e8}
.note-color[data-note-color="rose"]{--swatch:#fbeef1}
.note-color[data-note-color="blue"]{--swatch:#dce5f8}
.note-color[data-note-color="mint"]{--swatch:#eef5e8}
.note-color[data-note-color="butter"]{--swatch:#fdf6d8}
.note-color.is-selected{transform:scale(1.16);box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--note-blue)}
.note-color:focus-visible{outline:2px solid var(--support,#567ace);outline-offset:2px}
@media(max-width:820px){.note-color-row{gap:9px;padding:2px 0 0}.note-color{width:22px;height:22px}.composer-input{padding:3px 2px}}
/* 我的留言：只看我的开关 + 便签上的归属标记 */
.note-mine-toggle{margin-top:4px;padding:2px 9px;border:1px solid rgba(86,122,206,.28);border-radius:999px;background:rgba(255,255,255,.7);color:#4a63a1;font-size:8.5px;line-height:1.6;cursor:pointer;transition:background .16s,color .16s,border-color .16s}
.note-mine-toggle[aria-pressed="true"]{background:var(--note-blue);border-color:var(--note-blue);color:#fff}
.note-mine-toggle:focus-visible{outline:2px solid var(--support,#567ace);outline-offset:2px}
.public-note .note-meta .note-mine{padding:1px 6px;border-radius:999px;background:var(--note-accent,#7890bd);color:#fff;font-size:7px;letter-spacing:.06em}
.public-note.is-mine{border-color:color-mix(in srgb,var(--note-blue) 55%,transparent)}
.public-note.is-target{animation:noteTarget 1.6s ease}
@keyframes noteTarget{0%,100%{box-shadow:0 0 0 0 rgba(86,122,206,0)}30%{box-shadow:0 0 0 4px rgba(86,122,206,.5)}}
@media(max-width:820px){.note-mine-toggle{font-size:8px}}
/* ── 单条留言版式：名字左上 / 日期左下 / 正文与署名右下 ── */
.public-note .note-copy,.note-column .note-copy{display:grid;grid-template-columns:42% minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"head head" ". body" "date body";gap:6px 10px;padding:16px 14px}
.public-note .note-head{grid-area:head;display:flex;align-items:center;gap:6px;min-width:0}
.public-note .note-name{flex:0 1 auto;min-width:0;max-width:100%;font-size:12.5px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.public-note .note-mine{flex:none;padding:1px 6px;border-radius:999px;background:var(--note-accent,#7890bd);color:#fff;font-size:7px;letter-spacing:.06em}
.public-note .note-stamp{flex:0 1 auto;min-width:0;margin-left:auto;font-size:8px;letter-spacing:.08em;color:var(--note-accent,#92a5c2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.public-note .note-date{grid-area:date;align-self:end;justify-self:start;font-size:9px;line-height:1.2;color:var(--note-accent,#7890bd);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.public-note .note-body{grid-area:body;align-self:end;justify-self:stretch;display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:0;text-align:right}
.public-note .note-body blockquote{width:100%;margin:0;text-align:right;white-space:pre-wrap;overflow-wrap:anywhere}
.public-note .note-body .note-design-copy{align-self:flex-end;max-width:100%}
.public-note .note-body .note-sign{align-self:flex-end;font-size:8px;line-height:1.3;letter-spacing:.04em;color:var(--note-mid,#747e8e);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.public-note .note-paw{position:absolute;top:14px;right:12px;pointer-events:none}
@media(max-width:820px){.public-note .note-copy,.note-column .note-copy{padding:14px 10px;grid-template-columns:40% minmax(0,1fr);gap:5px 8px}.public-note .note-name{font-size:11.5px}.public-note .note-date{font-size:8.5px}.public-note .note-body blockquote{font-size:11px;line-height:1.55}.public-note .note-body .note-sign{font-size:7px}}
@media(max-width:560px){.note-modal-body .public-note .note-copy{grid-template-columns:38% minmax(0,1fr)}}
/* 署名：斜体衬线、比正文小、灰紫、右对齐贴右下（All For Yujin · Team Popo） */
.public-note .note-copy,.note-column .note-copy{grid-template-columns:minmax(0,36%) minmax(0,1fr)}
.public-note .note-body{width:100%;justify-self:stretch}
.public-note .note-body .note-sign{font-family:"Georgia","Times New Roman","Noto Serif SC",serif;font-style:italic;font-weight:400;font-size:9px;line-height:1.35;letter-spacing:.06em;color:#686d85;text-align:right;margin-top:6px;align-self:flex-end;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:820px){.public-note .note-copy,.note-column .note-copy{grid-template-columns:minmax(0,34%) minmax(0,1fr)}.public-note .note-body .note-sign{font-size:8px;letter-spacing:.05em;margin-top:5px}}
/* 署名独占最底一行（跨两列、右对齐），窄卡片也不会被挤到正文中间 */
.public-note .note-copy,.note-column .note-copy{grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-areas:"head head" ". body" "date body" "sign sign"}
.public-note .note-copy .note-sign{position:static;grid-area:sign;justify-self:end;align-self:end;margin-top:6px;font-family:"Georgia","Times New Roman","Noto Serif SC",serif;font-style:italic;font-weight:400;font-size:9px;line-height:1.35;letter-spacing:.06em;color:#686d85;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
@media(max-width:820px){.public-note .note-copy .note-sign{font-size:8px;letter-spacing:.05em;margin-top:5px}}
/* ── meta 行不再顶破卡片：名字与末项都可收缩省略，永不换行 ── */
.public-note .note-head,.note-column .note-head{flex-wrap:nowrap;max-width:100%;overflow:hidden;white-space:nowrap}
.public-note .note-head .note-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.public-note .note-head .note-mine{flex:none;white-space:nowrap}
.public-note .note-head .note-stamp{flex:0 1 auto;min-width:0;margin-left:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:820px){.public-note .note-head,.note-column .note-head{gap:4px}}

/* ── 单条留言分享菜单：发图片卡片 / 复制链接 ── */
.note-actions{position:relative}
.note-share-menu{position:absolute;right:0;bottom:calc(100% + 8px);z-index:20;display:grid;gap:6px;min-width:148px;padding:8px;border:1px solid rgba(86,122,206,.22);border-radius:14px;background:#fff;box-shadow:0 18px 36px rgba(37,52,78,.16)}
.note-share-menu[hidden]{display:none}
.note-share-menu button{height:38px;padding:0 12px;border:0;border-radius:10px;background:#f4f7ff;color:#314f94;font-size:12px;text-align:left;cursor:pointer}
.note-share-menu button:hover{background:#e8efff}
@media(max-width:560px){.note-share-menu{right:auto;left:0;min-width:calc(50% - 6px)}}

/* ── 移动端点击残留:系统 tap-highlight 会在两键之间整行刷一块蓝,这里从根上关掉 ── */
html{-webkit-tap-highlight-color:transparent}
.note-actions,.note-actions *,.note-modal-close,.note-modal-panel button{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;user-select:none}
.note-actions ::selection,.note-actions::selection{background:transparent}
@media(hover:none){.public-note:focus,.note-actions>button:focus,.note-modal-close:focus{outline:0}}

/* ── 合并批次（change.zip）:4/5 行截断 + 三列定高后,把名字/日期/正文/署名四区锁在卡片内 ──
   定高后 .note-copy 会被内容撑高并居中溢出,署名被裁到卡外;这里让 copy 撑满卡高,
   正文与装饰行在中间行内消化,日期与署名各自固定在底行左右。 */
.public-note .note-copy,.note-column .note-copy{align-self:stretch;min-height:0;max-height:100%;overflow:hidden;padding:10px 14px;gap:4px 10px}
/* 正文行数按定高卡片实测反推:桌面 4 行、手机 3 行;body 采用「可伸缩正文 + 固定装饰行」,
   装饰行永不被裁,正文超出部分由 line-clamp 省略号收起。 */
.public-note .note-body,.note-column .note-body{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:4px;min-height:0;height:100%;align-self:stretch;overflow:hidden}
.public-note .note-body blockquote,.note-column .note-body blockquote{min-height:0;align-self:start}
.public-note .note-body .note-design-copy,.note-column .note-body .note-design-copy{align-self:end;min-height:0}
.public-note .note-design-copy,.note-column .note-design-copy{margin-top:8px}
.public-note .note-design-copy:after,.note-column .note-design-copy:after{margin-top:4px}
.public-note .note-design-copy span[lang="zh-CN"],.note-column .note-design-copy span[lang="zh-CN"]{margin-top:2px}
@media(max-width:820px){
  .public-note .note-copy,.note-column .note-copy{padding:4px 10px;gap:4px 8px}
  .public-note .note-body,.note-column .note-body{gap:3px}
  .public-note .note-design-copy,.note-column .note-design-copy{margin-top:4px;padding-top:4px}
  .public-note .note-design-copy:after,.note-column .note-design-copy:after{margin-top:3px}
  .public-note .note-design-copy span[lang="en"],.note-column .note-design-copy span[lang="en"]{line-height:1.3}
  .public-note .note-design-copy span[lang="zh-CN"],.note-column .note-design-copy span[lang="zh-CN"]{line-height:1.3}
  .note-column .public-note{padding-top:16px;padding-bottom:16px}
  /* 行高与 max-height 必须同源,否则 3 行会被 46.2px 的 max-height 切掉半行;限定 .note-column,详情弹窗仍全文可滚 */
  .note-column .note-body blockquote{font-size:11px;line-height:1.4;max-height:calc(3 * 1.4em);-webkit-line-clamp:3}
}

/* ══ 便签卡正式版式（参考图 B，默认启用）：品牌行 / 照片+名字+标签 / 标题+英文+分隔+正文+底行 / 底栏 ══ */
.ref-layout .public-note{display:grid;grid-template-columns:33% minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"brand brand" "figure copy" "footer footer";gap:9px 14px;height:auto;min-height:330px;padding:11px 15px 9px;align-items:start;overflow:hidden}
.ref-layout .note-ref-brand{grid-area:brand;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid color-mix(in srgb,var(--note-line,#aeb9c9) 55%,transparent);padding-bottom:5px;font-size:8px;letter-spacing:.16em;text-transform:uppercase;color:color-mix(in srgb,var(--note-ink,#4c5462) 62%,transparent);white-space:nowrap}
.ref-layout .note-ref-no{letter-spacing:.08em}
.ref-layout .note-figure{grid-area:figure;align-self:start;gap:6px}
.ref-layout .note-photo{width:100%}
.ref-layout .note-head{display:flex;flex-direction:column;align-items:center;gap:2px;max-width:100%;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;white-space:normal;overflow:visible}
.ref-layout .note-name-line{display:flex;align-items:center;justify-content:center;gap:4px;max-width:100%;min-width:0}
.ref-layout .note-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-family:"Segoe UI","Microsoft YaHei","PingFang SC","Noto Sans CJK SC","Source Han Sans SC",Roboto,system-ui,-apple-system,sans-serif;font-size:9.5px;font-weight:600;letter-spacing:0;color:var(--note-deep,#2a2f39)}
.ref-layout .note-mine{flex:none;margin:0;font-size:7px}
.ref-layout .note-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:7px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:color-mix(in srgb,var(--note-ink,#4c5462) 58%,transparent)}
.ref-layout .note-stamp{display:none}
.ref-layout .note-ref-copy{grid-area:copy;display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden}
.ref-layout .note-ref-title{margin:0;font-size:12px;line-height:1.35;font-weight:700;color:var(--note-deep,#2a2f39);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-break:break-word}
.ref-layout .note-ref-en{margin:5px 0 0;font:italic 400 9.5px/1.7 Georgia,"Noto Serif SC",serif;color:color-mix(in srgb,var(--note-ink,#4c5462) 68%,transparent);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ref-layout .note-ref-rule{margin:6px 0 0;border-top:1px solid color-mix(in srgb,var(--note-line,#aeb9c9) 55%,transparent)}
.ref-layout .note-ref-body{margin:6px 0 0;font-size:10.5px;line-height:1.55;color:var(--note-ink,#4c5462);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.ref-layout .note-review-reason{margin:4px 0 0;font-size:8px;color:#b4534f}
.ref-layout .note-ref-foot{margin-top:auto;display:flex;align-items:flex-end;gap:8px;padding-top:6px;min-width:0}
.ref-layout .note-ref-foot .note-date{font-size:8.5px;color:color-mix(in srgb,var(--note-ink,#4c5462) 70%,transparent);white-space:nowrap}
.ref-layout .note-ref-foot .note-sign{margin-left:auto;font:italic 400 7.5px/1.3 Georgia,"Noto Serif SC",serif;color:#7890bd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:62%;text-align:right}
.ref-layout .note-ref-like{font-size:9px;line-height:1;color:color-mix(in srgb,var(--note-ink,#4c5462) 55%,transparent)}
.ref-layout .note-ref-footer{grid-area:footer;border-top:1px solid color-mix(in srgb,var(--note-line,#aeb9c9) 55%,transparent);padding-top:5px;display:flex;justify-content:space-between;align-items:center;font-size:7.5px;letter-spacing:.14em;text-transform:uppercase;color:color-mix(in srgb,var(--note-ink,#4c5462) 66%,transparent);white-space:nowrap}
/* 胶带与狗狗会压住品牌行/标题，这一版隐藏；百合水印保留 */
.ref-layout .note-tape,.ref-layout .note-dog{display:none}
@media(max-width:820px){
  .ref-layout .public-note{min-height:270px;grid-template-columns:32% minmax(0,1fr);padding:9px 12px 8px;gap:7px 10px}
  .ref-layout .note-ref-title{font-size:11px}
  .ref-layout .note-ref-en{font-size:9px}
  .ref-layout .note-ref-body{font-size:10px;line-height:1.5}
  .ref-layout .note-ref-brand{font-size:7px;padding-bottom:4px}
}

/* 底行：日期/署名回到文档流，署名颜色跟随正文变量 --note-deep */
.ref-layout .note-ref-foot .note-date{position:static;left:auto;right:auto;top:auto;bottom:auto}
.ref-layout .note-ref-foot .note-sign{position:static;left:auto;right:auto;top:auto;bottom:auto;margin-left:auto;font:italic 400 7.5px/1.3 Georgia,"Noto Serif SC",serif;color:var(--note-deep,#2a2f39);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:62%;text-align:right}

/* 右侧文字整体水平居中；分隔线居中收窄；底行仍左日期右署名 */
.ref-layout .note-ref-copy{text-align:center}
.ref-layout .note-ref-title{text-align:center;margin-left:auto;margin-right:auto}
.ref-layout .note-ref-en{text-align:center}
.ref-layout .note-ref-body{text-align:center}
.ref-layout .note-ref-rule{width:64%;margin:6px auto 0}
.ref-layout .note-ref-foot{text-align:left}

/* 预览：文字块按整卡水平居中（?center=card），用于对比与右侧栏居中的差别 */
.center-card .ref-layout .note-ref-copy{grid-column:1/-1;justify-self:center;width:60%}

.center-card.ref-layout .note-ref-copy{grid-column:1/-1;justify-self:center;width:60%}

/* 按示意图：右侧文字区恢复左对齐，分隔线整行 */
.ref-layout .note-ref-copy{text-align:left}
.ref-layout .note-ref-title{text-align:left;margin-left:0;margin-right:0}
.ref-layout .note-ref-en{text-align:left}
.ref-layout .note-ref-body{text-align:left}
.ref-layout .note-ref-rule{width:auto;margin:6px 0 0}
.ref-layout .note-ref-foot{text-align:left}

/* 卡片比例贴近示意图（宽:高 ≈ 1 : 0.75），减少中部空白 */
.ref-layout .public-note{min-height:278px}
@media(max-width:820px){.ref-layout .public-note{min-height:252px}}

/* 文字块（标题/英文/分隔线/正文）以照片垂直中线为基准上下对称居中 */
.ref-layout .note-ref-copy{position:relative}
.ref-layout .note-ref-main{position:absolute;left:0;right:0;top:37.3%;transform:translateY(-50%);display:flex;flex-direction:column;min-width:0}

/* 以卡片坐标定位：文字块中心 = 照片中心（37.45% 卡高） */
.ref-layout .public-note{position:relative}
.ref-layout .note-ref-copy{position:static}
.ref-layout .note-ref-main{position:absolute;left:38.4%;right:4.5%;top:37.45%;transform:translateY(-50%);display:flex;flex-direction:column;min-width:0}
@media(max-width:820px){.ref-layout .note-ref-main{left:36.2%;right:4.2%}}

/* 账号名：幼圆、400、颜色与英文斜体行一致 */
.ref-layout .note-name{font-family:"YouYuan","幼圆","Yuanti SC","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-weight:400;color:color-mix(in srgb,var(--note-ink,#4c5462) 68%,transparent)}

/* 账号名字号与下方 BLUE HOUR 小标同源（同一个变量，含手机断点） */
.ref-layout .public-note{--note-sub-size:7px}
.ref-layout .note-name,.ref-layout .note-label{font-size:var(--note-sub-size)}

/* 字号层级：账号名 > 正文中文 > 英文斜体；标签最小 */
.ref-layout .public-note{--note-name-size:10px;--note-en-size:8.5px;--note-body-size:9.5px;--note-label-size:6.5px}
.ref-layout .note-name{font-size:var(--note-name-size)}
.ref-layout .note-label{font-size:var(--note-label-size)}
.ref-layout .note-ref-en{font-size:var(--note-en-size)}
.ref-layout .note-ref-body{font-size:var(--note-body-size)}
@media(max-width:820px){
  .ref-layout .public-note{--note-name-size:9.5px;--note-en-size:8px;--note-body-size:9px;--note-label-size:6px}
}

/* 账号名移到 GUESTBOOK 行，字号与标题同源；正文再缩一档 */
.ref-layout .public-note{--note-brand-size:8px;--note-body-size:9px}
.ref-layout .note-ref-brand{font-size:var(--note-brand-size)}
.ref-layout .note-brand-left{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden}
.ref-layout .note-ref-brand .note-name{font-size:var(--note-brand-size);text-transform:none;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:45%}
.ref-layout .note-head{justify-content:center}
@media(max-width:820px){
  .ref-layout .public-note{--note-brand-size:7px;--note-body-size:8.5px}
}

/* 满足 账号名(8) ≥ 正文 > 英文斜体 > 标签 */
.ref-layout .public-note{--note-body-size:8px;--note-en-size:7.5px}
@media(max-width:820px){.ref-layout .public-note{--note-body-size:7px;--note-en-size:6.5px}}

/* 账号名字号与英文斜体行同源（含手机断点） */
.ref-layout .note-ref-brand .note-name{font-size:var(--note-en-size)}

/* 品牌行：账号名与 GUESTBOOK 基线对齐，徽标保持垂直居中 */
.ref-layout .note-brand-left{align-items:baseline}
.ref-layout .note-brand-left .note-mine,.ref-layout .note-brand-left .note-review{align-self:center}

/* 正文固定 9px（两端一致）；账号名字号跟随品牌行变量 */
.ref-layout .public-note{--note-body-size:9px}
@media(max-width:820px){.ref-layout .public-note{--note-body-size:9px}}
.ref-layout .note-ref-brand .note-name{font-size:var(--note-brand-size)}

/* 对比版：账号名加粗 + 文案右对齐（仅卡片内部，不动底行/底栏） */
.ref-layout .note-ref-brand .note-name{font-weight:600}
.ref-layout .note-ref-title,.ref-layout .note-ref-en,.ref-layout .note-ref-body{text-align:right}

/* 对比版微调：留言正文回到左对齐（与照片右缘基准），仅标题/英文行右对齐 */
.ref-layout .note-ref-body{text-align:left}

/* 对比版：文案区顺序改为 英文斜体 → 分隔线 → 中文标题，全部右对齐；正文仍左对齐 */
.ref-layout .note-ref-main{display:flex;flex-direction:column}
.ref-layout .note-ref-en{order:1;text-align:right}
.ref-layout .note-ref-rule{order:2}
.ref-layout .note-ref-title{order:3;text-align:right}
.ref-layout .note-ref-body{order:4;text-align:left}

/* 对比版：分隔线与标题之间留出间距，避免压线 */
.ref-layout .note-ref-rule{margin:7px 0 9px}
.ref-layout .note-ref-title{margin:0}

/* 对比版：正文置顶（左对齐），其下依次 英文斜体 → 分隔线 → 中文标题（右对齐） */
.ref-layout .note-ref-body{order:0;text-align:left;margin:0 0 9px}
.ref-layout .note-ref-en{order:1;text-align:right;margin:0}

/* 对比版：文字块与正文列完全重合（左贴列首、右贴列尾） */
.ref-layout .note-ref-copy{position:relative}
.ref-layout .note-ref-main{left:0;right:0}
.ref-layout .note-ref-body,.ref-layout .note-ref-en,.ref-layout .note-ref-title,.ref-layout .note-ref-rule{margin-left:0;margin-right:0}

/* 对比版：第一行改为用户留言(item.content)，其后为模板英文 → 分隔线 → 模板中文 */
.ref-layout .note-ref-title{order:0;text-align:left;margin:0 0 9px}
.ref-layout .note-ref-en{order:1;text-align:right}
.ref-layout .note-ref-rule{order:2}
.ref-layout .note-ref-body{order:3;text-align:right;margin:0}

/* 日期：YYYY/MM/DD，置于卡片左下角（仅对比版展示，默认版隐藏） */
.note-ref-date-abs{display:none}
.ref-layout .note-ref-date-abs{display:block;position:absolute;left:4.5%;bottom:34px;font:400 9px/1 system-ui,sans-serif;letter-spacing:.04em;color:color-mix(in srgb,var(--note-ink,#4c5462) 62%,transparent)}
.ref-layout .note-ref-foot .note-date{display:none}
@media(max-width:820px){.ref-layout .note-ref-date-abs{font-size:8px;bottom:30px}}

/* 对比版：④ 模板中文再缩一档；日期左缘对齐底栏英文文字实际起笔 */
.ref-layout .note-ref-body{font-size:8px}
.ref-layout .note-ref-date-abs{left:15.2px}
@media(max-width:820px){.ref-layout .note-ref-date-abs{left:12.2px}}

/* 回退：④ 模板中文 9px；日期回 4.5%；账号名与品牌行基线对齐且行高一致 */
.ref-layout .note-ref-body{font-size:9px}
.ref-layout .note-ref-date-abs{left:4.5%}
@media(max-width:820px){.ref-layout .note-ref-date-abs{left:4.5%}}
.ref-layout .note-brand-left{align-items:baseline}
.ref-layout .note-brand-left .note-brand-title,
.ref-layout .note-brand-left .note-name{line-height:1.2}

/* 品牌行：标题与账号名同高行盒，彻底消除高低差 */
.ref-layout .note-brand-left .note-brand-title,
.ref-layout .note-brand-left .note-name{line-height:10px;vertical-align:baseline}
@media(max-width:820px){.ref-layout .note-brand-left .note-brand-title,
.ref-layout .note-brand-left .note-name{line-height:9px}}

/* 品牌行：改为垂直居中（行盒同高），消除剩余高低差 */
.ref-layout .note-brand-left{align-items:center}
.ref-layout .note-brand-left .note-brand-title,
.ref-layout .note-brand-left .note-name{display:inline-flex;align-items:center;height:10px;line-height:1;margin:0;padding-top:0;padding-bottom:0}
@media(max-width:820px){.ref-layout .note-brand-left .note-brand-title,
.ref-layout .note-brand-left .note-name{height:9px}}

/* 审核态：品牌行小胶囊，沿用品牌行的细边框 / 圆角 / 浅底 / 小标签字号 */
.ref-layout .note-brand-left .note-review{flex:none;display:inline-flex;align-items:center;height:10px;padding:0 5px;border:1px solid color-mix(in srgb,var(--note-accent,#7890bd) 42%,transparent);border-radius:999px;background:color-mix(in srgb,var(--note-accent,#7890bd) 10%,#fff);color:color-mix(in srgb,var(--note-ink,#4c5462) 80%,transparent);font-size:7px;font-weight:500;line-height:1;letter-spacing:.02em;text-transform:none;white-space:nowrap}
.ref-layout .note-brand-left .note-review.is-rejected{border-color:rgba(180,83,79,.36);background:rgba(180,83,79,.07);color:#a44f4b}
@media(max-width:820px){.ref-layout .note-brand-left .note-review{height:9px;padding:0 4px}}

/* 详情弹层里的审核提示：整条浅底提示条 */
.note-review-hint{margin:0 0 10px;padding:7px 10px;border:1px solid rgba(76,84,98,.16);border-radius:10px;background:rgba(76,84,98,.045);color:#4c5462;font-size:10px;line-height:1.6;text-align:left}
@media(max-width:820px){.note-review-hint{font-size:9px;padding:6px 9px}}

/* 未通过原因：从 8px 红字提到可读字号，并按小胶囊风格收边 */
.ref-layout .note-review-reason{order:4;width:fit-content;max-width:100%;margin:8px 0 0 auto;padding:3px 8px;border:1px solid rgba(180,83,79,.22);border-radius:8px;background:rgba(180,83,79,.05);font-size:9.5px;line-height:1.5;color:#a44f4b;text-align:left}
@media(max-width:820px){.ref-layout .note-review-reason{font-size:9px;margin-top:6px}}
