/* v24：客人留言箱、攝影棚與往日相簿。延續官網既有編輯風格。 */
.studio-heading,.guestbook-heading{text-align:center;margin:0 auto 2.4rem;max-width:52rem}
.studio-heading>p:not(.eyebrow):not(.studio-note),.guestbook-heading>p:not(.eyebrow){color:var(--text-mute);font-size:1rem;line-height:2}
.studio-view-tabs{display:flex;justify-content:center;gap:.5rem;margin:0 0 2.3rem}
.studio-view-tabs button{padding:.8rem 1.6rem;border:1px solid var(--surface-line);background:var(--surface);color:var(--text-mute);font-family:"Noto Serif TC",serif;font-size:.9rem;letter-spacing:.08em;cursor:pointer}
.studio-view-tabs button.active{border-color:var(--text);background:var(--text);color:var(--bg)}
.studio-view-tabs button:focus-visible,.studio-card-button:focus-visible,.studio-profile-back:focus-visible,.studio-thumb:focus-visible{outline:2px solid var(--bloom);outline-offset:4px}
.studio-directory,.studio-directory>div,.studio-managed-grid{width:100%;max-width:100%;box-sizing:border-box}
.studio-managed-grid{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:1px;overflow:hidden;background:var(--surface-line);border:1px solid var(--surface-line)}
.studio-managed-card{position:relative;display:flex;flex:0 0 calc((100% - 2px)/3);min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;background:var(--bg)}
.studio-managed-grid[data-count="2"] .studio-managed-card{flex-basis:calc((100% - 1px)/2)}
.studio-managed-grid[data-count="1"]{background:transparent;border-color:transparent}
.studio-managed-grid[data-count="1"] .studio-managed-card{flex-basis:min(42rem,100%);border:1px solid var(--surface-line)}
.studio-managed-grid .studio-empty{flex:1 1 100%}
.studio-card-button{display:grid;grid-template-rows:auto auto 1fr;align-content:start;width:100%;min-height:100%;padding:0 0 1.5rem;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.studio-card-button:hover .studio-card-image img{transform:scale(1.025)}
.studio-card-image{position:relative;align-self:start;width:100%;margin:0;overflow:hidden;aspect-ratio:16/10;background:var(--surface)}
.studio-card-image img{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;object-fit:cover;transition:transform .45s ease}
.studio-managed-card h3{min-height:1.85em;margin:1.2rem 1.2rem .55rem;font-family:"Noto Serif TC",serif;font-size:1.05rem;font-weight:500;line-height:1.85;letter-spacing:.06em}
.studio-managed-card p{min-height:3.7em;margin:0 1.2rem;color:var(--text-mute);font-size:.88rem;line-height:1.85}
.studio-memory-note{margin:0 0 1rem;color:var(--text-faint);font-size:.82rem;text-align:center}
.studio-empty{grid-column:1/-1;margin:0;padding:3rem 1.5rem;background:var(--surface);color:var(--text-faint);text-align:center}
.studio-profile{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:clamp(1rem,4vw,3rem);box-sizing:border-box;overflow:auto;background:rgba(31,25,24,.72);backdrop-filter:blur(5px)}
.studio-profile[hidden]{display:none}
.studio-profile-dialog{position:relative;display:grid;grid-template-columns:minmax(0,1.28fr) minmax(18rem,.72fr);gap:clamp(1.5rem,4vw,4rem);width:min(72rem,100%);min-width:0;max-height:calc(100vh - clamp(2rem,8vw,6rem));padding:clamp(1rem,2.2vw,2rem);box-sizing:border-box;overflow:auto;border:1px solid var(--surface-line);background:var(--surface);box-shadow:0 28px 85px rgba(25,18,17,.32)}
.studio-modal-close{position:absolute;right:.8rem;top:.8rem;z-index:2;display:grid;place-items:center;width:2.6rem;height:2.6rem;padding:0;border:1px solid var(--surface-line);background:rgba(250,247,241,.94);color:var(--text);font-size:1.35rem;line-height:1;cursor:pointer}
.studio-modal-close:hover{border-color:var(--bloom-deep);color:var(--bloom-deep)}
.studio-modal-close:focus-visible{outline:2px solid var(--bloom);outline-offset:3px}
body.studio-modal-open{overflow:hidden}
.studio-profile-gallery{width:100%;min-width:0;padding:clamp(.6rem,1.4vw,1.1rem);box-sizing:border-box;border:1px solid var(--surface-line);background:rgba(20,17,16,.92)}
.studio-profile-main{display:grid;place-items:center;width:100%;min-width:0;min-height:34rem;max-height:70vh;overflow:hidden}
.studio-profile-main img{display:block;width:100%;height:100%;max-height:70vh;object-fit:contain}
.studio-profile-thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(5rem,1fr));gap:.55rem;margin-top:.7rem}
.studio-thumb{display:grid;place-items:center;min-width:0;height:5.2rem;padding:0;border:2px solid transparent;background:#161313;cursor:pointer;overflow:hidden}
.studio-thumb.active{border-color:var(--bloom)}
.studio-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.studio-profile-copy{align-self:center;min-width:0}
.studio-profile-copy::before{content:"攝影棚";display:block;margin-bottom:.75rem;color:var(--gold);font-size:.72rem;letter-spacing:.22em}
.studio-profile-dialog.is-memory .studio-profile-copy::before{content:"往日相簿"}
.studio-profile-copy h3{margin:1rem 0 .7rem;font-family:"Noto Serif TC",serif;font-size:clamp(2rem,4vw,3.5rem);font-weight:500;letter-spacing:.07em}
.studio-profile-summary{color:var(--text-mute);font-size:1rem;line-height:2}
.studio-profile-description{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--surface-line);color:var(--text-mute);font-size:.95rem;line-height:2.1;white-space:pre-line}
.studio-profile-memory{margin-top:1.5rem;color:var(--text-faint);font-size:.8rem;line-height:1.8}

.guestbook-wrap{padding-bottom:clamp(2rem,6vw,6rem)}
.guestbook-layout{display:grid;grid-template-columns:minmax(19rem,.9fr) minmax(0,1.15fr);gap:clamp(2rem,4vw,4rem);align-items:start}
.guestbook-form{position:relative;padding:.7rem;border:1px solid var(--surface-line);background:var(--surface);box-shadow:var(--paper-shadow)}
.guestbook-form::before{content:"";position:absolute;inset:.7rem;border:1px solid rgba(142,110,93,.16);pointer-events:none}
.guestbook-form-inner{position:relative;padding:clamp(1.2rem,3vw,2.3rem)}
.guestbook-form h3,.guestbook-public h3{margin:0;font-family:"Noto Serif TC",serif;font-size:clamp(1.35rem,2.2vw,1.8rem);font-weight:500;letter-spacing:.08em}
.guestbook-form-lead{margin:.55rem 0 1.15rem;color:var(--text-faint);font-size:.84rem;line-height:1.8}
.guestbook-notice{padding:1rem 1.05rem;border-left:3px solid var(--bloom-soft);background:rgba(190,135,153,.1);color:var(--text-mute);font-size:.78rem;line-height:1.85}
.guestbook-notice strong{display:block;margin-bottom:.35rem;color:var(--text);font-weight:500}
.guestbook-notice ul{margin:0;padding-left:1.15rem}
.guestbook-field{display:grid;gap:.5rem;margin-top:1rem;color:var(--text-mute);font-size:.84rem}
.guestbook-field span{color:var(--text-faint);font-size:.76rem}
.guestbook-field input,.guestbook-field select,.guestbook-field textarea{width:100%;padding:.75rem .85rem;border:1px solid var(--surface-line);border-radius:0;background:var(--bg);color:var(--text);font:inherit;line-height:1.65}
.guestbook-field textarea{resize:vertical;min-height:9rem}
.guestbook-field input:focus,.guestbook-field select:focus,.guestbook-field textarea:focus{outline:2px solid var(--bloom-soft);outline-offset:2px}
.guestbook-consent{display:grid;grid-template-columns:1fr;gap:.55rem;margin:1.2rem 0 0;padding:0;border:0}
.guestbook-consent legend{margin-bottom:.55rem;color:var(--text-mute);font-size:.84rem}
.guestbook-consent label{position:relative;display:block;cursor:pointer}
.guestbook-consent input{position:absolute;opacity:0;pointer-events:none}
.guestbook-consent span{display:grid;grid-template-columns:1.15rem minmax(5.8rem,.34fr) minmax(0,1fr);align-items:center;gap:.75rem;min-height:0;padding:.78rem .9rem;border:1px solid var(--surface-line);background:var(--bg)}
.guestbook-consent span::before{content:"";display:block;width:.78rem;height:.78rem;border:1px solid var(--text-faint);border-radius:50%;background:transparent}
.guestbook-consent strong,.guestbook-consent small{display:block}
.guestbook-consent strong{font-size:.82rem;font-weight:500}
.guestbook-consent small{margin:0;color:var(--text-faint);font-size:.68rem;line-height:1.55}
.guestbook-consent input:checked+span{border-color:var(--bloom-deep);background:rgba(190,135,153,.12)}
.guestbook-consent input:checked+span::before{border-color:var(--bloom-deep);box-shadow:inset 0 0 0 3px var(--bg);background:var(--bloom-deep)}
.guestbook-consent input:focus-visible+span{outline:2px solid var(--bloom);outline-offset:2px}
.guestbook-confirm{display:flex;align-items:flex-start;gap:.55rem;margin-top:1rem;color:var(--text-mute);font-size:.76rem;line-height:1.7}
.guestbook-confirm input{margin-top:.25rem;accent-color:var(--bloom-deep)}
.guestbook-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.guestbook-submit{width:100%;margin-top:1rem;padding:.85rem 1rem;border:1px solid var(--bloom-deep);background:var(--bloom-deep);color:#fff;font-family:"Noto Serif TC",serif;letter-spacing:.12em;cursor:pointer}
.guestbook-submit:disabled{opacity:.55;cursor:wait}
.guestbook-status{min-height:1.5em;margin:.65rem 0 0;color:var(--text-faint);font-size:.76rem;line-height:1.7}
.guestbook-status[data-state="success"]{color:#597957}.guestbook-status[data-state="error"]{color:#a6505d}
.guestbook-public{padding:clamp(.5rem,2vw,1.4rem) 0}
.guestbook-public-head{display:grid;gap:.55rem;padding-bottom:1rem;border-bottom:1px solid var(--surface-line)}
.guestbook-public-head .eyebrow{margin-bottom:.45rem}
.guestbook-public-head>span{color:var(--text-faint);font-size:.76rem;text-align:left}
.guestbook-public-list{display:grid;gap:1rem;margin-top:1rem}
.guestbook-message{padding:clamp(1.15rem,2.5vw,1.8rem);border:1px solid var(--surface-line);background:var(--surface)}
.guestbook-message:nth-child(even){margin-left:clamp(0rem,4vw,3rem)}
.guestbook-message blockquote{margin:0;color:var(--text);font-family:"Noto Serif TC",serif;font-size:1rem;line-height:2;white-space:pre-line}
.guestbook-message-meta{display:flex;justify-content:space-between;gap:1rem;margin-top:1rem;color:var(--bloom-deep);font-size:.78rem}
.guestbook-empty{margin:0;padding:2.2rem 1rem;border:1px solid var(--surface-line);color:var(--text-faint);text-align:center}

@media(max-width:860px){
  .studio-managed-card,.studio-managed-grid[data-count="2"] .studio-managed-card{flex-basis:calc((100% - 1px)/2)}
  .studio-managed-grid[data-count="1"] .studio-managed-card{flex-basis:min(36rem,100%)}
  .studio-profile{padding:.8rem}
  .studio-profile-dialog{grid-template-columns:1fr;gap:1.3rem;max-height:calc(100vh - 1.6rem);padding:.8rem}
  .studio-profile-main{min-height:20rem;max-height:58vh}
  .studio-profile-main img{max-height:58vh}
  .studio-profile-copy{padding:.7rem}
  .studio-profile-copy{padding:1rem}
  .guestbook-layout{grid-template-columns:1fr}
  .guestbook-public{padding-top:0}
}
@media(max-width:560px){
  .studio-heading,.guestbook-heading{margin-bottom:1.5rem}
  .studio-view-tabs{margin-bottom:1.4rem}
  .studio-view-tabs button{flex:1;padding:.72rem .45rem;font-size:.78rem}
  .studio-card-image{aspect-ratio:16/9}
  .studio-managed-card,.studio-managed-grid[data-count="2"] .studio-managed-card,.studio-managed-grid[data-count="1"] .studio-managed-card{flex-basis:100%}
  .studio-profile-dialog{width:min(calc(100vw - 1.6rem),17rem)}
  .studio-profile-thumbs{grid-template-columns:repeat(3,1fr)}
  .studio-thumb{height:3.6rem}
  .guestbook-form-inner{padding:1rem}
  .guestbook-consent{grid-template-columns:1fr}
  .guestbook-consent span{min-height:0}
  .guestbook-public-head{display:block}
  .guestbook-public-head>span{display:block;margin-top:.55rem;text-align:left}
  .guestbook-message:nth-child(even){margin-left:0}
  .guestbook-message-meta{display:grid;gap:.35rem}
}

/* v24：公開來信改為緩慢漂移的信箋，投稿表單改為彈窗。 */
body.guest-motion-ready .guestbook-layout{display:none}
.guestbook-motion-stage{position:relative;overflow:hidden;padding:clamp(1.4rem,3.5vw,2.8rem) 0;border-block:1px solid var(--surface-line);background:linear-gradient(90deg,rgba(248,243,235,.96),rgba(244,235,226,.72),rgba(248,243,235,.96));box-shadow:inset 0 18px 50px rgba(91,64,54,.035)}
.guestbook-motion-intro{display:flex;justify-content:space-between;align-items:end;gap:2rem;width:min(68rem,calc(100% - 3rem));margin:0 auto 1.35rem;padding-bottom:1rem;border-bottom:1px solid rgba(142,110,93,.2)}
.guestbook-motion-intro h3{margin:.25rem 0 0;font-family:"Noto Serif TC",serif;font-size:clamp(1.45rem,2.5vw,2rem);font-weight:500;letter-spacing:.08em}
.guestbook-motion-intro>p{flex:0 1 32rem;max-width:32rem;min-width:0;margin:0 0 .1rem;color:var(--text-faint);font-size:.78rem;line-height:1.8;text-align:left;text-wrap:balance}
.guestbook-motion-lanes{position:relative;display:grid;gap:.85rem;overflow:hidden}
.guestbook-motion-lanes::before,.guestbook-motion-lanes::after{content:"";position:absolute;z-index:3;top:0;bottom:0;width:clamp(1.15rem,3.5vw,3rem);pointer-events:none}
.guestbook-motion-lanes::before{left:0;background:linear-gradient(90deg,rgba(248,243,235,.96),rgba(248,243,235,0))}
.guestbook-motion-lanes::after{right:0;background:linear-gradient(-90deg,rgba(248,243,235,.96),rgba(248,243,235,0))}
.guestbook-motion-lane{display:flex;width:max-content;gap:.85rem;animation:guestbook-drift 52s linear infinite;will-change:transform}
.guestbook-motion-lanes[hidden],.guestbook-motion-lane[hidden]{display:none}
.guestbook-motion-lane:nth-child(2){animation-direction:reverse;animation-duration:60s}
.guestbook-motion-lanes:hover .guestbook-motion-lane{animation-play-state:paused}
.guestbook-motion-lane.is-static{width:100%;justify-content:center;animation:none}
.guestbook-motion-group{display:flex;gap:.85rem}
@keyframes guestbook-drift{to{transform:translateX(calc(-50% - .425rem))}}
.floating-letter{position:relative;display:grid;grid-template-columns:auto 1fr;gap:.8rem;width:clamp(20rem,31vw,27rem);min-height:8.2rem;padding:1.15rem 1.25rem;border:1px solid rgba(142,110,93,.28);background:rgba(253,249,243,.95);color:var(--text);text-align:left;cursor:pointer;box-shadow:0 12px 30px rgba(67,48,41,.08)}
.floating-letter::before{content:"“";color:var(--bloom-soft);font-family:"Cormorant Garamond",serif;font-size:3.2rem;line-height:.72}
.floating-letter:nth-child(even){background:rgba(248,239,235,.96)}
.floating-letter p{display:-webkit-box;overflow:hidden;margin:0;color:var(--text-mute);font-family:"Noto Serif TC",serif;font-size:.86rem;line-height:1.9;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.floating-letter-meta{display:flex;justify-content:space-between;gap:1rem;margin-top:.65rem;color:var(--bloom-deep);font-size:.68rem;letter-spacing:.04em}
.floating-letter:focus-visible,.guestbook-write-cta:focus-visible{outline:2px solid var(--bloom);outline-offset:4px}
.guestbook-motion-empty{width:min(38rem,calc(100% - 3rem));margin:0 auto;padding:2rem 1.2rem;border:1px solid rgba(142,110,93,.24);background:rgba(253,249,243,.8);color:var(--text-faint);text-align:center}
.guestbook-write-invite{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2rem;width:min(68rem,calc(100% - 3rem));margin:1.5rem auto 0;padding:1.25rem 1.4rem;box-sizing:border-box;border:1px solid rgba(142,110,93,.24);background:rgba(253,249,243,.78)}
.guestbook-write-invite p{margin:0;color:var(--text-mute);font-family:"Noto Serif TC",serif;font-size:1rem;line-height:1.8}
.guestbook-write-invite small{display:block;color:var(--text-faint);font-family:inherit;font-size:.72rem}
.guestbook-write-cta{padding:.82rem 1.4rem;border:1px solid var(--bloom-deep);background:var(--bloom-deep);color:#fff;font-family:"Noto Serif TC",serif;letter-spacing:.12em;cursor:pointer}
.guestbook-letter-modal{position:fixed;inset:0;z-index:11000;display:grid;place-items:center;padding:clamp(1rem,4vw,3rem);box-sizing:border-box;overflow:auto;background:rgba(34,27,26,.7);backdrop-filter:blur(5px)}
.guestbook-letter-modal[hidden]{display:none}
.guestbook-letter-dialog{position:relative;width:min(64rem,calc(100vw - 2rem));max-height:calc(100vh - 2rem);padding:clamp(1rem,2.5vw,2rem);box-sizing:border-box;overflow:auto;border:1px solid var(--surface-line);background:var(--surface);box-shadow:0 28px 85px rgba(25,18,17,.32)}
.guestbook-modal-close{position:absolute;right:.75rem;top:.75rem;z-index:2;display:grid;place-items:center;width:2.55rem;height:2.55rem;padding:0;border:1px solid var(--surface-line);background:var(--bg);color:var(--text);font-size:1.3rem;cursor:pointer}
.guestbook-modal-close:hover{border-color:var(--bloom-deep);color:var(--bloom-deep)}
.guestbook-modal-close:focus-visible{outline:2px solid var(--bloom);outline-offset:3px}
.guestbook-letter-dialog .guestbook-form{padding:0;border:0;background:transparent;box-shadow:none}
.guestbook-letter-dialog .guestbook-form::before{display:none}
.guestbook-letter-dialog .guestbook-form-inner{display:grid;grid-template-columns:minmax(15rem,.72fr) minmax(21rem,1.28fr);gap:.7rem 2rem;padding:.5rem}
.guestbook-letter-dialog .guestbook-form h3,.guestbook-letter-dialog .guestbook-form-lead{grid-column:1/-1}
.guestbook-letter-dialog .guestbook-notice{grid-column:1;grid-row:3/span 8;align-self:start;margin-top:.45rem}
.guestbook-letter-dialog .guestbook-field,.guestbook-letter-dialog .guestbook-consent,.guestbook-letter-dialog .guestbook-confirm,.guestbook-letter-dialog .guestbook-submit,.guestbook-letter-dialog .guestbook-status{grid-column:2;margin-top:.45rem}
.guestbook-letter-dialog .guestbook-field textarea{min-height:7rem}
.guestbook-letter-dialog .guestbook-consent span{grid-template-columns:1.15rem minmax(5.8rem,.34fr) minmax(0,1fr)}
.guestbook-message-dialog{width:min(38rem,calc(100vw - 2rem));padding:clamp(2rem,6vw,4rem);text-align:center}
.guestbook-message-dialog blockquote{margin:0;color:var(--text);font-family:"Noto Serif TC",serif;font-size:clamp(1.05rem,2vw,1.35rem);line-height:2.1;white-space:pre-line}
.guestbook-message-dialog p{margin:1.5rem 0 0;color:var(--bloom-deep);font-size:.78rem}
body.guest-letter-modal-open{overflow:hidden}

/* v25：投稿成功後，以雙排全員小頭像迎接來信。 */
.guestbook-thanks-dialog{width:min(47rem,calc(100vw - 2rem));padding:0;overflow:hidden;text-align:center;background:linear-gradient(145deg,#fdf9f3 0%,#f8efe9 100%)}
.guestbook-thanks-content{position:relative;padding:clamp(2.5rem,5vw,4.25rem) clamp(1.25rem,5vw,3.6rem) clamp(1.8rem,4vw,2.8rem)}
.guestbook-thanks-content::before{content:"";position:absolute;inset:.75rem;border:1px solid rgba(142,110,93,.2);pointer-events:none}
.guestbook-thanks-eyebrow{margin:0 0 .65rem;color:var(--bloom-deep);font-family:"Cormorant Garamond",serif;font-size:.76rem;letter-spacing:.3em;text-transform:uppercase}
.guestbook-thanks-content h3{margin:0;color:var(--text);font-family:"Noto Serif TC",serif;font-size:clamp(1.7rem,4vw,2.65rem);font-weight:500;letter-spacing:.08em}
.guestbook-thanks-copy{max-width:34rem;margin:1rem auto 0;color:var(--text-mute);font-family:"Noto Serif TC",serif;font-size:.92rem;line-height:1.95}
.guestbook-thanks-chibis{position:relative;display:flex;justify-content:center;align-items:end;flex-wrap:wrap;gap:.15rem .05rem;max-width:23rem;margin:1.5rem auto .7rem;padding:.75rem 1rem .45rem;border-block:1px solid rgba(142,110,93,.17)}
.guestbook-thanks-chibi{position:relative;width:3.55rem;height:3.95rem;margin:0 -.08rem;overflow:visible}
.guestbook-thanks-chibi:nth-child(2n){transform:translateY(-.16rem)}
.guestbook-thanks-chibi img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 5px rgba(61,43,39,.16))}
.guestbook-thanks-caption{margin:.55rem 0 1.25rem;color:var(--text-faint);font-size:.7rem;letter-spacing:.16em}
.guestbook-thanks-button{position:relative;z-index:1;min-width:12rem;padding:.82rem 1.25rem;border:1px solid var(--bloom-deep);background:var(--bloom-deep);color:#fff;font-family:"Noto Serif TC",serif;font-size:.85rem;letter-spacing:.12em;cursor:pointer}
.guestbook-thanks-button:hover{background:#704050}
.guestbook-thanks-button:focus-visible{outline:2px solid var(--bloom);outline-offset:3px}

@media(max-width:700px){
  .guestbook-motion-stage{width:min(calc(100vw - 2rem),20rem);margin-left:1rem;margin-right:auto;padding:1.25rem 0}
  .guestbook-motion-intro{display:block;width:calc(100% - 2rem);margin-bottom:1rem}
  .guestbook-motion-intro>p{margin-top:.5rem;text-align:left}
  .guestbook-motion-lanes{gap:.7rem}
  .guestbook-motion-lane{gap:.7rem;animation-duration:48s}
  .guestbook-motion-lane:nth-child(2){display:none}
  .guestbook-motion-lane.is-static{justify-content:flex-start;overflow-x:auto;padding:0 1rem;box-sizing:border-box;scroll-snap-type:x proximity}
  .guestbook-motion-lane.is-static .floating-letter{scroll-snap-align:center}
  .guestbook-motion-group{gap:.7rem}
  .floating-letter{width:16.2rem;min-height:8.8rem;padding:1rem}
  .guestbook-write-invite{display:grid;grid-template-columns:1fr;width:calc(100% - 2rem);gap:.9rem;margin-top:1.1rem;padding:1rem}
  .guestbook-write-cta{width:100%}
  .guestbook-letter-modal{place-items:start;padding:1rem}
  .guestbook-letter-dialog{width:min(calc(100vw - 2rem),20rem);max-height:calc(100vh - 2rem)}
  .guestbook-letter-dialog .guestbook-form-inner{display:block;padding:.25rem}
  .guestbook-letter-dialog .guestbook-notice{margin-top:1rem}
  .guestbook-thanks-dialog{width:min(calc(100vw - 2rem),22rem)}
  .guestbook-thanks-content{padding:2.7rem 1.2rem 1.65rem}
  .guestbook-thanks-copy{max-width:17rem;font-size:.82rem;line-height:1.85}
  .guestbook-thanks-chibis{max-width:18rem;gap:.05rem;margin-top:1.15rem;padding:.55rem 0 .25rem}
  .guestbook-thanks-chibi{width:2.75rem;height:3.15rem;margin:0 -.05rem}
  .guestbook-thanks-caption{font-size:.63rem}
  .guestbook-thanks-button{width:100%}
}
@media(prefers-reduced-motion:reduce){.guestbook-motion-lane{animation:none}.studio-card-image img{transition:none}}
