/* =======================================================================
   TEMA iPHONE iOS — Lock Screen · Home Screen · App Switcher · Dynamic Island
   Tanpa framework CSS: semua gaya ada di sini. Perilaku ada di tema-26-iphone-ios.js.
   ======================================================================= */
:root {
  --ios-blue: #0a84ff; --ios-purple: #bf5af2; --ios-green: #30d158; --ios-red: #ff453a;
  --ios-orange: #ff9f0a; --ios-pink: #ff375f;
  --ease: cubic-bezier(.32, .72, 0, 1);
}
* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: 'Inter', -apple-system, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
  background: radial-gradient(1200px 700px at 20% 0%, #1d1b3a 0%, transparent 60%),
              radial-gradient(900px 600px at 90% 100%, #0b2a4a 0%, transparent 60%), #05060a;
  color: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center;
  -webkit-font-smoothing: antialiased; user-select: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.bi { line-height: 1; }

/* ===== BINGKAI PERANGKAT ===== */
#stage { width: 430px; height: 932px; transform-origin: center; flex: none; }
#phone {
  position: relative; width: 100%; height: 100%; border-radius: 68px; padding: 11px;
  background: linear-gradient(145deg, #d8d6d0, #8b8a86 30%, #4a4947 60%, #bdbbb5);
  box-shadow: 0 0 0 1.5px #2b2a28, 0 40px 120px rgba(0, 0, 0, .7), 0 0 80px rgba(191, 90, 242, .18), inset 0 0 6px rgba(255, 255, 255, .6);
}
#phone::before, #phone::after { content: ""; position: absolute; width: 4px; background: #6f6e6a; border-radius: 2px; }
#phone::before { left: -4px; top: 170px; height: 60px; box-shadow: 0 80px 0 #6f6e6a; }
#phone::after { right: -4px; top: 240px; height: 96px; }
#screen { position: relative; width: 100%; height: 100%; border-radius: 58px; overflow: hidden; background: #000; isolation: isolate; }
@media (max-width: 500px) {
  body { align-items: stretch; }
  #stage { width: 100vw !important; height: 100dvh !important; transform: none !important; }
  #phone { padding: 0; border-radius: 0; box-shadow: none; background: #000; }
  #phone::before, #phone::after { display: none; }
  #screen { border-radius: 0; }
}

/* ===== UMUM ===== */
.layer { position: absolute; inset: 0; }
.wallpaper { background-size: cover; background-position: center; background-color: #1c1c2e; }
.glass { background: rgba(255, 255, 255, .14); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
         border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 30px rgba(0, 0, 0, .25); }
.glass-dark { background: rgba(20, 20, 26, .55); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
              border: 1px solid rgba(255, 255, 255, .12); }
.shimmer { background: linear-gradient(100deg, rgba(255, 255, 255, .35) 30%, #fff 50%, rgba(255, 255, 255, .35) 70%);
           background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.no-scroll::-webkit-scrollbar { display: none; }
.no-scroll { scrollbar-width: none; }
.pink { color: #ff6b8b; } .red { color: #ff6259; }

/* ===== DYNAMIC ISLAND ===== */
#island { position: absolute; top: 11px; left: 50%; z-index: 100; transform: translateX(-50%); width: 124px; height: 36px; background: #000; border-radius: 22px;
          transition: width .55s var(--ease), height .55s var(--ease), border-radius .55s var(--ease); overflow: hidden; cursor: pointer; }
#island.squish { animation: squish .5s var(--ease); }
@keyframes squish { 0% { transform: translateX(-50%) scale(1); } 35% { transform: translateX(-50%) scale(1.12, .86); } 70% { transform: translateX(-50%) scale(.96, 1.06); } 100% { transform: translateX(-50%) scale(1); } }
#island .content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; opacity: 0; transition: opacity .25s .15s; white-space: nowrap; }
#island.open .content { opacity: 1; }
#island:not(.open) .content { transition-delay: 0s; opacity: 0; }
#island[data-mode="invite"] { width: 260px; height: 48px; border-radius: 26px; }
#island[data-mode="music"] { width: 300px; height: 56px; border-radius: 30px; }
#island[data-mode="rsvp"] { width: 290px; height: 56px; border-radius: 30px; }
.isl-row { display: flex; align-items: center; gap: 12px; }
.isl-art { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, #bf5af2, #0a84ff); display: flex; align-items: center; justify-content: center; }
.isl-text { line-height: 1.25; }
.isl-text b { display: block; font-size: 13px; font-weight: 600; }
.isl-text small { font-size: 11px; color: rgba(255, 255, 255, .6); }
.isl-emoji { font-size: 18px; }
.isl-mid { margin: 0 8px; flex: 1; }
.bars { display: flex; gap: 3px; align-items: center; height: 22px; }
.bars i { display: block; width: 3px; border-radius: 2px; background: linear-gradient(#bf5af2, #0a84ff); height: 6px; animation: bar 1s ease-in-out infinite; }
.bars.paused i { animation-play-state: paused; height: 5px !important; }
.bars i:nth-child(1) { animation-delay: -.9s; } .bars i:nth-child(2) { animation-delay: -.7s; } .bars i:nth-child(3) { animation-delay: -.5s; }
.bars i:nth-child(4) { animation-delay: -.3s; } .bars i:nth-child(5) { animation-delay: -.1s; }
@keyframes bar { 0%, 100% { height: 5px; } 50% { height: 22px; } }

/* ===== STATUS BAR ===== */
.statusbar { position: absolute; top: 0; left: 0; right: 0; z-index: 90; height: 58px; padding: 19px 34px 0 40px; display: flex; justify-content: space-between; align-items: center;
             font-size: 16px; font-weight: 600; pointer-events: none; }
.statusbar .r { display: flex; gap: 6px; align-items: center; }
.statusbar svg { display: block; }

/* ===== LOCK SCREEN =====
   Buka kunci seperti iPhone: --unlock (0→1) digerakkan JS mengikuti jari / animasi.
   • wallpaper layar kunci memudar (cross-dissolve) menyingkap Home
   • isi layar kunci naik, mengecil sedikit, lalu menghilang
   • Home membesar dari ±1.15× dengan blur yang memudar */
#screen { --unlock: 0; }
#lock { z-index: 60; touch-action: none; cursor: pointer; }
#lock.is-gone { display: none; }
.lock-wall { opacity: calc(1 - var(--unlock)); }
.lock-ui { transform-origin: 50% 70%; transform: translateY(calc(var(--unlock) * -26%)) scale(calc(1 - var(--unlock) * .12)); opacity: calc(1 - var(--unlock) * 1.7); will-change: transform, opacity; }
.lock-ui > * { pointer-events: auto; }
.lock-shade { background: linear-gradient(180deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .06) 36%, rgba(0, 0, 0, .62)); }
.lock-body { display: flex; flex-direction: column; align-items: center; padding-top: 92px; }
.lk-date { font-size: 19px; font-weight: 500; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.lockclock { font-size: 104px; font-weight: 700; letter-spacing: -4px; line-height: 1; margin-top: 4px;
             background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lk-widgets { display: flex; gap: 12px; margin-top: 20px; }
.lk-widget { border-radius: 22px; width: 150px; height: 74px; padding: 10px 14px; display: flex; flex-direction: column; justify-content: space-between; }
.w-label { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .72); }
.lk-count { font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.lk-count small { font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .7); margin: 0 4px 0 1px; }
.lk-event { display: flex; flex-direction: column; font-size: 11px; color: rgba(255, 255, 255, .78); line-height: 1.3; }
.lk-event b { font-size: 16px; font-weight: 700; color: #fff; }
.lk-notif { border-radius: 24px; margin: 30px 20px 0; padding: 14px; width: calc(100% - 40px); animation: float 2.4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.notif-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.notif-ico { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #30d158, #0a84ff); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.notif-app { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .72); }
.notif-time { margin-left: auto; font-size: 12px; color: rgba(255, 255, 255, .6); }
.notif-title { font-size: 15px; font-weight: 600; }
.notif-body { font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .84); margin-top: 2px; }
.lock-bottom { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 42px; }
.circ-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; transition: transform .2s, background .2s, color .2s; }
.circ-btn:active { transform: scale(.88); }
.circ-btn.on { background: #fff; color: #000; }
.unlock-hint { text-align: center; padding-bottom: 4px; }
.unlock-hint .shimmer { font-size: 14px; font-weight: 500; }
.unlock-hint .bar { display: block; width: 136px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .9); margin: 12px auto 0; }
#torch { position: absolute; inset: 0; z-index: 70; background: radial-gradient(circle at 50% 100%, rgba(255, 255, 255, .65), rgba(255, 255, 255, 0) 70%); opacity: 0; pointer-events: none; transition: opacity .4s; }
#torch.on { opacity: 1; }

/* ===== HOME SCREEN ===== */
#home { z-index: 10; opacity: calc(var(--unlock) * 1.6); transform: scale(calc(1.16 - var(--unlock) * .16)); filter: blur(calc((1 - var(--unlock)) * 14px)); will-change: transform, opacity, filter; }
#screen.is-unlocked #home { opacity: 1; transform: none; filter: none; will-change: auto; }
#home.dim .home-content { transform: scale(.9); filter: blur(8px); opacity: .5; }
.home-veil { background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .18) 45%, rgba(0, 0, 0, .5)); }
.home-content { padding: 70px 22px 0; transition: all .5s var(--ease); }
.widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.widget { border-radius: 24px; padding: 16px; height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.w-big { font-size: 44px; font-weight: 700; line-height: 1; }
.w-sub { font-size: 12.5px; color: rgba(255, 255, 255, .72); margin-top: 3px; }
.w-foot { font-size: 13px; font-weight: 600; }
.w-venue { font-size: 16px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 12px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; transition: transform .2s var(--ease); }
.app:active { transform: scale(.88); }
.app .ico { position: relative; display: block; width: 64px; height: 64px; border-radius: 22.37%; flex: none; }
.app .ico > svg { display: block; width: 100%; height: 100%; border-radius: inherit; }
.app .lbl { font-size: 11.5px; font-weight: 500; letter-spacing: -.01em; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.cal { position: absolute; inset: 0; border-radius: inherit; color: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 1px; }
.cal-d { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: #ff3b30; line-height: 1; }
.cal-n { font-size: 36px; font-weight: 200; letter-spacing: -.03em; line-height: 1; margin-top: 1px; }
.badge { position: absolute; top: -6px; right: -6px; z-index: 2; min-width: 24px; height: 24px; border-radius: 12px; background: #ff3b30; font-size: 15px; font-weight: 500; line-height: 1;
         display: flex; align-items: center; justify-content: center; padding: 0 7px; }
.page-dots { position: absolute; left: 0; right: 0; bottom: 132px; text-align: center; }
.page-dots i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .4); margin: 0 3px; }
.page-dots i:first-child { background: #fff; }
.dock { position: absolute; left: 18px; right: 18px; bottom: 30px; height: 92px; border-radius: 34px; display: flex; align-items: center; justify-content: space-around; padding: 0 12px; }

/* ===== JENDELA APLIKASI ===== */
.appwin { z-index: 40; background: #000; border-radius: 50px; opacity: 0; transform: scale(.12); pointer-events: none;
          transition: transform .55s var(--ease), opacity .3s, border-radius .55s var(--ease), box-shadow .4s; display: flex; flex-direction: column; overflow: hidden; will-change: transform; }
.appwin.open { opacity: 1; transform: scale(1); pointer-events: auto; border-radius: 0; }
.appwin.drag { transition: none !important; }
.appwin.sw { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 60px rgba(0, 0, 0, .6); }
.app-header { position: relative; z-index: 5; padding: 74px 18px 12px; display: flex; align-items: center; justify-content: space-between;
              background: rgba(18, 18, 22, .78); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.app-header h2 { position: absolute; left: 0; right: 0; text-align: center; top: 78px; margin: 0; font-size: 17px; font-weight: 600; pointer-events: none; }
.app-header button { color: var(--ios-blue); font-size: 17px; z-index: 2; display: flex; align-items: center; gap: 2px; }
.app-header .chev { margin-left: -4px; margin-right: 3px; }
.app-header .done { font-weight: 600; }
.app-body { flex: 1; overflow-y: auto; padding: 18px 18px 110px; -webkit-overflow-scrolling: touch; user-select: text; }
#homebar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 140px; height: 20px; z-index: 120; display: flex; align-items: center; justify-content: center; cursor: pointer; touch-action: none; }
#homebar[hidden] { display: none; }
#homebar i { display: block; width: 136px; height: 5px; border-radius: 3px; background: #fff; opacity: .9; box-shadow: 0 0 6px rgba(0, 0, 0, .4); }

/* ===== APP SWITCHER ===== */
#switcher { position: absolute; left: 0; right: 0; top: 0; bottom: 34px; z-index: 80; display: none; touch-action: none; background: rgba(0, 0, 0, .3); }
#switcher.on { display: block; animation: fade .35s; }
.swlabel { position: absolute; left: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; pointer-events: none;
           transition: transform .55s var(--ease), opacity .3s; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.swlabel i { width: 26px; height: 26px; border-radius: 22.37%; display: block; overflow: hidden; }
.swlabel i svg { display: block; width: 100%; height: 100%; }
#swLabels.nt .swlabel { transition: opacity .3s; }
@keyframes fade { from { opacity: 0; } }

/* ===== KOMPONEN APLIKASI ===== */
.card { background: #1c1c1e; border-radius: 18px; padding: 16px; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack.lg { gap: 16px; } .stack.tight { gap: 10px; }
.mt { margin-top: 16px; } .mt-s { margin-top: 12px; } .mt-l { margin-top: 28px; }
.tiny-label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 8px; }
.tiny-label.red { color: #ff6259; font-weight: 600; margin-bottom: 4px; }
.tiny-foot { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .4); margin-top: 16px; }
.lead { text-align: center; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .62); margin: 0 0 18px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border-radius: 14px; font-weight: 600; font-size: 16px; transition: transform .15s, opacity .15s; }
.btn:active { transform: scale(.97); opacity: .85; }
.btn-sm { padding: 10px 12px; font-size: 14px; }
.btn-blue { background: var(--ios-blue); color: #fff; } .btn-gray { background: #2c2c2e; color: #fff; }
.row-btns { display: flex; gap: 10px; margin-top: 12px; }
.field { width: 100%; background: #1c1c1e; border: 1px solid #2c2c2e; border-radius: 12px; padding: 13px 14px; font-size: 16px; color: #fff; outline: none; font-family: inherit; user-select: text; appearance: none; -webkit-appearance: none; }
.field:focus { border-color: var(--ios-blue); box-shadow: 0 0 0 3px rgba(10, 132, 255, .25); }
.field.is-invalid { border-color: var(--ios-red); }
select.field { background-image: linear-gradient(45deg, transparent 50%, #8e8e93 50%), linear-gradient(135deg, #8e8e93 50%, transparent 50%); background-position: calc(100% - 20px) 54%, calc(100% - 15px) 54%; background-size: 5px 5px; background-repeat: no-repeat; }
.seg { display: flex; background: #1c1c1e; border-radius: 10px; padding: 2px; margin-bottom: 16px; }
.form .seg { margin-bottom: 0; }
.seg button { flex: 1; padding: 8px; border-radius: 8px; font-size: 14px; font-weight: 500; transition: all .25s; }
.seg button.on { background: #636366; }
.form { display: flex; flex-direction: column; gap: 12px; }

/* Pesan */
.msg-head { text-align: center; margin-bottom: 20px; }
.msg-avatar { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: linear-gradient(135deg, #f472b6, #a855f7); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.msg-name { font-weight: 600; margin-top: 8px; } .msg-sub { font-size: 12px; color: rgba(255, 255, 255, .5); }
.bubbles { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.4; opacity: 0; transform: translateY(12px) scale(.96); animation: pop .5s var(--ease) forwards; }
.bubble.in { background: #26262b; border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble.out { background: linear-gradient(180deg, #2b95ff, #0a84ff); border-bottom-right-radius: 6px; align-self: flex-end; }
@keyframes pop { to { opacity: 1; transform: none; } }
.msg-foot { text-align: center; font-size: 11px; color: rgba(255, 255, 255, .4); margin-top: 24px; }

/* Mempelai */
.people { display: flex; flex-direction: column; gap: 16px; }
.person { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px; }
.person img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, .15); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); background: #2c2c2e; }
.person-role { margin-top: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ios-blue); font-weight: 600; }
.person h3 { margin: 0; font-size: 24px; font-weight: 700; }
.person-full { font-size: 14px; color: rgba(255, 255, 255, .78); }
.person-parents { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .52); max-width: 280px; }
.person .btn { width: auto; padding-inline: 18px; margin-top: 10px; }

/* Kalender */
.cal-hero { text-align: center; margin-bottom: 20px; }
.cal-month { color: #ff453a; font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.cal-day { font-size: 78px; font-weight: 300; line-height: 1; }
.cal-full { color: rgba(255, 255, 255, .6); }
.event { display: flex; gap: 12px; }
.event-bar { width: 4px; border-radius: 2px; flex: none; }
.event-main { flex: 1; min-width: 0; }
.event-title { font-weight: 600; font-size: 17px; }
.event-line { display: flex; align-items: center; gap: 7px; font-size: 14px; color: rgba(255, 255, 255, .64); margin-top: 3px; }
.event-addr { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .55); margin-top: 6px; }
.count-line { font-size: 22px; font-weight: 700; }

/* Peta */
.map-box { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 14px; background: #1c1c1e; }
.map-box iframe { display: block; width: 100%; height: 240px; border: 0; filter: invert(.9) hue-rotate(180deg) contrast(.9); }
.venue-name { font-size: 19px; font-weight: 600; }

/* Foto & video */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 0 -18px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #1c1c1e; cursor: pointer; transition: opacity .2s; }
.photo-grid img:active { opacity: .7; }
.video-box { border-radius: 16px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, .1); }
.video-box video { display: block; width: 100%; max-height: 60vh; }

/* Amplop */
.bank-card { position: relative; overflow: hidden; border-radius: 20px; padding: 20px; background: linear-gradient(135deg, #0b5cab, #1e90ff); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.bank-card.alt { background: linear-gradient(135deg, #3a1c71, #d76d77); }
.bank-orb { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.bank-top { position: relative; display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.bank-top .bi { opacity: .8; font-size: 20px; }
.bank-chip { position: relative; display: block; width: 40px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #fde68a, #eab308); margin-top: 20px; }
.bank-no { position: relative; font-size: 22px; font-weight: 500; letter-spacing: 2px; margin-top: 12px; word-break: break-all; }
.bank-bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 8px; font-size: 14px; }
.pill { border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 5px; flex: none; }
.gift-title { font-weight: 600; display: flex; align-items: center; gap: 8px; }

/* RSVP & buku tamu */
.guest-card { padding: 14px; }
.guest-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.guest-row b { font-size: 15px; }
.guest-tag { font-size: 11px; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); flex: none; }
.guest-tag.hadir { background: rgba(48, 209, 88, .2); color: #6ee08c; }
.guest-msg { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .76); margin-top: 4px; word-break: break-word; }
.guest-empty { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .4); padding: 8px 0; }
.closing p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .64); }
.closing-title { font-size: 18px; font-weight: 600; }
.closing .closing-salam { font-size: 12px; color: rgba(255, 255, 255, .45); margin-top: 12px; }

/* Lightbox & toast */
#lightbox { position: absolute; inset: 0; z-index: 110; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; }
#lightbox.open { display: flex; animation: fade .3s; }
#lbImg { max-width: 100%; max-height: 100%; border-radius: 12px; }
#lbClose { position: absolute; top: 64px; right: 20px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
#toast { position: absolute; left: 50%; bottom: 110px; z-index: 130; transform: translate(-50%, 30px); opacity: 0; padding: 12px 20px; border-radius: 30px; font-size: 14px; font-weight: 500;
         transition: all .4s var(--ease); pointer-events: none; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Layar pendek (ponsel kecil / lanskap): rapatkan Lock & Home agar tetap muat */
@media (max-width: 500px) and (max-height: 700px) {
  .lockclock { font-size: 84px; }
  .lock-body { padding-top: 76px; }
  .notif-body { font-size: 13px; }
  .widget { height: 128px; padding: 14px; }
  .app-grid { gap: 16px 10px; }
  .app .ico { width: 58px; height: 58px; }
  .cal-n { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .shimmer, .lk-notif, .bars i { animation: none; }
  .bubble { animation-duration: .01s; animation-delay: 0s !important; }
}
