:root{--bg:#9cc3ea;--ink:#17365d;--paper:#fffaf0;--olive:#2c63a8;--sage:#2b4f7d;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box;margin:0}
body{min-height:100vh;background:#fff;color:var(--ink);font-family:'Gaegu','Comic Sans MS',cursive;overflow-x:hidden}
section{min-height:clamp(640px,100vh,900px);display:flex;align-items:center;justify-content:center;padding:24px}
#s1{background:#d6708e;color:#fff6ea;flex-direction:column;text-align:center;cursor:pointer;gap:0}
h1{font-family:'Lora',Georgia,serif;font-weight:400;letter-spacing:.06em;font-size:clamp(1.9rem,8vw,3.6rem);line-height:1.1}
.sub{font-family:'Caveat','Gaegu',cursive;font-style:italic;color:#ffe3ec;font-size:clamp(1.8rem,7vw,3rem);margin-top:2px}
.stage{position:relative;width:min(84vw,430px);margin-top:clamp(10px,4vh,36px)}
#env{width:100%;display:block;transform:rotate(-6deg);animation:boing 1.8s ease-in-out infinite;transform-origin:center bottom;filter:drop-shadow(0 10px 14px rgba(0,0,0,.35))}
@keyframes boing{0%{transform:rotate(-6deg) scale(1)}15%{transform:rotate(-6deg) scale(1.14,.9)}35%{transform:rotate(-6deg) scale(.92,1.1)}55%{transform:rotate(-6deg) scale(1.07,.96)}75%{transform:rotate(-6deg) scale(.98,1.02)}100%{transform:rotate(-6deg) scale(1)}}
#env.pop{animation:pop .6s ease forwards}
@keyframes pop{0%{transform:rotate(-6deg) scale(1)}40%{transform:rotate(-6deg) scale(1.3)}100%{transform:rotate(-6deg) scale(0);opacity:0}}
.hint{position:absolute;right:-2%;bottom:-62px;display:flex;align-items:flex-end;gap:6px;color:#ffe3ec;font-weight:700;font-size:clamp(1rem,4vw,1.35rem);line-height:1.15;text-align:center}
.hint svg{width:58px;height:58px;flex:0 0 auto;animation:wob 1.4s ease-in-out infinite}
@keyframes wob{50%{transform:translate(-3px,-5px)}}
#s2{display:none;flex-direction:column;gap:clamp(22px,5vw,40px);background:#67792d;color:#fff6ea;padding:48px clamp(24px,7vw,120px) 64px}
.row{max-width:none;display:flex;align-items:center;justify-content:center;gap:clamp(4px,1.5vw,20px);width:auto}
.row .rb{width:min(42vw,340px);flex:0 0 auto}
.txt{flex:0 1 auto;text-align:center}
#s2.open{display:flex}
@keyframes fl{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:none}}
@keyframes fr{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}
@keyframes fu{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.txt h2{font-family:'Gaegu',cursive;font-weight:700;letter-spacing:.04em;line-height:1;font-size:clamp(1.3rem,5.5vw,2.4rem);color:#fff;margin-bottom:0}
.txt p{font-weight:400;line-height:1.5;font-size:clamp(1.05rem,4vw,1.5rem)}
.letter{width:100%;max-width:none;color:#fff6ea;font-family:'Gaegu','Comic Sans MS',cursive;padding:0 clamp(4px,3vw,16px);line-height:1.5;font-size:clamp(1.15rem,4.4vw,1.5rem)}
.letter p{margin-bottom:1em}
.letter .sig{text-align:right;margin:1.4em 0 0}

/* ===== Section 3: botol kejutan (pink tua + hijau lumut) ===== */
#s3{display:none;flex-direction:column;text-align:center;background:#d6708e;color:#fff6ea;padding:56px 16px 64px;
  --glass:rgba(255,255,255,.28);--edge:#f6c9d6;--cork:#67792d;--accent:#67792d;--card:#fff6ea;--shadow:rgba(60,10,30,.35)}
#s3.open{display:flex}
#s3 h2{font-family:'Lora',Georgia,serif;font-weight:500;font-size:clamp(1.8rem,7vw,2.8rem);color:#fff6ea;margin-bottom:6px}
#s3 .sub3{color:#ffe3ec;max-width:34ch;line-height:1.4;font-size:clamp(1.15rem,4.4vw,1.5rem);margin-bottom:18px}
#s3 .stage3{position:relative;width:min(210px,60vw);margin:6px auto 0}
#s3 .bottle{position:relative;transform-origin:50% 90%}
#s3 .cork{width:34%;height:28px;margin:0 auto;background:var(--cork);border-radius:8px 8px 4px 4px;box-shadow:inset 0 -5px 0 rgba(0,0,0,.15);position:relative;z-index:2}
#s3 .neck{width:36%;height:46px;margin:-4px auto 0;border:3px solid var(--edge);border-bottom:0;border-radius:10px 10px 0 0;background:var(--glass)}
#s3 .body{position:relative;width:100%;aspect-ratio:210/380;margin-top:-3px;border:3px solid var(--edge);border-radius:38% 38% 14% 14%/22% 22% 8% 8%;background:var(--glass);overflow:hidden;box-shadow:0 18px 30px -12px var(--shadow),inset 12px 0 18px rgba(255,255,255,.2)}
#s3 .body::after{content:"";position:absolute;left:9%;top:12%;width:7%;height:48%;border-radius:20px;background:rgba(255,255,255,.35);pointer-events:none}
#s3 .item{position:absolute;width:42px;height:42px;border:0;border-radius:11px;padding:0;cursor:pointer;display:grid;place-items:center;background:var(--c);
  box-shadow:inset 0 3px 0 rgba(255,255,255,.45),inset 0 -5px 0 rgba(0,0,0,.14),inset 3px 0 0 rgba(255,255,255,.2),0 4px 0 rgba(0,0,0,.22);
  transition:left .22s ease,top .22s ease,transform .22s ease,opacity .3s,filter .3s}
#s3 .item:hover{transform:scale(1.15) rotate(var(--r,0deg));z-index:3}
#s3 .item:focus-visible,#s3 .btn:focus-visible,#s3 .close:focus-visible{outline:3px solid #fff6ea;outline-offset:3px}
#s3 .item svg{width:26px;height:26px;display:block;pointer-events:none}
#s3 .item.read{opacity:.5;filter:saturate(.5)}
#s3 .item.pick{animation:pick .6s ease;z-index:4}
@keyframes pick{50%{transform:scale(1.5) rotate(10deg)}}
#s3 .shaking{animation:shake .12s linear infinite}
@keyframes shake{0%{transform:translate(0,0) rotate(0)}25%{transform:translate(-9px,-4px) rotate(-6deg)}50%{transform:translate(7px,3px) rotate(5deg)}75%{transform:translate(-6px,-3px) rotate(-4deg)}100%{transform:translate(0,0) rotate(0)}}
#s3 .btn{margin-top:26px;font:inherit;font-weight:700;font-size:1.3rem;color:#fff6ea;background:var(--accent);border:0;border-radius:999px;padding:12px 30px;cursor:pointer;box-shadow:0 5px 0 rgba(0,0,0,.22)}
#s3 .btn:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(0,0,0,.22)}
#s3 .btn:disabled{opacity:.6;cursor:wait}
#s3 .count{margin-top:14px;color:#ffe3ec;font-size:1.15rem}
#s3 .overlay{position:fixed;inset:0;background:rgba(50,15,30,.55);display:none;align-items:center;justify-content:center;padding:20px;z-index:10}
#s3 .overlay.open{display:flex}
#s3 .modal{background:var(--card);color:#3f4c18;width:min(380px,100%);border-radius:22px;padding:30px 26px 26px;box-shadow:0 24px 60px var(--shadow);position:relative;animation:rise .3s ease}
@keyframes rise{from{transform:translateY(24px) scale(.94);opacity:0}}
#s3 .modal .emoji{width:64px;height:64px;border-radius:18px;background:var(--c);display:grid;place-items:center;margin:0 auto 14px;box-shadow:inset 0 3px 0 rgba(255,255,255,.45),inset 0 -5px 0 rgba(0,0,0,.14),0 4px 0 rgba(0,0,0,.2)}
#s3 .modal .emoji svg{width:44px;height:44px}
#s3 .modal h3{font-family:'Lora',Georgia,serif;font-weight:500;margin-bottom:10px;font-size:1.5rem;color:#67792d}
#s3 .modal p{margin-bottom:20px;line-height:1.5;color:#55603a;font-size:1.3rem}
#s3 .modal .btn{margin-top:0}
#s3 .close{position:absolute;top:10px;right:12px;border:0;background:none;font-size:26px;color:#a8456a;cursor:pointer;line-height:1}
@media (prefers-reduced-motion:reduce){#s3 .shaking,#s3 .item.pick,#s3 .modal{animation:none}#s3 .item{transition:none}}

/* ===== Responsive ===== */
/* HP kecil (target 360px) */
@media (max-width:480px){
  section{min-height:600px;padding:20px}
  h1{font-size:clamp(1.5rem,7.6vw,2.2rem)}
  .sub{font-size:clamp(1.5rem,7vw,2rem)}
  .stage{width:76vw;margin-top:10px;margin-bottom:56px}
  .hint{bottom:-54px;font-size:1rem}
  .hint svg{width:44px;height:44px}
  #s2{padding:36px 18px 48px;gap:24px}
  .row{gap:10px}
  .row .rb{width:36vw}
  .txt h2{font-size:clamp(1.15rem,6.2vw,1.6rem)}
  .letter{font-size:1.05rem;line-height:1.55;padding:0}
  #s3{padding:44px 16px 52px}
  #s3 h2{font-size:clamp(1.4rem,7vw,1.8rem)}
  #s3 .sub3{font-size:1.05rem;margin-bottom:14px}
  #s3 .btn{font-size:1.15rem;padding:10px 26px;margin-top:22px}
  #s3 .count{font-size:1rem}
  #s3 .modal{padding:26px 20px 22px}
  #s3 .modal h3{font-size:1.35rem}
  #s3 .modal p{font-size:1.15rem}
}
/* Tablet (target 768px) */
@media (min-width:481px) and (max-width:1023px){
  .stage{width:min(62vw,430px)}
  #s2{padding:56px 48px 64px}
  .row .rb{width:min(36vw,300px)}
  .txt h2{font-size:clamp(1.8rem,5vw,2.6rem)}
  .letter{max-width:720px;margin:0 auto;font-size:1.3rem}
}
/* Desktop (target 1024px ke atas) */
@media (min-width:1024px){
  .stage{width:min(40vw,430px)}
  #s2{padding:72px 120px 80px}
  .row .rb{width:340px}
  .txt h2{font-size:clamp(2.2rem,3.6vw,3rem)}
  .letter{max-width:820px;margin:0 auto;font-size:1.5rem}
}

/* ===== Efek muncul (fade) + typewriter + drip antar section ===== */
body{--dh:max(140px,9.72vw)}
.js .fx{opacity:0;transform:translateY(24px);transition:opacity .9s ease var(--d,0s),transform .9s ease var(--d,0s)}
.js .fx-l{transform:translateX(-60px)}
.js .fx-r{transform:translateX(60px)}
.js .fx.in{opacity:1;transform:none}
.js .w{opacity:0;transition:opacity .3s ease}
.js .w.on{opacity:1}
#s2,#s3,#s4{position:relative}
.drip{position:absolute;top:-1px;left:0;right:0;height:var(--dh);overflow:hidden;pointer-events:none}
.drip svg{display:block;width:100%;height:100%}
.js .drip svg{transform:scaleY(.15);transform-origin:top;transition:transform 1.6s cubic-bezier(.25,1.35,.5,1)}
.js .drip.in svg{transform:none}
#s2,#s3,#s4{padding-top:calc(var(--dh) + 16px)}
@media (prefers-reduced-motion:reduce){.js .fx,.js .w,.js .drip svg{transition:none;opacity:1;transform:none}}

/* ===== Pemutar musik (kiri bawah) ===== */
.player{position:fixed;left:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:5;display:flex;align-items:center;gap:12px;
  padding:8px 10px 8px 8px;border-radius:999px;background:#2c3813;border:1px solid rgba(255,246,234,.22);
  box-shadow:0 8px 22px rgba(0,0,0,.3);color:#fff6ea;font-family:'Gaegu','Comic Sans MS',cursive}
.player .disc{width:44px;height:44px;flex:0 0 auto;border-radius:50%;
  background:radial-gradient(circle,#f4a7bd 0 9%,#d6708e 10% 21%,#15150f 22% 100%);
  box-shadow:inset 0 0 0 3px #232b0f,0 0 0 1px rgba(255,246,234,.18);animation:spin 4s linear infinite;animation-play-state:paused}
.player.playing .disc{animation-play-state:running}
@keyframes spin{to{transform:rotate(360deg)}}
.player .meta{min-width:62px;line-height:1.05}
.player .ttl{font-weight:700;font-size:1.2rem}
.player .art{font-size:.95rem;color:#f4a7bd;letter-spacing:.05em}
.player .eq{display:flex;align-items:flex-end;gap:3px;height:22px}
.player .eq i{display:block;width:4px;height:8px;border-radius:2px;background:#f4a7bd;animation:eq .9s ease-in-out infinite alternate;animation-play-state:paused}
.player .eq i:nth-child(2){height:14px;animation-delay:-.3s}
.player .eq i:nth-child(3){height:10px;animation-delay:-.6s}
.player .eq i:nth-child(4){height:6px;animation-delay:-.15s}
.player.playing .eq i{animation-play-state:running}
@keyframes eq{from{transform:scaleY(.45);transform-origin:bottom}to{transform:scaleY(1.5);transform-origin:bottom}}
.player .pbtn{width:40px;height:40px;flex:0 0 auto;border:0;border-radius:50%;background:#f4a7bd;display:grid;place-items:center;cursor:pointer;padding:0}
.player .pbtn:focus-visible{outline:3px solid #fff6ea;outline-offset:2px}
.player .pbtn svg{width:20px;height:20px;fill:#2c3813}
.player .i-play{display:block}.player .i-pause{display:none}
.player.playing .i-play{display:none}.player.playing .i-pause{display:block}
@media (max-width:480px){
  .player{left:10px;gap:8px;padding:6px 8px 6px 6px}
  .player .disc{width:36px;height:36px}
  .player .meta{min-width:46px}
  .player .ttl{font-size:1.05rem}.player .art{font-size:.85rem}
  .player .pbtn{width:34px;height:34px}.player .pbtn svg{width:17px;height:17px}
}
@media (prefers-reduced-motion:reduce){.player .disc,.player .eq i{animation:none}}

/* Pemutar: muncul sendiri saat halaman dibuka (tidak lewat observer fade) */
.player{animation:playerIn .8s ease .5s both}
@keyframes playerIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.player{animation:none}}

/* ===== Bagian akhir: bingkai pita untuk video (#s4) ===== */
#s4{display:none;flex-direction:column;align-items:center;justify-content:center;background:#67792d;color:#fff6ea;padding-bottom:120px}
#s4.open{display:flex}
.js .seq{opacity:0;transition:opacity .9s ease var(--d,0s)}
.js .seq.in{opacity:1}
.tv-caption{width:100%;text-align:center;margin:0 auto 22px;display:flex;flex-direction:column;gap:8px;align-items:center}
.tv-caption p{font-family:'Gaegu','Comic Sans MS',cursive;font-size:clamp(1.3rem,5vw,2rem);line-height:1.2;color:#fff6ea;max-width:30ch}

/* Bingkai pita: garis + simpul pita di pojok kanan atas dan kiri bawah.
   Margin = setengah ukuran pita, jadi pita tidak pernah keluar/terpotong. */
.rb{--b:clamp(52px,9vw,92px);--line:#f4a7bd;position:relative;margin:calc(var(--b)/2);padding:clamp(8px,1.6vw,14px);border:5px solid var(--line);border-radius:4px;color:var(--line)}
.rb .bow{position:absolute;width:var(--b);height:var(--b);z-index:2;pointer-events:none;overflow:visible}
.rb .bow-tr{top:calc(var(--b)/-2 - 1px);right:calc(var(--b)/-2 - 1px)}
.rb .bow-bl{bottom:calc(var(--b)/-2 - 1px);left:calc(var(--b)/-2 - 1px);transform:rotate(180deg)}
.rb.photo img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
.rb.vid{width:min(calc(100% - var(--b)),1200px,calc((100svh - 300px)*1.78))}
.tv-screen{position:relative;width:100%;aspect-ratio:16/9;background:#2c3813;display:grid;place-items:center;overflow:hidden}
.tv-screen iframe,.tv-screen video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000;object-fit:cover}
.tv-play{position:relative;width:clamp(56px,9vw,88px);aspect-ratio:1;border:0;border-radius:50%;background:#d6708e;display:grid;place-items:center;cursor:pointer;padding:0;animation:tvPulse 1.8s ease-out infinite}
.tv-play svg{width:45%;height:45%;fill:#fff6ea;margin-left:6%}
.tv-play:focus-visible,.tv-full:focus-visible{outline:3px solid #fff6ea;outline-offset:3px}
.tv-full{position:absolute;top:8px;right:8px;z-index:3;width:38px;height:38px;border:0;border-radius:10px;background:rgba(44,56,19,.72);color:#fff6ea;display:grid;place-items:center;cursor:pointer;padding:0}
.tv-full svg{width:20px;height:20px}
.tv-screen:fullscreen{aspect-ratio:auto;width:100%;height:100%;background:#000}
.tv-screen:-webkit-full-screen{aspect-ratio:auto;width:100%;height:100%;background:#000}
.tv-screen:fullscreen video{object-fit:contain}
.tv-screen:-webkit-full-screen video{object-fit:contain}
@keyframes tvPulse{0%{box-shadow:0 0 0 0 rgba(214,112,142,.65)}100%{box-shadow:0 0 0 18px rgba(214,112,142,0)}}
@media (prefers-reduced-motion:reduce){.js .seq{transition:none;opacity:1}.tv-play{animation:none}}

/* ===== Botol: pendek, muat satu layar dari judul sampai tombol Shake ===== */
#s3{--bw:clamp(120px,22svh,200px);min-height:100vh;min-height:100svh;padding-bottom:36px}
#s3 .stage3{width:var(--bw);margin-top:2px}
#s3 .neck{height:calc(var(--bw)*.2)}
#s3 .cork{height:calc(var(--bw)*.12)}
#s3 .body{aspect-ratio:210/290}
#s3 .item{width:calc(var(--bw)*.23);height:calc(var(--bw)*.23);min-width:26px;min-height:26px;border-radius:9px}
#s3 .item svg{width:64%;height:64%}
#s3 h2{margin-bottom:2px}
#s3 .sub3{margin-bottom:10px}
#s3 .btn{margin-top:18px}
#s3 .count{margin-top:10px}
@media (max-width:480px){#s3{--dh:104px;padding-bottom:28px}}

/* ===== Garis gelombang kedua (double line) ===== */
.rb .wave{position:absolute;pointer-events:none;overflow:visible;z-index:1}
.rb .wave path{fill:none;stroke:var(--line);stroke-width:5;stroke-linejoin:round;stroke-linecap:round}

/* ===== Header di atas video (ikut fade seperti header lain) ===== */
#s4 h2{font-family:'Lora',Georgia,serif;font-weight:500;font-size:clamp(1.8rem,7vw,2.8rem);color:#fff6ea;text-align:center;max-width:24ch;line-height:1.2;margin-bottom:26px}
@media (max-width:480px){#s4 h2{font-size:clamp(1.4rem,7vw,1.8rem)}}

/* ===== Mobile: foto di atas, tulisan di bawahnya ===== */
@media (max-width:600px){
  .row{flex-direction:column;gap:14px}
  .row .rb{width:62vw}
  .txt h2{font-size:clamp(1.4rem,7.4vw,1.9rem)}
}

/* ===== Revisi: spasi baris, bottle lebih tinggi, foto mantul ===== */
.txt h2{line-height:1.3}
#s4 h2{line-height:1.5}
#s3{--bw:clamp(108px,19svh,190px)}
#s3 .body{aspect-ratio:210/350}
#s3 .sub3{max-width:46ch}
.rb.photo{transform-origin:50% 100%}

/* ============================================================
   REVISI: tiap section = 1 layar penuh di HP, tablet, laptop
   ============================================================ */
html{scroll-snap-type:y proximity}
section,.pg{scroll-snap-align:start}
#s1,#s2,#s3,#s4{--dh:max(clamp(88px,11svh,150px),9.72vw)} /* 9.72vw = tinggi asli eskrim di layar lebar, supaya tidak terpotong */
section{min-height:100vh;min-height:100svh;padding:24px}

/* Section 2 = dua halaman penuh: (1) foto + judul, (2) surat */
#s2{display:none;padding:0;gap:0;min-height:0}
#s2.open{display:block}
.pg{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:clamp(16px,3svh,36px);padding:48px clamp(20px,6vw,120px)}
.pg1{padding-top:calc(var(--dh) + 16px)}
.pg2{padding-top:56px;padding-bottom:110px} /* bawah dikosongkan untuk pemutar musik */
/* Tablet & desktop: surat sedikit lebih naik (ubah 12svh untuk atur seberapa naik) */
@media (min-width:481px){.pg2{padding-bottom:calc(110px + 12svh)}}

.row{flex-direction:row;width:100%;justify-content:center;gap:clamp(20px,5vw,80px)}
.row .rb{width:min(40vw,420px,50svh)}
.txt{max-width:min(46vw,560px)}

/* Layar potret (HP & tablet berdiri): foto di atas, judul di bawah, ukuran mengikuti tinggi layar */
@media (orientation:portrait){
  .row{flex-direction:column;gap:clamp(12px,2.5svh,28px)}
  .row .rb{width:min(66vw,36svh)}
  .txt{max-width:100%}
}

/* Surat: font lebih besar */
.letter{max-width:860px;margin:0 auto;padding:0;line-height:1.5;font-size:1.2rem}
@media (min-width:481px){.letter{font-size:clamp(1.45rem,2.6vw,1.75rem)}}

/* Judul ulang tahun */
.txt .hb{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;
  letter-spacing:0;line-height:1;padding:.5rem 1.6rem}
.hb::before,.hb::after{content:"";position:absolute;background:center/contain no-repeat;pointer-events:none}
.hb::before{top:0;right:0;width:1.7rem;height:1.7rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.6 8.4L23 12l-8.4 2.6L12 23l-2.6-8.4L1 12l8.4-2.6z' fill='%23f4a7bd'/%3E%3C/svg%3E")}
.hb::after{bottom:.6rem;left:0;width:1.2rem;height:1.2rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.6 8.4L23 12l-8.4 2.6L12 23l-2.6-8.4L1 12l8.4-2.6z' fill='%23fff6ea'/%3E%3C/svg%3E")}
.hb-a{font-family:'Caveat','Gaegu',cursive;font-weight:500;font-size:clamp(2.2rem,9vw,3.6rem);color:#f4a7bd;transform:rotate(-4deg);margin-bottom:-.15em}
.hb-b{font-family:'Lora',Georgia,serif;font-weight:500;font-size:clamp(4.4rem,26vw,8rem);line-height:.95;color:#fff6ea;
  padding:0 .14em;text-shadow:0 3px 0 rgba(63,76,24,.35);
  background:linear-gradient(to top,transparent 8%,#d6708e 8% 42%,transparent 42%)}
.hb-c{font-weight:700;font-size:clamp(1.3rem,6vw,2.2rem);letter-spacing:.16em;color:#fff6ea;margin-top:.3em}
.hb-d{font-weight:700;font-size:clamp(1.9rem,8.6vw,3.3rem);letter-spacing:.04em;color:#f4a7bd;margin-top:.1em}
.hb-e{font-size:.8em;margin-left:.15em}

/* Foto: memantul hanya saat disentuh */
.rb.photo{cursor:pointer;-webkit-tap-highlight-color:transparent}
.rb.photo:focus-visible{outline:3px solid #fff6ea;outline-offset:6px}
.rb.photo.bounce{animation:tuing .95s ease-out 1}
@keyframes tuing{0%{transform:translateY(0) scale(1,1)}
  16%{transform:translateY(0) scale(1.07,.9)}
  42%{transform:translateY(-28px) scale(.96,1.05)}
  66%{transform:translateY(0) scale(1.04,.96)}
  82%{transform:translateY(-7px) scale(1,1)}
  100%{transform:translateY(0) scale(1,1)}}
@media (prefers-reduced-motion:reduce){.rb.photo.bounce{animation:none}}

/* Botol: tinggi mengikuti layar, jadi tidak kecil di layar besar */
#s3{--bw:clamp(110px,calc((100svh - 340px)/2),240px);justify-content:center;padding-bottom:36px}

/* Bintang di belakang bagian video (posisi: left/top di index.html, ukuran: --s) */
#s4 .stars{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
#s4 .stars i{position:absolute;width:var(--s,20px);height:var(--s,20px);background:center/contain no-repeat;animation:twinkle 3.2s ease-in-out infinite;animation-delay:var(--t,0s)}
#s4 .stars .p{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.6 8.4L23 12l-8.4 2.6L12 23l-2.6-8.4L1 12l8.4-2.6z' fill='%23f4a7bd'/%3E%3C/svg%3E")}
#s4 .stars .c{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.6 8.4L23 12l-8.4 2.6L12 23l-2.6-8.4L1 12l8.4-2.6z' fill='%23fff6ea'/%3E%3C/svg%3E")}
@keyframes twinkle{50%{transform:scale(.6) rotate(18deg);opacity:.55}}
#s4 h2,#s4 .rb.vid{position:relative;z-index:1}
@media (prefers-reduced-motion:reduce){#s4 .stars i{animation:none}}

/* Desktop: botol menyesuaikan tinggi eskrim yang sekarang penuh */
@media (min-width:1024px){#s3{--bw:clamp(110px,calc((100svh - 280px - var(--dh))/2),240px)}}

/* Pemutar: tombol kecilkan + mode mini (hanya piringan hitam) */
.player .pmin{width:28px;height:28px;flex:0 0 auto;border:0;border-radius:50%;background:rgba(255,246,234,.14);display:grid;place-items:center;cursor:pointer;padding:0}
.player .pmin svg{width:16px;height:16px;fill:none;stroke:#fff6ea;stroke-width:2.6;stroke-linecap:round}
.player .pmin:focus-visible,.player .disc:focus-visible{outline:3px solid #fff6ea;outline-offset:2px}
.player.mini{padding:6px;gap:0}
.player.mini .meta,.player.mini .eq,.player.mini .pbtn,.player.mini .pmin{display:none}
.player.mini .disc{cursor:pointer}
@media (max-width:480px){.player .pmin{width:26px;height:26px}.player.mini{padding:5px}}

/* Partikel saat amplop disentuh */
.burst{position:fixed;inset:0;pointer-events:none;z-index:30;overflow:hidden}
.bp{position:absolute;display:block;will-change:transform,opacity}
.bp svg{width:100%;height:100%;display:block;overflow:visible}
