/* =========================================================
   Halaman voting publik — tema APPRECIATION DAY 2026
   (luar angkasa gelap, kaca & krom, aksen tembaga) + mekanisme "story".
   Aset latar & bingkai: /image/appreciation/*.webp
   Di HP memenuhi layar; di desktop jadi kolom selebar HP.
   ========================================================= */
:root {
  --night: #040814; --navy: #0a1430; --deep: #070d20;
  --txt: #eef2fb; --mut: #a7b2cc; --dim: #7c88a6;
  --line: rgba(196, 212, 255, .22); --line2: rgba(196, 212, 255, .4);
  --glass: rgba(120, 150, 230, .09); --glass2: rgba(140, 170, 255, .16);
  --ice: #8fb3ff; --blue: #4f7dff; --cu: #f2a06a; --cu2: #d9713b; --cu-hi: #ffd2ad;
  --chrome: linear-gradient(176deg, #ffffff 0%, #e9eef8 28%, #9ba7c0 47%, #f6f8fd 55%, #b8c3d9 74%, #eef2fa 100%);
  --copper: linear-gradient(176deg, #ffe0c4 0%, #f7ae78 35%, #e0773f 62%, #ffc493 100%);
  --disp: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  --ui: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --bgp: url("../image/appreciation/bg-portrait.webp");
  --bgl: url("../image/appreciation/bg-landscape.webp");
  --frame: url("../image/appreciation/frame.webp");
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  font-family: var(--ui); color: var(--txt); background: var(--night);
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
button { font-family: inherit; color: inherit; }
a { color: inherit; }

/* ---------- Wadah aplikasi ---------- */
.v-root {
  position: relative; width: 100%; max-width: 436px; height: 100vh; height: 100dvh; margin: 0 auto;
  overflow: hidden; background: var(--night); isolation: isolate;
}
@media (min-width: 480px) {
  body { background: linear-gradient(rgba(4, 8, 20, .35), rgba(4, 8, 20, .35)), var(--bgl) center / cover no-repeat, var(--night); }
  .v-root { border-left: 1px solid var(--line2); border-right: 1px solid var(--line2); box-shadow: 0 0 60px rgba(79, 125, 255, .25), 0 0 0 10px rgba(4, 8, 20, .35); }
}
.v-noscript { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font: 600 15px/1.5 var(--ui); background: var(--night); color: var(--txt); }
.v-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Dasar ---------- */
.f-app {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, rgba(4, 8, 20, .1) 0%, rgba(4, 8, 20, .25) 45%, rgba(4, 8, 20, .15) 100%), var(--bgp) center / cover no-repeat, var(--night);
}
.f-app > :not(.f-deco) { position: relative; z-index: 1; }
.f-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.f-scroll::-webkit-scrollbar { display: none; }

/* Hiasan: bintang kilau 4 sudut */
.f-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.f-spark { position: absolute; width: var(--s); height: var(--s); color: #fff; filter: drop-shadow(0 0 6px rgba(160, 190, 255, .9)) drop-shadow(0 0 14px rgba(242, 160, 106, .45)); animation: twinkle var(--t, 4s) ease-in-out infinite; animation-delay: var(--d, 0s); }
.f-spark svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.f-spark.cu { color: #ffe3cc; }
@keyframes twinkle { 0%, 100% { opacity: .95; transform: scale(1) rotate(0deg); } 50% { opacity: .45; transform: scale(.72) rotate(18deg); } }

/* Teks krom & tembaga */
.chrome, .f-h1, .f-year, .f-title, .f-center h2, .f-tcard .t, .f-thanks-t {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl, .cu-t { background: var(--copper); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Huruf kapital berjarak lebar + garis di kiri-kanan */
.f-caps { font: 600 10.5px/1.4 var(--disp); letter-spacing: .38em; text-transform: uppercase; color: var(--mut); }
.f-rule { display: flex; align-items: center; justify-content: center; gap: 14px; }
.f-rule::before, .f-rule::after { content: ''; flex: 1; max-width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--line2)); }
.f-rule::after { transform: scaleX(-1); }

.f-btn {
  appearance: none; position: relative; font: 700 16px var(--disp); letter-spacing: .01em; color: #0a1328;
  height: 56px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 16px; cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #e4e9f4 38%, #aeb9cf 58%, #eef2fa 100%);
  box-shadow: 0 0 0 1px rgba(143, 179, 255, .35), 0 10px 28px rgba(79, 125, 255, .28), inset 0 1px 0 #fff, inset 0 -2px 6px rgba(80, 95, 130, .35);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; -webkit-tap-highlight-color: transparent;
  text-decoration: none; transition: transform .12s, box-shadow .2s, background .3s;
}
.f-btn:active { transform: translateY(2px) scale(.99); box-shadow: 0 0 0 1px rgba(143, 179, 255, .35), 0 4px 12px rgba(79, 125, 255, .25), inset 0 1px 0 #fff; }
.f-btn svg { font-size: 19px; flex: none; }
.f-btn--block { width: 100%; }
.f-btn--cu, .f-btn--sun {
  color: #1c0d04; border-color: rgba(255, 226, 200, .9);
  background: linear-gradient(180deg, #ffe1c6 0%, #f7aa72 40%, #dc7038 72%, #f9b984 100%);
  box-shadow: 0 0 0 1px rgba(242, 160, 106, .45), 0 10px 28px rgba(217, 113, 59, .35), inset 0 1px 0 #fff3e8, inset 0 -2px 6px rgba(120, 50, 15, .35);
}
.f-btn--white, .f-btn--glass { color: var(--txt); background: var(--glass2); border-color: var(--line2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.f-btn[aria-disabled="true"] { color: var(--dim); background: rgba(120, 140, 190, .12); border-color: var(--line); box-shadow: none; }
.f-btn.is-busy { pointer-events: none; opacity: .75; }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

.f-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 0 18px rgba(143, 179, 255, .45); }
.f-logo img { width: 80%; height: 80%; object-fit: contain; }
.f-in { animation: fIn .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes fIn { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.f-slap { animation: glowIn .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes glowIn { from { opacity: 0; transform: scale(1.12); filter: blur(8px) brightness(1.8); } to { opacity: 1; transform: none; filter: none; } }
.f-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.f-chips i { font-style: normal; font: 600 11px var(--ui); padding: 4px 10px; border: 1px solid var(--line2); border-radius: 999px; background: var(--glass); color: var(--txt); }

/* ---------- Landing ---------- */
.f-land { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; padding: calc(26px + env(safe-area-inset-top)) 22px 8px; scrollbar-width: none; }
.f-land::-webkit-scrollbar { display: none; }
.f-land-in { margin: auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.f-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.f-brand .f-rule { width: 100%; }
.f-brand .f-caps { color: #dfe6f6; font-size: 10px; letter-spacing: .42em; }
.f-hero { position: relative; margin-top: 30px; padding: 6px 4px 0; }
.f-orbit { position: absolute; left: -9%; right: -9%; top: 18%; height: 78%; pointer-events: none; overflow: visible; }
.f-orbit ellipse { fill: none; stroke: url(#orbitG); stroke-width: 1.4; }
.f-orbit .fl { fill: #fff; filter: drop-shadow(0 0 6px #ffc293) drop-shadow(0 0 14px #f2a06a); }
.f-h1 {
  position: relative; font: italic 700 min(var(--fs, 50px), 12.6vw)/.98 var(--disp); letter-spacing: -.02em; margin: 0;
  text-wrap: balance; overflow-wrap: anywhere; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .55)) drop-shadow(0 0 22px rgba(143, 179, 255, .25));
}
.f-year { position: relative; display: block; margin-top: 4px; font: italic 800 94px/1 var(--disp); letter-spacing: -.03em; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .55)) drop-shadow(0 0 26px rgba(143, 179, 255, .35)); }
.f-date { margin-top: 22px; width: 100%; }
.f-date .f-caps { color: #dfe6f6; }
.f-date-spark { width: 16px; height: 16px; margin: 10px auto 0; color: #fff; filter: drop-shadow(0 0 6px rgba(160, 190, 255, .9)); }
.f-date-spark svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.f-lead { font-size: 14.5px; line-height: 1.6; color: var(--mut); margin: 14px 0 0; max-width: 320px; }
.f-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.f-meta span { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--ui); padding: 7px 12px; border: 1px solid var(--line2); border-radius: 999px; background: var(--glass); color: #dfe6f6; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.f-meta svg { font-size: 14px; color: var(--cu); }
.f-faces { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; font-size: 13px; color: var(--mut); }
.f-faces .stack { display: flex; flex: none; }
.f-faces img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; margin-left: -9px; background: var(--navy); box-shadow: 0 0 0 2px #0a1430, 0 0 0 3px rgba(220, 230, 255, .55); }
.f-faces img:first-child { margin-left: 0; }
.f-faces b { color: var(--txt); }
.f-corner { position: absolute; z-index: 1; font: 600 8.5px/1.9 var(--disp); letter-spacing: .34em; text-transform: uppercase; color: rgba(223, 230, 246, .78); pointer-events: none; }
.f-corner.tr { top: calc(16px + env(safe-area-inset-top)); right: 16px; text-align: right; padding-right: 12px; border-right: 1px solid var(--line2); }
@media (max-height: 760px) { .f-corner { display: none; } }
.f-signoff { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 20px calc(30px + env(safe-area-inset-bottom)); }
.f-signoff svg { width: 14px; height: 14px; fill: #fff; filter: drop-shadow(0 0 6px rgba(160, 190, 255, .9)); }
.f-signoff .f-caps { font-size: 9px; color: rgba(223, 230, 246, .7); }
.f-foot { padding: 12px 20px calc(18px + env(safe-area-inset-bottom)); }
.f-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--dim); }

/* ---------- Story voting ---------- */
.f-saved { display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px var(--ui); color: #1c0d04; padding: 4px 10px; border-radius: 999px; background: linear-gradient(180deg, #ffd9b8, #f2a06a); opacity: 0; }
.f-saved.show { animation: savedPop 1.7s both; }
@keyframes savedPop { 0% { opacity: 0; transform: scale(.6); } 14% { opacity: 1; transform: scale(1.06); } 24% { transform: none; } 80% { opacity: 1; } 100% { opacity: 0; } }

.f-story { background: linear-gradient(180deg, rgba(4, 8, 20, .55), rgba(4, 8, 20, .2) 40%, rgba(4, 8, 20, .45)), var(--bgp) center / cover no-repeat, var(--night); }
.f-story > .f-shead { flex: none; padding: calc(12px + env(safe-area-inset-top)) 16px 0; z-index: 4; }
.f-segs { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 5px; }
.f-segs i { height: 3px; border-radius: 999px; background: rgba(220, 230, 255, .18); transition: background .3s, box-shadow .3s; }
.f-segs i.seen { background: rgba(220, 230, 255, .45); }
.f-segs i.cur { background: #fff; box-shadow: 0 0 8px rgba(160, 190, 255, .9); }
.f-segs i.pk { background: var(--cu); box-shadow: 0 0 10px rgba(242, 160, 106, .9); }
.f-shead-row { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.f-ic, .f-iconbtn { width: 38px; height: 38px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 18px; cursor: pointer; flex: none; color: var(--txt); background: var(--glass2); border: 1px solid var(--line2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.f-cat-t { min-width: 0; font: 500 11px var(--disp); letter-spacing: .1em; text-transform: uppercase; color: var(--mut); padding: 8px 14px; background: var(--glass); border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.f-cat-t b { font: 700 11.5px var(--disp); letter-spacing: .1em; color: var(--txt); }
/* "Tersimpan" melayang di kanan supaya tidak memotong nama kategori */
.f-shead-row .f-saved { position: absolute; right: 0; top: 50%; margin-top: -12px; pointer-events: none; box-shadow: 0 0 16px rgba(242, 160, 106, .55); }

/* Panggung foto: bingkai kaca-krom 3:4 menyesuaikan sisa tinggi layar */
.f-story > .f-stage { flex: 1 1 auto; min-height: 0; position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 14px 30px 0; }
.f-frame { position: relative; flex: none; width: min(100%, calc((100vh - 372px) * .75)); width: min(100%, calc((100dvh - 372px) * .75)); aspect-ratio: 3 / 4; container-type: inline-size; }
@supports (container-type: size) {
  .f-story > .f-stage { container-type: size; }
  .f-frame { width: min(100cqw, 75cqh); }
}
.f-frame::before { content: ''; position: absolute; inset: 4% 4% 2%; border-radius: 12%; background: radial-gradient(ellipse at 50% 60%, rgba(79, 125, 255, .35), transparent 70%); filter: blur(18px); }
.f-frame::after { content: ''; position: absolute; inset: 0; z-index: 3; background: var(--frame) center / 100% 100% no-repeat; pointer-events: none; }
.f-frame .f-media { position: absolute; left: 9.2%; right: 9%; top: 8.8%; bottom: 13%; z-index: 1; overflow: hidden; border-radius: 11% / 8.6%; background: var(--navy); }
.f-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; opacity: 0; }
.f-media img.on { opacity: 1; animation: fZoom .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fZoom { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
.f-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 48, 0) 62%, rgba(10, 20, 48, .55) 100%), linear-gradient(125deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 32%); }
.f-plate { position: absolute; left: 16%; right: 16%; top: 85.2%; height: 10%; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; pointer-events: none; }
.f-plate .c { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 11px var(--disp); font-size: clamp(9px, 3.9cqw, 14px); letter-spacing: .3em; text-transform: uppercase; color: #fff; text-shadow: 0 0 10px rgba(143, 179, 255, .8); padding-left: .3em; }
.f-plate .n { font: 600 8.5px var(--disp); font-size: clamp(7px, 2.7cqw, 10px); letter-spacing: .32em; text-transform: uppercase; color: var(--ice); padding-left: .32em; }
.f-badge-pick { position: absolute; left: 4%; top: 2.5%; z-index: 5; display: none; align-items: center; gap: 5px; font: 700 10.5px var(--disp); letter-spacing: .16em; text-transform: uppercase; color: #1c0d04; padding: 5px 11px 5px 9px; border-radius: 999px; background: linear-gradient(180deg, #ffe1c6, #f2a06a 60%, #e0773f); box-shadow: 0 0 0 1px rgba(255, 230, 205, .8), 0 0 18px rgba(242, 160, 106, .65); }
.f-badge-pick svg { font-size: 12px; }
.f-frame.is-picked .f-badge-pick { display: inline-flex; animation: glowIn .5s both; }
.f-frame.is-picked .f-media { box-shadow: inset 0 0 0 2px rgba(242, 160, 106, .7); }
.f-frame .f-zone { position: absolute; top: 0; bottom: 18%; z-index: 6; border: 0; padding: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.f-zone.l { left: 0; width: 34%; }
.f-zone.r { right: 0; width: 66%; }
.f-zone:focus-visible { outline: none; }
.f-stage .f-arrow { position: absolute; top: 46%; z-index: 7; width: 34px; height: 34px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 16px; cursor: pointer; color: var(--txt); background: rgba(10, 20, 48, .55); border: 1px solid var(--line2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.f-arrow.l { left: 6px; }
.f-arrow.r { right: 6px; }
.f-arrow:disabled { opacity: 0; pointer-events: none; }

.f-story > .f-bottom { flex: none; z-index: 4; padding: 4px 16px calc(14px + env(safe-area-inset-bottom)); }
.f-info { text-align: center; }
.f-info.swap { animation: fIn .45s both; }
.f-name { font: 700 23px/1.15 var(--disp); letter-spacing: -.01em; margin: 0; color: #fff; overflow-wrap: anywhere; text-shadow: 0 0 18px rgba(143, 179, 255, .35); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f-info .f-chips { margin-top: 9px; gap: 6px; align-items: center; justify-content: center; }
.f-info .f-chips i { font-size: 11.5px; padding: 5px 11px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-info .f-chips i:nth-child(2) { border-color: rgba(242, 160, 106, .55); color: var(--cu-hi); background: rgba(242, 160, 106, .1); }
.f-det { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px var(--ui); padding: 5px 11px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: rgba(255, 255, 255, .9); color: #0a1328; }

.f-thumbs { display: flex; justify-content: center; gap: 10px; margin-top: 12px; padding: 6px 4px; overflow-x: auto; scrollbar-width: none; }
.f-thumbs::-webkit-scrollbar { display: none; }
.f-thumbs:has(.f-th:nth-child(6)) { justify-content: flex-start; }
.f-th { position: relative; flex: none; width: 44px; height: 44px; padding: 0; cursor: pointer; background: var(--navy); border: 1px solid var(--line2); border-radius: 12px; opacity: .55; transition: opacity .2s, transform .2s, box-shadow .2s; }
.f-th .im { display: block; width: 100%; height: 100%; border-radius: 11px; overflow: hidden; }
.f-th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.f-th.cur { opacity: 1; transform: scale(1.1); border-color: #fff; box-shadow: 0 0 0 2px rgba(143, 179, 255, .55), 0 0 16px rgba(143, 179, 255, .6); }
.f-th.pk { opacity: 1; border-color: var(--cu); }
.f-th .ck { position: absolute; right: -7px; bottom: -7px; width: 19px; height: 19px; border-radius: 50%; display: none; place-items: center; font-size: 11px; color: #1c0d04; background: linear-gradient(180deg, #ffd9b8, #f2a06a); box-shadow: 0 0 0 2px var(--night), 0 0 10px rgba(242, 160, 106, .8); }
.f-th.pk .ck { display: grid; }
.f-actions { display: flex; gap: 10px; margin-top: 12px; }
.f-actions .f-btn { height: 54px; font-size: 16px; }
.f-pick { flex: 1 1 auto; min-width: 0; }
.f-pick span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-pick.is-on {
  color: #1c0d04; border-color: rgba(255, 226, 200, .9);
  background: linear-gradient(180deg, #ffe1c6 0%, #f7aa72 40%, #dc7038 72%, #f9b984 100%);
  box-shadow: 0 0 0 1px rgba(242, 160, 106, .45), 0 10px 28px rgba(217, 113, 59, .4), inset 0 1px 0 #fff3e8;
}

/* Kartu judul kategori */
.f-story > .f-tcard {
  position: absolute; inset: 0; z-index: 30; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: radial-gradient(ellipse at 50% 45%, rgba(79, 125, 255, .18), transparent 60%), linear-gradient(rgba(4, 8, 20, .55), rgba(4, 8, 20, .55)), var(--bgp) center / cover no-repeat, var(--night);
  animation: tcard 1.15s ease both;
}
@keyframes tcard { 0%, 74% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.f-tcard .k { width: 100%; }
.f-tcard .k .f-caps { color: #dfe6f6; }
.f-tcard .t { max-width: 100%; margin-top: 18px; padding: 0 6px .08em; font: italic 800 var(--fs)/1.05 var(--disp); letter-spacing: -.02em; overflow-wrap: anywhere; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 24px rgba(143, 179, 255, .4)); }
.f-tcard .s { margin-top: 14px; font-size: 14px; color: var(--mut); }
.f-tcard .m { margin-top: 18px; font: 600 10px var(--disp); letter-spacing: .3em; text-transform: uppercase; padding: 7px 14px 7px 17px; color: var(--cu-hi); border: 1px solid rgba(242, 160, 106, .5); border-radius: 999px; background: rgba(242, 160, 106, .08); }
.f-tcard .f-date-spark { margin-top: 18px; }

/* Lembar detail nominee */
.f-story > .f-sheet-back { position: absolute; inset: 0; z-index: 20; display: none; background: rgba(2, 5, 14, .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.f-story > .f-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 21; display: none; max-height: 86%; overflow: auto; padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(20, 32, 70, .97), rgba(8, 14, 34, .98)); border-top: 1px solid rgba(220, 230, 255, .5); border-radius: 26px 26px 0 0; box-shadow: 0 -10px 40px rgba(79, 125, 255, .25); }
.f-app.sheet-open .f-sheet-back { display: block; animation: fadeIn .25s both; }
.f-app.sheet-open .f-sheet { display: block; animation: sheetUp .4s cubic-bezier(.2, .9, .3, 1.05) both; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.f-grab { width: 42px; height: 4px; border-radius: 4px; background: rgba(220, 230, 255, .4); margin: 0 auto; }
.f-sheet-top { display: flex; gap: 16px; align-items: center; margin: 16px 0 16px; }
.f-sheet-top img { width: 88px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 28%; flex: none; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 0 0 4px rgba(143, 179, 255, .2), 0 0 22px rgba(79, 125, 255, .45); }
.f-sheet-top h3 { font: 700 21px/1.15 var(--disp); margin: 8px 0 0; color: #fff; overflow-wrap: anywhere; }
.f-sheet-top .tag { display: inline-block; font: 700 9.5px var(--disp); letter-spacing: .26em; text-transform: uppercase; color: var(--c, var(--cu)); }
.f-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; padding: 14px; background: var(--glass); border: 1px solid var(--line); border-radius: 16px; }
.f-dl > div { min-width: 0; }
.f-dl > div.wide { grid-column: 1 / -1; }
.f-dl dt { font: 600 9.5px var(--disp); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.f-dl dd { margin: 3px 0 0; font: 600 14px/1.35 var(--ui); color: var(--txt); overflow-wrap: anywhere; }
.f-dl-empty { margin: 0 0 18px; font-size: 13.5px; color: var(--mut); }

/* Foto disimpan 3:4; tampilan persegi memotong dari tengah-atas agar wajah tetap terlihat */
.f-faces img, .f-stk .ph img, .f-mini img { object-position: 50% 28%; }

/* ---------- Ringkasan ---------- */
.f-top { display: flex; align-items: center; gap: 12px; padding: calc(24px + env(safe-area-inset-top)) 20px 4px; }
.f-title { font: italic 700 28px/1.1 var(--disp); letter-spacing: -.01em; margin: 0; padding-right: .1em; filter: drop-shadow(0 0 16px rgba(143, 179, 255, .3)); }
.f-sub { font-size: 13px; color: var(--mut); margin: 4px 0 0; }
.f-sub b { color: #1c0d04; background: linear-gradient(180deg, #ffd9b8, #f2a06a); border-radius: 999px; padding: 1px 8px; font-size: 11.5px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; padding: 20px 18px 24px; }
.f-stk { appearance: none; position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; cursor: pointer; text-align: center; font: inherit; color: var(--txt); background: linear-gradient(180deg, rgba(140, 170, 255, .14), rgba(60, 90, 180, .06)); border: 1px solid var(--line2); border-radius: 18px; padding: 10px 10px 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 24px rgba(0, 0, 0, .25); }
.f-stk .tag { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 9px var(--disp); letter-spacing: .26em; text-transform: uppercase; color: var(--c, var(--cu)); margin-bottom: 8px; padding-left: .26em; }
.f-stk .ph { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .55), 0 0 18px rgba(79, 125, 255, .3); }
.f-stk .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.f-stk b { display: block; font: 700 13.5px/1.2 var(--disp); margin-top: 9px; overflow-wrap: anywhere; color: #fff; }
.f-stk .ed { position: absolute; right: 7px; top: 34px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #1c0d04; background: linear-gradient(180deg, #ffd9b8, #f2a06a); box-shadow: 0 0 12px rgba(242, 160, 106, .6); }
.f-stk.empty { background: rgba(120, 140, 190, .06); border-style: dashed; box-shadow: none; }
.f-stk.empty .ph { display: grid; place-items: center; box-shadow: none; border: 1px dashed var(--line2); font: 300 40px var(--disp); color: var(--cu); }
.f-stk.empty b { color: var(--cu); }
.f-foot.bar { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(4, 8, 20, .4), rgba(4, 8, 20, .85)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- Terima kasih / sudah vote / ditutup ---------- */
.f-center { display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(34px + env(safe-area-inset-top)) 22px 8px; }
.f-center .f-rule { width: 100%; }
.f-thanks-t { margin: 16px 0 0; padding: 0 .1em; font: italic 800 58px/.98 var(--disp); letter-spacing: -.02em; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .55)) drop-shadow(0 0 26px rgba(143, 179, 255, .35)); }
.f-thanks-t .hl { display: block; }
.f-center h2 { font: italic 700 26px/1.1 var(--disp); letter-spacing: -.01em; margin: 16px 0 0; padding: 0 .1em; }
.f-center p { font-size: 14px; line-height: 1.6; color: var(--mut); margin: 10px 0 0; max-width: 320px; }
.f-center p.f-ann { margin-top: 16px; color: var(--cu-hi); }
.f-badge { position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font-size: 46px; color: #0a1328; background: linear-gradient(180deg, #ffffff 0%, #dfe5f1 40%, #a6b2c9 62%, #eef2fa 100%); box-shadow: 0 0 0 6px rgba(143, 179, 255, .15), 0 0 0 7px rgba(220, 230, 255, .45), 0 0 40px rgba(79, 125, 255, .55); }
.f-badge.sun { color: #1c0d04; background: linear-gradient(180deg, #ffe1c6, #f2a06a 60%, #e0773f); box-shadow: 0 0 0 6px rgba(242, 160, 106, .15), 0 0 0 7px rgba(255, 210, 173, .5), 0 0 40px rgba(242, 160, 106, .5); }
.f-stamp { font: 700 12px var(--disp); letter-spacing: .42em; text-transform: uppercase; padding: 10px 18px 10px 24px; color: var(--cu-hi); border: 1px solid rgba(242, 160, 106, .6); border-radius: 999px; background: rgba(242, 160, 106, .1); box-shadow: 0 0 24px rgba(242, 160, 106, .25); }
.f-stamp.sky { color: #dfe8ff; border-color: rgba(143, 179, 255, .6); background: rgba(79, 125, 255, .12); box-shadow: 0 0 24px rgba(79, 125, 255, .3); }
.f-closed { align-items: center; text-align: center; }
.f-closed .f-h1 { --fs: 40px; margin-top: 26px; }
.f-closed .f-lead { max-width: 330px; }

.f-donate { position: relative; margin: 30px 18px 0; padding: 28px 18px 18px; text-align: left; background: linear-gradient(180deg, rgba(140, 170, 255, .14), rgba(40, 60, 130, .08)); border: 1px solid var(--line2); border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 40px rgba(0, 0, 0, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.f-donate-h { position: absolute; top: -14px; left: 16px; display: inline-flex; align-items: center; gap: 8px; font: 700 10px var(--disp); letter-spacing: .24em; text-transform: uppercase; padding: 7px 14px; color: #1c0d04; background: linear-gradient(180deg, #ffe1c6, #f2a06a 60%, #e0773f); border-radius: 999px; box-shadow: 0 0 18px rgba(242, 160, 106, .45); }
.f-donate-h svg { font-size: 15px; }
.f-donate p { font-size: 13.5px; line-height: 1.6; color: var(--mut); margin: 0 0 14px; }
.f-acct { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px dashed var(--line2); border-radius: 16px; background: rgba(4, 8, 20, .35); }
.f-acct .bank { flex: none; font: 700 10.5px var(--disp); letter-spacing: .1em; padding: 5px 8px; border-radius: 8px; background: var(--blue); color: #fff; box-shadow: 0 0 12px rgba(79, 125, 255, .6); }
.f-acct .num { flex: 1; min-width: 0; font: 700 18px var(--disp); letter-spacing: .04em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: #fff; }
.f-acct .num small { display: block; font: 500 11.5px var(--ui); letter-spacing: 0; color: var(--mut); margin-top: 2px; }
.f-copy { flex: none; height: 40px; padding: 0 12px; border-radius: 12px; font-size: 13px; }
.f-donate .fine { font-size: 12px; color: var(--dim); margin: 12px 0 0; }
.f-socials-t { font: 600 9.5px var(--disp); letter-spacing: .3em; text-transform: uppercase; color: var(--mut); text-align: center; margin-top: 26px; text-shadow: 0 1px 8px rgba(4, 8, 20, .9); }
.f-socials { display: flex; justify-content: center; gap: 12px; margin: 12px 0 6px; }
.f-socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--txt); background: var(--glass2); border: 1px solid var(--line2); box-shadow: 0 0 16px rgba(79, 125, 255, .2); }
.f-socials a:active { transform: scale(.95); }
.f-mini { display: flex; gap: 14px; overflow-x: auto; padding: 16px 20px 12px; margin-top: 10px; width: 100%; scrollbar-width: none; }
.f-mini.few { justify-content: center; }
.f-mini::-webkit-scrollbar { display: none; }
.f-mini div { flex: none; position: relative; width: 72px; }
.f-mini img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; display: block; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 0 16px rgba(79, 125, 255, .35); }
.f-mini b { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); max-width: 90px; overflow: hidden; text-overflow: ellipsis; font: 700 8.5px var(--disp); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; padding: 3px 8px; border-radius: 999px; color: #1c0d04; background: linear-gradient(180deg, #ffe1c6, #f2a06a); }

/* ---------- Toast & confetti ---------- */
.pv-toast { position: absolute; top: calc(14px + env(safe-area-inset-top)); left: 14px; right: 14px; width: fit-content; margin: 0 auto; z-index: 40; transform: translateY(-20px); opacity: 0; display: flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 14px; font: 600 13px/1.35 var(--ui); color: var(--txt); background: rgba(10, 18, 44, .95); border: 1px solid var(--line2); box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 18px rgba(79, 125, 255, .25); transition: .3s; pointer-events: none; }
.pv-toast svg { flex: none; font-size: 16px; }
.pv-toast.in { opacity: 1; transform: none; }
.pv-toast--ok svg { color: var(--ice); }
.pv-toast--warn svg { color: var(--cu); }
.pv-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }

/* ---------- Gerak dikurangi ---------- */
@media (prefers-reduced-motion: reduce) {
  .f-spark, .shake { animation: none !important; }
  .f-in, .f-slap, .f-info.swap, .f-media img.on, .f-badge-pick, .f-app.sheet-open .f-sheet,
  .f-th .ck { animation-duration: .01ms !important; animation-delay: 0s !important; }
  .f-story > .f-tcard { animation-duration: .8s; }
  .pv-toast { transition: opacity .2s; }
}

/* ---------- Mode preview (/preview): strip di atas, aplikasi digeser turun ---------- */
.is-preview .v-root { margin-top: 26px; height: calc(100vh - 26px); height: calc(100dvh - 26px); }
.v-preview {
  position: fixed; top: 0; left: 50%; z-index: 35; transform: translateX(-50%);
  width: 100%; max-width: 436px; height: 26px; display: flex; align-items: center; justify-content: center;
  white-space: nowrap; pointer-events: none;
  font: 700 10px/1 var(--disp); letter-spacing: .24em; text-transform: uppercase;
  color: #1c0d04; background: linear-gradient(180deg, #ffe1c6, #f2a06a 60%, #e0773f);
}
.f-preview-again { padding: 6px 18px 0; }
