*{box-sizing:border-box} [hidden]{display:none!important}
:root{font-family:"PingFang SC","Microsoft YaHei",sans-serif;color:#442a33;background:#fff9f8;--rose:#a9365b;--line:#efd7dd;--muted:#76555e}
body{margin:0;min-height:100vh;display:flex;flex-direction:column} header{padding:20px max(5vw,20px);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border-bottom:1px solid var(--line);background:#fffdfc}
a{color:inherit;text-decoration:none}.brand{font-family:Georgia,"Songti SC",SimSun,serif;font-size:24px;font-weight:bold}.brand span,footer span{color:var(--rose)}nav{display:flex;flex-wrap:wrap;gap:5px}nav a{padding:8px 12px;border-radius:20px;font-size:14px}nav a:hover,nav a[aria-current]{background:#f9e1e8;color:#92284a}
main{width:min(1100px,92%);margin:clamp(28px,6vw,78px) auto;flex:1}footer{text-align:center;padding:24px;color:var(--muted);font-size:13px;border-top:1px solid var(--line)}
.login{display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;border:1px solid var(--line);border-radius:30px;background:#fffdfc;box-shadow:0 22px 65px #79243f12}.cover,.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 90% 12%,#fff0f3,transparent 55%),linear-gradient(140deg,#f2a8bc,#ffe3e3);padding:clamp(32px,6vw,72px)}.cover>*{position:relative}.cover .heart{position:absolute;font-family:Georgia,serif;font-size:clamp(170px,34vw,430px);line-height:1;top:9%;right:-5%;opacity:.36;color:#fff;transform:rotate(-18deg);pointer-events:none}
.eyebrow{color:#822b49;letter-spacing:.19em;font-size:12px;font-weight:700}h1,h2,h3{font-family:"Songti SC","Noto Serif CJK SC",SimSun,Georgia,serif;margin:0 0 .55em}h1{font-size:clamp(40px,8vw,88px);line-height:1.08;margin-top:.24em}.cover h1{letter-spacing:.10em}.cover em{color:#a53456;font-style:normal}.cover p{margin-bottom:0}.signin{padding:clamp(28px,6vw,68px);align-self:center}h2{font-size:clamp(25px,4vw,37px);margin-top:.35em}p{line-height:1.65}label{display:grid;gap:7px;font-size:14px;font-weight:600}form{display:grid;gap:15px}input,textarea,button{font:inherit}input,textarea{width:100%;background:#fffafa;color:#442a33;border:1px solid #e7c5d0;border-radius:10px;padding:11px 12px}textarea{min-height:110px;resize:vertical}button,.button{padding:10px 16px;border:1px solid transparent;border-radius:10px;background:var(--rose);color:white;font:inherit;cursor:pointer;display:inline-block;text-align:center}button:hover,.button:hover{background:#882344}button:disabled{opacity:.6;cursor:wait}.quiet{background:#fff7fa;color:#872949;border-color:var(--line)}.quiet:hover{background:#f9e1e8}.status{margin:0;font-size:14px;color:#852541}.status:empty{display:none}.hero{border-radius:28px}.hero h1{font-size:clamp(38px,6vw,73px)}.clock{display:flex;gap:22px;flex-wrap:wrap}.clock b{font:600 clamp(27px,5vw,58px) Georgia,serif;display:block}.clock span{font-size:14px}.section-title{margin-top:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:16px;margin-top:22px}.panel,.card{background:#fffdfc;border:1px solid var(--line);border-radius:18px;padding:22px}.panel{margin-bottom:22px}.cards{display:grid;gap:12px}.card p{white-space:pre-wrap;overflow-wrap:anywhere}.meta{color:var(--muted);font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.media{width:100%;height:195px;object-fit:contain;background:#f7e7ea;border-radius:10px}.filename{overflow-wrap:anywhere}.muted{color:var(--muted)}:focus-visible{outline:3px solid #982f56;outline-offset:3px}@media(max-width:680px){.login{grid-template-columns:1fr}.cover h1 br{display:none}.cover .heart{right:4%;top:0}.cover h1{margin-bottom:.25em}}

body{background:linear-gradient(160deg,#fff7f7 0%,#fffcf8 58%,#fff5f6 100%)}
header{background:#fffafb;box-shadow:0 3px 20px #75394e08}
.card,.panel{box-shadow:0 8px 24px #77354c08}
.album-cover{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;min-height:190px;padding:32px clamp(25px,6vw,72px);border-radius:26px;background:radial-gradient(ellipse at 75% 20%,#f9ccd2,transparent 60%),linear-gradient(108deg,#f8e3dd,#efb2c0);color:#662d40}
.album-cover h1{font-size:clamp(38px,5vw,65px);font-weight:600;letter-spacing:.05em;margin:0}
.album-cover p{margin:12px 0 0;font-size:14px}.album-cover p span{padding:0 7px}
.prints{position:relative;width:144px;height:112px;margin-right:4%}.prints i,.prints b{position:absolute;width:90px;height:108px;border:6px solid #fffaf6;border-bottom-width:19px;box-shadow:0 5px 18px #70354f26;border-radius:2px}
.prints i{left:0;top:2px;background:linear-gradient(160deg,#eac0a1,#f5d7c1 55%,#ad8181 56%,#cfa7a1);transform:rotate(-16deg)}
.prints b{right:4px;top:5px;display:grid;place-items:center;color:#fff4ec;font:46px Georgia;background:linear-gradient(145deg,#d28598,#eab0ba);transform:rotate(12deg)}
.library{margin:25px auto}.album-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 17px}.filters{display:flex;padding:4px;background:#f3e7e9;border-radius:24px}.filters button{font-size:14px;border:0;border-radius:22px;background:transparent;color:#69444f;padding:8px 17px}.filters button[aria-pressed=true]{background:#fff;box-shadow:0 2px 6px #682a411a;color:#922b50}.album-tools>button{border-radius:22px}.upload-box{padding:20px;border:1px solid var(--line);border-radius:16px;background:white;margin-bottom:16px}.upload-box small{color:var(--muted)}
.photo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.tile{display:block;position:relative;overflow:hidden;padding:0;aspect-ratio:1;background:#efdadd;border:0;border-radius:9px}.tile img,.tile video{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.tile:hover img{transform:scale(1.025)}.video-mark{position:absolute;bottom:6px;left:6px;color:white;background:#261b24b8;font-size:11px;padding:3px 7px;border-radius:20px}
.album-empty{grid-column:1/-1;text-align:center;padding:44px 16px 38px;border:1px dashed #dfb6c2;border-radius:18px;background:#fffaf9}.album-empty>span{font:38px Georgia;color:#bb7188}.album-empty h3{margin:12px 0 4px}.album-empty p{font-size:14px;margin:0;color:var(--muted)}
.viewer {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  border: 0;
  margin: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  background: #211b20;
  color: #fff9fb;
  overflow: hidden;
}
.viewer[open]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto}.viewer::backdrop{background:#211b20}body:has(.viewer[open]){overflow:hidden}
.viewer-bar,.viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px clamp(12px,4vw,44px)}.viewer-bar button,.viewer-controls button,.viewer-foot button,.download{background:#3d333d;color:white;border:0;border-radius:24px;padding:9px 15px}.viewer-bar button,.viewer-controls button{font-size:25px;line-height:1;width:44px;height:44px}.position,.credit{color:#d8c6cf}.stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.stage > img, .stage > video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.viewer-controls div{text-align:center;min-width:0}.caption,.credit{display:block}.caption{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.credit{margin-top:4px}.viewer-foot{text-align:center}.viewer-foot button{font-size:13px;margin-bottom:8px}.viewer-foot p{margin:0}.viewer-controls button:disabled{opacity:.25;cursor:default}
@media(max-width:750px){.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.tile{border-radius:4px}.album-cover{min-height:145px}.prints{transform:scale(.75);transform-origin:right center;width:108px;margin:0}.filters button{padding:8px 13px}header{gap:10px}nav{width:100%;justify-content:space-between}nav a{padding:7px 5px}.album-cover h1{font-size:34px}.library{margin-top:17px}}
/* A rose-coloured keepsake album */
:root{--rose:#983854;--line:#e8d7d4;--muted:#735c63}
body{background:radial-gradient(ellipse at 93% 18%,#f7e8e5 0,transparent 50%),#fcf8f4}
header{background:#fffaf6;border-color:#e8d8d5}.brand span{display:inline-grid;place-items:center;background:#87354f;color:#fff5e8;width:34px;height:38px;border-radius:16px 16px 8px 8px;font:23px Georgia}
main{margin:clamp(22px,4vw,54px) auto}.love-cover{isolation:isolate;position:relative;display:grid;grid-template-columns:1.35fr 1fr;align-items:center;overflow:hidden;padding:clamp(29px,5vw,72px);border-radius:26px;background:radial-gradient(ellipse at 86% 4%,#b96d78,transparent 55%),linear-gradient(125deg,#642e45,#883f55 67%,#9e5866);color:#fff5e9;box-shadow:0 12px 35px #65243b1a}
.love-cover:before,.love-cover:after{content:"";position:absolute;z-index:-1;border:1px solid #fff1db33;border-radius:50%;width:68%;height:165%;right:-34%;top:-55%;transform:rotate(-28deg)}.love-cover:after{right:-31%;top:-53%}
.cover-label{font-size:14px;letter-spacing:.17em;margin:0}.love-words{min-width:0}.love-words h1{font:500 clamp(38px,6vw,78px)/1.17 Georgia,"Songti SC",SimSun,serif;display:flex;align-items:baseline;gap:.18em;flex-wrap:wrap;margin:.26em 0;overflow-wrap:anywhere}.love-words h1 span{min-width:0;max-width:100%}.love-words h1 i{font:italic .72em Georgia;color:#f1bfab}.since{font-size:13px;letter-spacing:.08em;color:#f2d8d7;margin:4px 0 18px}
.love-cover .clock{gap:clamp(8px,2vw,22px);align-items:baseline}.love-cover .clock>div{display:flex;align-items:baseline;gap:4px}.love-cover .clock b{font:400 clamp(24px,3.5vw,46px) Georgia;font-variant-numeric:tabular-nums}.love-cover .clock span{font-size:12px;color:#f4d5db}.date-link{background:#ffebdf;color:#712c46;margin-top:10px}.date-link:hover{background:#ffe1d5}
.memory-art{position:relative;display:grid;place-items:center;padding:24px 4px}.keepsake{display:block;position:relative;transform:rotate(7deg);box-shadow:0 12px 22px #3e152b44}.photo-keepsake{width:min(78%,235px);border:9px solid #fff9ef;border-bottom-width:28px;background:#e7cfd0}.photo-keepsake img{display:block;width:100%;aspect-ratio:1.35;object-fit:cover}.photo-keepsake:after{content:"♡";position:absolute;bottom:-24px;right:5px;color:#aa6070;font:19px Georgia}
.letter{width:min(82%,250px);aspect-ratio:1.58;background:linear-gradient(35deg,#f4d7cf 49%,#c78d92 50%,transparent 51%) left/50% 100% no-repeat,linear-gradient(-35deg,#f4d7cf 49%,#c78d92 50%,transparent 51%) right/50% 100% no-repeat,#eac0bc;border-radius:3px}
.letter i{position:absolute;inset:0;background:linear-gradient(#fff1e6,#f2d3c8);clip-path:polygon(0 0,100% 0,50% 67%)}.letter b{position:absolute;top:49%;left:43%;width:15%;aspect-ratio:1;border-radius:47% 53% 50% 44%;display:grid;place-items:center;background:#ad5264;color:#f8cfbe;box-shadow:inset 0 0 0 3px #973e55,1px 3px 5px #61303f44;font:16px Georgia}
.memory-links,.memory-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.memory-links a,.memory-notes a{position:relative;background:#fffdf9;border:1px solid var(--line);border-radius:15px;padding:20px;box-shadow:0 4px 14px #592a3406}.memory-links a:hover,.memory-notes a:hover{border-color:#c88b9a;background:#fff8f5}.link-icon{display:grid;place-items:center;width:39px;height:39px;background:#f5e3e4;color:#913953;border-radius:12px;font:26px Georgia;margin-bottom:17px}.memory-links h3,.memory-notes h3{margin:0 0 5px;font-size:21px}.memory-links small,.memory-notes small{color:var(--muted)}.link-arrow{position:absolute;right:16px;top:15px;color:#a47580}.memory-notes{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))}.memory-notes a{border-left:4px solid #bc7b8e}.memory-notes h3{margin-top:9px;overflow-wrap:anywhere}.memory-notes p{margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
main>h2:first-child{border-bottom:1px solid var(--line);padding-bottom:15px;color:#71384a}.panel,.cards .card{background:#fffdfa}.signin button{border-radius:24px}.album-cover{box-shadow:inset 0 0 0 1px #f0c9ca}
@media(max-width:700px){.memory-links{grid-template-columns:1fr 1fr;gap:9px}.love-cover{grid-template-columns:minmax(0,1fr) 27%;padding:26px 19px}.memory-art{align-self:start;padding-top:12px}.letter,.photo-keepsake{width:100%}.photo-keepsake{border-width:4px;border-bottom-width:12px}.photo-keepsake:after{font-size:10px;bottom:-12px}.letter b{font-size:9px}.love-words h1{font-size:clamp(30px,7vw,46px)}.love-cover .clock{gap:8px}.memory-links a{padding:14px}.link-icon{margin-bottom:9px;width:33px;height:33px}.memory-links h3{font-size:19px}.cover-label{font-size:12px}}

.upload-result{margin-bottom:16px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:#fffaf8;overflow-wrap:anywhere}.upload-result p,.upload-result ul{margin:0}.upload-result ul{padding-inline-start:1.2em;margin-top:7px}

/* Stacked contact sheets behind the content. Each repeated group is at least a viewport tall. */
body { isolation: isolate; }
.photo-wall {
  --wall-gap: clamp(7px,1vw,15px);
  position: fixed;
  inset: 0;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: var(--wall-gap);
  overflow: hidden;
  pointer-events: none;
  background: #f5dfda;
}
.photo-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,#fff9f0c9 12%,#fff7ed85 72%,#fbe5df53),
              linear-gradient(180deg,#f8e5de79,transparent 38%,#ffede4a0);
}
.wall-column { min-width: 0; }
.wall-track { animation: wall-roll calc(var(--wall-rows, 3) * 21s) linear infinite; animation-play-state: paused; }
.wall-column:nth-child(2) .wall-track { animation-duration: calc(var(--wall-rows, 3) * 24s); animation-delay: -28s; animation-direction: reverse; }
.wall-column:nth-child(3) .wall-track { animation-duration: calc(var(--wall-rows, 3) * 22s); animation-delay: -15s; }
.wall-column:nth-child(4) .wall-track { animation-duration: calc(var(--wall-rows, 3) * 27s); animation-delay: -42s; animation-direction: reverse; }
.wall-has-photos:not(.wall-paused) .wall-track { animation-play-state: running; }
.wall-group { display: grid; gap: var(--wall-gap); padding-bottom: var(--wall-gap); }
.wall-card {
  overflow: hidden;
  height: 34vh;
  border: 1px solid #fffbf5bb;
  border-radius: clamp(8px,1.4vw,20px);
  background: linear-gradient(145deg,#d9a5ab,#f1cfc1);
}
.wall-card:nth-child(3n+2) { height: 41vh; background: linear-gradient(35deg,#e1a6a5,#f5dcd0); }
.wall-card:nth-child(3n) { height: 31vh; background: linear-gradient(150deg,#e7bcb2,#d6a0a7); }
.wall-column:nth-child(even) .wall-card:nth-child(3n+1) { height: 40vh; }
.wall-column:nth-child(even) .wall-card:nth-child(3n+2) { height: 31vh; }
.wall-column:nth-child(even) .wall-card:nth-child(3n) { height: 35vh; }
.wall-card img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); }
@keyframes wall-roll { to { transform: translateY(-50%); } }

body:has(.wall-has-photos) header, body:has(.wall-has-photos) footer {
  background: #fffaf5f3;
}
body:has(.wall-has-photos) main > h2:first-child {
  width: fit-content;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffbf7;
}
body:has(.wall-has-photos) .library { padding: clamp(10px,2vw,21px); background: #fffaf5ed; border: 1px solid var(--line); border-radius: 19px; }
.wall-motion {
  position: fixed;
  z-index: 1;
  right: max(12px,env(safe-area-inset-right));
  bottom: max(12px,env(safe-area-inset-bottom));
  padding: 7px 12px;
  border-color: #dfbfc6;
  border-radius: 30px;
  background: #fff9f5;
  color: #71384a;
  box-shadow: 0 3px 12px #66384a21;
  font-size: 12px;
}
.wall-motion:hover { background: #f9e4e7; }
@media (max-width: 950px) {
  .photo-wall { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .photo-wall { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .photo-wall .wall-track { animation: none; }
  .wall-motion { display: none; }
}

/* Kitty details and the dice tray */
:root { --rose:#a73559; }
.brand { display:inline-flex; align-items:center; gap:10px; }
.kitty {
  display:inline-block;
  width:35px;
  aspect-ratio:1;
  flex:none;
  vertical-align:middle;
  background: url("https://www.sanrio.co.jp/wp-content/uploads/2022/06/mv-hellokitty.png") center / contain no-repeat;
}
.kitty-sticker { position:absolute; right:13%; bottom:13%; filter:drop-shadow(0 2px 3px #5f293e55); transform:rotate(-13deg) scale(1.13); }
.memory-links { grid-template-columns:repeat(4,minmax(0,1fr)); }
nav a[aria-current] { background:#f8dbe5; }
.dice-card {
  width:min(100%,620px);
  margin:0 auto;
  display:grid;
  justify-items:center;
  text-align:center;
  padding:clamp(22px,5vw,48px);
  border:1px solid #ecc8d2;
  border-radius:26px;
  background:radial-gradient(ellipse at top,#ffe4ec,#fffaf6 70%);
  box-shadow:0 14px 36px #723b4d15;
  color:#71384a;
}
.dice-copy h1 { margin:0; font-size:clamp(36px,7vw,56px); }
.dice-copy p { color:var(--muted); margin:9px 0 0; }
.dice-tray {
  position:relative;
  display:grid;
  place-items:center;
  width:min(100%,350px);
  height:174px;
  margin-top:19px;
  border:1px solid #e9aebf;
  border-radius:24px;
  background:radial-gradient(ellipse at 50% 40%,#fbe3ec,#edb5c8);
  box-shadow:inset 0 2px 9px #a94c692b;
}
.die {
  display:grid;
  grid-template:repeat(3,1fr)/repeat(3,1fr);
  width:89px;
  aspect-ratio:1;
  gap:5px;
  padding:15px;
  border:1px solid #f1c4cc;
  border-radius:20px;
  background:#fffdfa;
  box-shadow:0 7px #d995a9,0 13px 18px #8a3d5540;
}
.die span { align-self:center; justify-self:center; width:10px; height:10px; border-radius:50%; }
.die .pip-on { background:#aa3458; }
.die.rolling { animation:dice-tumble .54s ease-in-out; }
.dice-kitty { position:absolute; bottom:12px; right:14px; transform:rotate(9deg); }
.dice-result { min-height:1.6em; margin:18px 0 12px; font-weight:600; }
.roll-button { min-width:128px; }
.roll-button[aria-disabled=true] { opacity:.7; cursor:wait; }
@keyframes dice-tumble {
  20% { transform:translate(-19px,-16px) rotate(-46deg); }
  48% { transform:translate(18px,-25px) rotate(75deg); }
  76% { transform:translate(-8px,-6px) rotate(150deg); }
  100% { transform:rotate(180deg); }
}
@media(max-width:700px) {
  .memory-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .kitty-sticker { right:3%; bottom:3%; transform:rotate(-13deg) scale(.75); }
}
@media(prefers-reduced-motion:reduce) { .die.rolling { animation:none; } }

.wish-cover {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:clamp(22px,4vw,46px);
  margin-bottom:20px;
  border:1px solid #f1c8d4;
  border-radius:24px;
  background:linear-gradient(112deg,#f8cfdd,#fff0e6);
  color:#783449;
}
.wish-cover h1 { margin:0; font-size:clamp(32px,6vw,52px); }
.wish-cover p { margin:9px 0 0; }
.wish-cover .kitty { width:clamp(44px,9vw,74px); }
.cards .wish-completed { background:#fff2f6; border-color:#eec8d4; }
.wish-completed h3 { color:#76525e; }
@media(min-width:900px) { .memory-links { grid-template-columns:repeat(5,minmax(0,1fr)); } }
@media(max-width:899px) and (min-width:701px) { .memory-links { grid-template-columns:repeat(3,minmax(0,1fr)); } }

.record-heading,.record-tools,.record-dialog-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.record-heading button { white-space:nowrap; }
.record-banner {
  padding:clamp(16px,3vw,25px);
  margin-bottom:16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fffaf7f5;
  color:#71384a;
}
.record-banner h1 { margin:0; font-size:clamp(29px,5vw,43px); }
.record-dialog {
  width:min(540px,calc(100% - 24px));
  max-height:calc(100dvh - 24px);
  padding:clamp(17px,4vw,28px);
  overflow:auto;
  border:1px solid #ebc7d3;
  border-radius:22px;
  background:#fffaf8;
  color:#442a33;
  box-shadow:0 20px 64px #4e233844;
}
.record-dialog::backdrop { background:#3e263975; }
.record-dialog-heading { margin-bottom:16px; }
.record-dialog-heading h2 { margin:0; font-size:24px; }
.record-dialog-heading button { padding:5px 12px; font-size:20px; }
.record-dialog-actions { display:flex; justify-content:flex-end; gap:8px; }
body:has(.record-dialog[open]) { overflow:hidden; }
@media(max-width:470px) { .record-tools .kitty { display:none; } }

.birthday-section { margin-top:20px; padding:clamp(15px,2.7vw,26px); border:1px solid var(--line); border-radius:20px; background:#fffaf7f5; }
.birthday-section h2 { margin:0 0 12px; font-size:25px; color:#783449; }
.birthday-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.birthday-card { min-width:0; padding:clamp(12px,2vw,19px); border:1px solid #efd2db; border-radius:13px; background:#fff1f5; overflow-wrap:anywhere; }
.birthday-card h3 { margin:0 0 6px; }
.birthday-card p { margin:1px 0; color:var(--muted); font-size:14px; }
.birthday-count,.birthday-link { display:block; margin-top:7px; color:#8e2d4c; }
.birthday-count { font-size:19px; }
.birthday-card small { display:block; margin-top:4px; color:var(--muted); }
.birthday-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.birthday-fields select,.signin select,.upload-box select { width:100%; padding:11px 9px; border:1px solid #e7c5d0; border-radius:10px; background:#fffafa; color:inherit; font:inherit; }
.upload-progress { width:100%; height:9px; accent-color:var(--rose); }
.birthday-check { display:flex; align-items:center; gap:7px; }
.birthday-check input { width:auto; accent-color:var(--rose); }
@media(max-width:470px) { .birthday-grid { grid-template-columns:1fr; } }
.setup-toggle{margin-top:12px;width:100%}
