/* K Young public site. Look "Area Pasien" (Ko Eka, 3 Nov 2026): warm cream base, sage buttons, plum titles, thin gold
   lines, soft brown shadows; the main Booking button stays purple. Poppins for text, Fraunces (serif, SIL OFL) for titles.
   Mobile first. Light = this cream look; dark = the calm dark palette the public site had before (html[data-tema="gelap"], or
   the device when the choice is "Otomatis", see the end of this file). Every movement stops under prefers-reduced-motion. */
@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url(/fonts/poppins-Light.woff2) format('woff2'), url(/fonts/poppins-Light.woff) format('woff'); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/fonts/poppins-Regular.woff2) format('woff2'), url(/fonts/poppins-Regular.woff) format('woff'); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/fonts/poppins-Medium.woff2) format('woff2'), url(/fonts/poppins-Medium.woff) format('woff'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/fonts/poppins-Bold.woff2) format('woff2'), url(/fonts/poppins-Bold.woff) format('woff'); }
/* Title font: Fraunces 600, latin only, 18 KB woff2 (public/fonts/fraunces-600.woff2, SIL Open Font License 1.1). */
@font-face { font-family: Fraunces; font-weight: 600; font-display: swap; src: url(/fonts/fraunces-600.woff2) format('woff2'); }

/* public pages only (staff pages keep site.css): the cream tokens ARE the base tokens here. The old names (--mint, --lilac-*) stay mapped. */
:root {
  --purple: #A14BAC; --purple-d: #8A3D95; --plum: #5B2A63;
  --base: #FBF4EA; --page: #F3EADF; --card: #FFFAF3; --line: #EADCCB;
  --sage: #CFE0C8; --sage-d: #BBD2B1; --sage-ink: #2F4A36; --soft: #E4EEDD; --peach: #F6E3D2;
  --gold: rgba(217, 184, 114, .65); --gold-ink: #86682C;
  --brown: #5B4A3E; --muted: #5B4A3E; --ink: #2B2420; --paper: var(--base);
  --mint: var(--sage); --mint-50: var(--soft); --lilac-50: var(--page); --lilac-100: var(--line);
  --danger: #B42318; --ok: #1E7A3C;
  --r: 18px; --shadow: 0 1px 2px rgba(120, 85, 50, .06), 0 6px 18px rgba(120, 85, 50, .08);
  --shadow-up: 0 2px 4px rgba(120, 85, 50, .08), 0 14px 28px rgba(120, 85, 50, .14);
  --grad-hello: linear-gradient(120deg, #FBF4EA 0%, #F1F2E2 55%, #E4EEDD 100%);
  --header-bg: rgba(251, 244, 234, .92); --footer-bg: var(--plum); --cta-bg: var(--plum); --btn-ink: #fff;
  --peach-mid: rgba(246, 227, 210, .55); --sage-mid: rgba(207, 224, 200, .6); --glow: rgba(228, 238, 221, .55);
  --sel-bg: var(--sage); --sel-ink: var(--sage-ink); --link-ink: var(--purple-d);
  --mono-fill: #8A3D95; --mono-op: .24;   /* the big K Young monogram in the hero: purple on cream (white was almost invisible, 7 Nov 2026) */
  --font: Poppins, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Fraunces, Georgia, "Times New Roman", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: var(--link-ink); }
b, strong { font-weight: 700; }
h1, h2, h3 { font-weight: 300; line-height: 1.2; margin: 0; }
h1 b, h2 b { font-weight: 700; }
/* Serif titles: the big page and section titles only; small headings stay Poppins. */
body:not(.admin) :is(h1, .sec h2, .page h1, .t-hero h1, .tgroup h2, .similar h2, .know h2, .t-steps h2, .p-group h2, .tm-group h2, .qz-q, .qz-head h2, .today-head h2, .bk h1) { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; color: var(--plum); }
body:not(.admin) :is(h1 b, .sec h2 b) { font-weight: 600; color: var(--purple-d); }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 6px; }

/* top bar + header */
.topbar { background: var(--plum); color: #fff; font-size: 12.5px; text-align: center; padding: 8px 12px; }
.topbar a { color: var(--sage); font-weight: 500; }
.header { position: sticky; top: 0; z-index: 20; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gold); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo img { height: 28px; width: auto; }
.nav { display: none; gap: 22px; font-size: 14px; }
.nav a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color .2s var(--ease), color .2s; }
.nav a:hover { color: var(--purple-d); border-bottom-color: var(--gold); }
.hright { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 12px; background: var(--card); }
.lang a { padding: 5px 9px; text-decoration: none; color: var(--brown); }
.lang a[aria-current="true"] { background: var(--purple); color: var(--btn-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; padding: 13px 18px; font: 500 15px var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; min-height: 48px; transition: background-color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn-p { background: var(--purple); color: var(--btn-ink); box-shadow: 0 4px 12px rgba(138, 61, 149, .22); }
.btn-p:hover { background: var(--purple-d); transform: translateY(-1px); }
.btn-o { border-color: var(--sage); color: var(--sage-ink); background: var(--sage); }
.btn-o:hover { background: var(--sage-d); border-color: var(--sage-d); }
.btn-s { min-height: 38px; padding: 8px 14px; font-size: 13.5px; border-radius: 12px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.header .btn { display: none; }
@media (min-width: 900px) { .nav { display: flex; } .header .btn { display: inline-flex; } }

/* sections */
.sec { padding: 44px 0; }
.sec.alt { background: var(--page); }
.eyebrow { font-size: 11.5px; letter-spacing: 3px; text-transform: uppercase; font-weight: 500; color: var(--gold-ink); }
.sec h2 { font-size: 28px; margin: 8px 0 20px; }
@media (min-width: 900px) { .sec { padding: 72px 0; } .sec h2 { font-size: 36px; } }

/* hero: soft sage and peach shapes that drift slowly; with hero.mp4 the video takes over (white text + shade) */
.hero { padding: 16px 0 8px; }
.hero-card { position: relative; overflow: hidden; border-radius: 26px; min-height: 380px; color: var(--plum);
  background: var(--grad-hello); border: 1px solid var(--gold); box-shadow: var(--shadow); display: flex; align-items: flex-end; isolation: isolate; }
.hero-card::before, .hero-card::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; filter: blur(2px); }
.hero-card::before { width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle at 40% 40%, var(--peach) 0%, var(--peach-mid) 55%, rgba(246, 227, 210, 0) 72%); animation: drift 18s ease-in-out infinite alternate; }
.hero-card::after { width: 360px; height: 360px; left: -140px; bottom: -180px; background: radial-gradient(circle at 60% 60%, var(--sage) 0%, var(--sage-mid) 55%, rgba(207, 224, 200, 0) 74%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-28px, 22px) scale(1.08); } }
.hero-card .mono { position: absolute; right: -40px; bottom: -50px; width: 300px; z-index: 0; }
.hero-card .mono svg { opacity: var(--mono-op); }
.hero-card .mono svg, .hero-card .mono svg path { fill: var(--mono-fill); }
.hero-txt { position: relative; z-index: 1; padding: 24px 20px; max-width: 620px; }
.hero h1 { font-size: 36px; margin: 8px 0 10px; }
.hero .sub { font-size: 15px; color: var(--brown); }
.hero .eyebrow { color: var(--gold-ink); }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; }
@media (min-width: 900px) { .hero-card { min-height: 460px; } .hero-txt { padding: 48px; } .hero h1 { font-size: 54px; } .cta-row { display: flex; } .hero .mono { width: 460px; right: 20px; } }

/* goals: a small line icon in a soft circle before each goal (build.mjs GOAL_ICON) */
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .chips { grid-template-columns: repeat(6, 1fr); } }
.chip { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 12px; text-decoration: none; color: var(--plum); font-weight: 500; font-size: 14px; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.chip span { display: block; font-weight: 400; font-size: 12px; color: var(--brown); margin-top: 2px; }
.chip svg.gi { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--soft); fill: none; stroke: var(--sage-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.chip:hover { border-color: var(--sage-d); transform: translateY(-3px); box-shadow: var(--shadow-up); }

/* keys */
.keys { display: grid; gap: 20px; }
@media (min-width: 900px) { .keys { grid-template-columns: repeat(4, 1fr); } }
.key { display: grid; grid-template-columns: 64px 1fr; gap: 8px; }
@media (min-width: 900px) { .key { grid-template-columns: 1fr; } }
.key .n { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1; color: var(--gold-ink); opacity: .85; }
.key h3 { font-size: 16px; font-weight: 500; margin-bottom: 4px; color: var(--plum); }
.key p { font-size: 14px; color: var(--brown); }

/* cards */
.cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.card .art { height: 130px; position: relative; background: linear-gradient(160deg, var(--peach) 0%, var(--soft) 58%, var(--sage) 100%); border-bottom: 1px solid var(--gold); }
.card .art .tag { position: absolute; top: 12px; left: 12px; background: var(--card); color: var(--sage-ink); font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; border: 1px solid var(--gold); }
.card .art .ttl { position: absolute; left: 14px; bottom: 12px; right: 14px; color: var(--plum); font-family: var(--serif); font-weight: 600; letter-spacing: 0; font-size: 19px; line-height: 1.15; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card p { font-size: 13.5px; color: var(--brown); }
.pslot { display: contents; } /* price block that home.js swaps for the live one (/api/prices) */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price .now { font-weight: 700; font-size: 19px; color: var(--plum); }
.price .reg > * + * { margin-left: 4px; }
.price .until { font-size: 11.5px; color: var(--gold-ink); background: var(--page); border: 1px solid var(--line); padding: 2px 8px; border-radius: 10px; }
.deal { color: var(--purple-d); font-weight: 600; margin-top: 4px; }
.card .btn { margin-top: auto; }

/* team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(6, 1fr); } }
.person { background: var(--card); border-radius: var(--r); padding: 16px 12px; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; background: linear-gradient(150deg, var(--soft), var(--sage)); color: var(--plum); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 22px; border: 1px solid var(--gold); }
.person h3 { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--plum); }
.person p { font-size: 12px; color: var(--brown); margin-top: 4px; }

/* results, instagram, location */
.split { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.note { font-size: 13px; color: var(--brown); }
.ig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; background: var(--card); border: 1px solid var(--gold); border-radius: 20px; box-shadow: var(--shadow); }
.ig a { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--page); transition: transform .25s var(--ease); }
.ig a:hover { transform: scale(1.03); }
.ig img { width: 100%; height: 100%; object-fit: cover; }
.ig .ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; font-size: 12px; color: var(--plum); text-decoration: none; }
.loc-img { border-radius: var(--r); overflow: hidden; max-width: 360px; border: 1px solid var(--gold); box-shadow: var(--shadow); }
.loc-img img { filter: saturate(.9); }
.info { display: grid; gap: 6px; margin: 10px 0 16px; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 500; color: var(--plum); }
details p { margin-top: 8px; color: var(--brown); font-size: 14px; }
.disc { font-size: 13px; color: var(--plum); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--purple); padding: 10px 12px; border-radius: 8px; margin-top: 16px; }

/* footer */
.footer { background: var(--footer-bg); color: #F3E8F5; padding: 36px 0 90px; font-size: 13.5px; border-top: 2px solid var(--gold); }
.footer a { color: #fff; }
.footer img { height: 54px; width: auto; margin-bottom: 14px; }
.footer .cols { display: grid; gap: 16px; }
@media (min-width: 900px) { .footer .cols { grid-template-columns: 2fr 1fr 1fr; } .footer { padding-bottom: 36px; } }

/* mobile bottom bar + WhatsApp */
.bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-top: 1px solid var(--gold); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(120, 85, 50, .08); }
/* 19 Oct 2026: same icon language as the staff menu (line icon in a soft circle above a short label; the open page gets a sage circle) */
.bottombar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 58px; padding: 6px 2px 5px; font-size: 11.5px; line-height: 1.25; color: var(--plum); text-decoration: none; font-weight: 500; min-width: 0; }
.bottombar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bottombar svg { width: 32px; height: 32px; padding: 5px; box-sizing: border-box; border-radius: 50%; background: var(--soft); stroke: var(--sage-ink); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bottombar svg.wa { fill: var(--sage-ink); stroke: none; padding: 7px; }
.bottombar a[aria-current="page"] { color: var(--purple-d); }
.bottombar a[aria-current="page"] svg { background: var(--sage); stroke: var(--plum); }
.bottombar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; border-radius: 0 0 3px 3px; background: var(--sage-d); }
.bottombar a.main { background: var(--purple); color: var(--btn-ink); }
.bottombar a.main svg { background: rgba(255, 255, 255, .18); stroke: var(--btn-ink); }
.bottombar a.main[aria-current="page"] svg { background: var(--sage); stroke: var(--plum); }
@media (min-width: 900px) { .bottombar { display: none; } }
.wa-float { position: fixed; right: 18px; bottom: 24px; z-index: 31; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: none; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@media (min-width: 900px) { .wa-float { display: flex; } }

/* booking */
.demo { background: #FFF6DB; color: #6B4E00; font-size: 12.5px; text-align: center; padding: 6px 12px; }
.bk { max-width: 720px; margin: 0 auto; padding: 20px 16px 120px; }
.bk h1 { font-size: 30px; margin: 4px 0 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 20px; counter-reset: s; }
.steps li { list-style: none; font-size: 11.5px; color: var(--brown); border-top: 3px solid var(--line); padding-top: 6px; }
.steps li[aria-current="step"], .steps li.done { color: var(--plum); border-color: var(--purple); font-weight: 500; }
.steps { padding: 0; }
.panel h2 { font-size: 20px; margin: 0 0 12px; font-weight: 500; color: var(--plum); }
.goal-h { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-ink); margin: 18px 0 8px; font-weight: 500; }
.opt { width: 100%; text-align: left; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; font: inherit; color: inherit; display: block; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.opt:hover { border-color: var(--sage-d); transform: translateY(-1px); }
.opt[aria-pressed="true"] { border-color: var(--purple); background: var(--soft); }
/* booking: search + category buttons (whole price list online, 17 Oct 2026) */
.bk-search { margin: 4px 0 2px; }
.bk-goals { padding: 12px 0 2px; }
.bk-goals .pill-link { font: inherit; font-size: 14px; cursor: pointer; }
.bk-goals .pill-link[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: var(--btn-ink, #fff); }
.xgroup { border-bottom: 1px solid var(--line); padding: 4px 0; }
.xgroup > summary { cursor: pointer; padding: 10px 0; font-weight: 500; color: var(--plum); }
.extras .bk-search, #f-extra-box .bk-search { margin-top: 10px; }
.opt .t { font-weight: 500; }
.opt .m { font-size: 12.5px; color: var(--brown); margin-top: 2px; }
.opt .price { margin-top: 6px; }
.row { display: flex; gap: 10px; align-items: center; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scroll-snap-type: x mandatory; }
.day { flex: 0 0 auto; scroll-snap-align: start; border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; padding: 8px 12px; text-align: center; cursor: pointer; font: inherit; min-width: 64px; color: var(--ink); }
.day small { display: block; font-size: 11px; color: var(--brown); }
.day[aria-pressed="true"] { border-color: var(--purple); background: var(--purple); color: #fff; }
.day[aria-pressed="true"] small { color: #fff; }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.times > :not(.time) { grid-column: 1 / -1; margin: 0; } /* notes (Batas harian, no free time) take the whole row, not one time cell */
.time { border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 0; font: inherit; cursor: pointer; color: var(--ink); }
.time:hover { border-color: var(--sage-d); }
.time[aria-pressed="true"] { border-color: var(--purple); background: var(--purple); color: #fff; }
/* Start times every 15 minutes (31 Oct 2026): up to 35 buttons a day, so a tighter grid on phones and more columns on wide screens. */
@media (max-width: 520px) { .times { gap: 6px; } .time { padding: 9px 0; } }
@media (min-width: 760px) { .times { grid-template-columns: repeat(6, 1fr); } }
label { display: block; font-weight: 500; font-size: 14px; margin: 14px 0 6px; }
input[type=text], input[type=search], input[type=tel], input[type=date], input[type=email], input[type=number], select, textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--sage-d); }
textarea { min-height: 80px; resize: vertical; }
.hint { font-size: 12.5px; color: var(--brown); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; margin: 12px 0; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--purple); }
.box { background: var(--page); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 13.5px; }
.box dt { color: var(--brown); font-size: 12px; } .box dd { margin: 0 0 8px; font-weight: 500; }
.error { color: var(--danger); font-size: 13.5px; margin-top: 10px; min-height: 1em; }
.navrow { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.done-code { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: 2px; color: var(--plum); margin: 6px 0 12px; }
.linkbox { word-break: break-all; font-size: 13px; background: var(--card); border: 1px dashed var(--purple); border-radius: 10px; padding: 10px; }
.hidden { display: none !important; }
.muted { color: var(--brown); }
.small { font-size: 12px; } .mt12 { margin-top: 12px; } .mt14 { margin-top: 14px; } .mt16 { margin-top: 16px; }
.faq-h { font-size: 18px; font-weight: 500; margin: 28px 0 12px; color: var(--plum); }
[tabindex="-1"]:focus { outline: none; }

/* treatment and promo pages */
.page { padding: 28px 0 110px; }
.page h1 { font-size: 32px; line-height: 1.15; margin: 8px 0 10px; }
.page .lead { font-size: 16px; color: var(--brown); max-width: 620px; }
.wrap.narrow { max-width: 860px; }
.jump { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: none; }
.pill-link { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 14px; color: var(--plum); text-decoration: none; background: var(--card); transition: border-color .2s, background-color .2s; }
.pill-link:hover { border-color: var(--sage-d); background: var(--soft); }
.pill-link .gi-s { display: inline-block; vertical-align: -5px; width: 20px; height: 20px; margin-right: 6px; fill: none; stroke: var(--sage-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tgroup { padding-top: 26px; scroll-margin-top: 80px; }
.tgroup h2, .similar h2, .know h2, .t-steps h2, .p-group h2 { font-size: 24px; margin-bottom: 4px; }
.tgroup .cards, .similar .cards { margin-top: 14px; }
@media (min-width: 700px) { .tgroup .cards, .similar .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tgroup .cards { grid-template-columns: repeat(3, 1fr); } }
.card a.art { display: block; text-decoration: none; }
.card .meta { font-size: 12.5px; }
.card-acts { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.card-acts .btn { margin-top: 0; flex: 1 1 auto; }
.more { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 12px; justify-items: start; box-shadow: var(--shadow); }
.crumb { font-size: 13px; color: var(--brown); }
.crumb a { color: var(--purple-d); }
/* treatment page head: the same soft cream card as the hero, plum title */
.t-hero { position: relative; overflow: hidden; margin: 10px 0 18px; padding: 26px 22px; border-radius: var(--r); color: var(--plum); background: var(--grad-hello); border: 1px solid var(--gold); box-shadow: var(--shadow); }
.t-hero::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -120px; border-radius: 50%; background: radial-gradient(circle, var(--peach) 0%, rgba(246, 227, 210, 0) 70%); pointer-events: none; }
.t-hero > * { position: relative; }
.t-hero .eyebrow { color: var(--gold-ink); }
.t-hero h1 { color: var(--plum); }
.t-hero .lead { color: var(--brown); }
.facts { display: grid; gap: 10px; margin: 0 0 18px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.facts dt { font-size: 12px; color: var(--gold-ink); letter-spacing: .5px; text-transform: uppercase; }
.facts dd { margin: 6px 0 0; font-weight: 500; }
.facts .price .now { font-size: 18px; }
.know, .t-steps { margin-top: 30px; }
.t-steps .steps-list { margin-top: 12px; gap: 8px; color: inherit; }
.know ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.similar { margin-top: 34px; }
.p-hero { margin-bottom: 8px; }
.p-group { margin-top: 26px; }
.p-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .p-list { grid-template-columns: repeat(2, 1fr); } }
.p-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; align-content: start; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.p-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.p-list.weekly .p-item { background: linear-gradient(150deg, var(--card) 55%, var(--soft)); border-color: var(--line); }
.p-day { font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; color: var(--gold-ink); }
.p-name { font-weight: 500; font-size: 15.5px; color: var(--plum); }
.p-name a { color: var(--plum); text-decoration: none; border-bottom: 1px solid var(--gold); }
.p-note { font-size: 12.5px; color: var(--brown); }
.p-cta { margin-top: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tm-group { margin-top: 26px; }
.tm-group h2 { font-size: 24px; margin-bottom: 4px; }
.tm-group .team { margin-top: 12px; }
@media (min-width: 700px) { .tm-group .team { grid-template-columns: repeat(4, 1fr); } }
.faq details { padding: 16px 18px; }
.faq summary { font-size: 16px; }
.prose section { margin-top: 24px; }
.prose h2 { font-size: 20px; margin-bottom: 8px; color: var(--plum); }
.prose p { margin-top: 8px; line-height: 1.7; }
.wa-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 18px 20px; margin-top: 18px; box-shadow: var(--shadow); }
.btn.wide { width: 100%; }
.steps-list { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 6px; color: var(--plum); }
.points { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 8px; }

/* ---- public site extras (Ko Eka, 22 Oct 2026): quiz, total, clinic photos/video, after work, today box, stamps, Tanya dokter ---- */
.stamp { display: block; flex: none; }
.stamp-big { width: 72px; height: 72px; }
.stamp-mid { width: 56px; height: 56px; }
.stamp-corner { width: 52px; height: 52px; margin-left: auto; transform: rotate(8deg); }
.links-row { display: flex; flex-wrap: wrap; gap: 8px 20px; }
/* hero video */
.hero-card.has-vid { background: var(--cta-bg); color: #fff; }
.hero-card.has-vid::before, .hero-card.has-vid::after { display: none; }
.hero-card.has-vid h1, .hero-card.has-vid .sub, .hero-card.has-vid .eyebrow { color: #fff; }
.hero-card.has-vid h1 b { color: var(--sage); }
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(91, 42, 99, .05) 30%, rgba(91, 42, 99, .82) 100%); }
/* today box: cream card with a gold edge and a soft green "live" dot */
.today-sec { padding: 8px 0 0; }
.today { background: var(--card); border: 1px solid var(--gold); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 12px; max-width: 560px; background-image: linear-gradient(135deg, var(--glow), transparent 45%); }
.today-head { display: flex; align-items: center; gap: 10px; }
.today-head h2 { font-size: 21px; font-weight: 600; margin: 0; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 4px var(--soft); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px var(--soft); } 50% { box-shadow: 0 0 0 7px rgba(228, 238, 221, .5); } }
.hi-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hi-rows li { display: flex; gap: 12px; align-items: center; }
.hi-rows li > div { display: grid; }
.hi-rows b { font-weight: 500; }
.hi-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--page); display: flex; align-items: center; justify-content: center; flex: none; border: 1px solid var(--line); }
.hi-rows li:first-child .hi-ico { background: var(--soft); }
.hi-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--sage-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hi-rows li:first-child .hi-ico svg { stroke: var(--ok); }
.hi-cap { background: var(--soft); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: var(--sage-ink); }
.today.is-loading .hi-rows b { color: var(--brown); font-weight: 400; }
@media (min-width: 900px) { .today-sec { padding-top: 24px; } .today { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; } .today-head, .hi-cap, .today > p { grid-column: 1 / -1; } .hi-rows { grid-template-columns: 1fr 1fr; grid-column: 1 / -1; } .today #hi-book { grid-column: 1; width: auto; justify-self: start; } }
/* quiz invitation and calculator invitation */
.quiz-cta, .calc-cta { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px; border-radius: 20px; background: var(--cta-bg); color: #fff; text-decoration: none; border: 1px solid var(--gold); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.quiz-cta:hover, .calc-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.quiz-cta .bubble { display: grid; gap: 2px; flex: 1; }
.quiz-cta .bubble span, .calc-cta span { color: #E6D7EA; font-size: 13.5px; }
.quiz-cta b, .calc-cta b { font-size: 17px; }
.quiz-go { font-size: 24px; color: var(--sage); flex: none; }
.calc-cta { display: grid; grid-template-columns: 1fr auto; margin: 14px 0 6px; background: var(--card); color: var(--plum); border: 1px solid var(--gold); }
.calc-cta span:not(.quiz-go) { color: var(--brown); grid-column: 1; }
.calc-cta .quiz-go { color: var(--purple); grid-column: 2; grid-row: 1 / span 2; }
/* quiz page */
.qz-hello { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.qz-hello .bubble { background: var(--card); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; padding: 12px 14px; font-size: 14px; box-shadow: var(--shadow); }
.quiz { margin-top: 8px; }
.qz-bar { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin: 6px 0 16px; }
.qz-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--sage-d), var(--purple)); border-radius: 6px; transition: width .4s var(--ease); }
.qz-1 { width: 25%; } .qz-2 { width: 50%; } .qz-3 { width: 75%; } .qz-4 { width: 100%; }
.qz-q { font-size: 24px; font-weight: 600; margin-bottom: 14px; }
.qz-opts { display: grid; gap: 10px; }
.qz-opts.many { grid-template-columns: 1fr 1fr; }
.qz-opt { text-align: left; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; font: inherit; color: var(--plum); cursor: pointer; display: grid; gap: 2px; min-height: 56px; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.qz-opt .t { font-weight: 500; }
.qz-opt .s { font-size: 12px; color: var(--brown); }
.qz-opt:hover { border-color: var(--sage-d); transform: translateY(-1px); }
.qz-opt[aria-pressed="true"] { border-color: var(--purple); background: var(--soft); }
.qz-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.qz-head h2 { font-size: 24px; font-weight: 600; }
.qz-cards { display: grid; gap: 12px; }
@media (min-width: 760px) { .qz-cards { grid-template-columns: repeat(3, 1fr); } .qz-opts { grid-template-columns: 1fr 1fr; } .qz-opts.many { grid-template-columns: repeat(3, 1fr); } }
.qz-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); border-top: 3px solid var(--sage-d); }
.qz-name { font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--plum); }
.qz-acts { display: grid; gap: 8px; margin-top: 4px; }
.qz-consult { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--soft); border: 1px solid var(--sage); }
/* calculator */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px 18px; margin-top: 18px; box-shadow: var(--shadow); }
.calc select:disabled { opacity: .55; }
.calc-out { margin-top: 14px; background: var(--grad-hello); border: 1px solid var(--gold); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 8px; }
.c-lines { margin: 0; display: grid; gap: 6px; }
.c-lines > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.c-lines dt { font-size: 14px; } .c-lines dd { margin: 0; font-weight: 500; white-space: nowrap; }
.c-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.c-total b { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--plum); }
/* after work */
.sec.after { background: linear-gradient(160deg, var(--soft), var(--base) 70%); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.after-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .after-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.sec.after h2 { color: var(--plum); }
.after-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.after-facts > div { background: var(--card); border-radius: 16px; padding: 12px 8px; text-align: center; display: grid; align-content: center; border: 1px solid var(--line); box-shadow: var(--shadow); }
.after-facts b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--purple-d); }
.after-facts span { font-size: 12px; color: var(--brown); }
.after-h { font-weight: 500; margin-bottom: 8px; color: var(--plum); }
.after-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.after-list li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 4px 12px; flex-wrap: wrap; box-shadow: var(--shadow); }
.after-list .pslot > .muted, html:not([lang=ko]) .after-list .reg .now ~ .muted { display: none; }
.after-list li > div:first-child { display: grid; }
.after-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.after-list .price { justify-content: flex-end; text-align: right; white-space: nowrap; }
.after-list .price .now { font-size: 15px; }
/* clinic photos */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--page); border: 1px solid var(--gold); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 250, 243, .92); color: var(--plum); font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--gold); }
/* Tanya dokter */
.ask-head { display: flex; gap: 12px; align-items: center; }
.art-list { display: grid; gap: 12px; }
@media (min-width: 760px) { .sec .art-list { grid-template-columns: repeat(3, 1fr); } }
.art-card { display: grid; gap: 6px; align-content: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.art-card b { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--plum); line-height: 1.35; }
.art-card:hover { border-color: var(--sage-d); transform: translateY(-3px); box-shadow: var(--shadow-up); }
.draft-tag { display: inline-block; justify-self: start; font-size: 11px; font-weight: 700; color: var(--danger); background: #FDECEA; border-radius: 8px; padding: 2px 8px; }

/* booking through WhatsApp with MinKY, nomor 5 (Ko Eka, 22 Oct 2026) */
.btn-wa svg { width: 18px; height: 18px; fill: #25A35A; flex: none; }
.btn-p.btn-wa svg { fill: #fff; }
.today .btn-wa { margin-top: -4px; }
@media (min-width: 900px) { .today .btn-wa { grid-column: 2; grid-row: auto; margin-top: 0; width: auto; justify-self: start; } }
.wa-book { display: flex; gap: 12px; align-items: center; margin: 0 0 16px; padding: 12px 14px; border-radius: 16px; background: var(--soft); border: 1px solid var(--sage); color: var(--plum); text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.wa-book:hover { transform: translateY(-2px); }
.wa-book > span:last-child { display: grid; gap: 2px; }
.wa-book > span:last-child span { font-size: 13px; color: var(--brown); }
.wa-book .wa-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; flex: none; border: 1px solid var(--gold); }
.wa-book .wa-ico svg { width: 22px; height: 22px; fill: #25A35A; }
/* footer social icons (Ko Eka, 22 Oct 2026) */
.footer .social { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.footer .soc { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); text-decoration: none; color: #fff; font-weight: 500; border: 1px solid rgba(217, 184, 114, .35); }
.footer .soc:hover { background: rgba(255, 255, 255, .22); }
.footer .soc svg { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--base); fill: none; stroke: var(--plum); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer .soc svg .dot { fill: var(--plum); stroke: none; }
/* quiz: send the result to WhatsApp (Ko Eka, 22 Oct 2026) */
.qz-send { margin-top: 16px; display: grid; gap: 6px; }
.qz-send .btn-wa svg { fill: #fff; }

/* phones: a button row with "Booking lewat WhatsApp" stacks, so the text stays on one line (22 Oct 2026) */
@media (max-width: 520px) { .cta-row:has(.btn-wa) { grid-template-columns: 1fr; } .cta-row .btn { min-height: 48px; } }

/* Cancel reason on the manage page (laporan batal, 1 Nov 2026) */
.why{border:1px solid var(--line,#e3d6e8);border-radius:12px;padding:12px 14px;margin:12px 0;background:var(--card)}
.why legend{font-weight:600;padding:0 6px}
.why-opt{display:block;padding:8px 0;cursor:pointer}
.why-text{display:block;width:100%;margin-top:8px;box-sizing:border-box}
.why-text[hidden]{display:none}

/* ---- Price list on phones (7 Nov 2026): sticky group pills, foldable groups, back-to-top ---- */
.p-nav { position: sticky; top: 60px; z-index: 5; margin: 0 -16px; padding: 10px 16px 8px; background: rgba(251, 244, 234, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--gold); }
.p-nav .pill-link[aria-current="true"] { background: var(--sage); border-color: var(--sage-d); color: var(--sage-ink); }
.p-group h2 .p-fold { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; }
.p-group h2 .p-fold::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(45deg); margin: 0 6px 6px 0; transition: transform .25s var(--ease); flex: none; }
.p-group.closed h2 .p-fold::after { transform: rotate(-45deg); margin-bottom: 0; }
.p-group.closed .p-list { display: none; }
.p-group.closed { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.p-top { position: fixed; right: 18px; bottom: 90px; z-index: 29; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: var(--card); box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); display: flex; align-items: center; justify-content: center; }
.p-top.show { opacity: 1; transform: none; pointer-events: auto; }
.p-top svg { width: 20px; height: 20px; fill: none; stroke: var(--plum); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .p-top { bottom: 96px; right: 24px; } }
/* prices in the title serif (7 Nov 2026), calculator box hidden until a treatment is chosen, icons in the after-work facts */
.price .now, .c-total b, .after-facts b { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.calc-out.is-empty { display: none; }
.after-facts .af-ico { width: 28px; height: 28px; margin: 0 auto 4px; padding: 5px; border-radius: 50%; background: var(--soft); fill: none; stroke: var(--sage-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- "Hidup" (3 Nov 2026): blocks fade in as the page is scrolled. Only once /js/hidup.js has set html.hidup;
   without JavaScript (or with reduced motion) everything is simply visible. ---- */
html.hidup .rv { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
html.hidup .rv.in { opacity: 1; transform: none; }
/* Pengaman (dulu setTimeout 4000 di hidup.js): blok yang masih tersembunyi 4 detik sesudah halaman memasang .rv (mis. di tab tersembunyi) ditampilkan dengan pudar yang sama (.55 detik); jeda kecil per baris kartu sama dengan .d1 sampai .d3. */
html.hidup .rv:not(.in) { animation: rv-aman .55s var(--ease) 4s forwards; }
html.hidup .rv.d1:not(.in) { animation-delay: 4.08s; } html.hidup .rv.d2:not(.in) { animation-delay: 4.16s; } html.hidup .rv.d3:not(.in) { animation-delay: 4.24s; }
@keyframes rv-aman { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.hidup .rv.d1 { transition-delay: .08s; } html.hidup .rv.d2 { transition-delay: .16s; } html.hidup .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { html.hidup .rv { opacity: 1; transform: none; animation: none; } }

/* ---- pieces the newer public home markup needs (hero-wa, card-meta, more-links, today-wrap, skeleton line); before 7 Nov 2026 these lived in gaya-baru.css, which no longer goes on public pages ---- */
.hero-wa { margin: 12px 0 0; font-size: 13px; }
.hero-wa a { color: var(--plum); text-decoration: underline; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.hero-wa svg { width: 18px; height: 18px; fill: #25A35A; flex: none; }
.hero-card.has-vid .hero-wa a { color: #fff; }
.hero-card.has-vid .hero-wa svg { fill: #fff; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
.card-meta span { font-size: 12px; color: var(--brown); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.today-wrap { margin: 0 0 40px; }
.more-links { padding: 0 0 40px; }
.more-links .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; border-top: 1px solid var(--gold); padding-top: 22px; }
.more-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--purple-d); }
.sk { display: inline-block; width: min(220px, 70%); height: 1em; vertical-align: middle; border-radius: 8px; background: linear-gradient(90deg, #EADCCB 25%, #F6EEE2 50%, #EADCCB 75%); background-size: 200% 100%; animation: sk-shine 1.4s linear infinite; }
@keyframes sk-shine { to { background-position: -200% 0; } }


/* ---- light / dark / auto switch (public/js/tema.js sets html[data-tema]; markup from build.mjs temaBox) ---- */
.tema { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); }
.tema button { width: 36px; height: 36px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tema button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tema button[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-ink); }
.tema button:focus-visible { outline: 3px solid var(--purple); outline-offset: 1px; }
.header .tema { display: none; }
@media (min-width: 900px) { .header .tema { display: inline-flex; } }
.footer .tema { margin-top: 12px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.footer .tema button { color: #fff; }
.footer .tema button[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-ink); }
.footer .tema-l { display: block; margin-top: 12px; font-size: 12.5px; opacity: .85; }

/* ---- dark (7 Nov 2026): same palette as the public dark before (calm, no glowing colour), on the cream layout's tokens.
   Chosen with "Gelap", or by the device when the choice is "Otomatis" (nothing stored). "Terang" always stays light. ---- */
html[data-tema="gelap"] {
  color-scheme: dark;
  --base: #191614; --page: #2A312A; --card: #3E453F; --line: #5A544F;
  --sage: #465046; --sage-d: #566256; --sage-ink: #E3EEDF; --soft: #36403A; --peach: #3A3430;
  --gold: rgba(190, 160, 105, .45); --gold-ink: #D9B872;
  --brown: #CFC6BC; --muted: #CFC6BC; --ink: #F3EDE6; --plum: #E7CDEE;
  --purple: #BD9FC2; --purple-d: #CFB3D3; --link-ink: #E7CDEE; --btn-ink: #1E1622;
  --danger: #F0A59E; --ok: #97D4A5;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
  --shadow-up: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 28px rgba(0, 0, 0, .35);
  --grad-hello: linear-gradient(120deg, #2A2420 0%, #2A312A 55%, #2F3A30 100%);
  --header-bg: rgba(25, 22, 20, .92); --footer-bg: #3C303E; --cta-bg: #493C4B;
  --peach-mid: rgba(70, 56, 48, .55); --sage-mid: rgba(70, 80, 70, .6); --glow: rgba(70, 80, 70, .35);
  --sel-bg: #BD9FC2; --sel-ink: #1E1622; --mono-fill: #E7DDE9; --mono-op: .55;
}
@media (prefers-color-scheme: dark) {
  html:not([data-tema="terang"]):not([data-tema="gelap"]) {
    color-scheme: dark;
    --base: #191614; --page: #2A312A; --card: #3E453F; --line: #5A544F;
    --sage: #465046; --sage-d: #566256; --sage-ink: #E3EEDF; --soft: #36403A; --peach: #3A3430;
    --gold: rgba(190, 160, 105, .45); --gold-ink: #D9B872;
    --brown: #CFC6BC; --muted: #CFC6BC; --ink: #F3EDE6; --plum: #E7CDEE;
    --purple: #BD9FC2; --purple-d: #CFB3D3; --link-ink: #E7CDEE; --btn-ink: #1E1622;
    --danger: #F0A59E; --ok: #97D4A5;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
    --shadow-up: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 28px rgba(0, 0, 0, .35);
    --grad-hello: linear-gradient(120deg, #2A2420 0%, #2A312A 55%, #2F3A30 100%);
    --header-bg: rgba(25, 22, 20, .92); --footer-bg: #3C303E; --cta-bg: #493C4B;
    --peach-mid: rgba(70, 56, 48, .55); --sage-mid: rgba(70, 80, 70, .6); --glow: rgba(70, 80, 70, .35);
    --sel-bg: #BD9FC2; --sel-ink: #1E1622; --mono-fill: #E7DDE9; --mono-op: .55;
  }
}
/* dark details that are not tokens */
html[data-tema="gelap"] .logo img { filter: brightness(1.7) saturate(.9); }
html[data-tema="gelap"] .draft-tag { background: #4A2B28; }
@media (prefers-color-scheme: dark) {
  html:not([data-tema="terang"]):not([data-tema="gelap"]) .logo img { filter: brightness(1.7) saturate(.9); }
  html:not([data-tema="terang"]):not([data-tema="gelap"]) .draft-tag { background: #4A2B28; }
}

/* Team photos (7 Nov 2026): a photo fills the round avatar and is cropped round, also a wide photo. (This rule used to live only in gaya-baru.css, which public pages do not load.) */
.person .avatar.has-photo { padding: 0; overflow: hidden; background: none; }
.person .avatar-img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 50%; display: block; max-width: none; }
