/* Player album (vanilla). Tema Kenangan: halaman buku kertas krem, aksen emas dan sage.
   Ucapan: kertas krem kemerahan yang cerah, aksen rose dan emas, bunga merah muda. */
:root {
  --latar: #f6f3ee;
  --bg: #f3eee3;
  --permukaan: #f8f4eb;
  --teks: #3d372f;
  --redup: #786d5e;
  --garis: #e3d8c3;
  --aksen: #8a6a35;
  --aksen-teks: #ffffff;
  --emas: #b48d4f;
  --emas-lembut: rgb(180 141 79 / 45%);
  --sage: #aab59f;
  --tepi-kertas: #fbf8f0;
  --bahaya: #b3261e;
  --bayang: 0 2px 4px rgb(60 45 20 / 8%), 0 10px 26px rgb(60 45 20 / 14%);
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  /* Serat kertas: noise fraktal sangat samar + cahaya hangat. */
  --tekstur:
    radial-gradient(120% 80% at 20% 10%, rgb(255 253 246 / 70%), transparent 60%),
    radial-gradient(90% 70% at 90% 100%, rgb(226 214 190 / 45%), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.28 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.tema-ucapan {
  --latar: #fbf5f1;
  --bg: #fbefe9;
  --permukaan: #fffaf6;
  --teks: #42302c;
  --redup: #7f645e;
  --garis: #efd8cf;
  --aksen: #b3475d;
  --aksen-teks: #ffffff;
  --emas: #c4955a;
  --emas-lembut: rgb(196 149 90 / 45%);
  --sage: #eab7b2;
  --tepi-kertas: #fffaf6;
  --tekstur:
    radial-gradient(120% 80% at 20% 10%, rgb(255 250 246 / 75%), transparent 60%),
    radial-gradient(90% 70% at 90% 100%, rgb(240 196 186 / 40%), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Ucapan: bunga merah muda, goresan rose, tombol buka berwarna rose. */
body.tema-ucapan .kelopak-terang { stop-color: #fff4f2; }
body.tema-ucapan .kelopak-tua { stop-color: #f0aeb0; }
body.tema-ucapan .kelopak { stroke: #e39a9f; }
body.tema-ucapan .hiasan .tulisan path { stroke: rgb(179 71 93 / 35%); }
body.tema-ucapan .buka { background: var(--aksen); color: #fff; }

/* Panduan: kertas krem yang lebih netral seperti buku catatan, aksen hijau tua. */
body.tema-panduan {
  --latar: #f4f3ee;
  --bg: #f1efe6;
  --permukaan: #faf9f4;
  --teks: #2f3630;
  --redup: #66705f;
  --garis: #d9ddcf;
  --aksen: #3f6b55;
  --aksen-teks: #ffffff;
  --sage: #b9c7b4;
}
body.tema-panduan .hiasan .tulisan path { stroke: rgb(63 107 85 / 35%); }
body.tema-panduan .buka { background: var(--aksen); color: #fff; }

body {
  background: var(--bg) var(--tekstur);
  color: var(--teks);
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; }
.memuat { padding: 30vh 16px; text-align: center; color: var(--redup); }
.redup { color: var(--redup); }
.kecil { font-size: 0.95rem; }
.kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aksen);
}

.kulit {
  max-width: 560px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: max(12px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom));
}

.bilah-pratinjau {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -16px 12px;
  padding: 8px 16px;
  background: #fff3c4;
  color: #5c4500;
  font-size: 0.95rem;
}
.bilah-pratinjau a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-weight: 700;
}

/* ---------- sampul ---------- */
.kulit-sampul { padding: 10px 10px max(10px, env(safe-area-inset-bottom)); }
body:has(.kulit-sampul) { background: var(--latar); }
.halaman-buku {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 1;
  border-radius: 6px;
  background: var(--bg) var(--tekstur);
  box-shadow: 0 1px 2px rgb(60 45 20 / 8%), 0 12px 32px rgb(60 45 20 / 12%);
}
.halaman-buku > :not(.hiasan) { position: relative; z-index: 1; }
.sampul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 22px 92px;
}
/* Bingkai mat krem + garis emas tipis; foto tampil utuh sesuai rasio aslinya. */
.bingkai {
  position: relative;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid var(--garis);
  background: var(--permukaan);
  box-shadow: var(--bayang);
}
.bingkai::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid var(--emas-lembut);
  pointer-events: none;
}
.foto-sampul {
  display: block;
  max-width: 100%;
  max-height: 50vh;
  max-height: 50dvh;
  width: auto;
  height: auto;
  margin: 0 auto;
}
.bingkai.kosong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(70%, 260px);
  aspect-ratio: 3 / 4;
  font-size: 3rem;
}
.judul-buku {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.untuk {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--redup);
}
/* Garis emas dengan belah ketupat di tengah. */
.ornamen {
  width: min(62%, 260px);
  height: 16px;
  margin: 12px auto 18px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='16' viewBox='0 0 18 16'%3E%3Cpath d='M9 1 L13.5 8 L9 15 L4.5 8 Z' fill='none' stroke='%23b48d4f' stroke-width='1'/%3E%3Cpath d='M9 5 L11 8 L9 11 L7 8 Z' fill='%23b48d4f'/%3E%3Ccircle cx='1.5' cy='8' r='1' fill='%23b48d4f'/%3E%3Ccircle cx='16.5' cy='8' r='1' fill='%23b48d4f'/%3E%3C/svg%3E") center / 18px 16px no-repeat,
    linear-gradient(var(--emas-lembut), var(--emas-lembut)) left center / calc(50% - 16px) 1px no-repeat,
    linear-gradient(var(--emas-lembut), var(--emas-lembut)) right center / calc(50% - 16px) 1px no-repeat;
}
.buka {
  width: min(100%, 300px);
  min-height: 56px;
  margin-bottom: 12px;
  padding: 0 32px;
  border: 1px solid var(--emas);
  border-radius: 999px;
  background: var(--teks);
  color: var(--bg);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 500;
}
.sampul .kecil { margin: 0; }

/* ---------- hiasan halaman sampul ---------- */
.hiasan { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hiasan svg { position: absolute; }
.sobek { filter: drop-shadow(-1px 1px 1.5px rgb(60 45 20 / 18%)); }
.sobek-atas { top: 0; right: 0; width: 34%; height: min(30%, 360px); }
.sobek-bawah { bottom: 0; left: 0; width: 32%; height: min(22%, 280px); }
.hiasan .sage { fill: var(--sage); }
.hiasan .tepi {
  fill: none;
  stroke: var(--tepi-kertas);
  stroke-width: 3.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.hiasan .tulisan path {
  fill: none;
  stroke: rgb(70 80 62 / 35%);
  stroke-width: 0.9;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hiasan .emas { fill: #c9a24b; opacity: 0.85; }
.daun-emas { top: -6px; right: calc(34% * 0.78 - 18px); width: 34px; height: auto; transform: rotate(-10deg); }
.ranting { width: min(34%, 170px); height: auto; filter: drop-shadow(0 1px 1px rgb(60 45 20 / 12%)); }
.ranting-atas { top: -12px; left: -18px; transform: scaleY(-1) rotate(-24deg); }
.ranting-bawah { right: -18px; bottom: -12px; transform: rotate(180deg) scaleY(-1) rotate(-24deg); }
.hiasan .batang { fill: none; stroke: #7d8a70; stroke-width: 1.4; stroke-linecap: round; }
.hiasan .kuncup { fill: #f3ecdc; stroke: #cbbd9f; stroke-width: 0.6; }
@media (min-width: 481px) {
  .sampul { padding: 56px 40px 88px; }
  .foto-sampul { max-height: 58vh; max-height: 58dvh; }
  .bingkai { padding: 18px; }
  .bingkai::after { inset: 10px; }
  .ranting { width: min(42%, 210px); }
}

/* ---------- card ---------- */
.atas { display: flex; align-items: center; gap: 12px; padding: 4px 0 10px; }
.judul-kecil {
  flex: 1;
  min-width: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: var(--redup);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tombol-ikon.tombol-musik { min-width: 44px; font-size: 1.05rem; }
.tombol-ikon.tombol-musik.mati { color: var(--redup); }
.panel-musik { display: grid; gap: 14px; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
.panel-musik p { margin: 0; }
.angka-vol { font-weight: 700; color: var(--teks); font-variant-numeric: tabular-nums; }
.baris-vol { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
/* Penggeser besar supaya mudah digeser di HP. */
.geser-vol { flex: 1; height: 44px; margin: 0; accent-color: var(--aksen); cursor: pointer; }
.geser-vol::-webkit-slider-thumb { width: 28px; height: 28px; }
.tombol-ikon {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--garis);
  border-radius: 999px;
  background: var(--permukaan);
  font-size: 0.95rem;
  white-space: nowrap;
}
.kemajuan { height: 4px; margin-bottom: 14px; border-radius: 4px; background: var(--garis); overflow: hidden; }
.kemajuan > span { display: block; height: 100%; background: var(--aksen); transition: width 0.3s ease; }

.panggung { flex: 1; display: flex; }
.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--permukaan);
  box-shadow: var(--bayang);
  animation: masuk 0.25s ease;
}
@keyframes masuk { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.caption { margin: 0; font-size: 1.15rem; line-height: 1.6; white-space: pre-line; }
.cerita { display: grid; gap: 8px; }
.cerita .caption { animation: masuk 0.2s ease; }
.buka-cerita {
  justify-self: start;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--emas-lembut);
  border-radius: 999px;
  background: transparent;
  color: var(--teks);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 600;
}

/* ---------- perbesar foto lanskap ---------- */
.wadah-foto { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; }
.wadah-foto.lanskap .foto { cursor: zoom-in; }
.perbesar {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: rgb(20 16 12 / 55%);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.perbesar[hidden] { display: none; }

/* ---------- beberapa foto per card ---------- */
.layar-card .foto { transition: opacity 0.18s ease; }
.layar-card .foto.pudar { opacity: 0; }
.titik-foto { display: flex; justify-content: center; margin-bottom: -6px; }
.titik-foto .titik {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
}
.titik-foto .titik::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(255 255 255 / 45%);
  box-shadow: 0 1px 3px rgb(0 0 0 / 40%);
  transition: width 0.2s ease, background 0.2s ease;
}
.titik-foto .titik[aria-current='true']::before { width: 20px; border-radius: 4px; background: #e4c77e; }

.layar-foto {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  animation: muncul 0.2s ease;
}
@keyframes muncul { from { opacity: 0; } }
.layar-foto img { max-width: 100vw; max-height: 100vh; max-height: 100dvh; object-fit: contain; }
.tutup-foto {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 18%);
  color: #fff;
  font-size: 1.3rem;
}
.saran-putar {
  position: absolute;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  margin: 0;
  color: rgb(255 255 255 / 75%);
  font-size: 0.95rem;
  text-align: center;
}
@media (orientation: landscape) { .saran-putar { display: none; } }

/* ---------- penutup ---------- */
.penutup { text-align: center; justify-content: center; }
.penutup h2 { margin: 0; font-family: var(--serif); font-size: 1.9rem; font-style: italic; font-weight: 500; line-height: 1.2; }
.penutup > p { margin: 0; color: var(--redup); }
.buatan {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px 16px;
  border: 1px solid var(--garis);
  border-radius: 14px;
  background: var(--bg);
}
.buatan p { margin: 0; color: var(--redup); }
.buatan .merek { color: var(--aksen); font-weight: 700; }
.simpan-album {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--emas-lembut);
  border-radius: 14px;
  text-align: left;
}
.simpan-album img { flex: none; border-radius: 10px; }
.simpan-album > div { display: grid; gap: 6px; flex: 1; }
.simpan-album p { margin: 0; }
.judul-simpan { font-family: var(--serif); font-size: 1.3rem; font-style: italic; font-weight: 600; }

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--aksen);
  color: var(--aksen-teks);
  font-weight: 700;
  text-decoration: none;
}
.cta.sekunder { background: transparent; color: var(--teks); border: 1.5px solid var(--garis); font-weight: 600; }
.cta:disabled { opacity: 0.6; }

/* ---------- daftar cerita ---------- */
.lapis {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgb(0 0 0 / 45%);
}
.lembar {
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  overflow: auto;
  padding: 12px 16px 28px;
  border-radius: 20px 20px 0 0;
  background: var(--permukaan);
}
.lembar h2 { flex: 1; margin: 0; font-family: var(--serif); font-size: 1.6rem; font-style: italic; font-weight: 600; }
.item-daftar {
  display: flex;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid var(--garis);
  background: none;
  text-align: left;
}
.item-daftar .no { min-width: 28px; color: var(--redup); font-variant-numeric: tabular-nums; }

/* ---------- kode masuk ----------
   Tampil di halaman buku yang sama dengan sampul (.halaman-buku.sampul + hiasan). */
.gerbang {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 340px);
  margin: 0 auto;
  text-align: center;
}
.gerbang .kicker { margin-bottom: 14px; color: var(--emas); letter-spacing: 0.22em; font-size: 0.78rem; }
.gerbang .judul-buku { font-size: 2.4rem; }
.gerbang .ornamen { margin: 14px auto 22px; }
.gerbang label {
  max-width: 30ch;
  margin-bottom: 18px;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--redup);
}
.gerbang input {
  width: 100%;
  min-height: 54px;
  padding: 10px 16px;
  border: 1px solid var(--emas-lembut);
  border-radius: 999px;
  background: rgb(255 253 246 / 72%);
  box-shadow: inset 0 1px 2px rgb(60 45 20 / 8%);
  color: var(--teks);
  font: inherit;
  font-size: 1.3rem;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gerbang input::placeholder {
  color: var(--redup);
  opacity: 0.6;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: none;
}
.gerbang input:focus {
  outline: none;
  border-color: var(--emas);
  box-shadow: inset 0 1px 2px rgb(60 45 20 / 8%), 0 0 0 3px rgb(180 141 79 / 22%);
}
.gerbang .salah { margin: 10px 0 6px; font-size: 0.95rem; }
.gerbang .buka { margin: 0; }
.gerbang .buka:disabled { opacity: 0.6; }
.salah { min-height: 1.6em; margin: 0; color: var(--bahaya); }

/* ---------- halaman card: layar penuh, kendali mengambang ---------- */
.layar-card {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #14110e;
  color: #fff;
  animation: muncul 0.25s ease;
}
/* Latar = versi buram foto itu sendiri, mengisi sisa ruang di sekitar foto utuh. */
.latar-buram {
  position: absolute;
  inset: -48px;
  background: center / cover no-repeat;
  filter: blur(28px) brightness(0.55) saturate(1.1);
}
/* Foto ditaruh di antara bilah atas (±64px) dan kendali bawah (±190px) bila muat.
   Foto yang lebih tinggi memakai ruang atas lebih dulu (shrink 1000), baru ruang bawah. */
.panggung-foto { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.panggung-foto::before { content: ''; flex: 0 1000 64px; min-height: 0; }
.panggung-foto::after { content: ''; flex: 0 1 190px; min-height: 0; }
.panggung-foto > * { flex: none; }
.layar-card .wadah-foto { margin: 0; }
.layar-card .foto {
  display: block;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  box-shadow: 0 12px 40px rgb(0 0 0 / 35%);
}
.tanpa-foto {
  max-width: 480px;
  margin: 0 20px;
  padding: 22px 20px;
  border-radius: 16px;
  background: rgb(251 248 241 / 95%);
  color: #3d372f;
  font-size: 1.2rem;
  text-align: center;
}
.tanpa-foto p { margin: 0; }

.atas-apung {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: max(8px, env(safe-area-inset-top)) 12px 22px;
  background: linear-gradient(rgb(0 0 0 / 60%), transparent);
}
.atas-apung .bilah-pratinjau { margin: -8px -12px 8px; }
.kemajuan-tipis { height: 3px; margin: 2px 0 8px; border-radius: 3px; background: rgb(255 255 255 / 25%); overflow: hidden; }
.kemajuan-tipis > span { display: block; height: 100%; background: #e4c77e; transition: width 0.3s ease; }
.baris-atas { display: flex; align-items: center; gap: 8px; }
.judul-apung {
  flex: 1;
  min-width: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
}
.atas-apung .tombol-ikon {
  border-color: rgb(255 255 255 / 30%);
  background: rgb(0 0 0 / 35%);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.atas-apung .tombol-ikon.mati { color: rgb(255 255 255 / 60%); }

.bawah-apung {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 36px 16px max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgb(0 0 0 / 70%));
}
.bawah-apung .cerita { width: 100%; max-width: 560px; justify-items: center; }
.bawah-apung .buka-cerita {
  justify-self: center;
  border-color: rgb(255 255 255 / 45%);
  background: rgb(0 0 0 / 35%);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.bawah-apung .caption {
  width: 100%;
  max-height: 34vh;
  overflow: auto;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgb(251 248 241 / 96%);
  color: #3d372f;
}
.kendali { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 420px; }
.nav-apung {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0 0 4px;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  background: rgb(0 0 0 / 35%);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.putar-wadah { display: grid; justify-items: center; gap: 4px; min-width: 140px; }
.putar-apung {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: #f3eee3;
  color: #3d372f;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgb(0 0 0 / 35%);
}
.waktu-apung { font-size: 0.9rem; color: rgb(255 255 255 / 85%); font-variant-numeric: tabular-nums; }
.bar-apung { width: 100%; max-width: 420px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 25%); overflow: hidden; }
.bar-apung > span { display: block; width: 0; height: 100%; background: #e4c77e; }
