/* title.css — title and create screens */
.scr-title { position: absolute; inset: 0; }
.scr-title .tt-logo { position: absolute; left: 10%; width: 80%; top: 6%; height: 30%; animation: ttdrop .6s cubic-bezier(.3, 1.5, .5, 1) both, ttfloat 4s 0.7s ease-in-out infinite; pointer-events: none; }
.tt-logo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(90, 40, 80, .35)); }
.tt-shine { position: absolute; inset: 0; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .95) 50%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: 150% 0; animation: ttshine 4.5s 1s ease-in-out infinite; }
@keyframes ttdrop { 0% { transform: translateY(-120%) scale(.9); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes ttfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes ttshine { 0% { background-position: 150% 0; } 35%, 100% { background-position: -50% 0; } }
.tt-album { position: absolute; top: 10px; right: 10px; opacity: .8; flex: none; width: 48px; height: 48px; }
.tt-prompt { position: absolute; left: 15%; right: 15%; bottom: 17%; text-align: center; font: 900 24px/1.3 var(--font); color: #fff6ee;
  text-shadow: var(--ol), 0 3px 0 #7a2f55; animation: ttpulse 1.6s ease-in-out infinite; pointer-events: none; }
@keyframes ttpulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
.tt-btns { position: absolute; left: 0; right: 0; bottom: 14%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tt-btns > * { animation: gpop .35s ease both; }
.tt-btns > *:nth-child(2) { animation-delay: .1s; }
.tt-cont { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tt-big { min-width: 200px; min-height: 56px; font-size: 21px; }
.tt-day { font: 800 14px/1.2 var(--font); color: #fff6ee; text-shadow: var(--ol); }

/* create */
.scr-create { position: absolute; inset: 0; background: rgba(255, 240, 246, .25); }
.cr-back { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 28px; flex: none; }
.cr-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 14px 14px 20px; box-sizing: border-box; gap: 10px; }
.cr-title { margin-top: 4px; animation: gpop .3s ease both; }
.cr-cards { flex: 0 0 38%; width: 100%; display: flex; gap: 12px; justify-content: center; min-height: 0; }
.cr-card { -webkit-appearance: none; appearance: none; position: relative; flex: 1 1 0; max-width: 170px; padding: 0; border: 4px solid #fff6ee; border-radius: 20px; overflow: hidden; background: #f6dcea;
  cursor: pointer; box-shadow: 0 4px 10px rgba(90, 40, 80, .3); filter: saturate(.55) brightness(.9); transform: translateY(8px) scale(.96); transition: transform .2s cubic-bezier(.3, 1.5, .5, 1), filter .2s, box-shadow .2s, border-color .2s; animation: gpop .35s .1s ease both; }
.cr-card:nth-child(2) { animation-delay: .18s; }
.cr-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
.cr-card.sel { filter: none; transform: translateY(-4px) scale(1.04); border-color: #ff8fb1; box-shadow: 0 0 0 3px #fff, 0 0 18px 4px #ff8fb1; }
.cr-card:active { transform: scale(.95); }
.cr-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 4px 6px; text-align: center; font: 900 20px/1.2 var(--font); color: #fff6ee; text-shadow: var(--ol);
  background: linear-gradient(transparent, rgba(122, 47, 85, .7)); }
.cr-note { font: 700 14px/1.45 var(--font); color: #fff6ee; text-shadow: var(--ol); text-align: center; padding: 0 12px; max-width: 340px; }
.cr-name { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 330px; justify-content: center; }
.cr-name .gicon { flex: none; width: 48px; height: 48px; }
.cr-input { flex: 1 1 auto; min-width: 0; box-sizing: border-box; height: 48px; border-radius: 24px; border: 3px solid #ff8fb1; background: #fff6ee; color: var(--ink); padding: 0 18px; outline: none;
  font: 800 18px var(--font); text-align: center; box-shadow: inset 0 2px 4px rgba(90, 40, 80, .15); }
.cr-input:focus { border-color: #d9577f; box-shadow: 0 0 8px #ff8fb1; }
.cr-go { min-width: 220px; min-height: 58px; font-size: 22px; margin-top: auto; }
