@view-transition { navigation: auto; }

header { view-transition-name: app-header; }
.bottom-nav { view-transition-name: app-bottomnav; }

@media (prefers-reduced-motion: no-preference) {
    ::view-transition-old(root) { animation: vtKeluar 0.2s ease both; }
    ::view-transition-new(root) { animation: vtMasuk 0.26s cubic-bezier(0.22, 1, 0.36, 1) both; }
    ::view-transition-old(app-header),
    ::view-transition-new(app-header),
    ::view-transition-old(app-bottomnav),
    ::view-transition-new(app-bottomnav) { animation: none; }
}

@keyframes vtKeluar { to { opacity: 0; } }
@keyframes vtMasuk { from { opacity: 0; transform: translateY(12px); } }

html { overscroll-behavior-y: contain; }

@media (hover: none) {
    button:active,
    .btn:active,
    .nav-pill:active,
    .sheet-item:active,
    .sg-item:active,
    .ftab:active,
    .act-btn:active,
    .btn-viewall:active,
    .travel-card:active,
    .event-card:active,
    .br-card:active,
    .jc-btn:active,
    .bn-item:active,
    .footer-links button:active,
    .jadwal-card:active,
    .wisata-card:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
    .bn-center:active .bn-fab { transform: scale(0.92); }
}

.sk-wrap { display: contents; }
.sk-card {
    background: var(--card-bg);
    border: 1px solid var(--accent-soft-border, rgba(128,160,175,0.25));
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}
.sk-line, .sk-box, .sk-circle {
    position: relative;
    overflow: hidden;
    background: var(--accent-soft, rgba(128,160,175,0.16));
    border-radius: 8px;
}
.sk-circle { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; }
.sk-box { height: 92px; border-radius: 12px; }
.sk-line { height: 12px; }
.sk-line.w40 { width: 40%; }
.sk-line.w60 { width: 60%; }
.sk-line.w80 { width: 80%; }
.sk-row { display: flex; align-items: center; gap: 14px; }
.sk-col { flex: 1; display: flex; flex-direction: column; gap: 8px; }

.sk-line::after, .sk-box::after, .sk-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    animation: skKilau 1.4s infinite;
}
[data-theme="dark"] .sk-line::after,
[data-theme="dark"] .sk-box::after,
[data-theme="dark"] .sk-circle::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}
@keyframes skKilau { to { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) {
    .sk-line::after, .sk-box::after, .sk-circle::after { animation: none; }
}

.bottom-nav {
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.32);
}
.sheet { max-height: 86vh; overflow-y: auto; }
.tautan-judul { color: inherit; text-decoration: none; }
.tautan-judul:hover,
.tautan-judul:focus-visible { text-decoration: underline; }

.disorot {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    animation: sorotDenyut 1.1s ease 2;
}
@keyframes sorotDenyut {
    0%, 100% { outline-color: var(--accent); }
    50% { outline-color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
    .disorot { animation: none; }
}

.sheet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 2px 0 4px;
}
.sg-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 13px 3px;
    border-radius: 16px;
    background: var(--accent-soft);
    border: 1px solid transparent;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
}
.sg-item .material-symbols-outlined {
    font-size: 25px;
    color: var(--accent);
}

.sg-emoji { font-size: 23px; line-height: 1.08; }
.sg-item.active {
    background-image: var(--grad-btn);
    color: #fff;
    border-color: transparent;
}
.sg-item.active .material-symbols-outlined { color: #fff; }

.sheet-sec {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 2px 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}
.sheet-sec::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--accent-soft-border);
}

.sheet-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}
.sheet-mini .sheet-item {
    justify-content: center;
    gap: 8px;
    background: var(--accent-soft);
    border-radius: 14px;
    padding: 13px 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 340px) {
    .sheet-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
    html, body { overscroll-behavior-y: none; }

    header, .bottom-nav, .sheet, .sheet-item, .bn-item, .nav-pill, .ftab {
        -webkit-user-select: none;
        user-select: none;
    }

    header:not(.hero) {
        padding-top: calc(14px + env(safe-area-inset-top)) !important;
        padding-left: max(16px, env(safe-area-inset-left)) !important;
        padding-right: max(16px, env(safe-area-inset-right)) !important;
    }

    .hero .hero-nav { padding-top: calc(17px + env(safe-area-inset-top)) !important; }

    #btn-install, #si-install { display: none !important; }

    footer:not(.ft) { display: none !important; }
}

@media (display-mode: standalone) and (max-width: 600px) {

    header:not(.hero) {
        justify-content: center !important;
        padding-bottom: 12px !important;
        border-radius: 0 !important;
        gap: 0 !important;
    }
    header:not(.hero)::before, header:not(.hero)::after { display: none !important; }

    .header-left { justify-content: center; gap: 10px; }
    .brand-section { font-size: 1.02rem; letter-spacing: 0.2px; }
    .brand-logo { width: 28px !important; height: 28px !important; animation: none !important; }

    main { margin-top: 24px !important; }
    .page-head { padding-top: 26px !important; }
}

.sh { position: relative; max-width: 1280px; margin: 0 auto; padding: 26px 20px 0; }
@media (min-width: 1500px) { .sh { max-width: 1560px; } }
@media (min-width: 2100px) { .sh { max-width: 1900px; } }

.sh-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
    gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none;
}
.sh-track::-webkit-scrollbar { display: none; }
.sh-item { position: relative; scroll-snap-align: center; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 24px var(--shadow); background: var(--card-bg); aspect-ratio: 16 / 7; }
.sh-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(26px) saturate(1.2); transform: scale(1.25); opacity: 0.55; }
.sh-foto { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; }
.sh-klik { cursor: pointer; }

@media (max-width: 900px) { .sh-item { aspect-ratio: 16 / 9; } }

.sh-cap {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 42px 20px 16px; color: #fff; font-weight: 700; font-size: 1rem;
    line-height: 1.4; text-shadow: 0 2px 10px rgba(0,0,0,0.55);
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.72) 100%);
    pointer-events: none;
}

.sh-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.92); color: #10323f;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.32); transition: background 0.2s ease;
}
.sh-nav:hover { background: #fff; }
.sh.banyak .sh-nav { display: flex; }
.sh-prev { left: 32px; }
.sh-next { right: 32px; }
@media (hover: none) { .sh.banyak .sh-nav { display: none; } }

.sh-dots { display: none; justify-content: center; gap: 7px; margin-top: 12px; }
.sh.banyak .sh-dots { display: flex; }
.sh-dots span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.26; cursor: pointer; transition: opacity 0.2s ease, width 0.2s ease; }
.sh-dots span.on { opacity: 0.85; width: 20px; border-radius: 4px; }

@media (max-width: 600px) {
    .sh { padding: 18px 14px 0; }
    .sh-item { aspect-ratio: 4 / 3; border-radius: 14px; }
    .sh-cap { font-size: 0.9rem; padding: 34px 15px 13px; }
}

html:root {
    --bg-body: #eaf3ff;
    --text-main: #0a1f3d;
    --header-text: #ffffff;
    --title-color: #0a4aa0;
    --info-box-bg: #0a4aa0;
    --search-text: #ffffff;
    --footer-bg: #d9e9ff;
    --footer-text: #33527e;
    --modal-bg: rgba(4, 18, 45, 0.72);
    --modal-content-bg: #ffffff;
    --card-bg: #ffffff;
    --shadow: rgba(10, 74, 160, 0.18);
    --danger: #e5484d;
    --ok: #16a34a;

    --grad-header: linear-gradient(145deg, #061f4d 0%, #0a4aa0 52%, #0b74c2 100%);
    --grad-btn: linear-gradient(135deg, #0a4aa0 0%, #0b74c2 100%);
    --grad-btn-active: linear-gradient(135deg, #061f4d 0%, #0a4aa0 100%);
    --grad-toast: linear-gradient(135deg, #0a4aa0, #0b74c2);
    --grad-hero-overlay: linear-gradient(180deg, rgba(4,26,40,0.32) 0%, rgba(4,26,40,0.55) 60%, rgba(4,26,40,0.86) 100%);

    --nav-top: #0a4aa0;
    --nav-bottom: #061f4d;
    --accent-soft: rgba(11, 95, 191, 0.10);
    --accent-soft-border: rgba(11, 95, 191, 0.26);

    --accent: #0b5fbf;

    --amber: #aa4d08;
}

html:root[data-theme="dark"] {
    --bg-body: #041a26;
    --text-main: #d9f0f7;
    --header-text: #7adeea;
    --title-color: #4cc9dd;
    --footer-bg: #062231;
    --footer-text: #8fb5c2;
    --modal-content-bg: #0a2c3c;
    --card-bg: #0a2c3c;
    --shadow: rgba(0, 0, 0, 0.55);
    --grad-header: linear-gradient(145deg, #01121b 0%, #063a52 55%, #0b6b8f 100%);
    --grad-btn: linear-gradient(135deg, #0a4d68 0%, #1592ab 100%);
    --grad-btn-active: linear-gradient(135deg, #01121b 0%, #0a4d68 100%);
    --grad-toast: linear-gradient(135deg, #0a4d68, #1592ab);
    --nav-top: #063a52;
    --nav-bottom: #01121b;
    --accent-soft: rgba(56, 195, 216, 0.12);
    --accent-soft-border: rgba(56, 195, 216, 0.30);
}

.km-header { padding: 12px 30px !important; gap: 16px !important; }
.km-header .brand-section { gap: 9px; font-size: 0.95rem; }
.km-kembali,
.km-nav a,
.km-header .km-tombol,
.km-nav .km-tema {
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    background: none;
    border: none;
    padding: 8px 13px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.km-kembali:hover,
.km-nav a:hover,
.km-header .km-tombol:hover,
.km-nav .km-tema:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

.km-kembali { display: inline-flex; align-items: center; gap: 7px; }
.km-kembali .material-symbols-outlined { font-size: 19px; }

.km-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; margin-left: auto; }
.km-header .auth-area { margin-left: 0; }

.km-nav .km-tema .material-symbols-outlined { display: none; }

.km-header .auth-area { display: flex; align-items: center; gap: 6px; }
.km-header .km-tombol { border: 1px solid rgba(255, 255, 255, 0.42); }
.km-header .km-login { background: rgba(255, 255, 255, 0.16); color: #fff; }
.km-header .km-login:hover { background: rgba(255, 255, 255, 0.3); }
.km-header .km-nama { font-size: 0.85rem; font-weight: 700; color: #fff; padding: 0 4px; }
.km-header .profile-pic { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: none; border: 2px solid rgba(255,255,255,0.6); }

@media (max-width: 900px) {
    .km-header { padding: 11px 16px !important; }
}

@media (max-width: 820px) {
    .km-header .km-kembali,
    .km-header .auth-area { display: none !important; }
}

.ag-maskot {
    position: fixed; right: 16px; bottom: 20px; z-index: 890;
    width: 58px; height: 75px; padding: 0; border: none; background: none;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
    animation: agApung 3.4s ease-in-out infinite;
}
.ag-maskot img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.32)); }
.ag-maskot:hover img, .ag-maskot:focus-visible img { transform: scale(1.06); }
.ag-maskot img { transition: transform 0.2s ease; }
.ag-maskot:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.ag-titik { position: absolute; top: 2px; right: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--danger); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.ag-maskot.sudah .ag-titik { display: none; }

@keyframes agApung {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}

.ag-panel {
    position: fixed; right: 16px; bottom: 104px; z-index: 891;
    width: min(320px, calc(100vw - 32px));

    max-height: calc(100vh - 130px);
    max-height: calc(100dvh - 130px);
    background: var(--modal-content-bg); color: var(--text-main);
    border: 1px solid var(--accent-soft-border); border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0,0,0,0.28);
    display: none; flex-direction: column; overflow: hidden;
}
.ag-panel.buka { display: flex; animation: agMuncul 0.26s ease; }
@keyframes agMuncul { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }

.ag-kepala { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background-image: var(--grad-header); color: #fff; }
.ag-kepala img { width: 30px; height: 38px; object-fit: contain; flex-shrink: 0; }
.ag-nama { font-weight: 800; font-size: 0.95rem; line-height: 1.25; }
.ag-sub { font-size: 0.72rem; opacity: 0.9; }
.ag-tutup { margin-left: auto; background: rgba(255,255,255,0.18); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.ag-tutup .material-symbols-outlined { font-size: 19px; }

.ag-isi { padding: 14px; display: flex; flex-direction: column; gap: 9px; flex: 1 1 auto; min-height: 0; max-height: 44vh; overflow-y: auto; }
.ag-balon { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 0.87rem; line-height: 1.65; }
.ag-balon.dia { background: var(--accent-soft); border-bottom-left-radius: 4px; align-self: flex-start; }
.ag-balon.saya { background-image: var(--grad-btn); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.ag-balon a { color: var(--accent); font-weight: 700; }
.ag-balon.dia a { color: var(--accent); }
.ag-nota { font-size: 0.72rem; line-height: 1.6; opacity: 0.75; padding: 0 14px 10px; }

.ag-cip { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 14px 14px; }
.ag-cip button { font-family: inherit; font-size: 0.8rem; font-weight: 600; padding: 8px 13px; border-radius: 20px; border: 1px solid var(--accent-soft-border); background: var(--card-bg); color: var(--text-main); cursor: pointer; }
.ag-cip button:hover { background: var(--accent-soft); }

.ag-maskot.tidur { animation: none; }
.ag-maskot.tidur img { filter: drop-shadow(0 6px 10px rgba(0,0,0,0.32)) saturate(0.75); opacity: 0.85; }
.ag-maskot.tidur .ag-titik { display: none; }

.ag-ketik { display: flex; gap: 8px; padding: 0 14px 12px; }
.ag-ketik input {
    flex: 1; min-width: 0; font-family: inherit; font-size: 0.87rem;
    padding: 10px 14px; border-radius: 22px;
    border: 1px solid var(--accent-soft-border);
    background: var(--card-bg); color: var(--text-main); outline: none;
}
.ag-ketik input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ag-ketik input:disabled { opacity: 0.6; }
.ag-kirim {
    flex-shrink: 0; width: 40px; height: 40px; border: none; border-radius: 50%;
    background-image: var(--grad-btn); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.ag-kirim .material-symbols-outlined { font-size: 20px; }
.ag-kirim:disabled { opacity: 0.55; cursor: default; }

.ag-balon.ag-tunggu { letter-spacing: 3px; opacity: 0.7; animation: agDenyut 1.1s ease-in-out infinite; }
@keyframes agDenyut { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.9; } }

@media (max-width: 820px) {
    .ag-maskot { bottom: calc(84px + env(safe-area-inset-bottom)); right: 12px; }
    .ag-panel  {
        bottom: calc(166px + env(safe-area-inset-bottom)); right: 12px;

        max-height: calc(100vh - 196px);
        max-height: calc(100dvh - 196px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ag-maskot { animation: none; }
    .ag-balon.ag-tunggu { animation: none; }
}

.sheet-catatan {
    margin: 2px 2px 6px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-soft-border);
    font-size: 0.78rem;
    line-height: 1.55;
    opacity: 0.85;
}
.sheet-catatan:empty { display: none; }

:root {
    --latar-tegak: none;
    --latar-lebar: none;
    --latar-foto: var(--latar-tegak);

    --latar-rgb: 255, 255, 255;
    --latar-pekat: 0.86;
}

@media (min-aspect-ratio: 1 / 1) {
    :root { --latar-foto: var(--latar-lebar); }
}

html[data-theme="dark"] {
    --latar-rgb: 4, 22, 31;
    --latar-pekat: 0.84;
}

html.punya-latar body { background-color: transparent; }

html.punya-latar body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(var(--latar-rgb), var(--latar-pekat)),
                        rgba(var(--latar-rgb), var(--latar-pekat))),
        var(--latar-foto);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card, .lp-kotak { box-shadow: 0 8px 26px var(--shadow); }

html:not([data-theme="dark"]) {
    --accent: #0b5fbf;
}

html:not([data-theme="dark"]) {

    --amber: #aa4d08;
}

body .info-section p,
body .info-section ul { opacity: 1; }

html:root[data-theme="dark"] {
    --text-main: #f2f7f9;
    --title-color: #ffffff;
    --header-text: #ffffff;
    --footer-text: #c2d4dc;

    --accent: #eaf4f7;

    --accent-bg: #1592ab;
    --accent-soft: rgba(170, 214, 228, 0.13);
    --accent-soft-border: rgba(170, 214, 228, 0.30);

    --card-bg: #0d2b3a;
    --modal-content-bg: #0d2b3a;
}

html:root[data-theme="dark"] { --amber: #f0b054; }

body .wisata-grid { align-items: stretch; }

body .tag-baris {

    max-height: 3.4em;
    overflow: hidden;
}
body .pulau-tag {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    display: inline-flex;
    min-width: 0;
}
body .pulau-tag .material-symbols-outlined { flex: none; }

.mj { max-width: 1080px; margin: 0 auto 60px; padding: 10px 22px 0; }
.mj[hidden] { display: none; }
.mj-daftar { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.mj-kartu { display: flex; flex-direction: column; background: var(--card-bg);
    border: 1px solid var(--accent-soft-border); border-radius: 18px; overflow: hidden;
    box-shadow: 0 6px 18px var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.mj-kartu:hover { transform: translateY(-3px); box-shadow: 0 14px 30px var(--shadow); }
.mj-sampul { width: 100%; aspect-ratio: 3 / 4; object-fit: contain;
    background: var(--accent-soft); display: block; }
.mj-sampul-kosong { display: flex; align-items: center; justify-content: center; opacity: 0.4; }
.mj-sampul-kosong .material-symbols-outlined { font-size: 44px; }
.mj-isi { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.mj-nama { font-size: 1.02rem; font-weight: 800; line-height: 1.35; color: var(--title-color); }
.mj-edisi { font-size: 0.85rem; opacity: 0.75; }
.mj-buka { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 18px; border-radius: 24px; background-image: var(--grad-btn); color: #fff;
    text-decoration: none; font-weight: 700; font-size: 0.88rem; }
.mj-buka .material-symbols-outlined { font-size: 18px; }
.mj-kosong { margin-top: auto; font-size: 0.82rem; opacity: 0.6; }

.mj-bagikan { display: flex; gap: 7px; margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--accent-soft-border); }
.mj-bagikan .share-ic { width: 32px; height: 32px; }
.mj-bagikan .share-ic .material-symbols-outlined { font-size: 16px; }

@media (max-width: 560px) {
    .mj-daftar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mj-isi { padding: 12px 13px 14px; }
    .mj-nama { font-size: 0.92rem; }
    .mj-buka { padding: 9px 14px; font-size: 0.8rem; }
    .mj-bagikan { gap: 5px; margin-top: 10px; padding-top: 10px; }
}

body.tk-menjelajah #mj { display: none; }

.muat-bungkus { display: flex; justify-content: center; margin: 22px 0 6px; }
.muat-lagi { display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 11px 22px; border-radius: 26px; font-size: 0.88rem; font-weight: 700;
    font-family: inherit; color: var(--accent);
    background: var(--accent-soft); border: 1px solid var(--accent-soft-border);
    transition: transform 0.18s ease, background 0.2s ease; }
.muat-lagi:hover { transform: translateY(-2px); background: var(--accent-soft-border); }
.muat-lagi:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muat-lagi .material-symbols-outlined { font-size: 19px; }
.muat-sisa { font-weight: 600; font-size: 0.78rem; opacity: 0.75;
    padding: 2px 9px; border-radius: 12px; background: var(--card-bg); }

@media (max-width: 820px) {
    .info-section { display: none; }
}

body .wisata-grid { grid-template-columns: repeat(auto-fill, minmax(min(286px, 100%), 1fr)); }

body .wisata-card { container-type: inline-size; }

body .wisata-card { position: relative; aspect-ratio: 4 / 5; }
body .wisata-grid { align-items: start; }

body .wisata-card {
    background-image: none;
    border: 0;
    box-shadow: none;

    transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1);
}
body .wisata-card:hover {

    transform: translateY(-3px);
    box-shadow: none;
}
body .wisata-card:active {
    transform: translateY(-1px) scale(0.995);
    box-shadow: none;
}

body .wisata-gallery {
    position: absolute; inset: 0; aspect-ratio: auto;
    width: 100%; height: 100%; border-radius: inherit;
}

body .wisata-gallery::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top,
        rgba(3, 22, 56, 0.94) 0%,
        rgba(5, 34, 82, 0.86) 22%,
        rgba(8, 56, 128, 0.55) 40%,
        rgba(10, 74, 160, 0.26) 50%,
        rgba(10, 74, 160, 0) 60%);
}
body .wisata-noimg .material-symbols-outlined { color: rgba(255, 255, 255, 0.5); }

body .wisata-body {
    position: absolute; inset: 0; z-index: 3;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 13px 15px 14px; gap: 7px;
    pointer-events: none;
    background: none;
}
body .wisata-body a,
body .wisata-body button { pointer-events: auto; }

body .wisata-body > .tag-baris {
    margin: 0; max-height: 3.6em; overflow: hidden;
}

body .wisata-body > .tag-baris .pulau-tag,
body .wisata-body > .tag-baris .kat-tag,
body .wisata-body > .tag-baris .tk-status {
    background: rgba(3, 22, 56, 0.66); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 0.63rem; padding: 3px 9px;
}
body .wisata-body > .tag-baris .material-symbols-outlined { font-size: 13px; }

body .wisata-nama { margin: 0; }
body .wisata-nama .tautan-judul {
    color: #fff; font-size: 1.12rem; font-weight: 800; line-height: 1.26;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
    text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}

body .wisata-desc.clamp {
    position: static; width: auto; height: auto; margin: 0; padding: 0;
    clip: auto; clip-path: none; white-space: normal; border: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.83rem; line-height: 1.5; opacity: 1;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

body .wisata-desc.clamp.ada-lanjutan {
    -webkit-mask-image: none; mask-image: none;
}

body .wisata-desc:not(.clamp) {
    margin: 0; font-size: 0.8rem; line-height: 1.5; opacity: 1;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
body .wisata-desc:not(.clamp) a { color: #fff; font-weight: 700; }

body .kmr { margin: 0; padding: 0; border: 0; background: none; }
body .kmr-daftar,
body .kmr-sisa,
body .kmr-catatan { display: none; }
body .kmr-mulai {
    margin: 0; align-self: flex-start;
    padding: 4px 11px; border-radius: 20px;
    background: rgba(3, 22, 56, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff; font-size: 0.76rem;
}
body .kmr-mulai strong { color: #fff; font-size: 0.92rem; }

body .wisata-dots {
    left: 14px; right: auto; top: 14px; bottom: auto; transform: none; z-index: 4;
}

body .wisata-kredit {
    position: absolute; top: 12px; right: 12px; left: auto; bottom: auto;
    width: auto; height: auto; margin: 0; clip: auto; clip-path: none;
    max-width: 52%; z-index: 4;
    padding: 3px 9px; border-radius: 20px;
    background: rgba(0, 0, 0, 0.52); color: rgba(255, 255, 255, 0.82);
    font-size: 0.62rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

body .wisata-more {
    margin: 0; align-self: flex-start;
    color: #fff; font-size: 0.79rem; font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
body .wisata-more .material-symbols-outlined { font-size: 15px; }
body .wisata-card .spacer { display: none; }

body .wisata-actions,
body .umkm-actions {
    margin: 0; display: flex; flex-direction: row; align-items: center;
    justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
body .umkm-mini,
body .wisata-share {
    display: flex; gap: 6px; justify-content: flex-end; flex: none;
}

body .wisata-body .share-ic {
    width: 32px; height: 32px; flex: none;
    background: rgba(3, 22, 56, 0.64); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.26);
}
body .wisata-body .share-ic .material-symbols-outlined { font-size: 16px; }
body .wisata-body .wisata-btn {
    background: rgba(3, 22, 56, 0.64); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    padding: 7px 13px; font-size: 0.78rem; white-space: nowrap;
}

body .wisata-body .umkm-wa {
    background: #25D366; color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    padding: 8px 13px; font-size: 0.77rem; white-space: nowrap;

    flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
body .wisata-body .umkm-wa .material-symbols-outlined { flex: none; font-size: 17px; }

@media (max-width: 560px) {
    body .wisata-body { padding: 11px 12px 12px; gap: 5px; }
    body .wisata-nama .tautan-judul { font-size: 1.02rem; }
    body .wisata-desc.clamp { font-size: 0.79rem; }
    body .wisata-body .share-ic { width: 31px; height: 31px; }
    body .wisata-more { font-size: 0.76rem; }
}

@container (max-width: 310px) {
    body .wisata-desc.clamp { display: none; }
    body .wisata-body > .tag-baris .pulau-tag,
    body .wisata-body > .tag-baris .kat-tag,
    body .wisata-body > .tag-baris .tk-status { font-size: 0.6rem; padding: 3px 8px; }
    body .wisata-nama .tautan-judul { font-size: 1.03rem; }
    body .wisata-body { padding: 12px 13px 13px; gap: 6px; }
}

body .jadwal-card { position: relative; overflow: hidden; }

body .jadwal-card .jc-head {
    position: relative; overflow: hidden;

    margin: -20px -20px 0;
    padding: 20px;
    min-height: 104px;
    align-items: center; gap: 14px;
    color: #fff;

    background-color: #0a3550;
    background-image: linear-gradient(158deg, #0b4a6b 0%, #072d44 100%);
}
body .jadwal-card .jc-latar {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;

    filter: blur(3px); transform: scale(1.14);
}
body .jadwal-card .jc-head::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, rgba(3, 22, 56, 0.46) 0%, rgba(3, 22, 56, 0.72) 100%);
}
body .jadwal-card .jc-logo,
body .jadwal-card .jc-titles { position: relative; z-index: 2; }

body .jadwal-card .jc-logo:not(.jc-logo-none) {
    width: 66px; height: 66px; border-radius: 16px; flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
body .jadwal-card .jc-logo-none {
    width: 66px; height: 66px; border-radius: 16px;
    background: rgba(255, 255, 255, 0.16); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
body .jadwal-card .jc-nama { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55); }
body .jadwal-card .jc-badge,
body .jadwal-card .jc-badge.laut,
body .jadwal-card .jc-badge.udara {
    background: rgba(255, 255, 255, 0.2); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}

body .jadwal-card .jc-today {
    position: absolute; top: 13px; right: 13px; z-index: 3; margin: 0;
}

body .jadwal-card .jc-today + .jc-head { padding-top: 46px; }

body .jadwal-card .jc-catatan {
    display: flex; flex-direction: column; gap: 8px;
    padding: 12px 14px; border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-soft-border);
}
body .jadwal-card .jc-desc {
    margin: 0; opacity: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
body .jadwal-card .jc-catatan.buka .jc-desc {
    display: block; overflow: visible; -webkit-line-clamp: unset;
}
body .jadwal-card .jc-desc-lagi {
    align-self: flex-start; cursor: pointer; font-family: inherit;
    display: inline-flex; align-items: center; gap: 5px;
    background: none; border: 0; padding: 0;
    color: var(--accent); font-size: 0.8rem; font-weight: 700;
}
body .jadwal-card .jc-desc-lagi[hidden] { display: none; }

body .jadwal-card .jc-desc-lagi .material-symbols-outlined {
    font-size: 17px; transition: transform 0.2s ease;
}
body .jadwal-card .jc-catatan.buka .jc-desc-lagi .material-symbols-outlined {
    transform: rotate(180deg);
}

@media (min-width: 1280px) {
    body .wisata-grid,
    body .jadwal-grid { grid-template-columns: repeat(4, 1fr); }
}

body .jadwal-grid { align-items: start; }

.pembaruan-bilah {
    position: fixed; z-index: 1200; left: 16px; right: 16px; bottom: 20px;
    max-width: 520px; margin: 0 auto;
    display: flex; align-items: center; gap: 12px;
    padding: 13px 14px 13px 16px; border-radius: 16px;
    background-image: var(--grad-btn);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 6px rgba(6, 31, 77, 0.28), 0 16px 36px rgba(6, 31, 77, 0.34);

    opacity: 0; transform: translateY(18px);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.pembaruan-bilah.tampak { opacity: 1; transform: translateY(0); }
.pembaruan-ikon { flex: none; font-size: 24px; }
.pembaruan-teks { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.pembaruan-teks strong { font-size: 0.94rem; font-weight: 800; }
.pembaruan-teks span { font-size: 0.78rem; opacity: 0.9; line-height: 1.45; }
.pembaruan-muat {
    flex: none; cursor: pointer; font-family: inherit;
    padding: 9px 16px; border-radius: 22px; border: 0;
    background: #fff; color: #0a4aa0; font-weight: 800; font-size: 0.85rem;
}
.pembaruan-muat:hover { background: #eaf3ff; }
.pembaruan-tutup {
    flex: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, 0.16); color: #fff;
}
.pembaruan-tutup:hover { background: rgba(255, 255, 255, 0.3); }
.pembaruan-tutup .material-symbols-outlined { font-size: 18px; }

@media (max-width: 820px) {

    .pembaruan-bilah { bottom: calc(76px + env(safe-area-inset-bottom)); left: 12px; right: 12px; }
}
@media (max-width: 420px) {

    .pembaruan-teks span { display: none; }
    .pembaruan-muat { padding: 9px 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .pembaruan-bilah { transition: opacity 0.2s ease; transform: none; }
    .pembaruan-bilah.tampak { transform: none; }
}

html:root {

    --kartu-permukaan: linear-gradient(168deg, #ffffff 0%, #f1f7ff 48%, #dfebfd 100%);
    --kartu-garis: rgba(11, 95, 191, 0.26);

    --kartu-sekat: rgba(11, 95, 191, 0.16);

    --kartu-kilau: rgba(255, 255, 255, 0.95);

    --kartu-bayang:
        0 0 0 1px rgba(11, 95, 191, 0.09),
        0 1px 2px rgba(6, 31, 77, 0.16),
        0 3px 6px rgba(10, 74, 160, 0.13),
        0 10px 20px rgba(10, 74, 160, 0.14);
    --kartu-bayang-naik:
        0 0 0 1px rgba(11, 95, 191, 0.14),
        0 2px 4px rgba(6, 31, 77, 0.20),
        0 8px 16px rgba(10, 74, 160, 0.18),
        0 22px 40px rgba(10, 74, 160, 0.20);

    --kartu-bayang-tekan:
        0 1px 1px rgba(6, 31, 77, 0.16),
        0 2px 5px rgba(10, 74, 160, 0.14);
}

html:root[data-theme="dark"] {
    --kartu-permukaan: linear-gradient(168deg, #17415a 0%, #103247 55%, #0a2434 100%);
    --kartu-garis: rgba(120, 196, 220, 0.26);
    --kartu-kilau: rgba(170, 226, 245, 0.55);
    --kartu-sekat: rgba(120, 196, 220, 0.22);

    --kartu-bayang:
        0 0 0 1px rgba(120, 196, 220, 0.13),
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.42),
        0 12px 24px rgba(0, 0, 0, 0.38);
    --kartu-bayang-naik:
        0 0 0 1px rgba(140, 212, 235, 0.22),
        0 2px 4px rgba(0, 0, 0, 0.55),
        0 10px 20px rgba(0, 0, 0, 0.5),
        0 24px 46px rgba(0, 0, 0, 0.44);
    --kartu-bayang-tekan:
        0 1px 1px rgba(0, 0, 0, 0.5),
        0 3px 6px rgba(0, 0, 0, 0.4);
}

body .lp-kotak,
body .card,
body .vd-kartu,
body .mj-kartu {

    background-color: var(--card-bg);
    background-image: var(--kartu-permukaan);
    border: 1px solid var(--kartu-garis);
    border-top-color: var(--kartu-kilau);
    box-shadow: var(--kartu-bayang);
    transition: transform 0.24s cubic-bezier(0.2, 0.7, 0.3, 1),
                box-shadow 0.24s ease;
}

body .lp-kotak:hover,
body .card:hover,
body .vd-kartu:hover,
body .mj-kartu:hover {
    transform: translateY(-5px);
    box-shadow: var(--kartu-bayang-naik);
}

body .lp-kotak:active,
body .card:active,
body .vd-kartu:active,
body .mj-kartu:active {
    transform: translateY(-1px) scale(0.994);
    box-shadow: var(--kartu-bayang-tekan);
    transition-duration: 0.08s;
}

body .lp-kotak:focus-visible,
body .vd-kartu:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

body .vd-sampul,
body .lp-gbr {
    border-bottom: 1px solid var(--kartu-sekat);
}
body .mj-sampul {
    border-bottom: 1px solid var(--kartu-sekat);
}

body .breakdown-item,
body .mz-lagu {
    background-color: var(--card-bg);
    background-image: var(--kartu-permukaan);
    border: 1px solid var(--kartu-garis);
    border-top-color: var(--kartu-kilau);
    box-shadow: 0 1px 2px rgba(6, 31, 77, 0.08), 0 3px 8px rgba(10, 74, 160, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
html:root[data-theme="dark"] body .breakdown-item,
html:root[data-theme="dark"] body .mz-lagu {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.3);
}
body .mz-lagu:hover,
body .breakdown-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--kartu-bayang);
}

@media (prefers-reduced-motion: reduce) {
    body .lp-kotak,
    body .wisata-card,
    body .card,
    body .vd-kartu,
    body .mj-kartu,
    body .breakdown-item,
    body .mz-lagu {
        transition: box-shadow 0.2s ease;
    }
    body .lp-kotak:hover,
    body .wisata-card:hover,
    body .card:hover,
    body .vd-kartu:hover,
    body .mj-kartu:hover,
    body .lp-kotak:active,
    body .wisata-card:active,
    body .card:active,
    body .vd-kartu:active,
    body .mj-kartu:active,
    body .breakdown-item:hover,
    body .mz-lagu:hover {
        transform: none;
    }
}

.peta-layar {
    position: fixed; inset: 0; z-index: 2400;
    isolation: isolate;
    display: flex; flex-direction: row;
    background: #06213f;
}
.peta-layar[hidden] { display: none; }
body.peta-terbuka { overflow: hidden; }

.peta-kanvas { position: relative; flex: 1 1 auto; min-width: 0; }
.peta-wadah { position: absolute; inset: 0; }
.peta-memuat {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 100%; color: #cfe6ff; font-weight: 700;
}

.peta-atas {
    position: absolute; top: 0; left: 0; right: 0; z-index: 5;
    display: flex; align-items: center; gap: 12px;
    padding: calc(12px + env(safe-area-inset-top)) 14px 12px;
    background: linear-gradient(to bottom, rgba(3,22,56,0.82) 0%, rgba(3,22,56,0) 100%);
    pointer-events: none;
}
.peta-atas > * { pointer-events: auto; }
.peta-judul { display: flex; flex-direction: column; color: #fff; line-height: 1.25; min-width: 0; }
.peta-judul strong { font-size: 1rem; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.peta-judul-ket { font-size: 0.74rem; opacity: 0.85; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }

.peta-bulat {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,0.94); color: #0a1f3d;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 3px 12px rgba(0,0,0,0.34);
}
.peta-bulat:hover { background: #fff; }
.peta-bulat.kecil { width: 32px; height: 32px; box-shadow: none; background: var(--accent-soft); border: 0; color: var(--accent); }
.peta-bulat .material-symbols-outlined { font-size: 22px; }
.peta-bulat.kecil .material-symbols-outlined { font-size: 18px; }

.peta-panel-buka {
    position: absolute; right: 14px; top: calc(12px + env(safe-area-inset-top)); z-index: 6;
    display: none;
}
.peta-layar.panel-lipat .peta-panel-buka { display: inline-flex; }

.peta-pin {
    position: absolute; transform: translate(-50%, -100%);
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: none; border: 0; padding: 0; cursor: pointer;
    font-family: inherit;
    transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.peta-pin:hover { transform: translate(-50%, -100%) scale(1.08); }
.peta-pin.aktif { transform: translate(-50%, -100%) scale(1.14); z-index: 3; }
.peta-pin-cincin {
    position: relative;
    width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.45);
    background: #0b5fbf;
}
.peta-pin.aktif .peta-pin-cincin { border-color: #ffd257; }
.peta-pin-cincin img { width: 100%; height: 100%; object-fit: cover; display: block; }
.peta-pin-nofoto { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; }
.peta-pin-nofoto .material-symbols-outlined { font-size: 22px; opacity: 0.7; }

.peta-pin-cincin::after {
    content: ""; position: absolute; left: 50%; bottom: -9px;
    transform: translateX(-50%);
    border-left: 7px solid transparent; border-right: 7px solid transparent;
    border-top: 9px solid #fff;
}
.peta-pin.aktif .peta-pin-cincin::after { border-top-color: #ffd257; }
.peta-pin-nama {
    max-width: 116px; margin-top: 8px;
    padding: 2px 8px; border-radius: 20px;
    background: rgba(3,22,56,0.72); color: #fff;
    font-size: 0.66rem; font-weight: 700; line-height: 1.4;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.peta-kartu {
    position: absolute; z-index: 7;
    left: 16px; bottom: calc(26px + env(safe-area-inset-bottom));
    width: 340px; max-width: calc(100% - 32px);
    border-radius: 20px; overflow: hidden;
    background: rgba(6, 33, 63, 0.62);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 16px 44px rgba(0,0,0,0.5);
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.peta-kartu.tampak { opacity: 1; transform: translateY(0); }
.peta-kartu[hidden] { display: none; }

.peta-kartu-tutup {
    position: absolute; top: 10px; right: 10px; z-index: 3;
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    background: rgba(3,22,56,0.6); color: #fff;
    border: 1px solid rgba(255,255,255,0.28);
}
.peta-kartu-tutup .material-symbols-outlined { font-size: 17px; }

.peta-kartu-panggung { position: relative; aspect-ratio: 16 / 10; }
.peta-kartu-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peta-kartu-nofoto { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
.peta-kartu-nofoto .material-symbols-outlined { font-size: 40px; }

.peta-kartu-panggung::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(3,22,56,0.5) 0%, rgba(3,22,56,0) 42%);
}

.peta-kartu-kaki {
    position: relative; z-index: 2;
    display: flex; align-items: flex-end; gap: 11px;
    padding: 0 15px 11px;
}
.peta-kartu-profil {

    margin-top: -26px; flex: none;
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
    border: 3px solid rgba(255,255,255,0.92);
    box-shadow: 0 4px 14px rgba(0,0,0,0.45);
    background: #0b5fbf; color: rgba(255,255,255,0.7);
}
.peta-kartu-profil img { width: 100%; height: 100%; object-fit: cover; display: block; }
.peta-kartu-teks { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-bottom: 2px; }
.peta-kartu-nama {
    margin: 0; color: #fff; font-size: 1.06rem; font-weight: 800; line-height: 1.28;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.peta-kartu-sub {
    font-size: 0.73rem; font-weight: 600; color: rgba(255,255,255,0.82);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.peta-kartu-ket {
    margin: 0; padding: 0 15px; color: rgba(255,255,255,0.86);
    font-size: 0.81rem; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.peta-kartu-rute {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin: 11px 15px calc(14px + env(safe-area-inset-bottom));
    padding: 10px 14px; border-radius: 12px; text-decoration: none;
    background: #0b5fbf; color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 0.82rem; font-weight: 700;
}
.peta-kartu-rute .material-symbols-outlined { font-size: 18px; }

.peta-kartu-strip {
    display: flex; gap: 7px; margin-top: 11px; padding: 9px 12px;
    overflow-x: auto; scrollbar-width: none;
    background: rgba(255,255,255,0.07);
    border-top: 1px solid rgba(255,255,255,0.14);
}
.peta-kartu-strip::-webkit-scrollbar { display: none; }
.peta-kartu-keping {
    flex: none; width: 58px; height: 42px; padding: 0; cursor: pointer;
    border-radius: 9px; overflow: hidden;
    border: 2px solid transparent; background: none;
    opacity: 0.62; transition: opacity 0.18s ease, border-color 0.18s ease;
}
.peta-kartu-keping img { width: 100%; height: 100%; object-fit: cover; display: block; }
.peta-kartu-keping.on { opacity: 1; border-color: #ffd257; }
.peta-kartu-keping:hover { opacity: 1; }

.peta-panel {
    flex: 0 0 348px; width: 348px;
    display: flex; flex-direction: column; min-height: 0;
    background: var(--card-bg);
    border-left: 1px solid var(--accent-soft-border);
    transition: margin-right 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.peta-layar.panel-lipat .peta-panel { margin-right: -348px; }
.peta-panel-genggam { display: none; }
.peta-panel-kepala {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: calc(14px + env(safe-area-inset-top)) 16px 10px;
    border-bottom: 1px solid var(--accent-soft-border);
}
.peta-panel-kepala strong { display: block; font-size: 1rem; color: var(--text-main); }
.peta-panel-jml { font-size: 0.76rem; color: var(--accent); font-weight: 700; }

.peta-cari {
    display: flex; align-items: center; gap: 8px; margin: 12px 14px 0;
    padding: 9px 12px; border-radius: 12px;
    background: var(--accent-soft); border: 1px solid var(--accent-soft-border);
}
.peta-cari .material-symbols-outlined { font-size: 19px; color: var(--accent); flex: none; }
.peta-cari input {
    flex: 1; min-width: 0; border: 0; background: none; outline: none;
    font-family: inherit; font-size: 0.88rem; color: var(--text-main);
}

.peta-pulau { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 4px; }
.peta-keping {
    display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
    padding: 5px 11px; border-radius: 20px; font-family: inherit;
    font-size: 0.76rem; font-weight: 700;
    background: transparent; color: var(--text-main);
    border: 1px solid var(--accent-soft-border);
}
.peta-keping span { opacity: 0.62; font-weight: 600; }
.peta-keping.aktif { background: var(--accent); color: #fff; border-color: var(--accent); }
.peta-keping.aktif span { opacity: 0.8; }

.peta-daftar { flex: 1 1 auto; overflow-y: auto; padding: 10px 12px calc(16px + env(safe-area-inset-bottom)); }
.peta-daftar-kosong { margin: 24px 8px; text-align: center; font-size: 0.86rem; opacity: 0.7; }
.peta-item {
    display: flex; align-items: center; gap: 11px; width: 100%; cursor: pointer;
    padding: 8px; margin-bottom: 6px; border-radius: 13px; text-align: left;
    background: transparent; border: 1px solid transparent; font-family: inherit;
}
.peta-item:hover { background: var(--accent-soft); }
.peta-item.aktif { background: var(--accent-soft); border-color: var(--accent); }
.peta-item-foto { width: 54px; height: 54px; flex: none; border-radius: 11px; object-fit: cover; background: var(--accent-soft); }
.peta-item-nofoto { display: flex; align-items: center; justify-content: center; color: var(--accent); }
.peta-item-nofoto .material-symbols-outlined { font-size: 24px; opacity: 0.5; }
.peta-item-teks { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.peta-item-nama {
    font-size: 0.88rem; font-weight: 700; line-height: 1.3; color: var(--text-main);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.peta-item-ket { font-size: 0.74rem; opacity: 0.72; color: var(--text-main); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 820px) {
    .peta-layar { flex-direction: column; }
    .peta-panel {
        flex: 0 0 auto; width: auto; max-height: 46vh;
        border-left: 0; border-top: 1px solid var(--accent-soft-border);
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -6px 24px rgba(0,0,0,0.28);
        transition: max-height 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
    }

    .peta-layar.panel-lipat .peta-panel {
        margin-right: 0;
        max-height: 0; padding: 0; border-top-width: 0; overflow: hidden;
    }
    .peta-panel-genggam {
        display: block; width: 42px; height: 4px; border-radius: 4px;
        margin: 8px auto 0; background: var(--accent-soft-border);
    }
    .peta-panel-kepala { padding: 8px 16px; }
    .peta-pulau { padding: 10px 14px 2px; flex-wrap: nowrap; overflow-x: auto; }
    .peta-keping { flex: none; }
    .peta-item-foto { width: 46px; height: 46px; }

    .peta-kartu { left: 12px; right: 12px; width: auto; max-width: none; bottom: 30px; }
    .peta-kartu-panggung { aspect-ratio: 16 / 9; }
    .peta-kartu-rute { margin-bottom: 12px; padding: 9px 14px; }
    .peta-pin-cincin { width: 46px; height: 46px; }
    .peta-pin-nama { max-width: 96px; }
}

.peta-cadangan {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; padding: 40px 22px; height: 100%; overflow-y: auto; color: #eaf3ff;
}
.peta-cadangan > .material-symbols-outlined { font-size: 46px; opacity: 0.6; }
.peta-cadangan p { margin: 0; font-size: 0.95rem; line-height: 1.6; max-width: 44ch; text-align: center; }
.peta-cadangan-daftar {
    list-style: none; margin: 6px 0 0; padding: 0; width: 100%; max-width: 520px;
    display: flex; flex-direction: column; gap: 8px;
}
.peta-cadangan-daftar li {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 14px; border-radius: 12px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
    font-size: 0.86rem;
}
.peta-cadangan-daftar a {
    display: inline-flex; align-items: center; gap: 5px; flex: none;
    color: #9fd0ff; font-weight: 700; text-decoration: none; font-size: 0.8rem;
}
.peta-cadangan-daftar a .material-symbols-outlined { font-size: 16px; }

.peta-kartu-aksi {
    display: flex; gap: 8px;
    margin: 11px 15px calc(14px + env(safe-area-inset-bottom));
}
.peta-kartu-aksi .peta-kartu-rute { flex: 1 1 auto; margin: 0; }
.peta-kartu-360 {
    flex: 0 0 auto; cursor: pointer; font-family: inherit;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-radius: 12px;
    background: rgba(255,255,255,0.14); color: #fff;
    border: 1px solid rgba(255,255,255,0.34);
    font-size: 0.82rem; font-weight: 700;
}
.peta-kartu-360 .material-symbols-outlined { font-size: 18px; }

.peta-360 { position: absolute; inset: 0; z-index: 8; background: #000; }
.peta-360[hidden] { display: none; }
.peta-360-panggung { position: absolute; inset: 0; }
.peta-360-tutup {
    position: absolute; z-index: 3;
    top: calc(12px + env(safe-area-inset-top)); left: 14px;
}
.peta-360-judul {
    position: absolute; z-index: 2;
    top: calc(22px + env(safe-area-inset-top)); left: 68px; right: 16px;
    color: #fff; font-size: 1rem; font-weight: 800;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    pointer-events: none;
}

.peta-360 .pnlm-container { background: #000; }

.peta-360 .pnlm-controls-container {
    left: auto; right: 14px;
    top: calc(12px + env(safe-area-inset-top));
}

body .wisata-card { aspect-ratio: auto; }
body .wisata-panggung {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;

}

body .wisata-strip {
    display: flex; gap: 7px;
    padding: 9px 11px;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--accent-soft);
    border-top: 1px solid var(--accent-soft-border);
}
body .wisata-strip::-webkit-scrollbar { display: none; }

body .wisata-thumb {
    flex: none;
    width: 60px; height: 46px; padding: 0; cursor: pointer;
    border-radius: 9px; overflow: hidden;
    background: var(--accent-soft-border);
    border: 2px solid transparent;
    opacity: 0.66;
    transition: opacity 0.18s ease, border-color 0.18s ease;
}
body .wisata-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .wisata-thumb:hover { opacity: 1; }
body .wisata-thumb.on { opacity: 1; border-color: var(--accent); }

body .wisata-thumb.memuat { opacity: 1; animation: kepingMemuat 0.9s ease-in-out infinite; }
@keyframes kepingMemuat { 50% { opacity: 0.42; } }

body .wisata-thumb.gagal { opacity: 0.3; cursor: not-allowed; }

@media (prefers-reduced-motion: reduce) {
    body .wisata-thumb.memuat { animation: none; }
}

@media (max-width: 560px) {
    body .wisata-strip { padding: 8px 10px; gap: 6px; }
    body .wisata-thumb { width: 52px; height: 40px; }
}

.pita-cuaca {
    margin: 0 0 18px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--accent-soft);
    border: 1px solid var(--accent-soft-border);
}
.pita-cuaca[hidden] { display: none; }

.pita-tautan {
    display: flex; align-items: stretch; gap: 0;
    text-decoration: none; color: var(--text-main);
}

.pita-label {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; flex: none;
    min-width: 104px;
    padding: 9px 13px;
    background: var(--accent); color: #fff;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.6px;
}
.pita-label .material-symbols-outlined { font-size: 16px; }

.pita-jendela { flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; align-items: center; }

.pita-jalan {
    display: flex; flex: none;

    --pita-geser: -1200px;
    --pita-durasi: 28s;
    animation: pitaJalan var(--pita-durasi) linear infinite;
}
.pita-isi {
    flex: none; white-space: nowrap;
    padding: 9px 0;
    font-size: 0.8rem; line-height: 1.5;

    padding-right: 48px;
}
@keyframes pitaJalan {
    from { transform: translateX(0); }
    to { transform: translateX(var(--pita-geser)); }
}

.pita-cuaca:hover .pita-jalan,
.pita-cuaca:active .pita-jalan { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
    .pita-jalan { animation: none; }
    .pita-jendela { overflow-x: auto; scrollbar-width: none; }
    .pita-jendela::-webkit-scrollbar { display: none; }

    .pita-isi + .pita-isi { display: none; }
}

@media (max-width: 600px) {

    .pita-label { padding: 8px 10px; font-size: 0.68rem; min-width: 94px; }
    .pita-isi { font-size: 0.76rem; padding-right: 36px; }
}

.pita-jadwal { margin-top: -8px; }
.pita-jadwal .pita-label { background: #0a7a4f; }

body .wisata-card .wisata-body,
body .wisata-gallery::after {
    transition: opacity 0.45s ease;
}

body .wisata-card.foto-saja .wisata-body { opacity: 0; }
body .wisata-card.foto-saja .wisata-gallery::after { opacity: 0; }

body .wisata-card.foto-saja .wisata-body,
body .wisata-card.foto-saja .wisata-body a,
body .wisata-card.foto-saja .wisata-body button {
    pointer-events: none;
}

body .wisata-card.foto-saja .wisata-kredit,
body .wisata-card.foto-saja .wisata-dots {
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    body .wisata-card .wisata-body,
    body .wisata-gallery::after,
    body .wisata-card.foto-saja .wisata-kredit,
    body .wisata-card.foto-saja .wisata-dots {
        transition: none;
    }
}
