/*
Theme Name:        Wedding Studio
Description:       Landing, katalog tema, dan shell dashboard platform undangan digital. Hanya presentasi — seluruh logic ada di plugin Wedding Platform.
Version:           0.6.0
Requires at least: 6.6
Requires PHP:      8.3
Author:            Undangin
Text Domain:       wedding-studio
*/

/* Token brand — DESIGN_SYSTEM §3.2. Komponen hanya memakai variabel ini. */
:root {
	--ws-color-gading: #f4ede1;
	--ws-color-sogan: #6b4a2b;
	--ws-color-tarum: #2e3a59;
	--ws-color-kunyit: #c8932e;
	--ws-color-bata: #a4492f;
	--ws-color-pandan: #5e7f5b;
	--ws-color-arang: #232020;
	--ws-color-muted: #5c5650;
	--ws-color-surface: #fffdf8;
	--ws-color-malam: #161c2e;
	--ws-color-malam-teks: #cfc8bb;

	--ws-color-bg: var(--ws-color-gading);
	--ws-color-text: var(--ws-color-arang);
	--ws-color-accent: var(--ws-color-tarum);

	--ws-font-display: "Gloock", Georgia, "Times New Roman", serif;
	--ws-font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@font-face { font-family: "Gloock"; src: url("assets/fonts/gloock-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/plus-jakarta-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/plus-jakarta-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--ws-color-bg);
	color: var(--ws-color-text);
	font-family: var(--ws-font-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--ws-color-accent); }

.ws-container {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* ---------- Landing v3 (M21) ----------
 * Arah: undangan cetak Indonesia — amplop tarum bersegel lilin, kertas gading, nota. Satu momen besar (amplop
 * terbuka di hero); gerak lain hanya menunjukkan cara kerja fitur (pesan terketik, angka, "Tersalin", kartu diseret).
 */

:root {
	--ws-r-lg: 28px;
	--ws-r-md: 18px;
	--ws-r-sm: 12px;
	--ws-line: rgba(35, 32, 32, .12);
	--ws-shadow: 0 30px 60px -36px rgba(22, 28, 46, .55);
	--ws-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Kepala (menempel) ---------- */

.ws-top { position: sticky; top: 0; z-index: 30; padding: .75rem 0; border-bottom: 1px solid var(--ws-line); background: rgba(244, 237, 225, .86); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); }
.ws-top .ws-container, .ws-top__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ws-brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--ws-font-display); font-size: 1.5rem; color: var(--ws-color-text); text-decoration: none; }
.ws-brand__seal {
	display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #c4664a, var(--ws-color-bata) 55%, #7d3220);
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .12), inset 0 0 0 5px rgba(0, 0, 0, .12), 0 3px 8px -3px rgba(125, 50, 32, .7);
	color: #f8e7d2; font-size: 1.05rem; line-height: 1;
}
.ws-top__note { margin: 0; font-size: .875rem; color: var(--ws-color-muted); }
.ws-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1.25rem; }
.ws-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ws-color-text); font-weight: 600; font-size: .95rem; text-decoration: none; }
.ws-nav a:hover { color: var(--ws-color-tarum); }
.ws-nav a[href^="#"], .ws-nav__login { display: none !important; }
.ws-nav__cta { padding: 0 1rem; border-radius: var(--ws-r-sm); background: var(--ws-color-tarum); color: var(--ws-color-surface) !important; }

/* ---------- Teks umum ---------- */

.ws-kicker { margin: 0; font-size: .875rem; font-weight: 600; color: var(--ws-color-sogan); }
.ws-lead { margin: 0; max-width: 48ch; color: var(--ws-color-muted); font-size: 1.0625rem; }
.ws-hint { margin: 0; font-size: .875rem; color: var(--ws-color-muted); }
.ws-h2 { margin: 0; max-width: 20ch; font-family: var(--ws-font-display); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.05; letter-spacing: -.01em; color: var(--ws-color-text); }
.ws-h3 { margin: 0; font-family: var(--ws-font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.ws-section { padding-top: 5rem; padding-bottom: 5rem; }
.ws-section__head { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.ws-band { background: var(--ws-color-surface); border-top: 1px solid var(--ws-line); border-bottom: 1px solid var(--ws-line); }
.ws-split { display: grid; gap: 2.5rem; align-items: start; }
.ws-tag { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border: 1px solid var(--ws-color-kunyit); border-radius: 999px; font: 600 .7rem/1.5 var(--ws-font-body); color: var(--ws-color-sogan); vertical-align: middle; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tombol ---------- */

.ws-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 2.9rem; padding: .65rem 1.3rem;
	border: 1px solid var(--ws-color-tarum); border-radius: var(--ws-r-sm);
	background: var(--ws-color-tarum); color: var(--ws-color-surface);
	font: 600 1rem/1.2 var(--ws-font-body); text-decoration: none; cursor: pointer;
	transition: transform .2s var(--ws-ease), box-shadow .2s var(--ws-ease);
}
.ws-button:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -14px rgba(46, 58, 89, .8); }
.ws-button:focus-visible, .ws-room__pick:focus-visible, .ws-nav a:focus-visible { outline: 3px solid var(--ws-color-kunyit); outline-offset: 3px; }
.ws-button--quiet { background: transparent; color: var(--ws-color-tarum); }
.ws-button--light { border-color: var(--ws-color-kunyit); background: var(--ws-color-kunyit); color: var(--ws-color-arang); }
.ws-button--big { min-height: 3.4rem; padding: .85rem 1.6rem; font-size: 1.05rem; }

/* ---------- Hero: amplop yang terbuka ---------- */

.ws-hero {
	position: relative; overflow: hidden; padding: 2.5rem 0 3rem;
	background:
		radial-gradient(60% 50% at 85% 20%, rgba(200, 147, 46, .18), transparent 70%),
		radial-gradient(50% 40% at 10% 90%, rgba(164, 73, 47, .08), transparent 70%),
		var(--ws-color-bg);
}
.ws-hero__grid { display: grid; gap: 2.5rem; }
.ws-hero__copy { display: grid; gap: 1.5rem; align-content: start; }
.ws-hero__title { margin: 0; max-width: 13.5ch; font-family: var(--ws-font-display); font-weight: 400; font-size: clamp(2.6rem, 7.2vw, 4.4rem); line-height: .97; letter-spacing: -.02em; color: var(--ws-color-tarum); }

/* Form = kartu tamu: garis isian seperti kartu undangan cetak. */
.ws-try { display: grid; gap: 1.1rem; max-width: 32rem; padding: 1.5rem 1.4rem 1.4rem; border: 1px solid var(--ws-line); border-radius: var(--ws-r-md); background: var(--ws-color-surface); box-shadow: var(--ws-shadow); }
.ws-try label { display: grid; gap: .2rem; }
.ws-try label > span { font-size: .8rem; font-weight: 600; color: var(--ws-color-muted); }
.ws-try input {
	width: 100%; min-height: 2.75rem; padding: .25rem 0;
	border: 0; border-bottom: 1.5px dashed rgba(35, 32, 32, .35); border-radius: 0;
	background: transparent; color: var(--ws-color-text); font: 400 1.05rem/1.3 var(--ws-font-body);
}
.ws-try__pair input { font-family: var(--ws-font-display); font-size: 1.5rem; color: var(--ws-color-tarum); }
.ws-try input::placeholder { color: rgba(35, 32, 32, .32); }
.ws-try input:focus { outline: none; border-bottom: 2px solid var(--ws-color-kunyit); }
.ws-try__pair { display: grid; gap: .75rem; }
.ws-try__amp { display: none; font-family: var(--ws-font-display); font-size: 2rem; line-height: 1; color: var(--ws-color-kunyit); }
.ws-try .ws-button { width: 100%; margin-top: .25rem; }
.ws-assure { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ws-color-muted); }
.ws-assure li { position: relative; padding-left: 1.4rem; }
.ws-assure li::before { content: ""; position: absolute; left: 0; top: .35em; width: .85rem; height: .45rem; border-left: 2px solid var(--ws-color-pandan); border-bottom: 2px solid var(--ws-color-pandan); transform: rotate(-45deg); }

.ws-hero__stage {
	--ph: 34rem; --pw: 17rem; --ew: min(25rem, 94%);
	position: relative; display: grid; justify-items: center; padding-top: .75rem; perspective: 1400px;
}
.ws-phone {
	position: relative; width: 18rem; height: 36rem; max-width: 100%; margin: 0 auto; padding: .55rem;
	border-radius: 2.4rem; background: linear-gradient(145deg, #2a2725, #121110);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .08), 0 40px 70px -40px rgba(22, 28, 46, .8);
}
.ws-phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 1.9rem; background: var(--ws-color-surface); }
.ws-phone iframe { position: absolute; top: 0; left: 0; width: 125%; height: 125%; border: 0; transform: scale(.8); transform-origin: 0 0; }
.ws-hero__stage .ws-phone--hero {
	z-index: 2; width: var(--pw); height: var(--ph);
	margin-bottom: calc(var(--ew) / 1.55 * .36);
	transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
	transition: transform .35s ease-out;
	animation: ws-rise 1.1s var(--ws-ease) .65s both;
}
.ws-env, .ws-env__front { position: absolute; left: 50%; top: calc(.75rem + var(--ph) - var(--ew) / 1.55 * .64); width: var(--ew); aspect-ratio: 1.55; translate: -50% 0; }
.ws-env { z-index: 1; }
.ws-env__back { position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(160deg, #3a4772, var(--ws-color-tarum) 60%, #222b45); box-shadow: var(--ws-shadow); }
.ws-env__flap {
	position: absolute; left: 0; right: 0; top: 0; height: 58%;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	background: linear-gradient(180deg, #2a3555, #1f2740);
	transform-origin: 50% 0; transform: rotateX(180deg);
	animation: ws-flap .9s var(--ws-ease) .2s both;
}
.ws-env__seal {
	position: absolute; left: 50%; bottom: -1.1rem; display: grid; place-items: center; width: 3rem; height: 3rem; margin-left: -1.5rem; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #c4664a, var(--ws-color-bata) 55%, #7d3220);
	box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .1), inset 0 0 0 7px rgba(0, 0, 0, .14);
	color: #f8e7d2; font: 400 1.3rem/1 var(--ws-font-display);
	animation: ws-seal .5s ease-in .05s both;
}
.ws-env__front {
	z-index: 3; pointer-events: none;
	clip-path: polygon(0 40%, 50% 64%, 100% 40%, 100% 100%, 0 100%);
	border-radius: 0 0 10px 10px;
	background: linear-gradient(180deg, #34406a, #283353 70%);
	filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, .08));
}
.ws-chip {
	position: absolute; z-index: 4; display: grid; gap: .1rem; max-width: 12.5rem; margin: 0; padding: .6rem .85rem;
	border: 1px solid var(--ws-line); border-radius: 14px; background: var(--ws-color-surface);
	box-shadow: 0 18px 30px -20px rgba(22, 28, 46, .55); font-size: .8rem; line-height: 1.3;
	animation: ws-pop .6s var(--ws-ease) both;
}
.ws-chip span:first-child { color: var(--ws-color-muted); }
.ws-chip b { overflow-wrap: anywhere; font-weight: 600; color: var(--ws-color-text); }
.ws-chip--to { left: 0; top: -.25rem; animation-delay: 1.5s; }
.ws-chip--wa { display: none; right: 0; top: 40%; animation-delay: 1.75s; }
.ws-chip--link { display: none; left: 2%; top: 60%; animation-delay: 2s; }
.ws-hero__caption { position: relative; z-index: 4; max-width: 22rem; margin-top: 1rem; text-align: center; }

@keyframes ws-flap { from { transform: rotateX(0deg); } }
@keyframes ws-seal { to { opacity: 0; scale: 1.4; } }
@keyframes ws-rise { from { opacity: 0; translate: 0 28%; } 40% { opacity: 1; } }
@keyframes ws-pop { from { opacity: 0; translate: 0 .6rem; scale: .96; } }

/* ---------- Ruang pamer tema ---------- */

.ws-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.ws-filter button { min-height: 2.6rem; padding: .4rem 1rem; border: 1px solid rgba(35, 32, 32, .22); border-radius: 999px; background: transparent; color: var(--ws-color-text); font: 600 .9rem/1.2 var(--ws-font-body); cursor: pointer; }
.ws-filter button[aria-pressed="true"] { border-color: var(--ws-color-tarum); background: var(--ws-color-tarum); color: var(--ws-color-surface); }

.ws-room { display: grid; gap: 1.5rem; }
.ws-room__list { display: flex; gap: .6rem; margin: 0 -1.25rem; padding: .25rem 1.25rem 1rem; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.ws-room__row { flex: 0 0 auto; scroll-snap-align: start; }
.ws-room__row[hidden] { display: none; }
.ws-room__pick {
	display: grid; grid-template-columns: auto 1fr; grid-template-areas: "sw name" "sw cat"; align-items: center; gap: 0 .75rem;
	min-width: 12rem; padding: .7rem .9rem; border: 1px solid var(--ws-line); border-radius: var(--ws-r-sm);
	background: var(--ws-color-surface); color: var(--ws-color-text); text-decoration: none;
	transition: border-color .2s, background .2s;
}
.ws-room__pick[aria-current="true"] { border-color: var(--ws-color-tarum); box-shadow: inset 0 0 0 1px var(--ws-color-tarum); }
.ws-room__swatch { grid-area: sw; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: conic-gradient(var(--s2) 0 33%, var(--s3) 0 50%, var(--s1) 0); box-shadow: inset 0 0 0 1px rgba(35, 32, 32, .15); }
.ws-room__name { grid-area: name; font-family: var(--ws-font-display); font-size: 1.15rem; line-height: 1.2; }
.ws-room__cat { grid-area: cat; font-size: .8rem; color: var(--ws-color-muted); }
.ws-room__price, .ws-room__use { display: none; }
.ws-room__stage {
	display: grid; justify-items: center; gap: 1.25rem; padding: 2rem 1.25rem 1.75rem; border-radius: var(--ws-r-lg);
	background: radial-gradient(70% 55% at 50% 30%, #2b3658, var(--ws-color-malam));
	color: var(--ws-color-gading);
}
.ws-phone--room { width: 17rem; height: 34rem; }
.ws-room__info { display: grid; gap: .6rem; max-width: 26rem; text-align: center; }
.ws-room__info p { margin: 0; color: var(--ws-color-malam-teks); }
.ws-room__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .5rem; }
.ws-room__stage .ws-button { border-color: var(--ws-color-kunyit); background: var(--ws-color-kunyit); color: var(--ws-color-arang); }
.ws-room__stage .ws-button--quiet { border-color: rgba(244, 237, 225, .4); background: transparent; color: var(--ws-color-gading); }
.ws-room.is-swapping .ws-phone--room { animation: ws-swap .45s var(--ws-ease); }
@keyframes ws-swap { 50% { scale: .97; opacity: .6; } }

/* ---------- Bagian 3D & pita gelap ---------- */

.ws-dark {
	background:
		radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, .5), transparent),
		radial-gradient(1px 1px at 72% 12%, rgba(255, 255, 255, .4), transparent),
		radial-gradient(1.5px 1.5px at 88% 46%, rgba(255, 255, 255, .35), transparent),
		radial-gradient(1px 1px at 32% 70%, rgba(255, 255, 255, .3), transparent),
		radial-gradient(60% 60% at 80% 40%, rgba(200, 147, 46, .12), transparent 70%),
		var(--ws-color-malam);
	color: var(--ws-color-gading);
}
.ws-dark .ws-h2 { color: var(--ws-color-gading); }
.ws-dark .ws-lead, .ws-dark .ws-hint { color: var(--ws-color-malam-teks); }
.ws-3d__copy { display: grid; gap: 1.5rem; align-content: start; }
.ws-3d__demo { display: grid; justify-items: center; gap: .75rem; margin: 0; }
.ws-facts { display: grid; gap: 1rem 2rem; margin: 0; }
.ws-facts div { padding-top: .85rem; border-top: 1px solid rgba(207, 200, 187, .22); }
.ws-facts dt { font-family: var(--ws-font-display); font-size: 1.6rem; line-height: 1.1; color: var(--ws-color-kunyit); }
.ws-facts dd { margin: .3rem 0 0; color: var(--ws-color-malam-teks); font-size: .95rem; }
.ws-3d__copy .ws-button { justify-self: start; }

/* ---------- Fitur: potongan UI yang hidup ---------- */

.ws-bento { display: grid; gap: 1rem; }
.ws-tile { display: grid; gap: 1rem; align-content: start; padding: 1.6rem; border: 1px solid var(--ws-line); border-radius: var(--ws-r-md); background: var(--ws-color-bg); }
.ws-tile__split { display: grid; gap: 1.5rem; align-items: start; }
.ws-steps { margin: 0; padding: 0; list-style: none; counter-reset: ws-step; display: grid; gap: 1.1rem; }
.ws-steps li { counter-increment: ws-step; position: relative; padding-left: 2.75rem; }
.ws-steps li::before { content: counter(ws-step); position: absolute; left: 0; top: -.2rem; font-family: var(--ws-font-display); font-size: 2rem; line-height: 1; color: var(--ws-color-kunyit); }
.ws-chat { position: relative; margin: 0; padding: 1rem; border-radius: var(--ws-r-sm); background: #e5ddcd; }
.ws-chat figcaption { margin-bottom: .6rem; font-size: .8rem; color: var(--ws-color-muted); }
.ws-chat__bubble { margin: 0; padding: .85rem 1rem; border-radius: 0 12px 12px 12px; background: #fff; white-space: pre-line; overflow-wrap: anywhere; font-size: .9rem; line-height: 1.5; box-shadow: 0 1px 0 rgba(35, 32, 32, .12); }
.ws-chat__tick { display: block; margin-top: .35rem; font-size: .75rem; text-align: right; color: var(--ws-color-pandan); font-weight: 600; }
.ws-board { margin: 0; padding: 1.1rem; border: 1px solid var(--ws-line); border-radius: var(--ws-r-sm); background: var(--ws-color-surface); }
.ws-board figcaption { margin-bottom: .85rem; font-size: .8rem; color: var(--ws-color-muted); }
.ws-board__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin: 0 0 .85rem; }
.ws-board__stats div { display: flex; flex-direction: column-reverse; padding: .65rem .75rem; border-radius: 10px; background: var(--ws-color-bg); }
.ws-board__stats dt { font-size: .8rem; color: var(--ws-color-muted); }
.ws-board__stats dd { margin: 0; font-family: var(--ws-font-display); font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ws-board__rows { margin: 0; padding: 0; list-style: none; }
.ws-board__rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--ws-line); font-size: .9rem; }
.ws-board__rows li span:last-child { color: var(--ws-color-muted); text-align: right; }
.ws-board__rows .is-yes { color: var(--ws-color-pandan) !important; font-weight: 600; }
.ws-board__rows .is-seen { color: var(--ws-color-tarum) !important; }
.ws-mini { display: grid; gap: .5rem; margin: 0; padding: 1rem; border: 1px solid var(--ws-line); border-radius: var(--ws-r-sm); background: var(--ws-color-surface); }
.ws-mini__q { margin: 0 0 .2rem; font-family: var(--ws-font-display); font-size: 1.2rem; }
.ws-mini__opt { padding: .55rem .8rem; border: 1px solid rgba(35, 32, 32, .18); border-radius: 10px; font-size: .9rem; }
.ws-mini__opt.is-on { border: 2px solid var(--ws-color-tarum); background: rgba(46, 58, 89, .06); font-weight: 600; }
.ws-mini__row { display: flex; justify-content: space-between; padding-top: .2rem; font-size: .9rem; color: var(--ws-color-muted); }
.ws-mini--gift { justify-items: start; border: 0; background: linear-gradient(150deg, #3a4772, var(--ws-color-tarum)); color: var(--ws-color-gading); }
.ws-mini__label { font-size: .8rem; color: var(--ws-color-malam-teks); }
.ws-mini__num { font-family: var(--ws-font-display); font-weight: 400; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.ws-mini__copy { padding: .2rem .65rem; border-radius: 999px; background: var(--ws-color-kunyit); color: var(--ws-color-arang); font-size: .8rem; font-weight: 600; }
.ws-mini--studio { list-style: none; }
.ws-mini--studio li { position: relative; padding: .55rem .75rem .55rem 2rem; border: 1px solid var(--ws-line); border-radius: 10px; background: var(--ws-color-bg); font-size: .9rem; }
.ws-mini--studio li::before { content: ""; position: absolute; left: .7rem; top: 50%; width: .55rem; height: .9rem; translate: 0 -50%; background: radial-gradient(circle, var(--ws-color-muted) 1.2px, transparent 1.6px) 0 0 / .275rem .3rem; }
.ws-mini--studio li.is-drag { border-color: var(--ws-color-tarum); background: var(--ws-color-surface); box-shadow: 0 14px 22px -14px rgba(22, 28, 46, .6); transform: translateX(.6rem) rotate(-2deg); }
.ws-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.ws-chips li { padding: .45rem .85rem; border: 1px solid rgba(35, 32, 32, .16); border-radius: 999px; background: var(--ws-color-surface); font-size: .92rem; }

/* Gerak fitur — hanya setelah terlihat (catalog.js menambah .is-live), tanpa JS semuanya diam & lengkap. */
.ws-js .ws-bento:not(.is-live) .ws-chat__bubble { clip-path: inset(0 0 100% 0); }
.ws-bento.is-live .ws-chat__bubble { animation: ws-type 2.2s steps(14) .3s both; }
.ws-bento.is-live .ws-chat__tick { animation: ws-pop .4s var(--ws-ease) 2.6s both; }
.ws-bento.is-live .ws-mini__copy { animation: ws-flash 3.2s ease-in-out 1s infinite; }
.ws-bento.is-live .ws-mini--studio li.is-drag { animation: ws-drag 4.5s var(--ws-ease) 1s infinite; }
.ws-bento.is-live .ws-mini__opt.is-on { animation: ws-choose 3.6s ease 1.2s infinite; }
@keyframes ws-type { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes ws-flash { 0%, 60%, 100% { opacity: 0; } 70%, 92% { opacity: 1; } }
@keyframes ws-drag { 0%, 15% { transform: translateX(0) rotate(0); box-shadow: none; } 30%, 60% { transform: translateX(.6rem) translateY(-2.6rem) rotate(-2deg); } 75%, 100% { transform: translateX(0) translateY(0) rotate(0); } }
@keyframes ws-choose { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 58, 89, 0); } 20% { box-shadow: 0 0 0 6px rgba(46, 58, 89, .12); } }

/* ---------- Nota janji ---------- */

.ws-receipt { position: relative; max-width: 34rem; padding: 1.75rem 1.6rem 2.4rem; background: var(--ws-color-surface); box-shadow: var(--ws-shadow); }
.ws-receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 18px; background: linear-gradient(135deg, var(--ws-color-bg) 25%, transparent 25%) -9px 0 / 18px 18px, linear-gradient(225deg, var(--ws-color-bg) 25%, transparent 25%) -9px 0 / 18px 18px; }
.ws-receipt__head { margin: 0 0 1rem; padding-bottom: .85rem; border-bottom: 2px solid var(--ws-color-text); font-family: var(--ws-font-display); font-size: 1.4rem; text-align: center; }
.ws-ledger { margin: 0; }
.ws-ledger div { display: grid; gap: .25rem; padding: .9rem 0; border-bottom: 1px dashed rgba(35, 32, 32, .3); }
.ws-ledger div:last-child { border-bottom: 0; }
.ws-ledger dt { font-weight: 600; }
.ws-ledger dd { margin: 0; color: var(--ws-color-muted); font-size: .95rem; }

/* ---------- Cara kerja (urutan nyata) ---------- */

.ws-how { display: grid; gap: 2rem; margin: 2.5rem 0 0; padding: 0; list-style: none; counter-reset: ws-how; }
.ws-how li { counter-increment: ws-how; position: relative; display: grid; gap: .5rem; align-content: start; }
.ws-how li::before { content: counter(ws-how); display: grid; place-items: center; width: 3rem; height: 3rem; border: 1.5px solid var(--ws-color-kunyit); border-radius: 50%; font-family: var(--ws-font-display); font-size: 1.5rem; color: var(--ws-color-sogan); background: var(--ws-color-surface); }
.ws-how p { margin: 0; color: var(--ws-color-muted); }

/* ---------- Harga ---------- */

.ws-plans { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
.ws-plan { display: grid; gap: .75rem; align-content: start; padding: 2rem 1.75rem; border: 1px solid var(--ws-line); border-radius: var(--ws-r-lg); background: var(--ws-color-surface); }
.ws-plan__name { margin: 0; font-family: var(--ws-font-display); font-weight: 400; font-size: 1.5rem; }
.ws-plan__price { margin: 0; font-family: var(--ws-font-display); font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.ws-plan__term { margin: 0; font-size: .9rem; color: var(--ws-color-muted); }
.ws-plan__list { display: grid; gap: .55rem; margin: .75rem 0 1rem; padding: 1rem 0 0; border-top: 1px solid var(--ws-line); list-style: none; font-size: .95rem; }
.ws-plan__list li { position: relative; padding-left: 1.6rem; }
.ws-plan__list li::before { content: ""; position: absolute; left: .1rem; top: .45em; width: .8rem; height: .42rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); color: var(--ws-color-pandan); }
.ws-plan__list li.is-off { opacity: .42; }
.ws-plan__list li.is-off::before { width: .7rem; height: 0; border-left: 0; transform: none; top: .7em; color: var(--ws-color-muted); }
.ws-plan__list em { display: block; font-style: normal; font-size: .85rem; color: var(--ws-color-muted); }
.ws-plan .ws-button { justify-self: start; }
.ws-plan--main { border: 0; background: radial-gradient(80% 60% at 80% 0%, #2b3658, var(--ws-color-malam)); color: var(--ws-color-gading); box-shadow: var(--ws-shadow); }
.ws-plan--main .ws-plan__term, .ws-plan--main .ws-plan__list em { color: var(--ws-color-malam-teks); }
.ws-plan--main .ws-plan__list { border-top-color: rgba(207, 200, 187, .22); }
.ws-plan--main .ws-plan__list li::before { color: var(--ws-color-kunyit); }
.ws-plan--main .ws-plan__list li.is-off::before { color: var(--ws-color-malam-teks); }
.ws-table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
.ws-prices { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ws-prices caption { margin-bottom: .75rem; font-family: var(--ws-font-display); font-size: 1.25rem; text-align: left; }
.ws-prices th, .ws-prices td { padding: .6rem .5rem; border-bottom: 1px solid var(--ws-line); text-align: left; vertical-align: top; }
.ws-prices tbody th { width: 40%; font-weight: 400; color: var(--ws-color-muted); }
.ws-prices thead th { padding-bottom: .75rem; border-bottom: 2px solid var(--ws-color-text); }
.ws-prices__name { display: block; font-size: .85rem; font-weight: 600; color: var(--ws-color-sogan); }
.ws-prices__amount { display: block; font-family: var(--ws-font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.1; }
.ws-pay { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; max-width: 62rem; margin: 0; }
.ws-pay__item { padding: .3rem .75rem; border: 1px solid var(--ws-line); border-radius: 999px; background: var(--ws-color-surface); font-size: .9rem; }
.ws-pay__note { flex-basis: 100%; font-size: .9rem; color: var(--ws-color-muted); }

/* ---------- Tanya jawab ---------- */

.ws-faq { border-top: 1px solid rgba(35, 32, 32, .15); }
.ws-faq details { border-bottom: 1px solid rgba(35, 32, 32, .15); }
.ws-faq summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 3.5rem; padding: .85rem 0; font-weight: 600; cursor: pointer; list-style: none; }
.ws-faq summary::-webkit-details-marker { display: none; }
.ws-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--ws-line); border-radius: 50%; font-size: 1.2rem; font-weight: 400; color: var(--ws-color-sogan); transition: rotate .25s var(--ws-ease); }
.ws-faq details[open] summary::after { rotate: 45deg; }
.ws-faq p { margin: 0 0 1.1rem; max-width: 60ch; color: var(--ws-color-muted); }

/* ---------- Ajakan akhir & kaki ---------- */

.ws-final { padding: 5.5rem 0; text-align: center; }
.ws-final__inner { display: grid; justify-items: center; gap: 1.25rem; }
.ws-final .ws-h2 { max-width: 18ch; }
.ws-final__seal {
	display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #c4664a, var(--ws-color-bata) 55%, #7d3220);
	box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .1), inset 0 0 0 9px rgba(0, 0, 0, .14), 0 10px 24px -10px rgba(0, 0, 0, .6);
	color: #f8e7d2; font: 400 2rem/1 var(--ws-font-display);
}
.ws-foot { padding: 3rem 0 4.5rem; border-top: 1px solid var(--ws-line); font-size: .9rem; color: var(--ws-color-muted); }
.ws-foot__grid { display: grid; gap: 2rem; }
.ws-foot p { margin: .5rem 0 0; max-width: 46ch; }
.ws-foot__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.ws-foot__nav a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--ws-color-text); text-decoration: none; font-weight: 600; }
.ws-cs { position: fixed; right: 1rem; bottom: 1rem; z-index: 25; display: inline-flex; align-items: center; min-height: 3rem; padding: .6rem 1.1rem; border-radius: 999px; background: var(--ws-color-pandan); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 14px 28px -14px rgba(35, 32, 32, .7); }

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

/* ---------- Halaman informasi: mitra & legal (M22) ---------- */

.ws-doc-hero { padding: 3rem 0; }
.ws-doc { max-width: 46rem; }
.ws-doc h2:not(.ws-h2) { margin: 2rem 0 .5rem; font-family: var(--ws-font-display); font-weight: 400; font-size: 1.35rem; }
.ws-doc p, .ws-doc li { color: var(--ws-color-text); }
.ws-doc ol, .ws-doc ul { display: grid; gap: .6rem; padding-left: 1.25rem; }
.ws-doc-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.ws-doc-tabs a { display: inline-flex; align-items: center; min-height: 2.6rem; padding: .35rem 1rem; border: 1px solid rgba(35, 32, 32, .22); border-radius: 999px; color: var(--ws-color-text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.ws-doc-tabs a[aria-current="page"] { border-color: var(--ws-color-tarum); background: var(--ws-color-tarum); color: var(--ws-color-surface); }
.ws-foot__legal { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.ws-foot__legal a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--ws-color-text); font-weight: 600; text-decoration: none; }

/* ---------- Layar lebih lebar ---------- */

@media (min-width: 30rem) {
	.ws-try__pair { grid-template-columns: 1fr auto 1fr; align-items: end; }
	.ws-try__amp { display: block; padding-bottom: .35rem; }
}

@media (min-width: 40rem) {
	.ws-nav a[href^="#"], .ws-nav__login { display: inline-flex !important; }
	.ws-hero__stage { --ph: 36rem; --pw: 18rem; --ew: 27rem; }
	.ws-chip--link, .ws-chip--wa { display: grid; }
	.ws-chip--to { top: 16%; }
	.ws-board__stats { grid-template-columns: repeat(4, 1fr); }
	.ws-tile__split { grid-template-columns: 1fr 1fr; }
	.ws-facts { grid-template-columns: 1fr 1fr; }
	.ws-plans { grid-template-columns: 1fr 1fr; }
	.ws-ledger div { grid-template-columns: 13rem 1fr; gap: 1.25rem; }
	.ws-prices { font-size: 1rem; }
	.ws-foot__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (min-width: 56rem) {
	.ws-hero { padding: 3.5rem 0 4rem; }
	.ws-hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem; }
	.ws-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
	.ws-split--wide { grid-template-columns: 1.1fr .9fr; align-items: center; }
	.ws-section__head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 2.5rem; }
	.ws-split > .ws-section__head { grid-template-columns: 1fr; align-items: start; }
	.ws-room { grid-template-columns: minmax(0, 1fr) 24rem; align-items: start; gap: 2.5rem; }
	.ws-room__list { display: block; margin: 0; padding: 0; overflow: visible; border-top: 1px solid var(--ws-line); }
	.ws-room__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .75rem; border-bottom: 1px solid var(--ws-line); }
	.ws-room__pick { grid-template-columns: auto 1fr auto; grid-template-areas: "sw name price" "sw cat price"; min-width: 0; padding: .85rem .75rem; border: 0; border-radius: var(--ws-r-sm); background: transparent; }
	.ws-room__pick:hover { background: var(--ws-color-surface); }
	.ws-room__pick[aria-current="true"] { background: var(--ws-color-surface); box-shadow: inset 3px 0 0 var(--ws-color-tarum); }
	.ws-room__price { display: block; grid-area: price; font-size: .85rem; color: var(--ws-color-muted); }
	.ws-room__use { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 .9rem; border-radius: 999px; color: var(--ws-color-tarum); font-weight: 600; font-size: .9rem; text-decoration: none; }
	.ws-room__use:hover { background: rgba(46, 58, 89, .08); }
	.ws-room__stage { position: sticky; top: 5.5rem; }
	.ws-bento { grid-template-columns: repeat(3, 1fr); }
	.ws-tile--wide { grid-column: span 2; }
	.ws-bento > .ws-tile:last-child { grid-column: 1 / -1; }
	.ws-receipt { transform: rotate(-1.2deg); }
	.ws-how { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
	.ws-how li:not(:last-child)::after { content: ""; position: absolute; top: 1.5rem; left: 3.75rem; right: -2.25rem; border-top: 1.5px dashed rgba(200, 147, 46, .6); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ws-js .ws-bento:not(.is-live) .ws-chat__bubble { clip-path: none; }
	.ws-hero__stage .ws-phone--hero { transform: none; }
}

/* ---------- Pratinjau tema (/tema/{id}/, M14) ----------
 * Suasana halaman mengikuti token tema yang sedang dilihat (--pv-*); warna dianimasikan saat pindah tema.
 */

@property --pv-bg { syntax: "<color>"; inherits: true; initial-value: #f4ede1; }
@property --pv-surface { syntax: "<color>"; inherits: true; initial-value: #fffdf8; }
@property --pv-text { syntax: "<color>"; inherits: true; initial-value: #232020; }
@property --pv-accent { syntax: "<color>"; inherits: true; initial-value: #2e3a59; }
@property --pv-ornament { syntax: "<color>"; inherits: true; initial-value: #c8932e; }

.ws-pv-body { margin: 0; }

.ws-pv {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	min-height: 100vh;
	min-height: 100svh;
	color: var(--pv-text);
	background-color: var(--pv-bg);
	background-image:
		radial-gradient(44rem 34rem at 8% 6%, color-mix(in srgb, var(--pv-accent) 28%, transparent), transparent 70%),
		radial-gradient(38rem 30rem at 96% 92%, color-mix(in srgb, var(--pv-ornament) 30%, transparent), transparent 70%);
	transition: --pv-bg .6s ease, --pv-surface .6s ease, --pv-text .6s ease, --pv-accent .6s ease, --pv-ornament .6s ease;
}

.ws-pv a:focus-visible,
.ws-pv button:focus-visible,
.ws-pv input:focus-visible { outline: 2px solid var(--pv-accent); outline-offset: 2px; }

.ws-pv-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Bilah atas */
.ws-pv-bar {
	position: sticky; top: 0; z-index: 5;
	display: flex; align-items: center; gap: .75rem;
	padding: .625rem clamp(1rem, 3vw, 2rem);
	background: color-mix(in srgb, var(--pv-surface) 80%, transparent);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid color-mix(in srgb, var(--pv-text) 12%, transparent);
}
.ws-pv-back { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; color: var(--pv-text); font-weight: 600; text-decoration: none; }
.ws-pv-bar__name { flex: 1; min-width: 0; margin: 0; overflow: hidden; font-weight: 600; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.ws-pv-bar__tools { display: flex; align-items: center; gap: .25rem; }
.ws-pv-icon {
	display: inline-grid; place-items: center;
	width: 2.75rem; height: 2.75rem; padding: 0;
	border: 1px solid color-mix(in srgb, var(--pv-text) 20%, transparent); border-radius: 50%;
	background: transparent; color: var(--pv-text);
	cursor: pointer;
}
.ws-pv-icon[hidden] { display: none; }
.ws-pv-icon svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ws-pv-icon:hover { background: color-mix(in srgb, var(--pv-text) 8%, transparent); }
.ws-pv-icon.is-done { border-color: var(--pv-accent); background: var(--pv-accent); color: var(--pv-surface); }
.ws-pv-count { min-width: 3rem; font-size: .875rem; font-variant-numeric: tabular-nums; text-align: center; }
.ws-pv-cta {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 2.75rem; padding: 0 1.35rem;
	border-radius: 999px;
	background: var(--pv-accent); color: var(--pv-surface);
	font-weight: 600; text-decoration: none; white-space: nowrap;
}

/* Isi: undangan di bingkai HP + panel detail */
.ws-pv-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(20rem, 25rem);
	align-items: start;
	gap: clamp(1.5rem, 5vw, 5rem);
	width: 100%; max-width: 74rem;
	margin: 0 auto;
	padding: 1.5rem clamp(1rem, 3vw, 2rem) 2.5rem;
}
.ws-pv-stage { position: sticky; top: 5rem; display: grid; justify-items: center; gap: .875rem; }
.ws-pv-phone {
	position: relative;
	height: min(820px, calc(100svh - 9rem));
	aspect-ratio: 390 / 820;
	padding: .6rem;
	border-radius: 3rem;
	background: #141414;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, .1),
		0 0 0 .35rem color-mix(in srgb, var(--pv-text) 9%, transparent),
		0 2.5rem 5rem -2rem color-mix(in srgb, var(--pv-accent) 60%, #000);
}
.ws-pv-phone::before {
	content: "";
	position: absolute; top: .18rem; left: 50%;
	width: .4rem; height: .4rem; margin-left: -.2rem;
	border-radius: 50%;
	background: #2a2a2a;
}
.ws-pv-frame { display: block; width: 100%; height: 100%; border: 0; border-radius: 2.45rem; background: var(--pv-bg); }
.ws-pv-stage__hint { max-width: 24rem; margin: 0; font-size: .875rem; text-align: center; }

.ws-pv-panel { display: grid; gap: 1.25rem; padding-top: 1rem; }
.ws-pv-panel:focus { outline: none; }
.ws-pv-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.ws-pv-chip {
	display: inline-flex; align-items: center;
	min-height: 2rem; padding: 0 .875rem;
	border: 1px solid color-mix(in srgb, var(--pv-text) 25%, transparent); border-radius: 999px;
	font-size: .875rem; font-weight: 600;
}
.ws-pv-chip--tier { border-color: transparent; background: var(--pv-text); color: var(--pv-bg); }
.ws-pv-title { margin: 0; font-weight: 400; font-size: clamp(2.25rem, 9vw, 5rem); line-height: .95; color: var(--pv-accent); overflow-wrap: break-word; }
.ws-pv-desc { max-width: 38ch; margin: 0; font-size: 1.0625rem; }
.ws-pv-label { margin: 0; font-size: .9375rem; font-weight: 600; }

.ws-pv-try {
	display: grid; gap: .625rem;
	padding: 1rem;
	border: 1px solid color-mix(in srgb, var(--pv-text) 12%, transparent); border-radius: 1.25rem;
	background: color-mix(in srgb, var(--pv-surface) 72%, transparent);
}
.ws-pv-try__pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .5rem; }
.ws-pv-try label { display: block; }
.ws-pv-try input {
	width: 100%; min-height: 2.75rem; padding: .5rem .75rem;
	border: 1px solid color-mix(in srgb, var(--pv-text) 35%, transparent); border-radius: .75rem;
	background: var(--pv-surface); color: var(--pv-text);
	font: 1rem/1.3 var(--ws-font-body);
}
.ws-pv-try input::placeholder { color: color-mix(in srgb, var(--pv-text) 62%, var(--pv-surface)); }
.ws-pv-amp { font-family: var(--ws-font-display); font-size: 1.5rem; color: var(--pv-ornament); }
.ws-pv-try__submit {
	justify-self: start; min-height: 2.75rem; padding: 0 1.1rem;
	border: 1px solid var(--pv-text); border-radius: 999px;
	background: transparent; color: var(--pv-text);
	font: 600 1rem/1 var(--ws-font-body); cursor: pointer;
}
.ws-pv-try__submit[hidden] { display: none; }

.ws-pv-facts { display: grid; gap: .625rem; margin: 0; }
.ws-pv-facts div { display: grid; grid-template-columns: 5.5rem 1fr; align-items: center; gap: .75rem; }
.ws-pv-facts dt { font-size: .875rem; }
.ws-pv-facts dd { margin: 0; font-weight: 600; }
.ws-pv-swatches { display: flex; }
.ws-pv-swatches span { width: 1.75rem; height: 1.75rem; margin-right: -.4rem; border-radius: 50%; box-shadow: 0 0 0 2px var(--pv-bg), inset 0 0 0 1px rgba(0, 0, 0, .12); }
.ws-pv-note { margin: 0; font-size: .875rem; }

.ws-pv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.ws-pv-tile {
	display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: .625rem; align-items: center;
	min-height: 3.25rem; padding: .5rem;
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent); border-radius: 1rem;
	color: inherit; text-decoration: none;
}
.ws-pv-tile:hover { background: color-mix(in srgb, currentColor 6%, transparent); }
.ws-pv-tile[aria-current="page"] { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.ws-pv-tile__swatch {
	grid-row: span 2;
	width: 2.25rem; height: 2.25rem;
	border-radius: .7rem;
	background: linear-gradient(135deg, var(--pv-bg) 0 48%, var(--pv-accent) 48% 76%, var(--pv-ornament) 76%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
}
.ws-pv-tile__name { font-weight: 600; line-height: 1.2; }
.ws-pv-tile__meta { font-size: .8125rem; line-height: 1.3; }

.ws-pv-dock { display: none; }

/* Layar sempit: undangan memenuhi layar, detail di sheet bawah. */
@media (max-width: 56rem) {
	.ws-pv { grid-template-rows: auto 1fr auto; }
	.ws-pv-bar { gap: .125rem; padding: .375rem .5rem; }
	.ws-pv-count { min-width: 2.5rem; font-size: .8125rem; }
	.ws-pv-back__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ws-pv-back { justify-content: center; width: 2.75rem; }
	.ws-pv-bar__name { text-align: left; }
	.ws-pv-bar .ws-pv-cta { display: none; }
	.ws-pv-main { display: block; padding: 0; }
	.ws-pv-stage { position: static; gap: 0; }
	.ws-pv-phone { width: 100%; height: calc(100svh - 7.75rem - env(safe-area-inset-bottom)); aspect-ratio: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; }
	.ws-pv-phone::before, .ws-pv-stage__hint { display: none; }
	.ws-pv-frame { border-radius: 0; }
	.ws-pv-panel { padding: 1.5rem 1rem 2rem; }
	.ws-pv-dock {
		position: sticky; bottom: 0; z-index: 9;
		display: flex; gap: .5rem;
		padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom));
		background: color-mix(in srgb, var(--pv-surface) 92%, transparent);
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
		border-top: 1px solid color-mix(in srgb, var(--pv-text) 12%, transparent);
	}
	.ws-pv-dock .ws-pv-cta { flex: 1; }
	.ws-pv-dock__detail {
		min-height: 2.75rem; padding: 0 1rem;
		border: 1px solid var(--pv-text); border-radius: 999px;
		background: transparent; color: var(--pv-text);
		font: 600 .9375rem/1 var(--ws-font-body); cursor: pointer;
	}
	.ws-pv-dock__detail[hidden] { display: none; }

	.ws-js .ws-pv-panel {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 8;
		max-height: 80svh; overflow-y: auto; overscroll-behavior: contain;
		padding: 1.25rem 1rem calc(5rem + env(safe-area-inset-bottom));
		border-radius: 1.5rem 1.5rem 0 0;
		background: var(--pv-surface);
		box-shadow: 0 -1rem 3rem rgba(0, 0, 0, .25);
		transform: translateY(105%);
		visibility: hidden;
		transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
	}
	.ws-js .ws-pv.is-sheet-open .ws-pv-panel { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
}

@media (prefers-reduced-motion: reduce) {
	.ws-pv, .ws-js .ws-pv-panel, .ws-js .ws-pv.is-sheet-open .ws-pv-panel { transition: none; }
}
