/* Pojok Cerita pages (AYAH-46), on top of artikel.css and rak.css. */
body { overflow-x: clip; }
.sx-footer { margin-top: 0; }
.btn svg { flex: none; width: 20px; height: 20px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-white { background: #fff; border: 1.5px solid #dcc6a2; color: #2a1f3d; }
.btn-white:hover { background: #fffaf0; border-color: #8a57be; }
.btn-ghost { color: var(--heading); }
.btn-outline { color: var(--heading); border-color: var(--primary); }
.st-head h1, .mk h1, .mk .from b, .sh-hero h1, .text h2, .more h2, .own h2, .bigcta h2 { word-spacing: 0.06em; }

/* Shelf */
.sh-hero { position: relative; isolation: isolate; overflow: hidden; background: #fbeedb; }
.sh-hero .bg { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 78% 72%; }
.sh-hero .in { padding-block: 22px 26px; }
.sh-hero h1 { font-size: 46px; line-height: 1; font-weight: 700; color: #3b1a57; }
.sh-hero p { margin: 10px 0 0; font-size: 18px; color: #594b61; max-width: 30ch; }
@media (min-width: 768px) {
    .sh-hero { background: linear-gradient(180deg, #fbe9d2, #f6dcc0); }
    .sh-hero .bg { position: absolute; z-index: -1; right: max(0px, calc(50vw - 720px)); top: 0; height: 100%; width: min(68vw, 900px); aspect-ratio: auto; object-position: 50% 62%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
    .sh-hero .in { padding-block: 128px 150px; }
    .sh-hero h1 { font-size: 76px; }
    .sh-hero p { font-size: 21px; margin-top: 14px; }
}
@media (min-width: 768px) and (max-width: 1099px) { .sh-hero h1 { font-size: 56px; } .sh-hero p { max-width: 15ch; } .sh-hero .in { padding-block: 92px 110px; } }
.filters { display: grid; gap: 14px; padding: 22px 0 0; scroll-margin-top: 68px; }
.fl { display: grid; gap: 8px; min-width: 0; }
.fl > b { font-size: 14px; color: var(--heading); }
.fset { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 4px 20px; }
.fset::-webkit-scrollbar { display: none; }
.fset a { flex: none; display: inline-flex; align-items: center; height: 44px; padding: 0 17px; border-radius: 999px; border: 1.5px solid #dcc6a2; background: var(--card); color: var(--heading); font-weight: 700; font-size: 15px; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
html.dark .fset a { border-color: #514369; }
.fset a:hover { border-color: #8a57be; }
.fset a[aria-current] { background: #3b1a57; border-color: #3b1a57; color: #fff; }
html.dark .fset a[aria-current] { background: #c9a6e6; border-color: #c9a6e6; color: #231033; }
.fset a:focus-visible { outline-offset: 1px; border-radius: 999px; }
@media (min-width: 960px) { .filters { grid-template-columns: 1fr auto; gap: 32px; align-items: end; } .fset { margin: 0 -4px; padding: 4px; flex-wrap: wrap; } }
.count { margin: 18px 0 0; font-weight: 700; color: var(--muted-foreground); font-size: 15px; }
.nores { margin-top: 24px; border: 2px dashed #dcc6a2; border-radius: 20px; padding: 36px 22px; text-align: center; }
.nores h2 { font-size: 24px; margin-bottom: 18px; }
.nores .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.own { margin: 56px 0 64px; display: grid; gap: 16px; align-items: center; background: var(--secondary); border-radius: 24px; padding: 26px; }
.own h2 { font-size: 26px; line-height: 1.15; }
@media (min-width: 768px) { .own { grid-template-columns: 1fr auto; padding: 30px 36px; } .own h2 { font-size: 30px; } }

/* Book page */
.st-head { display: grid; gap: 24px; padding: 14px 0 34px; align-items: center; }
.st-head .bk { border-radius: 4px 14px 14px 4px; }
.st-head h1 { font-size: 34px; line-height: 1.06; font-weight: 700; margin: 8px 0 10px; overflow-wrap: anywhere; }
.st-head .eyebrow { margin: 0; line-height: 1.3; }
.st-head .sub { margin: 0 0 10px; font-size: 18px; color: var(--muted-foreground); }
.st-head .mt { display: flex; flex-wrap: wrap; gap: 4px 14px; font-weight: 700; font-size: 15px; color: var(--rak-meta); }
.vals { margin: 14px 0 0; }
.vals span { background: var(--secondary); color: var(--heading); }
.acts { display: grid; gap: 10px; margin-top: 22px; }
@media (min-width: 480px) { .acts { display: flex; flex-wrap: wrap; } }
@media (min-width: 960px) { .st-head { grid-template-columns: 1.08fr 1fr; gap: 56px; padding: 22px 0 52px; } .st-head h1 { font-size: 50px; } }
.draftbar { background: #fcaf01; color: #3b1a57; font-weight: 700; text-align: center; padding: 10px 20px; }

/* Preview: up to three spreads and an end page in a snap scroller; without JS it simply scrolls */
.stage { background: #231033; color: #fff; padding: 22px 0 26px; scroll-margin-top: 68px; }
.stage h2 { color: #fff; font-size: 20px; margin: 0 0 12px; }
@media (min-width: 768px) { .stage .sx-wrap { max-width: max(640px, min(1120px, calc((100vh - 220px) * 1.5 + 64px))); } }
.book { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 8px; }
.book::-webkit-scrollbar { display: none; }
.book:focus-visible { outline: 3px solid #fdce5c; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .book { scroll-behavior: smooth; } }
.book > * { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.spread { position: relative; aspect-ratio: 3 / 2; background: #fcf4e4; color: #4a2a1a; border-radius: 8px; overflow: hidden; container-type: inline-size; }
.spread .art { position: absolute; top: 0; bottom: 0; right: 0; width: 68%; -webkit-mask-image: linear-gradient(90deg, transparent 1%, rgb(0 0 0 / 0.5) 10%, #000 22%); mask-image: linear-gradient(90deg, transparent 1%, rgb(0 0 0 / 0.5) 10%, #000 22%); }
.spread.l .art { right: auto; left: 0; -webkit-mask-image: linear-gradient(270deg, transparent 1%, rgb(0 0 0 / 0.5) 10%, #000 22%); mask-image: linear-gradient(270deg, transparent 1%, rgb(0 0 0 / 0.5) 10%, #000 22%); }
.spread .art img { width: 100%; height: 100%; object-fit: cover; }
.spread .tx { position: absolute; top: 0; bottom: 0; left: 4.5%; width: 29%; display: flex; align-items: center; font: 500 2.65cqw/1.36 var(--font-display); }
.spread.l .tx { left: auto; right: 4.5%; }
.spread .tx p { margin: 0; overflow-wrap: anywhere; }
.spread .pg { position: absolute; bottom: 3.5%; left: 4.5%; font: 600 1.5cqw/1 var(--font-display); color: #8a6a4a; }
.spread.l .pg { left: auto; right: 4.5%; }
.spread::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 46%, rgb(60 30 10 / 0.07) 49%, rgb(60 30 10 / 0.17) 50%, rgb(60 30 10 / 0.06) 51%, transparent 54%); }
.endpage { aspect-ratio: 3 / 2; border-radius: 8px; background: radial-gradient(60% 80% at 100% 0, #fee290, transparent 65%), #fcf4e4; color: #2a1f3d; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.endpage .lf { padding: 0 11%; }
.endpage .rt { padding: 0 10% 0 8%; display: grid; gap: 12px; }
.endpage h3 { font-size: 32px; line-height: 1.12; margin-bottom: 6px; color: #3b1a57; }
.endpage .btn-outline { border-color: #3b1a57; color: #3b1a57; }
.endpage .btn-cta { background: #c64300; color: #fff; }
.endpage .btn-outline:hover { background: rgb(59 26 87 / 0.08); }
.bar { display: none; align-items: center; gap: 12px; margin-top: 14px; }
.stage.js .bar { display: flex; }
.rb { flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.rb:hover { background: rgb(255 255 255 / 0.26); }
.rb[disabled] { opacity: 0.35; cursor: default; }
.stage button:focus-visible, .stage a:focus-visible { outline-color: #fdce5c; border-radius: 50px; }
.endpage a:focus-visible { outline-color: #8a57be; }
.bar .mid { flex: 1; display: grid; gap: 9px; justify-items: center; font-weight: 700; font-size: 15px; }
.dots { display: flex; gap: 7px; align-items: center; }
.dots i { width: 9px; height: 9px; border-radius: 9px; background: #a97dd4; transition: width 0.25s; }
.dots i.cur { width: 26px; background: #fdce5c; }
@media (max-width: 767px) {
    .stage { padding: 14px 0 18px; }
    .stage .sx-wrap { padding: 0 12px; }
    .spread { aspect-ratio: auto; display: grid; grid-template-rows: auto 1fr; min-height: 460px; }
    .spread .art, .spread.l .art { position: relative; width: 100%; aspect-ratio: 4 / 3; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent); mask-image: linear-gradient(180deg, #000 86%, transparent); }
    .spread .tx, .spread.l .tx { position: static; width: auto; padding: 8px 20px 40px; font-size: 20px; line-height: 1.42; align-items: flex-start; }
    .spread .pg, .spread.l .pg { left: 20px; right: auto; bottom: 14px; font-size: 14px; }
    .spread::after { display: none; }
    .endpage { aspect-ratio: auto; grid-template-columns: 1fr; align-content: center; gap: 26px; padding: 26px 0 18px; }
    .endpage .lf .bk { width: 78%; margin: 0 auto; }
    .endpage .lf { padding: 0; }
    .endpage .rt { padding: 0 22px; text-align: center; }
    .endpage h3 { font-size: 26px; }
}

.text { padding: 52px 0 10px; scroll-margin-top: 68px; }
.text h2 { font-size: 32px; line-height: 1.15; }
.nar { list-style: none; margin: 26px 0 0; padding: 0; }
.nar li { display: grid; gap: 12px 40px; grid-template-columns: 34px 1fr; padding: 22px 0; border-top: 1px solid var(--border); }
.nar .n { font: 600 20px/1.5 var(--font-display); color: var(--cta-text); }
.nar p { margin: 0; font-size: 20px; line-height: 1.62; font-weight: 500; overflow-wrap: anywhere; }
.nar .ay { grid-column: 2; background: var(--accent); border-radius: 4px 16px 16px 16px; padding: 12px 16px; font-size: 16px; line-height: 1.45; align-self: start; }
.nar .ay b { display: block; font: 600 15px/1.3 var(--font-display); color: var(--heading); }
@media (max-width: 767px) { .nar li { column-gap: 8px; } }
@media (min-width: 960px) { .text h2 { font-size: 40px; } .nar li { grid-template-columns: 34px 1fr 300px; padding: 26px 0; } .nar p { font-size: 22px; max-width: 30em; } .nar .ay { grid-column: 3; } }
.after { display: grid; gap: 34px; margin-top: 34px; }
.after h2 { font-size: 26px; margin-bottom: 10px; }
.after ol, .after ul { margin: 0; padding-left: 1.3em; font-size: 18px; }
.after li { margin-bottom: 8px; padding-left: 4px; }
.after li::marker { color: var(--cta-text); font-weight: 700; font-family: var(--font-display); }
@media (min-width: 960px) { .after.two { grid-template-columns: 1fr 1fr; gap: 56px; } }
.bigcta { margin: 48px 0 56px; background: #3b1a57; border-radius: 28px; overflow: hidden; display: grid; color: #fff; }
.bigcta img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; aspect-ratio: 3 / 2; }
.bigcta .c { padding: 28px 24px 30px; display: grid; gap: 18px; align-content: center; }
.bigcta h2 { color: #fff; font-size: 30px; line-height: 1.14; }
@media (min-width: 860px) { .bigcta { grid-template-columns: 1fr 1.1fr; } .bigcta .c { padding: 44px 52px; justify-items: start; } .bigcta h2 { font-size: 40px; } }
.faq.wide { margin: 0 0 56px; }
.more { padding: 0 0 72px; }
.more h2 { font-size: 28px; }
.sticky { position: fixed; inset: auto 0 0; z-index: 40; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--background) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--border); transition: transform 0.3s var(--ease), visibility 0.3s; transform: translateY(110%); visibility: hidden; }
.sticky.on { transform: none; visibility: visible; }
.sticky .btn { width: 100%; height: 52px; font-size: 17px; }
@media (min-width: 768px) { .sticky { display: none; } }
@media (max-width: 767px) { .has-sticky + .sticky + .sx-footer { padding-bottom: 110px; } }

/* Buat seperti ini (guests) */
.mk { display: grid; gap: 28px; padding: 8px 0 64px; align-items: start; }
.mk h1 { font-size: 36px; line-height: 1.08; font-weight: 700; }
.mk .from { display: flex; gap: 14px; align-items: center; margin: 18px 0 22px; }
.mk .from .bk { width: 116px; flex: none; }
.mk .from b { font: 600 19px/1.2 var(--font-display); color: var(--heading); }
@media (min-width: 960px) { .mk { grid-template-columns: 1fr 400px; gap: 56px; padding-top: 18px; } .mk h1 { font-size: 48px; } .mk .login { position: sticky; top: 92px; } }
.ka { display: grid; gap: 16px; }
@media (min-width: 620px) { .ka { grid-template-columns: 1fr 1fr; } }
.ka > section { border-radius: 22px; padding: 20px 20px 22px; }
.ka .keep { background: #d7efe3; } .ka .fit { background: #fff1c2; }
.ka h2 { font-size: 21px; display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.ka h2 svg { width: 22px; height: 22px; }
.ka .keep h2 { color: #234a40; } .ka .fit h2 { color: #6b460c; }
.ka dl { margin: 0; display: grid; gap: 14px; }
.ka dt { font-weight: 800; font-size: 13px; color: #4a3a2e; }
.ka dd { margin: 3px 0 0; font: 500 17px/1.4 var(--font-display); color: #3b1a57; overflow-wrap: anywhere; }
.flow { list-style: none; margin: 6px 0 0; padding: 0; font: 500 16px/1.35 var(--font-display); color: #3b1a57; }
.flow li { position: relative; padding: 0 0 10px 24px; }
.flow li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #2f7360; }
.flow li:not(:last-child)::after { content: ''; position: absolute; left: 8px; top: 16px; bottom: -6px; width: 2px; background: #82c6a8; }
.sw { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; }
.sw s { color: #6b523b; text-decoration-thickness: 2px; text-decoration-color: #db9300; font-weight: 400; }
.sw svg { width: 18px; height: 18px; color: #8a5a06; flex: none; }
.login { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 26px 22px; box-shadow: var(--shadow-soft); display: grid; gap: 12px; }
.login h2 { font-size: 24px; line-height: 1.2; margin-bottom: 4px; }
.login .or { display: flex; align-items: center; gap: 12px; color: var(--muted-foreground); font-size: 14px; font-weight: 600; }
.login .or::before, .login .or::after { content: ''; height: 1px; background: var(--border); flex: 1; }
.login .ok { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--leaf-700); font-size: 15px; justify-content: center; padding-top: 4px; }
html.dark .login .ok { color: #82c6a8; }
.login .ok svg { width: 18px; height: 18px; }
html.dark .btn-outline { border-color: #c9a6e6; }
html.dark .endpage .btn-outline { border-color: #3b1a57; }
html.dark .nores { border-color: #514369; }

/* Karya Keluarga (AYAH-47): three whole pictures, one under the other; nothing else of the book */
.karya-stage .kpages { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.karya-stage figure { margin: 0; }
.karya-stage img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 8px; background: #fcf4e4; }
.karya-stage .kend { margin-top: 18px; display: grid; gap: 12px; justify-items: start; }
.karya-stage .kend p { margin: 0; color: #dcd6e8; font-weight: 700; }
@media (min-width: 900px) { .karya-stage .sx-wrap { max-width: 880px; } }
.kreport { padding: 28px 0 64px; }
.kreport summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 700; color: var(--muted-foreground); text-decoration: underline; text-underline-offset: 3px; }
.kreport form { display: grid; gap: 12px; max-width: 460px; margin-top: 8px; }
.kreport label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--heading); }
.kreport select, .kreport textarea { font: 500 16px/1.4 var(--font-sans); padding: 10px 12px; border: 1.5px solid #c9ad86; border-radius: 12px; background: var(--card); color: var(--foreground); }
.kreport .ok { margin: 0 0 8px; font-weight: 700; color: var(--leaf-700); }
.rack-karya-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
