/* dot.fm · Landing dan Collection. Dimuat setelah studio-c.css; aturan HP di sana mengunci halaman
   untuk Font Studio, jadi di sini halaman dibuka lagi supaya bisa digulir. */
html.site, html.site body { height: auto; overflow: visible; overscroll-behavior: auto; }
html.site body { display: block; min-height: 100vh; min-height: 100dvh; }

/* ---------- navbar: pilihan halaman tepat di tengah ---------- */
.site-nav { display: grid; grid-template-columns: 1fr auto 1fr; }
.site-nav .tool-toggle { justify-self: center; }
.site-start { justify-self: end; padding: 0 16px; }
.site .foot { display: flex; }

/* ---------- kartu ---------- */
.home { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0 12px 12px; }
.h-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 11px; overflow: hidden; background: var(--c, var(--card)); }
.h-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 18px; }
.h-head[hidden] { display: none; }
.h-hint { color: var(--text-3); }
.h-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; font-size: 12px; line-height: 15px; color: var(--red-deep); white-space: nowrap; }
.h-link .icon { width: 12px; height: 12px; transition: transform 0.15s; }
.h-link:hover .icon { transform: translateX(3px); }
.h-hero { grid-column: span 2; height: 420px; align-items: center; justify-content: center; padding: 0; touch-action: pan-y; }
.h-fotd, .h-try { height: 420px; }
.h-things, .h-recipe, .h-polish, .h-download { height: 343px; }
.h-png, .h-questions, .h-picks { height: 300px; }
.h-picks { grid-column: span 2; }
.h-try { --c: #f9e7b0; }
.h-things { --c: #c2eae3; }
.h-polish { --c: #dcd3f3; }
/* muncul berurutan saat halaman dibuka */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.home > :is(.h-card, .h-stepcard) { animation: rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.home > :nth-child(2) { animation-delay: 0.04s; }
.home > :nth-child(3) { animation-delay: 0.08s; }
.home > :nth-child(4) { animation-delay: 0.12s; }
.home > :nth-child(5) { animation-delay: 0.16s; }
.home > :nth-child(6) { animation-delay: 0.2s; }
.home > :nth-child(7) { animation-delay: 0.24s; }
.home > :nth-child(n + 8) { animation-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) { .home > :is(.h-card, .h-stepcard) { animation: none; } }

/* ---------- Hero ---------- */
.h-title { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 400; font-size: clamp(64px, 6.95vw, 170px); line-height: 1; color: var(--ink); text-align: center; pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hl-line { display: block; white-space: nowrap; pointer-events: auto; }
.hl-ch { position: relative; display: inline-block; transition: color 0.16s; }
.hl-ch img { position: absolute; max-width: none; opacity: 0; pointer-events: none; transition: opacity 0.16s; }
.hl-ch.on { color: transparent; }
.hl-ch.on img { opacity: 1; }
.hw { display: inline-block; text-align: left; transition: width 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); white-space: nowrap; }
.hw-word { display: inline-block; transition: opacity 0.2s, transform 0.2s; }
.hw-word.out { opacity: 0; transform: translateY(0.14em); }
.hw-thing { display: inline-block; width: 0.62em; height: 0.62em; margin-left: 0.12em; vertical-align: -0.04em; }
.hw-thing svg { display: block; width: 100%; height: 100%; }
.alts { position: fixed; z-index: 30; left: 50%; bottom: 16px; display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 14px; transform: translateX(-50%); background: var(--dark); border-radius: 100px; box-shadow: var(--shadow-float); font-size: 13px; line-height: 18px; color: #ffffff; }
.alts span { margin-right: 6px; opacity: 0.7; }
.alts button { height: 32px; padding: 0 12px; border-radius: 100px; color: #ffffff; }
.alts button[aria-pressed="true"] { background: #ffffff; color: var(--ink); font-weight: 500; }

/* ---------- Font of the day ---------- */
.fotd-open { position: absolute; left: 0; right: 0; top: 40px; bottom: 76px; display: block; width: 100%; cursor: pointer; }
.fotd-stage { position: absolute; left: 50%; top: 50%; width: min(230px, 67%); height: 92%; transform: translate(-50%, -50%); }
.fotd-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.32s, transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fotd-stage img.enter { opacity: 0; transform: translateY(10px) scale(0.97); }
.fotd-stage img.leave { opacity: 0; transform: translateY(-8px) scale(1.02); }
.fotd-open:hover .fotd-stage img:not(.enter):not(.leave) { transform: scale(1.025); }
.fotd-foot { position: absolute; left: 12px; right: 12px; bottom: 11px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; pointer-events: none; }
.fotd-name { font-weight: 500; font-size: 14px; line-height: 20px; color: var(--ink); }
.fotd-sub { font-size: 12px; line-height: 18px; color: var(--text-3); }
.fotd-dots { display: flex; pointer-events: auto; margin: 0 -2px -8px 0; }
.fotd-dots button { display: flex; align-items: center; justify-content: center; width: 12px; height: 24px; }
.fotd-dots span { display: block; width: 8px; height: 3px; background: rgba(0, 0, 0, 0.18); border-radius: 2px; transition: background 0.15s; }
.fotd-dots button[aria-current="true"] span { background: var(--ink); }
.fotd-dots button:hover span { background: rgba(0, 0, 0, 0.45); }
/* font yang paling bagus di latar gelap: tulisan di kartunya ikut terang, sama dengan halaman font */
.h-fotd.dark .card-title, .h-fotd.dark .card-title .icon, .h-fotd.dark .fotd-name, .h-fotd.dark .fotd-sub { color: rgba(255, 255, 255, 0.8); }
.h-fotd.dark .h-link { color: #ffffff; }
.h-fotd.dark .fotd-dots span { background: rgba(255, 255, 255, 0.28); }
.h-fotd.dark .fotd-dots button[aria-current="true"] span { background: #ffffff; }
.h-fotd.dark .fotd-dots button:hover span { background: rgba(255, 255, 255, 0.6); }
/* Preview dengan font gelap (misalnya Pearl Rope): kartunya ikut warna font (diatur home-c.js), tulisan dan tombolnya terang */
.h-try.dark .card-title, .h-try.dark .card-title .icon, .h-try.dark .try-label, .copy-prev.dark .card-title, .copy-prev.dark .card-title .icon { color: rgba(255, 255, 255, 0.8); }
.h-try.dark .h-hint { color: rgba(255, 255, 255, 0.6); }
.h-try.dark:has(.try-input:focus) .h-hint { color: #ffffff; }
.h-try.dark .try-pill { background: rgba(255, 255, 255, 0.14); color: #ffffff; }
.h-try.dark .try-pill:hover { background: rgba(255, 255, 255, 0.24); }
.h-try.dark .try-pill[aria-pressed="true"] { background: #ffffff; box-shadow: none; color: var(--ink); }
.copy-prev.dark { background: var(--c); }
.copy-paste.dark { background: repeating-conic-gradient(#2c2c2c 0% 25%, #383838 0% 50%) 0 0 / 16px 16px; box-shadow: inset 0 0 0 1px #3a3a3a; }

/* ---------- Preview ---------- */
.try-word { position: absolute; left: 12px; right: 12px; top: 52px; bottom: 88px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.w-ch, .w-sp { display: block; flex: none; }
.try-caret { flex: none; width: 2px; margin-left: 2px; background: var(--red-deep); border-radius: 1px; animation: caret 1s steps(1) infinite; }
.try-input { position: absolute; left: 0; right: 0; top: 34px; bottom: 88px; width: 100%; padding: 0 12px; border: 0; outline: 0; background: none; opacity: 0; font-size: 16px; cursor: text; }
/* Cmd/Ctrl+A di Preview: huruf tampak terpilih seperti teks biasa, ketikan berikutnya menggantikan semuanya */
.sel-all .w-ch, .sel-all .w-sp { background: Highlight; }
.sel-all .try-caret { visibility: hidden; }
.h-try:has(.try-input:focus) .h-hint { color: var(--ink); }
.try-foot { position: absolute; left: 12px; right: 12px; bottom: 11px; }
.try-label { margin-bottom: 8px; font-size: 12px; line-height: 18px; color: var(--text-3); }
.try-pills { display: flex; gap: 4px; }
.try-pill { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 6px; background: #ffffff; border-radius: 100px; font-weight: 500; font-size: 13px; line-height: 18px; color: var(--ink-2); white-space: nowrap; transition: background 0.12s; }
/* nama font baru lebih panjang (2026-11-09): di kartu yang sempit (HP kecil, laptop 1241-1387 px) tulisan pil sedikit mengecil
   supaya empat nama tetap muat; kalau ada pil Yours (lima pil) mengecil lagi */
.h-try .try-foot { container-type: inline-size; }
.h-try .try-pill { padding: 0 4px; font-size: clamp(11px, 4.2cqw, 13px); }
.h-try .try-pills:has(> :nth-child(5)) .try-pill { padding: 0 3px; font-size: clamp(10px, 3.5cqw, 12px); }
.try-pill:hover { background: rgba(255, 255, 255, 0.72); }
.try-pill[aria-pressed="true"] { background: var(--dark); box-shadow: var(--inset-dark); color: #ffffff; }

/* ---------- Things: komponen yang sama dengan Font Studio, di atas warna ---------- */
.h-things-body { flex: 1 1 0; min-height: 0; margin-top: 8px; }
.h-things .cat-list { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto; height: 100%; padding-bottom: 0; }
.h-things .cat-card { padding: 8px 12px 9px; background: #ffffff; }
.h-things .cat-peek { margin-bottom: 4px; }
.h-things .cat-peek svg { width: 52px; height: 52px; margin-left: -19px; }
.h-things .cat-peek svg:first-child { margin-left: 0; }
.h-things .cat-own { height: 53px; border-color: rgba(0, 0, 0, 0.22); }
.h-things .cat-plus { background: #ffffff; }
.h-things .cat-count { color: var(--text-3); }
.h-things .cat-card .cat-count { color: var(--text-5); }
.h-things.in-page .h-things-body { margin-top: 0; }
.h-things .cat-page { height: 100%; padding-bottom: 0; }
.h-things .cat-back { background: #ffffff; }
.h-things .cat-total { color: var(--text-3); }
.h-things .tray-grid { --thing: 40px; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(52px, 1fr); }
.h-things .tray-grid.mid { --thing: 52px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(56px, 1fr); }
.h-things .tray-grid.big { --thing: 72px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(84px, 1fr); }
.h-things .tray-item.in-mix { background: rgba(255, 255, 255, 0.78); box-shadow: inset 0 0 0 2px var(--c); }
.h-things .tray-item.fresh { box-shadow: inset 0 0 0 2px var(--c), inset 0 0 0 3.5px var(--red); }
@media (hover: hover) {
  .h-things .cat-card:hover { background: rgba(255, 255, 255, 0.72); }
  .h-things .tray-item:not(.in-mix):not(.selected):hover { background: rgba(255, 255, 255, 0.42); }
  .h-things .cat-back:hover, .h-things .cat-plus:hover { background: rgba(255, 255, 255, 0.72); }
  .h-things .cat-own-open:hover { background: rgba(255, 255, 255, 0.32); }
  .h-png .drop-tile:hover { transform: translateY(-3px) rotate(-1.5deg); }
}
/* Mix penuh: benda lain redup, ketukannya hanya memberi tahu batasnya */
.h-things.mix-full .tray-item:not(.in-mix) { background: none; cursor: default; }
.h-things.mix-full .tray-item:not(.in-mix) svg, .h-things.mix-full .tray-item:not(.in-mix) img { opacity: 0.45; transform: none; }
a.cat-own-open { display: flex; flex-direction: column; justify-content: center; color: inherit; }
a.cat-plus { color: var(--ink-2); }

/* ---------- resep: ukuran kalimat sama dengan lembar Setup di HP ---------- */
.h-recipe { overflow: visible; }
.h-recipe .sentence { gap: 4px; padding: 8px 0 0; }
.h-recipe .sentence-row { gap: 10px; height: 48px; }
.h-recipe .word { font-size: 36px; line-height: 48px; }
.h-recipe .tok { height: 44px; padding: 0 14px; border-radius: 14px; font-size: 15px; line-height: 22px; }
.h-recipe .tok-things { gap: 12px; padding: 0 12px 0 10px; }
.h-recipe .tok-things .icon { width: 16px; height: 16px; }
.h-recipe .stack-item { width: 30px; height: 30px; margin-left: -9px; }
.h-recipe .stack-item:first-child { margin-left: 0; }
.h-recipe-foot { flex: 1 1 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; padding-right: 3px; border-top: 1px solid var(--line); }
.h-recipe-note { font-size: 12px; line-height: 18px; color: var(--text-5); }
.h-recipe .pop { left: 11px; right: 11px; }
.h-recipe .pop-letters { top: 92px; }
.h-recipe .pop-things { top: 144px; }
.h-recipe #h-pop-spacing { top: 34px; }
.h-recipe #h-pop-size { top: 86px; }
.num-value { flex: 1 1 0; min-width: 0; font-weight: 600; font-size: 15px; line-height: 20px; color: var(--ink); text-align: center; }

/* ---------- Polish ---------- */
.polish-base { position: absolute; left: 0; right: 0; top: 268px; height: 1px; background: rgba(0, 0, 0, 0.22); pointer-events: none; }
.polish-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.polish-svg.brush { cursor: crosshair; touch-action: none; }
.polish-tpl { fill: rgba(255, 255, 255, 0.34); pointer-events: none; }
#polish-items g[data-i] { cursor: grab; touch-action: none; }
.polish-svg.brush #polish-items g[data-i] { cursor: crosshair; }
#polish-items g[data-i]:active { cursor: grabbing; }
.h-polish .h-head, .h-polish-foot { position: relative; z-index: 1; }
.h-stepper { display: flex; align-items: center; gap: 2px; margin: -6px -4px; }
.h-stepper b { min-width: 18px; font-weight: 500; font-size: 13px; line-height: 18px; text-align: center; }
.h-stepper button { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; color: var(--text-4); }
.h-stepper button:hover { background: rgba(255, 255, 255, 0.5); color: var(--ink); }
.h-stepper .icon { width: 14px; height: 14px; }
.h-stepper .prev { transform: rotate(90deg); }
.h-stepper .next { transform: rotate(-90deg); }
.h-polish-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.h-mode { display: flex; padding: 3px; background: #ffffff; border: 1px solid var(--line); border-radius: 1000px; }
.h-reroll { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 24px; background: #ffffff; border: 1px solid var(--line); border-radius: 100px; font-weight: 500; font-size: 12px; line-height: 18px; color: var(--ink-2); }
.h-reroll:hover { background: var(--page); }

/* ---------- Download ---------- */
.h-fmts { flex: 1 1 0; min-height: 0; margin-top: 10px; }
.h-fmts .dl-opt { padding: 10px; }
.h-fmts .dl-visual { flex: 1 1 0; min-height: 0; margin-bottom: 8px; }
.h-fmts .dl-visual img { max-width: 72px; max-height: 76px; }
.h-fmts .dl-visual .over { margin-left: -44px; margin-top: 18px; max-width: 58px; }
.h-fmts .dl-opt small { min-height: 30px; font-size: 11px; line-height: 15px; }
.h-dl-go { flex: none; width: 100%; height: 44px; margin-top: 12px; }
.h-dl-files { flex: none; margin-top: 8px; font-size: 12px; line-height: 18px; color: var(--text-5); text-align: center; }

/* ---------- PNG to Font ---------- */
.h-drop { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; padding: 12px; background: var(--card); border: 1px dashed var(--guide); border-radius: 12px; text-align: center; transition: background 0.12s, border-color 0.12s; }
.h-drop:hover { background: var(--page); }
.h-drop.over { background: var(--tint-pink); border-color: var(--red); }
.drop-tiles { display: flex; justify-content: center; gap: 6px; width: 100%; margin-bottom: 20px; }
.drop-tile { flex: 0 1 66px; min-width: 0; display: flex; align-items: center; justify-content: center; height: 80px; background: #ffffff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sheet); transition: transform 0.18s; }
.drop-tile img { display: block; width: 76%; height: 76%; object-fit: contain; }
.drop-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.drop-title .icon { width: 16px; height: 16px; }
.drop-sub { max-width: 270px; font-size: 12px; line-height: 18px; color: var(--text-5); }

/* ---------- kartu paket: Landing dan Collection. Ukuran dari Figma 150:389694 ---------- */
.pack { --c1: 27.1cqw; --c2: 25.9cqw; --c3: 42.2cqw; --notch-x: 59.66%; --notch-w: 33.13px; --notch-h: 27px; --notch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 33.13 27.44' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0C5.58 0 10.72 3.05 13.4 7.94L19.73 19.5C22.41 24.4 27.55 27.44 33.13 27.44H0Z'/%3E%3C/svg%3E"); container-type: inline-size; position: relative; min-width: 0; aspect-ratio: 345 / 330; overflow: hidden; background: var(--pack); border: 1.6px solid #ffffff; border-radius: 16px; box-shadow: 1.27px 5.09px 15.3px rgba(0, 0, 0, 0.12); }
.pack-sheets { position: absolute; inset: 0; }
.pack-sheet { position: absolute; display: flex; align-items: center; justify-content: center; width: 45.8cqw; height: 43.9cqw; background: var(--sheet, #ffffff); border: 2px solid #ffffff; border-radius: 4.6cqw; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pack-sheet img { display: block; width: 76%; height: 80%; object-fit: contain; opacity: 0; transition: opacity 0.25s; }
.pack.painted .pack-sheet img { opacity: 1; }
/* lembar saling menutupi, jadi huruf di lembar belakang digeser ke bagian yang terlihat */
.pack-sheet.s1 img { transform: translate(-15%, -3%) scale(0.94); }
.pack-sheet.s2 img { transform: translate(-3%, -12%) scale(0.9); }
.pack-sheet.s1 { left: 33.2cqw; top: var(--c1); transform: translate(-50%, -50%) rotate(-12.6deg); }
.pack-sheet.s2 { left: 57.4cqw; top: var(--c2); transform: translate(-50%, -50%) rotate(13.7deg); }
.pack-sheet.s3 { left: 75.3cqw; top: var(--c3); transform: translate(-50%, -50%) rotate(-13.3deg); }
.pack-tab { position: absolute; left: 0; right: 0; bottom: 0; height: 89px; padding: 17.4px 14px 0; background: #ffffff; }
.pack-tab::before { content: ""; position: absolute; left: 0; bottom: calc(100% - 1px); width: var(--notch-x); height: calc(var(--notch-h) + 1px); background: #ffffff; border-radius: 15.3px 0 0 0; }
.pack-tab::after { content: ""; position: absolute; left: var(--notch-x); bottom: calc(100% - 1px); width: var(--notch-w); height: calc(var(--notch-h) + 1px); margin-left: -0.5px; background: var(--notch) no-repeat 0 0 / 100% var(--notch-h), linear-gradient(#ffffff, #ffffff) no-repeat 0 100% / 100% 1px; }
.pack-name { position: relative; font-weight: 500; font-size: 17px; line-height: 24px; color: var(--ink); white-space: nowrap; }
.pack-sub { position: relative; margin-top: 3px; font-size: 13px; line-height: 18px; color: var(--text-5); }
.pack-open { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; border-radius: 14px; cursor: pointer; }
.pack-open:focus-visible { outline-offset: -3px; }
@media (hover: hover) {
  .pack:hover .s1 { transform: translate(-50%, -50%) translate(-3cqw, -1cqw) rotate(-9deg); }
  .pack:hover .s2 { transform: translate(-50%, -50%) translateY(-2.4cqw) rotate(10deg); }
  .pack:hover .s3 { transform: translate(-50%, -50%) translate(2.4cqw, -1cqw) rotate(-17deg); }
}
@media (prefers-reduced-motion: reduce) { .pack-sheet { transition: none; } }
/* kartu di Landing lebih kecil */
.h-picks-row { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
/* tingginya tetap, jadi di layar lebar lembar berhenti membesar dan hanya merenggang */
.pack.small { --u: min(1cqw, 2.18px); --c1: calc(39 * var(--u)); --c2: calc(37.8 * var(--u)); --c3: calc(54.2 * var(--u)); --notch-x: 57.04%; --notch-w: 32.32px; --notch-h: 27px; --notch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32.32 26.88' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0C6.84 0 12.93 4.31 15.21 10.76L17.1 16.12C19.38 22.57 25.48 26.88 32.32 26.88H0Z'/%3E%3C/svg%3E"); aspect-ratio: auto; height: 100%; border-radius: 13.4px; }
.pack.small .pack-sheet { width: calc(45.8 * var(--u)); height: calc(43.9 * var(--u)); border-radius: calc(5 * var(--u)); }
.pack.small .pack-tab { height: 87px; padding: 17px 14px 0; }
.pack.small .pack-name { font-size: 17px; line-height: 24px; }
.pack.small .pack-sub { margin-top: 3px; font-size: 13px; line-height: 18px; }

/* ---------- halaman font: lihat dulu, baru unduh ---------- */
::view-transition-group(font-hero) { animation-duration: 0.34s; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
/* ukuran kartu berubah banyak: gambarnya dipotong, bukan ditarik, dan isi lama cepat hilang */
::view-transition-old(font-hero), ::view-transition-new(font-hero) { height: 100%; object-fit: cover; overflow: clip; }
::view-transition-old(font-hero) { animation-duration: 0.12s; }
.fp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0 12px 12px; }
.fp .h-card:not(.fp-preview) { animation: rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 0.06s backwards; }
@media (prefers-reduced-motion: reduce) { .fp .h-card:not(.fp-preview) { animation: none; } }
.fp-pair { display: contents; }
.fp-preview { --c: var(--pack); grid-column: span 3; height: 520px; view-transition-name: font-hero; }
.fp-preview .h-head { height: 32px; }
.fp-back { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px 0 10px; background: #ffffff; border-radius: 100px; font-weight: 500; font-size: 13px; line-height: 18px; color: var(--ink-2); transition: background 0.12s; }
.fp-back:hover { background: rgba(255, 255, 255, 0.72); }
.fp-preview:has(.fp-input:focus) .h-hint { color: var(--ink); }
/* Copy: Preview jadi PNG, sama seperti di Font Studio; bentuknya ikut pil putih di kartu ini */
.fp-preview .h-hint { margin-left: auto; }
.fp-copy { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 84px; height: 32px; padding: 0 14px 0 10px; background: #ffffff; border-radius: 100px; font-weight: 500; font-size: 13px; line-height: 18px; color: var(--ink-2); white-space: nowrap; transition: background 0.12s; }
.fp-copy:hover { background: rgba(255, 255, 255, 0.72); }
.fp-copy:disabled { cursor: default; }
.fp-copy.done .icon { --i: url("icons-c/check.svg"); }
.fp-word { position: absolute; left: 12px; right: 12px; top: 56px; bottom: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.w-line { flex: none; display: flex; align-items: center; justify-content: center; }
.fp-input { position: absolute; left: 0; right: 0; top: 48px; bottom: 64px; width: 100%; padding: 0 12px; border: 0; outline: 0; background: none; opacity: 0; font-size: 16px; cursor: text; }
.fp-foot { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fp-samples { min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.fp-samples::-webkit-scrollbar { display: none; }
.fp-samples .try-pill { flex: none; padding: 0 14px; }
.fp-mode { flex: none; }
.fp-mode .tool-btn { padding: 0 14px; }
.fp.mono .fp-word img, .fp.mono .fp-big img, .fp.mono .fp-tile img { filter: brightness(0); }
.fp-info { height: 520px; }
.fp-name { margin-top: 20px; font-family: var(--font-display); font-weight: 400; font-size: 72px; line-height: 76px; color: var(--ink); }
.fp-note { margin-top: 4px; font-size: 14px; line-height: 22px; color: var(--text-4); }
.fp-facts { margin: auto 0 4px; }
.fp-fact { padding: 12px 0; border-top: 1px solid var(--line); }
.fp-fact dt { font-size: 12px; line-height: 18px; color: var(--text-5); }
.fp-fact dd { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--ink-2); }
.fp-things { display: flex; flex-wrap: wrap; gap: 2px; margin: 4px 0 6px -2px; }
.fp-thing { display: block; width: 36px; height: 36px; }
.fp-thing svg, .fp-thing img { display: block; width: 100%; height: 100%; }
.fp-actions { flex: none; display: flex; flex-direction: column; gap: 8px; }
.fp-go { width: 100%; height: 44px; }
.fp-second { display: flex; gap: 8px; }
.fp-remix { flex: 1 1 0; min-width: 0; white-space: nowrap; }
.fp-letter { --c: var(--pack); height: 420px; }
.fp-big { position: absolute; left: 24px; right: 24px; top: 44px; bottom: 72px; }
.fp-big img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fp-chars { grid-column: span 3; height: 420px; }
/* karakter di baris terakhir melebar sama rata, jadi tidak ada lubang */
.fp-grid { flex: 1 1 0; min-height: 0; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.fp-tile { position: relative; flex: 1 1 calc((100% - (var(--cols, 13) - 1) * 4px) / var(--cols, 13) - 0.1px); min-width: 0; background: var(--page); border-radius: 10px; transition: background 0.12s; }
.fp-tile img { position: absolute; left: 4px; top: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.fp-tile:hover { background: var(--chip); }
.fp-tile[aria-pressed="true"] { background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--red); }
.fp-more { grid-column: 1 / -1; height: 300px; }
.fp-more .h-picks-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fp-dock { display: none; }
/* font yang paling bagus di latar gelap (Necklace, Neon, Treasure, Garland, Pearl Rope) */
.fp.dark .fp-preview .h-hint, .fp.dark .fp-letter .card-title, .fp.dark .fp-letter .card-title .icon, .fp.dark .fp-letter .h-hint, .fp.dark .fp-letter .fotd-name, .fp.dark .fp-letter .fotd-sub { color: rgba(255, 255, 255, 0.8); }
.fp.dark .fp-preview:has(.fp-input:focus) .h-hint { color: #ffffff; }
.fp.dark .fp-tile { background: var(--sheet); }
.fp.dark .fp-tile:hover { background: color-mix(in srgb, var(--sheet) 82%, #ffffff); }
.fp.dark .fp-tile[aria-pressed="true"] { background: color-mix(in srgb, var(--sheet) 70%, #ffffff); }
.fp.dark.mono .fp-word img, .fp.dark.mono .fp-big img, .fp.dark.mono .fp-tile img { filter: brightness(0) invert(1); }
.embed .site-nav, .embed .foot, .embed .fp-more, .embed .fp-back { display: none; }
.embed .fp { padding-top: 12px; }
.embed .fp-preview .h-head { justify-content: flex-end; }
@media (max-width: 1240px) {
  .fp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-preview, .fp-chars { grid-column: 1 / -1; }
  .fp-preview { height: 440px; }
  .fp-info, .fp-letter { height: auto; min-height: 480px; }
  .fp-chars { height: auto; }
  .fp-grid { flex: none; }
  .fp-tile { min-height: 72px; }
}
@media (max-width: 900px) {
  .fp-dock { position: fixed; z-index: 20; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); display: inline-flex; height: 48px; padding: 0 20px 0 16px; box-shadow: var(--shadow-float); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity 0.18s, transform 0.18s; }
  .fp-dock.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
}
@media (max-width: 700px) {
  .fp { grid-template-columns: minmax(0, 1fr); }
  .fp-preview { height: 340px; }
  .fp-samples { flex: 1 1 0; }
  .fp-info { min-height: 0; }
  .fp-name { margin-top: 16px; font-size: 64px; line-height: 68px; }
  .fp-facts { margin-top: 20px; }
  /* huruf besar tetap terlihat selama memilih dari daftar yang panjang */
  .fp-pair { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
  .fp-letter { position: sticky; z-index: 5; top: 60px; height: 220px; min-height: 0; }
  .fp-big { left: 16px; right: 16px; top: 36px; bottom: 10px; }
  .fp-tile { min-height: 60px; }
  .fp-more { height: auto; }
}

/* ---------- Questions ---------- */
.faq { flex: 1 1 0; min-height: 0; margin-top: 3px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 53px; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--ink); text-align: left; }
.faq-q .icon { flex: none; color: var(--text-4); transition: transform 0.2s; }
.faq-item.open .faq-q { height: 40px; align-items: flex-end; padding-bottom: 4px; }
.faq-item.open .faq-q .icon { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.22s ease-out; }
.faq-a p { overflow: hidden; font-size: 12px; line-height: 18px; color: var(--text-3); }
.faq-item.open .faq-a { grid-template-rows: 1fr; padding-bottom: 12px; }

/* ---------- Collection ---------- */
.col-intro { padding: 36px 12px 28px; text-align: center; }
.col-title { position: relative; display: inline-block; font-family: var(--font-display); font-weight: 400; font-size: clamp(88px, 11vw, 160px); line-height: 1; color: var(--ink); }
.col-count { position: absolute; left: 100%; top: 0.12em; margin-left: 6px; font-family: var(--font-ui); font-weight: 500; font-size: 20px; line-height: 24px; color: var(--text-4); }
.col-sub { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--text-4); }
/* tiap kalimat tetap utuh: di HP turun ke baris baru di antara kalimat, bukan di tengahnya */
.col-sub span { display: inline-block; }
.col-bar { position: sticky; z-index: 10; top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 12px 12px; padding: 11px 11px 11px 15px; }
.col-pills { min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.col-pills::-webkit-scrollbar { display: none; }
.pill-f { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; background: var(--chip); border-radius: 100px; font-weight: 500; font-size: 13px; line-height: 18px; color: var(--ink-2); white-space: nowrap; transition: background 0.12s; }
.pill-f small { font-weight: 400; font-size: 11px; line-height: 14px; color: var(--text-5); }
.pill-f:hover { background: var(--soft); }
.pill-f[aria-pressed="true"] { background: var(--dark); box-shadow: var(--inset-dark); color: #ffffff; }
.pill-f[aria-pressed="true"] small { color: var(--guide); }
.pack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0 12px; }
.pack-grid .pack { animation: rise 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.make { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 12px; padding: 39px; }
.make-title { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 60px; color: var(--ink); }
.make-text { max-width: 520px; margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--text-4); }
.make-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.make-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px 0 16px; }
.make-go .icon { transition: transform 0.15s; }
.make-go:hover .icon { transform: translateX(3px); }
.make-things { flex: none; display: flex; gap: 12px; }
.make-thing { display: block; width: 72px; height: 72px; transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1.4); }
.make-thing:hover { transform: translateY(-8px) rotate(-8deg); }
.make-thing svg { display: block; width: 100%; height: 100%; }
/* mengisi sisa baris terakhir saat jumlah font tidak genap */
.pack-grid { margin-bottom: 12px; }
.make.in-grid { min-width: 0; margin: 0; }
.make[data-span="2"] { padding: 28px; }
.make[data-span="2"] .make-thing:nth-child(n + 4) { display: none; }
.make[data-span="1"] { container-type: inline-size; flex-direction: column-reverse; align-items: stretch; gap: 12px; padding: 20px; }
.make[data-span="1"] .make-text { display: none; }
.make[data-span="1"] .make-title { font-size: 44px; line-height: 48px; }
.make[data-span="1"] .make-things { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(3, auto); align-content: center; justify-content: space-evenly; gap: 8px; }
.make[data-span="1"] .make-thing { width: 16cqw; height: 16cqw; }

/* ---------- layar tanggung: dua kolom ---------- */
@media (max-width: 1240px) {
  .home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-title { font-size: clamp(64px, 10vw, 112px); }
  .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .make-thing { width: 56px; height: 56px; }
  /* PNG to Font, Copy, Font picks, Questions: masing-masing selebar dua kolom, urutannya ikut halaman */
}
@media (max-width: 1040px) {
  .site-nav { grid-template-columns: auto 1fr auto; }
  .make-things, .make[data-span="1"] .make-things { display: none; }
}

/* ---------- HP ---------- */
@media (max-width: 900px) {
  .site-nav { position: sticky; z-index: 20; top: 0; display: flex; background: var(--page); }
  .site-start { flex: none; }
  .site .foot { padding: 48px 12px 40px; }
  .site .foot-word { font-size: 72px; line-height: 72px; }
  .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack { --c1: 32.3cqw; --c2: 30cqw; --c3: 50.6cqw; --notch-x: 56.33%; --notch-w: 29.02px; --notch-h: 21px; --notch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29.02 20.93' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0C6.39 0 12.1 3.97 14.32 9.96L14.7 10.97C16.92 16.96 22.64 20.93 29.02 20.93H0Z'/%3E%3C/svg%3E"); aspect-ratio: 179 / 232; border-radius: 11px; }
  .pack-tab { height: 67.5px; padding: 11.5px 10px 0; }
  .pack-name { font-size: 15px; line-height: 20px; }
  .pack-sub { margin-top: 3px; font-size: 12px; line-height: 18px; }
  .col-intro { padding: 18px 12px 18px; }
  .col-title { font-size: min(22.4vw, 88px); }
  .col-sub { margin-top: 8px; font-size: 14px; line-height: 20px; }
  .col-bar { position: static; flex-direction: column-reverse; align-items: stretch; gap: 8px; margin-bottom: 8px; padding: 8px; }
  .pill-f { height: 36px; }
  .make { padding: 24px 16px; }
  .make-title { font-size: 44px; line-height: 48px; }
  .make[data-span="1"] { justify-content: flex-end; padding: 12px; }
  .make[data-span="1"] .make-title { font-size: 34px; line-height: 36px; }
  .make[data-span="1"] .make-actions { flex-direction: column; margin-top: 12px; }
  .make[data-span="1"] .make-go { width: 100%; padding: 0 10px; font-size: 12px; }
}
@media (max-width: 360px) {
  .make[data-span="1"] .make-title { font-size: 28px; line-height: 30px; }
  .make[data-span="1"] .btn-soft, .make[data-span="1"] .make-go .icon { display: none; }
}
/* tablet tegak: dua kolom dengan tinggi tetap, jadi pengaturan melayang di atas tombol merah */
@media (min-width: 701px) and (max-width: 900px) {
  .h-recipe .pop, .h-recipe .pop-letters, .h-recipe .pop-things, .h-recipe #h-pop-spacing, .h-recipe #h-pop-size { position: absolute; top: auto; bottom: 74px; left: 11px; right: 11px; height: auto; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-float); overflow: hidden; }
}
@media (max-width: 700px) {
  .home { grid-template-columns: minmax(0, 1fr); }
  .h-hero, .h-picks, .h-png, .h-copy, .h-questions { grid-column: auto; }
  .h-hero { order: 0; height: 260px; }
  /* baris "Design of Things" selebar 5,66 kali ukuran huruf; sisa 12px di tiap sisi kartu */
  .h-title { font-size: min((100vw - 48px) / 5.66, 88px); }
  .h-title:has(.hw) { font-size: min((100vw - 48px) / 6.7, 88px); }
  .h-try { order: 1; height: 340px; }
  .h-fotd { order: 3; height: 400px; }
  .h-studio { order: 4; }
  #step-things { order: 5; }
  #step-recipe { order: 6; }
  #step-polish { order: 7; }
  #step-download { order: 8; }
  .h-things { height: 343px; }
  .h-recipe { height: auto; min-height: 343px; }
  .h-download { height: 330px; }
  /* urutan sama dengan laptop: PNG to Font, Copy, Font picks, Questions (Figma 533:810533) */
  .h-png { order: 9; }
  .h-copy { order: 10; }
  .h-picks { order: 11; height: auto; }
  .h-questions { order: 12; height: auto; min-height: 300px; }
  .h-recipe .pop { position: static; height: auto; margin: 10px 0 0; padding: 8px; border: 1px solid var(--line); border-radius: 14px; box-shadow: none; overflow: visible; }
  .h-recipe .pop[hidden] { display: none; }
  .h-recipe-foot { flex: none; height: 74px; }
  .h-picks-row { flex: none; display: flex; gap: 8px; margin: 10px -11px -11px; padding: 0 11px 11px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .h-picks-row::-webkit-scrollbar { display: none; }
  .h-picks-row .pack.small { flex: 0 0 214px; height: 244px; scroll-snap-align: center; }
}

/* ---------- Home: tombol Copy di Preview, kartu Copy, kartu Font Studio, Step 1 sampai 4 (Figma Opsi 4, 427:777998) ---------- */
.h-try .h-hint { margin-left: auto; }
.h-try .fp-copy { margin: -7px 0; }
.h-big { font-family: var(--font-display); font-weight: 400; color: var(--ink); }
.h-big-sub { font-size: 16px; line-height: 24px; color: var(--text-3); }
.h-copy, .h-studio { grid-column: 1 / -1; flex-direction: row; align-items: center; }
/* Copy: cukup katanya, tanpa install font */
.h-copy { justify-content: space-between; gap: 40px; min-height: 200px; padding: 17px 27px; }
.copy-text { flex: 0 1 470px; min-width: 0; }
.h-copy .h-big { font-size: 48px; line-height: 52px; }
.h-copy .h-big-sub { margin-top: 10px; }
.copy-steps { flex: 0 1 836px; min-width: 0; display: flex; align-items: flex-start; gap: 24px; }
.copy-step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.copy-box { position: relative; height: 136px; border-radius: 14px; overflow: hidden; }
.copy-prev { background: #f9e7b0; }
/* kotak-kotak = latar bening */
.copy-paste { background: repeating-conic-gradient(#ebebeb 0% 25%, #ffffff 0% 50%) 0 0 / 16px 16px; box-shadow: inset 0 0 0 1px #e2e2e2; }
.copy-head { position: absolute; z-index: 1; left: 12px; right: 12px; top: 12px; display: flex; align-items: center; justify-content: space-between; height: 18px; }
.copy-head .fp-copy { margin: -7px 0; }
.copy-word { position: absolute; left: 12px; right: 12px; top: 40px; bottom: 10px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.copy-paste .copy-word { top: 10px; }
.copy-step figcaption { padding-left: 2px; font-weight: 500; font-size: 13px; line-height: 18px; color: var(--text-3); }
.copy-arrow { flex: none; width: 28px; height: 28px; margin-top: 54px; color: #9a9a9a; }
/* Font Studio: pengantar empat langkahnya, huruf pertama dari resep di bawahnya */
.h-studio { gap: 32px; min-height: 240px; padding: 23px 35px 23px 27px; }
.studio-text { flex: 0 0 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.h-studio .h-big { font-size: 64px; line-height: 68px; }
.h-studio .h-big-sub { margin-top: 10px; }
.h-studio-go { margin-top: 20px; height: 44px; padding: 0 15.5px 0 19.5px; }
.h-studio-go .icon { width: 16px; height: 16px; }
.studio-strip { flex: 1 1 0; min-width: 0; height: 121px; display: flex; align-items: center; justify-content: flex-end; overflow: hidden; }
/* Step 1 sampai 4: kartu yang bisa dimainkan di atas, keterangannya di bagian putih bawah */
.h-stepcard { min-width: 0; display: flex; flex-direction: column; }
.h-stepcard > .h-card { flex: none; z-index: 1; border: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.07); border-radius: 15px 15px 0 0; box-shadow: none; }
.h-step { flex: 1 1 auto; padding: 13px 12px 18px; }
.h-step-n { font-weight: 500; font-size: 12px; line-height: 16px; color: var(--text-5); }
.h-step-t { margin-top: 4px; font-weight: 600; font-size: 18px; line-height: 24px; color: var(--ink); }
.h-step-d { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--text-3); }
@media (max-width: 1040px) {
  .h-copy, .h-studio { flex-direction: column; align-items: stretch; gap: 16px; }
  .copy-text, .studio-text, .copy-steps { flex: none; }
  .h-studio { padding: 19px 19px 19px; }
  .studio-strip { order: -1; flex: none; height: 90px; justify-content: center; }
}
@media (max-width: 700px) {
  .h-copy, .h-studio { gap: 12px; padding: 19px 11px 15px; }
  .h-big-sub { font-size: 15px; line-height: 22px; }
  .h-copy .h-big { font-size: 36px; line-height: 40px; }
  .copy-steps { gap: 8px; }
  .copy-step { gap: 6px; }
  .copy-box { height: 110px; border-radius: 12px; }
  .copy-head { left: 8px; right: 8px; top: 15px; justify-content: flex-end; }
  .copy-head .card-title { display: none; }
  .copy-word { left: 8px; right: 8px; top: 46px; bottom: 8px; }
  .copy-paste .copy-word { top: 8px; }
  .copy-step figcaption { font-size: 12px; line-height: 16px; }
  .copy-arrow { width: 18px; height: 18px; margin-top: 46px; }
  .h-studio .h-big { font-size: 44px; line-height: 48px; }
  .h-studio .h-big-sub { margin-top: 8px; }
  .h-studio-go { margin-top: 16px; height: 40px; }
  .studio-strip { height: 55px; }
}
/* HP: kartu Font Studio tanpa strip ABCDEFG supaya lebih bersih (Anika 2026-11-09, Figma 626:823025).
   Strip tidak digambar selama tersembunyi, karena paintStrip() berhenti kalau lebarnya 0. */
@media (max-width: 900px) {
  .studio-strip { display: none; }
  .h-studio { min-height: 0; }
}

/* ---------- Home: susunan baru dari Anika (Figma 533:810533) ----------
   Setelah Step 1 sampai 4: PNG to Font (kiri, biru) dan Copy (kanan) sebaris, lalu Font picks dan
   Questions sama lebar. Di layar dua kolom keduanya selebar halaman, di HP bertumpuk. */
.h-png { --c: #c9dcf5; grid-column: span 2; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "text drop" "go drop"; column-gap: 25px; height: auto; min-height: 300px; padding: 23px 27px 25px; border-color: #ffffff; }
.png-text { grid-area: text; min-width: 0; max-width: 420px; }
.h-png .h-big { font-size: 48px; line-height: 52px; }
.h-png .h-big-sub { margin-top: 10px; color: #333333; }
.h-png .h-drop { grid-area: drop; margin-top: 0; }
.h-png-go { grid-area: go; justify-self: start; align-self: end; height: 44px; padding: 0 15.5px 0 19.5px; }
.h-png-go .icon { width: 16px; height: 16px; }
.h-questions { grid-column: span 2; }
@media (min-width: 1241px) {
  .h-copy { grid-column: span 2; height: auto; min-height: 300px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 16px; padding: 23px 27px 17px; }
  .h-copy .copy-text, .h-copy .copy-steps { flex: none; }
  .h-copy .copy-steps { gap: 12px; }
  .h-copy .copy-step { gap: 8px; }
  .h-copy .copy-box { height: 106px; }
  .h-copy .copy-arrow { margin-top: 39px; }
}
@media (max-width: 700px) {
  /* HP cuma satu kolom: kartu yang tadinya dua kolom kembali selebar satu kolom */
  .h-png, .h-questions { grid-column: auto; }
  .h-png { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "text" "drop" "go"; row-gap: 12px; min-height: 0; padding: 19px 11px 15px; }
  .h-png .h-big { font-size: 36px; line-height: 40px; }
  .h-png .h-drop { min-height: 248px; }
  .h-png-go { justify-self: stretch; height: 40px; }
}

/* ---------- alternatif Collection, hanya lewat ?alts=1 ---------- */
.alts-col { flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 24px); border-radius: 22px; }
[data-grid="3"] .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) {
  .alts-col { gap: 2px; padding: 4px; }
  .alts-col span { display: none; }
  .alts-col button { padding: 0 10px; }
}
.qv { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, 0.24); }
.qv-box { display: flex; flex-direction: column; width: min(1240px, 100%); height: min(860px, 100%); overflow: hidden; background: var(--page); border-radius: 20px; box-shadow: var(--shadow-float); }
.qv-bar { flex: none; order: -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 8px 12px 0; }
.qv-box iframe { flex: 1 1 0; display: block; width: 100%; min-height: 0; border: 0; }
.qv-full { display: inline-flex; align-items: center; height: 36px; font-size: 13px; }
.qv-close { width: 36px; height: 36px; background: var(--soft); }
@media (max-width: 700px) {
  .qv { align-items: flex-end; padding: 0; }
  .qv-box { height: 92%; border-radius: 20px 20px 0 0; }
}
.pack-grid.as-list { grid-template-columns: minmax(0, 1fr) !important; }
.pack-row { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 16px; height: 148px; padding: 0 20px; overflow: hidden; background: var(--pack); border: 1px solid #ffffff; border-radius: 16px; box-shadow: var(--shadow-card); }
.pack-row .pack-name { font-size: 20px; line-height: 28px; }
.pack-row .pack-sub { color: var(--text-3); }
.row-word { display: flex; align-items: center; min-width: 0; height: 100%; overflow: hidden; }
.pack-row .pack-open { z-index: 1; }
.pack-row.dark .pack-name, .pack-row.dark .pack-sub { color: #ffffff; }
@media (max-width: 900px) {
  .pack-row { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; height: 168px; padding: 12px; gap: 4px 8px; }
  .row-word { grid-row: 2; }
}

/* Navbar HP: ☰ bulat di kiri (seperti Font Studio), panel Menu turun dari atas. Gaya panelnya
   ada di studio-c.css karena sama di semua halaman (Figma 643:821365). */
