/* 幸运相册：相册本身的样子（公开页和制作器里的预览共用）
 * 三个模板各管各的：.tpl-slip 好运签 / .tpl-letter 成长信 / .tpl-pet 毛孩子档案。公用的只有照片按钮、页脚、看大图。 */
.la-album { --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Noto Serif SC", "Hiragino Mincho ProN", "Nanum Myeongjo", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Noto Sans CJK SC", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  font-family: var(--sans); font-size: 15px; line-height: 1.8; -webkit-text-size-adjust: 100%; overflow-wrap: anywhere; min-height: 100%;
  container-type: inline-size; }   /* 版式跟着相册这块区域的宽度走（不是屏幕宽度），所以缩略图、预览里也是对的 */
.la-album *, .la-album *::before, .la-album *::after { box-sizing: border-box; }
.la-album h1, .la-album h2, .la-album h3, .la-album p, .la-album figure, .la-album dl, .la-album dd, .la-album ul { margin: 0; padding: 0; }
.la-album h1, .la-album h2, .la-album h3 { font-family: var(--serif); font-weight: 500; text-wrap: balance; }
.la-album.latin h1, .la-album.latin h2, .la-album.latin h3 { font-family: Georgia, "Iowan Old Style", "Times New Roman", var(--serif); }
.la-album img { display: block; max-width: 100%; }
.la-ph { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; font: inherit; color: inherit; }
.la-ph img { width: 100%; height: 100%; object-fit: cover; }
.la-ph:focus-visible, .la-album a:focus-visible, .la-foot button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.la-empty { border: 1px dashed currentColor; opacity: .55; padding: 28px 18px; text-align: center; font-size: 13px; border-radius: 4px; }

.la-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 44px 20px 56px; text-align: center; }
.la-make { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; font-size: 12px; letter-spacing: .08em; }
.la-make span { opacity: .6; }
.la-make b { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0; padding: 11px 22px; border: 1px solid currentColor; }
.la-make:hover b { background: currentColor; }
.la-make:hover b { color: var(--foot-bg, #fff); }
.la-report { border: 0; background: none; color: inherit; opacity: .45; font-size: 12px; cursor: pointer; padding: 6px 10px; text-decoration: underline; }
.la-report:hover { opacity: .8; }

/* ---------- 好运签 ---------- */
.tpl-slip { --paper: #f6ecd9; --ink: #2a1d18; --muted: #7a6455; --red: #c8372d; --gold: #d8a544; --foot-bg: #1c0d0b; color: #e9d4ad;
  background: radial-gradient(1200px 700px at 50% -10%, #4a1a14 0%, #2a110e 45%, #160a08 100%) #160a08; position: relative; }
.tpl-slip::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(#d8a54433 1px, transparent 1.4px), radial-gradient(#d8a5441f 1px, transparent 1.4px); background-size: 46px 46px, 78px 78px; background-position: 0 0, 23px 31px; }
.slip-stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 16px 8px; }
.slip-string { width: 2px; height: 74px; background: linear-gradient(#d8a54400, #c8372d 40%); position: relative; }
.slip-string::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #c8372d; box-shadow: 0 0 0 3px #7d1f1a; }
.slip-paper { position: relative; width: 100%; max-width: 560px; color: var(--ink); padding: 54px 30px 40px; border-radius: 3px;
  background: linear-gradient(180deg, #fbf3e2, var(--paper) 30%, #f1e5cc) var(--paper); box-shadow: 0 30px 80px #000a, 0 2px 0 #fff8 inset, 0 0 0 1px #d8c39a; }
.slip-paper::before { content: ""; position: absolute; left: 50%; top: 16px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #2a110e; box-shadow: inset 0 2px 3px #0009; }
.slip-paper::after { content: ""; position: absolute; inset: 9px; border: 1px solid #d8a54466; pointer-events: none; }
.slip-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 11px; letter-spacing: .14em; color: var(--muted); padding-right: 58px; text-transform: uppercase; white-space: nowrap; }
.slip-brand { color: var(--red); font-weight: 600; }
.slip-grade { position: absolute; top: -6px; right: 26px; display: flex; flex-direction: column; align-items: center; gap: 5px; background: var(--red); color: #fbe7b6; font-family: var(--serif); font-weight: 600; font-size: 19px;
  padding: 22px 10px 32px; line-height: 1.1; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 12px), 0 100%); }
.slip-grade.rot { display: block; writing-mode: vertical-rl; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 20px 11px 30px; white-space: nowrap; max-height: 230px; overflow: hidden; }
.slip-title { font-size: clamp(30px, 8.4cqi, 42px); line-height: 1.32; margin-top: 30px !important; padding-right: 54px; font-weight: 600 !important; }
.slip-sub { margin-top: 10px !important; color: var(--muted); font-size: 15px; padding-right: 54px; }
.slip-rule { height: 1px; background: linear-gradient(90deg, var(--gold), #d8a54400); margin: 26px 0 24px; position: relative; }
.slip-rule i { position: absolute; left: 0; top: -4px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.slip-intro p, .slip-outro p { font-family: var(--serif); font-size: 17px; line-height: 2; }
.slip-intro p + p, .slip-outro p + p { margin-top: 10px; }
.slip-hero, .slip-grid figure { background: #fffdf8; padding: 8px; box-shadow: 0 10px 26px #3b1d1233, 0 0 0 1px #e6d7b8; }
.slip-hero { margin-top: 28px !important; transform: rotate(-.6deg); }
.slip-hero .la-ph { max-height: 78vh; }
.slip-paper figcaption { font-size: 13px; color: var(--muted); padding: 9px 4px 3px; line-height: 1.6; }
.slip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; align-items: start; }
.slip-grid.one { grid-template-columns: 1fr; }
.slip-grid figure:nth-child(odd) { transform: rotate(.9deg); }
.slip-grid figure:nth-child(even) { transform: rotate(-1.1deg); margin-top: 14px; }
.slip-grid:not(.one) .la-ph { aspect-ratio: 1 / 1 !important; }
.slip-outro { margin-top: 34px; padding-top: 24px; border-top: 1px dashed #c9b58c; }
.slip-sign { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 30px; min-height: 86px; font-family: var(--serif); color: var(--muted); font-size: 16px; }
.slip-seal { width: 78px; height: 78px; flex: none; display: grid; grid-template-columns: 1fr 1fr; place-items: center; padding: 6px; border: 4px solid var(--red); color: var(--red); font-family: var(--serif); font-weight: 700;
  font-size: 24px; line-height: 1; transform: rotate(-6deg); border-radius: 6px; opacity: .88; mix-blend-mode: multiply; }
.slip-seal.col { grid-template-columns: 1fr; font-size: 28px; }
.tpl-slip .la-foot { position: relative; }
.tpl-slip .la-empty { color: var(--muted); margin-top: 26px; }
@container (min-width: 720px) { .slip-paper { padding: 64px 52px 48px; } .slip-string { height: 96px; } .slip-grade { right: 44px; } }

/* ---------- 成长信 ---------- */
.tpl-letter { --paper: #f7f3ea; --ink: #332c24; --muted: #766b5b; --orange: #b74b24; --line: #ddd5c7; --pale: #ede7dc; --foot-bg: #f7f3ea; background: var(--paper); color: var(--ink); }
.lt { max-width: 1240px; margin: 0 auto; padding: 0 6%; }
.lt-meta { display: block; font-size: 12px; letter-spacing: .06em; color: var(--orange); }
.lt-hero { display: grid; gap: 34px; padding: 84px 0 56px; border-bottom: 1px solid var(--line); }
.lt-hero h1 { font-size: clamp(40px, 11.5cqi, 66px); line-height: 1.36; letter-spacing: -.02em; }
.lt-hero h1 span, .lt-hero h1 em { display: block; font-style: normal; }
.lt-hero h1 em { color: var(--orange); }
.lt-sub { margin-top: 22px !important; color: var(--muted); font-size: 16px; max-width: 30em; }
.lt-facts { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 18px !important; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.lt-facts span + span { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--line); }
.lt-go { display: inline-flex; align-items: center; gap: 18px; margin-top: 34px; background: var(--orange); color: #fff9ed; text-decoration: none; padding: 13px 22px; font-size: 14px; }
.lt-go:hover { background: #943b1c; }
.lt-cover { background: #fffdf7; padding: 10px 10px 0; box-shadow: 0 22px 50px #4b3a2226, 0 0 0 1px #eee6d6; transform: rotate(1.4deg); justify-self: center; width: min(100%, 520px); }
.lt-cover .la-ph { aspect-ratio: 4 / 3.4; }
.lt-cover figcaption { font-family: var(--serif); font-size: 14px; padding: 12px 6px 14px; min-height: 48px; color: var(--ink); }
.lt-letter { max-width: 680px; padding: 64px 0; margin: 0 auto; }
.lt-letter p { font-family: var(--serif); font-size: 17px; line-height: 2.1; }
.lt-letter p + p { margin-top: 12px; text-indent: 2em; }
.latin .lt-letter p + p { text-indent: 0; }
.lt-dear { color: var(--orange); margin-bottom: 6px !important; }
.lt-route { display: flex; gap: 0; overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.lt-route::-webkit-scrollbar { display: none; }
.lt-route div { flex: 1 0 92px; padding: 20px 12px 22px 0; margin-right: 14px; border-top: 2px solid var(--orange); margin-top: -1px; }
.lt-route div:last-child { margin-right: 0; }
.lt-route b { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; margin-top: 8px; line-height: 1.4; }
.lt-chapter { padding: 64px 0 8px; }
.lt-chapter + .lt-chapter { border-top: 1px solid var(--line); margin-top: 56px; }
.lt-chapter.plain { padding-top: 40px; }
.lt-chapter header { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; }
.lt-no { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 44px; line-height: 1; color: var(--orange); min-width: 40px; order: 2; margin-left: auto; }
.lt-chapter h2 { font-size: 27px; line-height: 1.6; }
.lt-sum { color: var(--muted); max-width: 34em; margin-top: 8px !important; }
.lt-photos { display: grid; gap: 44px 26px; }
.lt-photo .la-ph { background: var(--pale); }
.lt-photo figcaption { padding-top: 14px; }
.lt-photo h3 { font-size: 22px; line-height: 1.55; margin-top: 4px; }
.lt-photo p { color: var(--muted); max-width: 30em; margin-top: 4px; }
.lt-closing { max-width: 680px; margin: 72px auto 0; padding: 48px 0 12px; border-top: 1px solid var(--line); text-align: center; }
.lt-closing p { font-family: var(--serif); font-size: 19px; line-height: 2.1; }
.lt-signed { color: var(--muted); font-size: 15px !important; margin-top: 16px !important; }
.lt-wall { padding: 72px 0 0; }
.lt-wall h2 { font-size: 22px; margin-bottom: 20px; }
.lt-wall > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lt-wall .la-ph { aspect-ratio: 1 / 1; background: var(--pale); }
.tpl-letter .la-empty { color: var(--muted); }
@container (min-width: 720px) {
  .lt { padding: 0 5.5%; }
  .lt-hero { grid-template-columns: 43fr 57fr; align-items: center; padding: 96px 0 84px; gap: 48px; }
  .lt-cover { justify-self: end; width: min(100%, 600px); }
  .lt-chapter h2 { font-size: 32px; } .lt-no { font-size: 56px; }
  .lt-photos { grid-template-columns: 1fr 1fr; align-items: start; gap: 64px 48px; }
  .lt-photos.one { grid-template-columns: minmax(0, 1.1fr) 1fr; }
  .lt-photos.one .lt-photo { display: contents; } .lt-photos.one figcaption { align-self: center; padding: 0; }
  .lt-wall > div { grid-template-columns: repeat(5, 1fr); gap: 14px; }
}

/* ---------- 毛孩子档案 ---------- */
.tpl-pet { --cream: #f4efe1; --card: #fffdf6; --ink: #3a2c22; --muted: #7d6c5c; --green: #2f6b4f; --yellow: #f2b632; --line: #e2d8c0; --foot-bg: #f4efe1; color: var(--ink);
  background: radial-gradient(#e7dcc0 1.5px, transparent 2px) 0 0 / 26px 26px var(--cream); }
.pet { max-width: 760px; margin: 0 auto; padding: 34px 18px 0; }
.pet-card { background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: 0 18px 44px #5b452322, 0 0 0 1.5px var(--ink); }
.pet-card > header { display: flex; justify-content: space-between; align-items: center; background: var(--green); color: #f6efd9; padding: 11px 20px; font-size: 12px; letter-spacing: .14em; font-weight: 600; }
.pet-card > header span { display: inline-flex; align-items: center; gap: 8px; }
.pet-card > header span:last-child { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; opacity: .85; font-weight: 400; }
.pet-id { display: flex; gap: 20px; align-items: center; padding: 26px 22px 20px; }
.pet-avatar { width: 116px !important; height: 116px; flex: none; border-radius: 50%; box-shadow: 0 0 0 5px var(--yellow), 0 0 0 6.5px var(--ink); }
.pet-avatar.none { display: grid; place-items: center; background: #f7ecc9; color: #c9a646; }
.pet-id h1 { font-size: clamp(30px, 8.6cqi, 44px); line-height: 1.25; font-weight: 600 !important; }
.pet-sub { color: var(--muted); margin-top: 4px !important; }
.pet-tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin-top: 12px !important; }
.pet-tags li { font-size: 12.5px; line-height: 1; padding: 7px 11px; border-radius: 99px; background: #fbeab8; border: 1.5px solid var(--ink); }
.pet-tags li:nth-child(3n + 2) { background: #d9eadf; } .pet-tags li:nth-child(3n) { background: #f7d6cf; }
.pet-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px dashed var(--line); }
.pet-facts div { padding: 13px 22px; border-bottom: 1.5px dashed var(--line); }
.pet-facts div:nth-child(odd) { border-right: 1.5px dashed var(--line); }
.pet-facts dt { font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.pet-facts dd { font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.pet-likes { padding: 16px 22px 20px; display: grid; gap: 8px; }
.pet-likes p { display: flex; gap: 9px; align-items: flex-start; line-height: 1.6; }
.pet-likes svg { flex: none; margin-top: 4px; color: #d2553f; }
.pet-likes .no svg { color: var(--muted); }
.pet-likes b { flex: none; font-weight: 600; }
.pet-title { font-size: 26px; text-align: center; margin: 44px 0 0 !important; }
.pet-story { margin: 26px 4px 0; }
.pet-story p { font-size: 16.5px; line-height: 2; }
.pet-story p + p { margin-top: 10px; }
.pet-line { position: relative; margin: 40px 0 0; padding-left: 34px; }
.pet-line::before { content: ""; position: absolute; left: 12px; top: 6px; bottom: 0; width: 0; border-left: 2.5px dotted #b9a887; }
.pet-line article { position: relative; padding-bottom: 38px; }
.pet-dot { position: absolute; left: -35px; top: -1px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.pet-line time { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--green); margin-bottom: 10px; line-height: 26px; }
.pet-line figure { background: var(--card); border-radius: 18px; padding: 10px; box-shadow: 0 10px 26px #5b45231c, 0 0 0 1.5px var(--ink); }
.pet-line .la-ph { border-radius: 11px; }
.pet-line figcaption { padding: 12px 8px 6px; }
.pet-line h3 { font-size: 20px; line-height: 1.5; font-weight: 600 !important; }
.pet-line figcaption p { color: var(--muted); margin-top: 2px; }
.pet-closing { text-align: center; margin: 14px 0 0; padding: 30px 16px 6px; border-top: 2.5px dotted #b9a887; }
.pet-closing p { font-family: var(--serif); font-size: 19px; line-height: 2; }
.pet-signed { color: var(--muted); font-size: 15px !important; margin-top: 10px !important; }
.tpl-pet .la-empty { color: var(--muted); margin-top: 28px; border-radius: 16px; }
@container (min-width: 720px) {
  .pet { padding-top: 56px; }
  .pet-id { padding: 34px 34px 26px; gap: 30px; } .pet-avatar { width: 150px !important; height: 150px; }
  .pet-facts { grid-template-columns: repeat(4, 1fr); } .pet-facts div { border-right: 1.5px dashed var(--line); padding: 15px 22px; } .pet-facts div:last-child { border-right: 0; }
  .pet-likes { grid-template-columns: 1fr 1fr; padding: 18px 34px 24px; }
  .pet-line { padding-left: 0; margin-top: 56px; }
  .pet-line::before { left: 50%; margin-left: -1px; }
  .pet-line article { width: calc(50% - 40px); }
  .pet-line article.r { margin-left: calc(50% + 40px); }
  .pet-line article:not(.r) figure { transform: rotate(-1deg); } .pet-line article.r figure { transform: rotate(1deg); }
  .pet-dot { left: auto; right: -54px; } .pet-line article.r .pet-dot { right: auto; left: -54px; }
  .pet-line article:not(.r) time { display: block; text-align: right; }
}

/* ---------- 看大图 ---------- */
.la-lock { overflow: hidden; }
.la-lb { position: fixed; inset: 0; z-index: 90; background: #0b0908f2; display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; color: #f3ece0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Segoe UI", sans-serif; }
.la-lb button { border: 0; background: none; color: inherit; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.la-lb button:hover { background: #ffffff1a; } .la-lb button:disabled { opacity: .25; cursor: default; }
.la-lb button:focus-visible { outline: 2px solid #f3ece0; outline-offset: 2px; }
.lb-x { position: absolute; top: 10px; right: 10px; z-index: 2; }
.lb-n { position: absolute; top: 24px; left: 20px; font-size: 13px; letter-spacing: .08em; opacity: .7; }
.lb-body { grid-column: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 64px 0 28px; min-width: 0; }
.lb-body img { max-width: 100%; max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); object-fit: contain; }
.lb-cap { max-width: 640px; text-align: center; font-size: 14px; line-height: 1.7; max-height: 120px; overflow: auto; padding: 0 4px; }
.lb-cap span { display: block; font-size: 12px; letter-spacing: .06em; opacity: .65; }
.lb-cap b { display: block; font-size: 17px; font-weight: 600; }
.lb-cap p { margin: 2px 0 0; opacity: .85; }
@media (max-width: 640px) { .la-lb { grid-template-columns: 0 1fr 0; } .lb-prev, .lb-next { position: absolute; bottom: 14px; z-index: 2; } .lb-prev { left: 16px; } .lb-next { right: 16px; } .lb-body { padding: 60px 12px 76px; } }

/* ---------- 公开页右上角的按钮、提示条 ---------- */
.la-tools { position: fixed; top: 12px; right: 12px; z-index: 40; display: flex; gap: 8px; }
.la-tools > button, .la-langwrap { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #ffffff38; background: #1e1a17cc; color: #f6efe2; display: grid; place-items: center; cursor: pointer; padding: 0;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); position: relative; }
.la-tools [hidden] { display: none; }
.la-tools > button[aria-pressed="true"] { background: #f6efe2; color: #1e1a17; }
.la-tools > button:focus-visible, .la-langwrap:focus-within { outline: 2px solid #f6efe2; outline-offset: 2px; }
.la-lang { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
#la-toast { position: fixed; left: 50%; bottom: 34px; z-index: 120; transform: translate(-50%, 20px); background: #1e1a17f2; color: #f6efe2; padding: 11px 18px; border-radius: 99px; font: 14px/1.4 -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: 86vw; text-align: center; }
#la-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .la-album *, #la-toast { transition: none !important; animation: none !important; } .lt-cover, .slip-hero, .slip-grid figure, .pet-line figure, .slip-seal { transform: none !important; } html { scroll-behavior: auto; } }
@media print { .la-tools, .la-foot { display: none; } }

/* ---------- 相册不存在、示例底栏、弹窗（举报等） ---------- */
.la-gone { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: 24px; text-align: center; color: #f3ece0; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Segoe UI", sans-serif; }
.la-gone-mark { font: italic 64px/1 Georgia, serif; color: #f2b8c6; margin: 0 0 18px; }
.la-gone h1 { font-size: 20px; font-weight: 500; margin: 0 0 26px; line-height: 1.6; }
.la-gone a { display: inline-flex; align-items: center; gap: 10px; color: #1e1a17; background: #f2b8c6; text-decoration: none; padding: 12px 22px; border-radius: 99px; font-size: 15px; font-weight: 600; }
.la-demo-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 99px;
  background: #1e1a17ee; color: #f6efe2; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px #0006; max-width: 560px; margin: 0 auto;
  font: 14px/1.4 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Segoe UI", sans-serif; }
.la-demo-bar b { color: #f2b8c6; font-weight: 600; letter-spacing: .08em; margin-right: 4px; }
.la-demo-bar a { display: inline-flex; align-items: center; gap: 8px; background: #f2b8c6; color: #1e1a17; text-decoration: none; padding: 10px 18px; border-radius: 99px; font-weight: 600; white-space: nowrap; }
.la-modal { position: fixed; inset: 0; z-index: 100; background: #0009; display: grid; place-items: end center; padding: 0; font: 15px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Segoe UI", sans-serif; }
.la-modal > form, .la-modal > div { width: 100%; max-width: 480px; max-height: 92vh; max-height: 92dvh; overflow: auto; background: #241c2b; color: #f3ece6; border-radius: 22px 22px 0 0; padding: 24px 22px calc(22px + env(safe-area-inset-bottom)); box-sizing: border-box; }
.la-modal h2 { font-size: 19px; font-weight: 600; margin: 0 0 14px; }
.la-modal textarea { width: 100%; box-sizing: border-box; margin-top: 12px; border: 1px solid #ffffff2e; background: #ffffff0d; color: inherit; border-radius: 12px; padding: 11px 13px; font: inherit; resize: vertical; }
.la-radio { display: flex; gap: 10px; align-items: center; padding: 8px 0; cursor: pointer; }
.la-radio input { accent-color: #f2b8c6; width: 18px; height: 18px; margin: 0; }
.la-modal-btns { display: flex; gap: 10px; margin-top: 18px; }
.la-modal-btns button { flex: 1; border: 1px solid #ffffff38; background: none; color: inherit; border-radius: 99px; padding: 12px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.la-modal-btns button.pri { background: #f2b8c6; border-color: #f2b8c6; color: #1e1a17; }
.la-modal-btns button:disabled { opacity: .5; cursor: default; }
@media (min-width: 640px) { .la-modal { place-items: center; padding: 24px; } .la-modal > form, .la-modal > div { border-radius: 22px; } }
