@import url('./fonts.css');

/* Samalona immersive 3D / AR viewer */
.ar-viewer-page {
    --ar-cyan: #61e4ef;
    --ar-blue: #1599d1;
    --ar-deep: #03192c;
    --ar-sheet-offset: 0px;
    background: var(--ar-deep);
    height: 100dvh;
    inset: 0;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
    position: fixed;
    width: 100%;
}

.ar-stage {
    background:
        radial-gradient(circle at 50% 42%, rgba(25, 145, 187, .22), transparent 34%),
        linear-gradient(145deg, #062d48 0%, #03192c 62%, #021321 100%);
    height: 100%;
    isolation: isolate;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ar-stage::before {
    background-image:
        linear-gradient(rgba(111, 226, 239, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111, 226, 239, .035) 1px, transparent 1px);
    background-size: 55px 55px;
    content: "";
    inset: 0;
    mask-image: radial-gradient(circle at center, #000, transparent 74%);
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.ar-ambient,
.ar-ambient span {
    pointer-events: none;
    position: absolute;
}

.ar-ambient {
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.ar-ambient span:first-child {
    border: 1px solid rgba(97, 228, 239, .1);
    border-radius: 50%;
    height: min(68vw, 820px);
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    width: min(68vw, 820px);
}

.ar-ambient span:nth-child(2) {
    background: rgba(76, 212, 229, .13);
    border-radius: 50%;
    filter: blur(80px);
    height: 280px;
    left: 15%;
    top: 22%;
    width: 280px;
}

.ar-ambient span:nth-child(3) {
    background: rgba(27, 112, 180, .18);
    border-radius: 50%;
    bottom: 8%;
    filter: blur(90px);
    height: 330px;
    right: 8%;
    width: 330px;
}

.ar-stage model-viewer {
    --poster-color: transparent;
    background: transparent;
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: height .34s cubic-bezier(.22, 1, .36, 1);
    width: 100%;
    z-index: 2;
}

.ar-presenting .ar-stage model-viewer {
    height: 100%;
}

.ar-presenting .ar-topbar,
.ar-presenting .viewer-tools,
.ar-presenting .gesture-hint,
.ar-presenting .ar-device-note,
.ar-presenting .ar-info-sheet {
    opacity: 0;
    pointer-events: none;
}

.ar-topbar {
    align-items: center;
    background: none;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 50px;
    left: 0;
    padding: calc(18px + env(safe-area-inset-top)) clamp(18px, 2.4vw, 34px) 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 20;
}

.ar-topbar > * {
    pointer-events: auto;
}

.ar-topbar .ar-icon-button {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(11, 48, 72, .66);
    border: 1px solid rgba(181, 238, 246, .18);
    border-radius: 17px;
    box-shadow: 0 12px 32px rgba(0, 8, 18, .2);
    color: #fff;
    display: flex;
    height: 50px;
    justify-content: center;
    transition: .2s ease;
    width: 50px;
}

.ar-topbar .ar-icon-button:hover {
    background: rgba(24, 91, 123, .8);
    border-color: rgba(116, 231, 242, .42);
    transform: translateY(-2px);
}

.ar-topbar .ar-brand-chip {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(4, 31, 52, .54);
    border: 1px solid rgba(180, 238, 246, .12);
    border-radius: 19px;
    box-shadow: 0 14px 38px rgba(0, 9, 19, .15);
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-self: center;
    max-width: min(440px, calc(100vw - 170px));
    min-width: 0;
    padding: 7px 15px 7px 8px;
    text-align: left;
}

.ar-brand-mark {
    align-items: center;
    background: linear-gradient(145deg, rgba(97, 228, 239, .24), rgba(32, 137, 192, .16));
    border: 1px solid rgba(97, 228, 239, .2);
    border-radius: 13px;
    color: var(--ar-cyan);
    display: flex;
    flex: 0 0 36px;
    font-size: 14px;
    height: 36px;
    justify-content: center;
}

.ar-topbar .ar-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ar-topbar .ar-brand-copy small {
    color: #75dce9;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1.45px;
    line-height: 1.3;
}

.ar-topbar .ar-brand-copy strong {
    color: #fff;
    font-size: 12px;
    line-height: 1.45;
    max-width: 330px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.model-progress {
    backdrop-filter: blur(20px);
    background: rgba(3, 25, 43, .86);
    border: 1px solid rgba(122, 224, 237, .16);
    border-radius: 19px;
    box-shadow: 0 20px 55px rgba(0, 8, 17, .3);
    height: auto;
    left: 50%;
    max-width: calc(100% - 34px);
    opacity: 1;
    padding: 15px;
    position: absolute;
    right: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .35s ease, visibility .35s ease;
    visibility: visible;
    width: 330px;
}

.model-progress span {
    background: transparent;
    display: initial;
    height: auto;
    transition: none;
    width: auto;
}

.model-loaded .model-progress {
    opacity: 0;
    visibility: hidden;
}

.model-loading-copy {
    align-items: center;
    display: grid;
    gap: 11px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
}

.model-loading-copy .model-loading-spinner {
    align-items: center;
    background: rgba(97, 228, 239, .12);
    border: 1px solid rgba(97, 228, 239, .16);
    border-radius: 12px;
    color: var(--ar-cyan);
    display: flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.model-loading-spinner i {
    animation: ar-cube-pulse 1.25s ease-in-out infinite;
}

.model-loading-copy > span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.model-loading-copy strong {
    color: #fff;
    font-size: 10px;
}

.model-loading-copy small {
    color: #9db9c8;
    font-size: 8px;
    margin-top: 2px;
}

.model-loading-copy > b {
    color: var(--ar-cyan);
    font-size: 10px;
}

.model-progress-track {
    background: rgba(255, 255, 255, .09);
    border-radius: 999px;
    height: 4px;
    margin-top: 12px;
    overflow: hidden;
}

.model-progress-track span {
    background: linear-gradient(90deg, #36c5dc, #70eef0);
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width .18s linear;
    width: 0;
}

.model-ar-button {
    align-items: center;
    background: linear-gradient(135deg, #1bc0d7, #0a84c6 68%, #0868ad);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 20px;
    bottom: 24px;
    box-shadow: 0 20px 46px rgba(0, 121, 181, .38), inset 0 1px rgba(255, 255, 255, .25);
    color: #fff;
    display: flex;
    font-family: "Poppins", sans-serif;
    gap: 11px;
    left: auto;
    min-height: 70px;
    padding: 9px 15px 9px 10px;
    position: absolute;
    right: 24px;
    transform: none;
    transition: transform .2s ease, box-shadow .2s ease;
    width: 315px;
}

.model-ar-button:hover {
    box-shadow: 0 24px 54px rgba(0, 136, 199, .48), inset 0 1px rgba(255, 255, 255, .3);
    transform: translateY(-3px);
}

.model-ar-icon {
    align-items: center;
    background: rgba(255, 255, 255, .17);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 15px;
    display: flex;
    flex: 0 0 49px;
    font-size: 19px;
    height: 49px;
    justify-content: center;
}

.model-ar-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    text-align: left;
}

.model-ar-copy strong {
    font-size: 11px;
    line-height: 1.4;
}

.model-ar-copy small {
    color: rgba(255, 255, 255, .74);
    font-size: 8px;
}

.model-ar-button > i:last-child {
    font-size: 11px;
}

.model-error {
    backdrop-filter: blur(16px);
    background: rgba(125, 38, 48, .92);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .2);
    font-size: 11px;
    left: 50%;
    max-width: calc(100% - 32px);
    padding: 12px 15px;
    right: auto;
    top: calc(92px + env(safe-area-inset-top));
    transform: translateX(-50%);
    width: 420px;
}

.viewer-tools {
    backdrop-filter: blur(18px);
    background: rgba(4, 29, 49, .66);
    border: 1px solid rgba(174, 234, 242, .13);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0, 8, 18, .2);
    display: grid;
    gap: 4px;
    padding: 5px;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 16;
}

.viewer-tools button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 13px;
    color: #acc5d2;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    height: 43px;
    justify-content: center;
    position: relative;
    transition: .2s ease;
    width: 43px;
}

.viewer-tools button:hover,
.viewer-tools button.is-active {
    background: rgba(85, 220, 235, .13);
    color: var(--ar-cyan);
}

.viewer-tools button.is-unavailable {
    display: none;
}

.viewer-tools button span {
    backdrop-filter: blur(12px);
    background: rgba(2, 21, 37, .9);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 9px;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    opacity: 0;
    padding: 7px 9px;
    pointer-events: none;
    position: absolute;
    right: calc(100% + 11px);
    transform: translateX(5px);
    transition: .18s ease;
    white-space: nowrap;
}

.viewer-tools button:hover span {
    opacity: 1;
    transform: translateX(0);
}

.gesture-hint {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(3, 27, 46, .7);
    border: 1px solid rgba(186, 239, 246, .12);
    border-radius: 999px;
    bottom: 28px;
    color: #c8dce5;
    display: flex;
    font-size: 9px;
    gap: 11px;
    left: 50%;
    opacity: 1;
    padding: 9px 13px;
    position: absolute;
    transform: translateX(-50%);
    transition: opacity .3s ease, transform .3s ease;
    white-space: nowrap;
    z-index: 14;
}

.gesture-hint.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 7px);
}

.gesture-hint span {
    align-items: center;
    display: flex;
    gap: 6px;
}

.gesture-hint span i {
    color: var(--ar-cyan);
}

.gesture-divider {
    background: rgba(255, 255, 255, .16);
    height: 15px;
    width: 1px;
}

.ar-device-note {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(4, 32, 53, .78);
    border: 1px solid rgba(175, 234, 243, .14);
    border-radius: 18px;
    bottom: 24px;
    box-shadow: 0 18px 44px rgba(0, 8, 17, .2);
    color: #fff;
    display: flex;
    gap: 11px;
    min-height: 68px;
    opacity: 0;
    padding: 10px 15px;
    position: absolute;
    right: 24px;
    transform: translateY(8px);
    transition: .3s ease;
    width: 285px;
    z-index: 14;
}

.model-loaded:not(.ar-capable) .ar-device-note {
    opacity: 1;
    transform: translateY(0);
}

.ar-capable .ar-device-note {
    display: none;
}

.ar-device-note > i {
    align-items: center;
    background: rgba(97, 228, 239, .13);
    border-radius: 13px;
    color: var(--ar-cyan);
    display: flex;
    flex: 0 0 45px;
    font-size: 17px;
    height: 45px;
    justify-content: center;
}

.ar-device-note > span {
    display: flex;
    flex-direction: column;
}

.ar-device-note strong {
    font-size: 10px;
}

.ar-device-note small {
    color: #9eb8c7;
    font-size: 8px;
    margin-top: 2px;
}

.ar-info-sheet {
    backdrop-filter: blur(24px);
    background: rgba(250, 253, 255, .94);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 27px;
    bottom: 24px;
    box-shadow: 0 24px 70px rgba(0, 9, 20, .28);
    color: #09243a;
    left: 24px;
    max-width: calc(100% - 48px);
    padding: 21px;
    position: absolute;
    right: auto;
    transition: transform .34s cubic-bezier(.22, 1, .36, 1);
    width: 430px;
    z-index: 15;
}

.sheet-handle {
    background: none;
    border: 0;
    display: none;
    height: 28px;
    margin: -7px auto 1px;
    padding: 12px 0;
    width: 66px;
}

.sheet-handle span {
    background: #ccdce4;
    border-radius: 999px;
    display: block;
    height: 4px;
    transition: background .2s ease;
    width: 100%;
}

.sheet-heading {
    align-items: flex-start;
    display: flex;
    gap: 13px;
    justify-content: space-between;
}

.sheet-heading > div {
    min-width: 0;
}

.sheet-heading > div > span {
    color: #0c84bf;
    display: block;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.35px;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.sheet-heading h1 {
    color: #08243b;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    line-height: 1.22;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-badge {
    align-items: center;
    background: #e6f9f1;
    border: 1px solid #d4f1e6;
    border-radius: 999px;
    color: #0a845b;
    display: flex;
    flex: 0 0 auto;
    font-size: 8px;
    font-weight: 900;
    gap: 6px;
    padding: 7px 9px;
}

.live-badge i {
    animation: ar-ready-pulse 1.7s ease-in-out infinite;
    background: #19b981;
    border-radius: 50%;
    height: 6px;
    width: 6px;
}

.sheet-location {
    align-items: center;
    color: #557287;
    display: flex;
    font-size: 9px;
    font-weight: 700;
    gap: 5px;
    margin-top: 6px;
}

.sheet-location i {
    color: #149bc9;
}

.ar-info-sheet > p {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #61798a;
    display: -webkit-box;
    font-size: 10px;
    line-height: 1.55;
    margin-top: 8px;
    overflow: hidden;
}

.ar-guide {
    border-top: 1px solid #e2ebef;
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 13px;
    padding-top: 12px;
}

.ar-guide span {
    align-items: center;
    background: #f1f7fa;
    border: 1px solid #e6eef2;
    border-radius: 12px;
    color: #49677b;
    display: grid;
    font-size: 8px;
    gap: 0 7px;
    grid-template-columns: 27px 1fr;
    justify-content: initial;
    min-width: 0;
    padding: 8px;
}

.ar-guide i {
    align-items: center;
    background: #e2f3f9;
    border-radius: 8px;
    color: #108ec5;
    display: flex;
    grid-row: 1 / 3;
    height: 27px;
    justify-content: center;
    width: 27px;
}

.ar-guide b {
    color: #27495f;
    font-size: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ar-guide small {
    color: #8397a4;
    font-size: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ar-toast {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(3, 28, 47, .92);
    border: 1px solid rgba(175, 235, 243, .16);
    border-radius: 13px;
    bottom: 110px;
    color: #fff;
    display: flex;
    font-size: 9px;
    font-weight: 800;
    gap: 8px;
    left: 50%;
    opacity: 0;
    padding: 11px 14px;
    pointer-events: none;
    position: absolute;
    transform: translate(-50%, 8px);
    transition: .25s ease;
    white-space: nowrap;
    z-index: 30;
}

.ar-toast i {
    color: var(--ar-cyan);
}

.ar-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@keyframes ar-cube-pulse {
    0%, 100% { opacity: .55; transform: rotate(-8deg) scale(.9); }
    50% { opacity: 1; transform: rotate(8deg) scale(1.06); }
}

@keyframes ar-ready-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(25, 185, 129, .25); }
    50% { box-shadow: 0 0 0 5px rgba(25, 185, 129, 0); }
}

@media (max-width: 760px) {
    .ar-viewer-page {
        --ar-sheet-offset: 224px;
    }

    .ar-stage model-viewer {
        bottom: auto;
        height: calc(100% - var(--ar-sheet-offset));
    }

    .sheet-collapsed .ar-stage model-viewer {
        height: calc(100% - 66px);
    }

    .ar-stage::before {
        background-size: 42px 42px;
    }

    .ar-ambient span:first-child {
        height: 125vw;
        width: 125vw;
    }

    .ar-topbar {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        padding: calc(12px + env(safe-area-inset-top)) 12px 0;
    }

    .ar-topbar .ar-icon-button {
        border-radius: 15px;
        height: 44px;
        width: 44px;
    }

    .ar-topbar .ar-brand-chip {
        border-radius: 16px;
        gap: 7px;
        max-width: calc(100vw - 122px);
        padding: 5px 10px 5px 6px;
    }

    .ar-brand-mark {
        border-radius: 11px;
        flex-basis: 32px;
        height: 32px;
    }

    .ar-topbar .ar-brand-copy small {
        font-size: 6px;
        letter-spacing: 1.1px;
    }

    .ar-topbar .ar-brand-copy strong {
        font-size: 10px;
    }

    .model-progress {
        padding: 13px;
        width: min(310px, calc(100% - 30px));
    }

    .model-ar-button {
        bottom: 14px;
        left: 14px;
        min-height: 62px;
        padding: 7px 13px 7px 8px;
        right: 14px;
        width: auto;
    }

    .model-ar-button:hover {
        transform: none;
    }

    .model-ar-icon {
        border-radius: 13px;
        flex-basis: 46px;
        height: 46px;
    }

    .model-ar-copy strong {
        font-size: 10px;
    }

    .model-error {
        top: calc(72px + env(safe-area-inset-top));
    }

    .viewer-tools {
        gap: 2px;
        padding: 4px;
        right: 11px;
        top: calc(82px + env(safe-area-inset-top));
        transform: none;
    }

    .viewer-tools button {
        border-radius: 11px;
        height: 42px;
        width: 42px;
    }

    .viewer-tools button span {
        display: none;
    }

    .gesture-hint {
        bottom: calc(var(--ar-sheet-offset) + 88px);
        font-size: 8px;
        gap: 8px;
        padding: 8px 11px;
    }

    .ar-device-note {
        bottom: calc(var(--ar-sheet-offset) + 14px);
        left: 14px;
        min-height: 60px;
        padding: 8px 11px;
        right: 14px;
        width: auto;
    }

    .ar-device-note > i {
        border-radius: 11px;
        flex-basis: 42px;
        height: 42px;
    }

    .ar-info-sheet {
        border-bottom: 0;
        border-left: 0;
        border-radius: 28px 28px 0 0;
        border-right: 0;
        bottom: 0;
        left: 0;
        max-width: none;
        padding: 10px 17px calc(14px + env(safe-area-inset-bottom));
        right: 0;
        width: 100%;
    }

    .ar-info-sheet.is-collapsed {
        transform: translateY(calc(100% - 66px));
    }

    .sheet-handle {
        display: block;
    }

    .sheet-heading {
        align-items: center;
    }

    .sheet-heading h1 {
        font-size: 18px;
        max-width: 62vw;
    }

    .sheet-location {
        margin-top: 4px;
    }

    .ar-info-sheet > p {
        font-size: 9px;
        margin-top: 6px;
    }

    .ar-guide {
        margin-top: 9px;
        padding-top: 9px;
    }

    .ar-guide span {
        border-radius: 10px;
        gap: 0 5px;
        grid-template-columns: 23px 1fr;
        padding: 6px;
    }

    .ar-guide i {
        border-radius: 7px;
        height: 23px;
        width: 23px;
    }

    .sheet-collapsed .gesture-hint {
        bottom: 150px;
    }

    .sheet-collapsed .ar-device-note {
        bottom: 80px;
    }

    .ar-toast {
        bottom: calc(var(--ar-sheet-offset) + 152px);
        max-width: calc(100% - 28px);
        white-space: normal;
    }

    .sheet-collapsed .ar-toast {
        bottom: 150px;
    }
}

@media (max-width: 760px) and (max-height: 700px) and (orientation: portrait) {
    .ar-viewer-page {
        --ar-sheet-offset: 178px;
    }

    .ar-info-sheet > p,
    .sheet-location {
        display: none;
    }

    .ar-guide {
        margin-top: 8px;
        padding-top: 8px;
    }

    .gesture-hint {
        display: none;
    }
}

@media (max-width: 900px) and (max-height: 600px) and (orientation: landscape) {
    .ar-viewer-page {
        --ar-sheet-offset: 0px;
    }

    .ar-stage model-viewer,
    .sheet-collapsed .ar-stage model-viewer {
        bottom: 0;
        height: 100%;
    }

    .ar-info-sheet,
    .ar-info-sheet.is-collapsed {
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 22px;
        bottom: 12px;
        left: auto;
        max-width: 340px;
        padding: 15px;
        right: 12px;
        transform: none;
        width: 39vw;
    }

    .sheet-handle,
    .ar-info-sheet > p,
    .sheet-location {
        display: none;
    }

    .sheet-heading h1 {
        font-size: 15px;
        max-width: 180px;
    }

    .ar-guide {
        margin-top: 8px;
        padding-top: 8px;
    }

    .ar-guide span {
        display: flex;
        justify-content: center;
        padding: 6px;
    }

    .ar-guide span b,
    .ar-guide span small {
        display: none;
    }

    .viewer-tools {
        left: 12px;
        right: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .model-ar-button {
        bottom: 12px;
        left: 12px;
        right: auto;
        width: min(310px, 48vw);
    }

    .ar-device-note,
    .sheet-collapsed .ar-device-note {
        bottom: 12px;
        left: 12px;
        right: auto;
        width: min(285px, 45vw);
    }

    .gesture-hint,
    .sheet-collapsed .gesture-hint {
        bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .model-loading-spinner i,
    .live-badge i {
        animation: none;
    }
}

/* Fallback aman untuk perangkat tanpa ARCore / WebXR */
.ar-device-note [data-continue-3d]{display:none;margin-top:8px;padding:7px 10px;border:1px solid rgba(255,255,255,.16);border-radius:9px;color:#fff;background:rgba(255,255,255,.1);font:inherit;font-size:9px;font-weight:800;cursor:pointer}.ar-unavailable .ar-device-note{opacity:1;transform:translateY(0);border-color:rgba(255,190,105,.24);background:rgba(48,34,19,.88)}.ar-unavailable .ar-device-note>i{color:#ffc169;background:rgba(255,172,61,.13)}.ar-unavailable .ar-device-note [data-continue-3d]{display:inline-flex}.ar-device-note.is-dismissed{opacity:0!important;pointer-events:none;transform:translateY(18px)!important}.ar-unavailable .model-ar-button{background:linear-gradient(135deg,#1e668c,#174b6b);box-shadow:0 16px 38px rgba(0,20,36,.28);cursor:default}.ar-unavailable .model-ar-button .model-ar-icon{background:rgba(255,255,255,.1)}.ar-unavailable .model-ar-button>i:last-child{display:none}.ar-unavailable .ar-guide span:first-child{opacity:.55}.ar-unavailable .ar-guide span:first-child b:after{content:' (tidak tersedia)';font-size:7px;color:#ffc169}.ar-capable .ar-device-note{display:none}
@media(max-width:760px){.ar-unavailable .ar-device-note{bottom:calc(205px + env(safe-area-inset-bottom));width:min(300px,calc(100vw - 28px))}.ar-unavailable .model-ar-button{bottom:calc(128px + env(safe-area-inset-bottom));width:min(320px,calc(100vw - 32px))}}

/* Hotspot/tag informasi yang mengikuti koordinat model 3D */
.ar-hotspot{--tag:#ffc328;display:block;width:24px;height:24px;padding:0;border:0;background:transparent;overflow:visible;cursor:pointer;transform:translate(-50%,-50%);filter:drop-shadow(0 3px 7px rgba(0,0,0,.28))}.ar-hotspot-dot{display:grid;place-items:center;width:22px;height:22px;border:4px solid rgba(255,255,255,.92);border-radius:50%;background:var(--tag);box-shadow:0 0 0 1px rgba(130,88,0,.35);transition:transform .2s ease}.ar-hotspot-dot i{width:5px;height:5px;border-radius:50%;background:#875e00}.ar-hotspot:hover .ar-hotspot-dot,.ar-hotspot:focus-visible .ar-hotspot-dot,.ar-hotspot.is-open .ar-hotspot-dot{transform:scale(1.18)}.ar-hotspot-card{position:absolute;left:34px;top:50%;width:min(330px,42vw);padding:15px 17px;display:flex;flex-direction:column;gap:7px;border-radius:17px;background:var(--tag);color:#17212a;text-align:left;opacity:0;visibility:hidden;pointer-events:none;transform:translate(8px,-50%) scale(.96);transform-origin:left center;transition:.2s ease;box-shadow:0 16px 38px rgba(0,0,0,.3)}.ar-hotspot-card::before{content:"";position:absolute;left:-24px;top:50%;width:26px;height:3px;background:var(--tag);transform:translateY(-50%)}.ar-hotspot-card b{display:flex;align-items:center;justify-content:space-between;gap:12px;font:800 14px/1.25 "Poppins",sans-serif}.ar-hotspot-card b i{font-size:14px}.ar-hotspot-card small{font:600 11px/1.55 "Poppins",sans-serif;color:#3a3320;white-space:normal}.ar-hotspot.is-open{z-index:20}.ar-hotspot.is-open .ar-hotspot-card{opacity:1;visibility:visible;pointer-events:auto;transform:translate(0,-50%) scale(1)}.ar-presenting .ar-hotspot-card{width:min(280px,56vw)}
@media(max-width:760px){.ar-hotspot{width:30px;height:30px}.ar-hotspot-dot{width:25px;height:25px}.ar-hotspot-card{left:36px;width:min(270px,68vw);padding:13px 14px}.ar-hotspot-card b{font-size:12px}.ar-hotspot-card small{font-size:10px}.ar-hotspot-card::before{left:-18px;width:20px}}
