
html.suniva-world-page,
html.suniva-world-page body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    background: #e8ddc3;
}

.suniva-world-map-mode,
.suniva-world-map-mode * {
    box-sizing: border-box;
}

.suniva-world-map-mode {
    position: relative;
    width: 100%;
    max-width: 430px;
    height: 100vh;
    height: 100dvh;
    min-height: 640px;
    margin: 0 auto;
    overflow: hidden;
    color: #17354a;
    background:
        linear-gradient(
            180deg,
            #f4ecd7 0%,
            #ded0af 100%
        );
}

.suniva-world-map-mode::before {
    content: "SUNIVA WORLD  光の地図";
    position: absolute;
    right: -26px;
    bottom: 86px;
    z-index: 520;
    width: 300px;
    transform: rotate(-7deg);
    color: #542f20;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.15;
    text-align: center;
    opacity: .10;
    pointer-events: none;
}

#sunivaWorldMapCanvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #e8ddc4;
}

#sunivaWorldMapCanvas .leaflet-tile-pane {
    filter:
        sepia(.72)
        saturate(.58)
        brightness(1.07)
        contrast(.91);
}

#sunivaWorldMapCanvas::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 500;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(91,65,35,.022) 0,
            rgba(91,65,35,.022) 1px,
            transparent 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at center,
            transparent 42%,
            rgba(77,47,25,.17) 100%
        ),
        linear-gradient(
            180deg,
            rgba(255,249,226,.27),
            rgba(214,191,146,.08) 52%,
            rgba(91,57,31,.10)
        );
}

.sworld-player-marker {
    --sworld-player-heading: 0deg;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 760;
    width: 42px;
    height: 42px;
    transform: translate(-50%, -50%) scale(.82);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.is-user-following .sworld-player-marker {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.sworld-player-marker__halo {
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(179,132,45,.56);
    border-radius: 50%;
    background: rgba(255,250,232,.28);
    box-shadow:
        0 0 0 6px rgba(255,250,232,.18),
        0 5px 16px rgba(54,35,19,.18);
}

.sworld-player-marker__icon {
    position: absolute;
    inset: 2px;
    display: grid;
    place-items: center;
    border: 2px solid #fff8dc;
    border-radius: 50%;
    color: #fff8dc;
    background: linear-gradient(145deg, #1c5060, #123342);
    box-shadow:
        0 0 0 2px #bc8b32,
        0 5px 12px rgba(22,42,44,.28);
    overflow: hidden;
}

.sworld-player-marker__icon img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.sworld-player-marker__direction {
    position: absolute;
    top: -12px;
    left: 50%;
    z-index: 2;
    width: 9px;
    height: 13px;
    transform: translateX(-50%) rotate(var(--sworld-player-heading));
    transform-origin: 50% 33px;
    clip-path: polygon(50% 0, 100% 100%, 50% 76%, 0 100%);
    background: #d8a840;
    filter: drop-shadow(0 1px 2px rgba(50,31,13,.35));
    transition: transform .16s linear;
}

.sworld-self-map-marker {
    border: 0 !important;
    background: transparent !important;
}

.sworld-self-map-marker > span {
    display: block;
    width: 42px;
    height: 42px;
    padding: 2px;
    overflow: hidden;
    border: 2px solid #fff8dc;
    border-radius: 50%;
    background: #173f52;
    box-shadow:
        0 0 0 2px #bc8b32,
        0 5px 12px rgba(22,42,44,.28);
}

.sworld-self-map-marker img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

html.suniva-world-page body .suniva-map-create-portal.is-suniva-draggable {
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    cursor: grab !important;
    will-change: left, top !important;
}

html.suniva-world-page body .suniva-map-create-portal.is-suniva-draggable.is-dragging {
    transform: scale(1.05) !important;
    cursor: grabbing !important;
    box-shadow: 0 16px 34px rgba(85,58,12,.34) !important;
}

.sworld-map-header {
    position: absolute;
    top: max(18px, env(safe-area-inset-top));
    left: 16px;
    right: 16px;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    pointer-events: none;
}

.sworld-map-brand,
.sworld-map-balance {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.78);
    background: rgba(255,255,255,.90);
    box-shadow: 0 10px 30px rgba(38,73,79,.15);
    backdrop-filter: blur(16px);
}

.sworld-map-brand {
    gap: 8px;
    padding: 8px 13px 8px 9px;
    border-radius: 20px;
}

.sworld-map-sun {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    font-size: 21px;
    background:
        linear-gradient(
            135deg,
            #ffd64c,
            #f48ca8
        );
}

.sworld-map-brand strong,
.sworld-map-brand small {
    display: block;
}

.sworld-map-brand strong {
    color: #ee9b20;
    font-size: 17px;
    letter-spacing: .06em;
}

.sworld-map-brand small {
    color: #304256;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.sworld-map-balance {
    gap: 5px;
    padding: 9px 13px;
    border-radius: 18px;
}

.sworld-map-balance > span {
    color: #e7ab17;
    font-size: 19px;
}

.sworld-map-balance strong {
    font-size: 17px;
}

.sworld-map-balance small {
    color: #856d38;
    font-size: 9px;
    font-weight: 800;
}

.sworld-scope-open {
    position: absolute;
    top: max(86px, calc(env(safe-area-inset-top) + 68px));
    left: 50%;
    z-index: 850;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 210px;
    padding: 9px 20px;
    transform: translateX(-50%);
    border: 1px solid rgba(231,199,117,.76);
    border-radius: 999px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            rgba(22,49,71,.96),
            rgba(30,65,84,.92)
        );
    box-shadow:
        0 12px 34px rgba(14,42,57,.28),
        inset 0 0 18px rgba(255,220,137,.08);
    cursor: pointer;
}

.sworld-scope-open:disabled {
    opacity: .64;
    cursor: wait;
}

.sworld-scope-open > span:first-child {
    color: #f5cf70;
    font-size: 24px;
}

.sworld-scope-open small,
.sworld-scope-open strong {
    display: block;
}

.sworld-scope-open small {
    color: #e7d29c;
    font-size: 8px;
    letter-spacing: .12em;
}

.sworld-scope-open strong {
    margin-top: 1px;
    font-family: serif;
    font-size: 15px;
    letter-spacing: .08em;
}

.sworld-area-status {
    position: absolute;
    top: max(145px, calc(env(safe-area-inset-top) + 127px));
    left: 16px;
    z-index: 700;
    max-width: 220px;
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,.74);
    border-radius: 18px;
    background: rgba(255,255,255,.87);
    box-shadow: 0 10px 28px rgba(37,74,76,.14);
    backdrop-filter: blur(13px);
    pointer-events: none;
}

.sworld-area-status small,
.sworld-area-status strong,
.sworld-area-status span {
    display: block;
}

.sworld-area-status small {
    color: #b48d38;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
}

.sworld-area-status strong {
    margin-top: 3px;
    font-size: 14px;
}

.sworld-area-status span {
    margin-top: 3px;
    color: #6d7e83;
    font-size: 9px;
}

.sworld-portal-marker-wrap {
    background: transparent !important;
    border: 0 !important;
}

.sworld-portal-marker {
    position: relative;
    display: grid;
    place-items: end center;
    width: var(--sworld-marker-size, 48px);
    height: calc(var(--sworld-marker-size, 48px) * 1.12);
    transform-origin: center bottom;
    filter:
        drop-shadow(
            0 9px 8px
            rgba(27, 49, 54, .30)
        );
    transition:
        transform .25s ease,
        filter .25s ease;
}

.sworld-portal-marker img {
    display: block;
    width: var(--sworld-marker-size, 48px);
    height: var(--sworld-marker-size, 48px);
    object-fit: contain;
    object-position: center bottom;
    pointer-events: none;
}

.sworld-access-leaflet-popup .leaflet-popup-content-wrapper {
    overflow: hidden;
    border: 1px solid rgba(208, 165, 65, .55);
    border-radius: 22px;
    background: rgba(255, 253, 247, .98);
    box-shadow: 0 18px 46px rgba(19, 50, 63, .28);
}

.sworld-access-leaflet-popup .leaflet-popup-content {
    width: min(290px, calc(100vw - 58px)) !important;
    margin: 0;
}

.sworld-access-popup {
    padding: 17px;
    color: #17354a;
}

.sworld-access-popup > small {
    color: #a97a1d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
}

.sworld-access-popup h3 {
    margin: 4px 0 6px;
    font-size: 18px;
    line-height: 1.35;
}

.sworld-access-popup p {
    margin: 0 0 12px;
    color: #64747a;
    font-size: 11px;
}

.sworld-access-popup p.is-owner {
    color: #9a6b13;
    font-weight: 800;
}

.sworld-access-popup__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sworld-access-popup__actions a {
    display: grid;
    min-height: 48px;
    place-items: center;
    padding: 9px 8px;
    border-radius: 14px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.sworld-access-popup__actions button {
    min-height: 48px;
    padding: 9px 8px;
    border: 1px solid #d9c390;
    border-radius: 14px;
    color: #173f4d;
    font-size: 14px;
    font-weight: 900;
    background: #fffaf0;
}

.sworld-access-popup__actions .is-checkin-action {
    grid-column: 1 / -1;
    color: #fff;
    background: linear-gradient(135deg, #267fba, #174f82);
    border-color: #2a70a1;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.sworld-access-popup__actions .is-checkin-action small {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.9) !important;
    font-size: 10px;
}

.sworld-access-popup__actions .is-checkin-action:disabled {
    color: #61747b;
    background: #e9eff0;
    border-color: #d7e0e2;
    text-shadow: none;
}

.sworld-access-popup__actions .is-checkin-action:disabled small {
    color: #6e8086 !important;
}

.sworld-access-popup__actions a:visited,
.sworld-access-popup__actions a:hover,
.sworld-access-popup__actions a:focus,
.sworld-access-popup__actions a:active {
    color: #fff !important;
    text-decoration: none !important;
}

.sworld-access-popup__actions .is-owner-action {
    background: linear-gradient(135deg, #d4aa44, #9c6b13);
}

.sworld-access-popup__actions .is-rental-action {
    background: linear-gradient(135deg, #1d826a, #145445);
}

.sworld-access-popup__actions small {
    display: block;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    text-shadow: none;
}

.sworld-access-leaflet-popup .leaflet-popup-close-button {
    width: 34px !important;
    height: 34px !important;
    color: #314955 !important;
    font-size: 27px !important;
    line-height: 32px !important;
}

.sworld-access-popup__floors {
    display: grid;
    max-height: 132px;
    margin: 10px 0 12px;
    overflow-y: auto;
    border: 1px solid #eadfca;
    border-radius: 13px;
}

.sworld-access-popup__floors > strong {
    padding: 8px 10px 5px;
    color: #8e6c2c;
    font-size: 9px;
}

.sworld-access-popup__floors a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 8px;
    padding: 8px 10px;
    border-top: 1px solid #f0e8db;
    color: #17354a;
    text-decoration: none;
}

.sworld-access-popup__floors b {
    color: #b17a18;
}

.sworld-mobile-access {
    display: none;
}

@media (max-width: 767px), (pointer: coarse) {
    .sworld-mobile-access {
        position: fixed;
        inset: 0;
        z-index: 2147483600;
        display: block;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }

    .sworld-mobile-access.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .sworld-mobile-access__backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        background: rgba(12, 34, 44, .42);
        backdrop-filter: blur(3px);
    }

    .sworld-mobile-access__sheet {
        position: absolute;
        right: 8px;
        bottom: 8px;
        left: 8px;
        max-height: calc(100dvh - 72px);
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        overflow-y: auto;
        transform: translateY(110%);
        border: 1px solid rgba(211, 169, 70, .55);
        border-radius: 28px;
        background: #fffdf8;
        box-shadow: 0 -14px 50px rgba(10, 35, 46, .3);
        transition: transform .28s cubic-bezier(.2,.75,.2,1);
    }

    .sworld-mobile-access.is-open .sworld-mobile-access__sheet {
        transform: translateY(0);
    }

    .sworld-mobile-access__close {
        position: absolute;
        top: 10px;
        right: 12px;
        z-index: 2;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 50%;
        color: #244451;
        font-size: 30px;
        line-height: 1;
        background: #f4efe4;
    }

    .sworld-mobile-access .sworld-access-popup {
        padding: 20px 12px 12px;
    }

    .sworld-mobile-access .sworld-access-popup h3 {
        padding-right: 44px;
        font-size: 22px;
    }

    .sworld-mobile-access .sworld-access-popup p {
        font-size: 14px;
        line-height: 1.6;
    }

    .sworld-mobile-access .sworld-access-popup__actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sworld-mobile-access .sworld-access-popup__actions a {
        min-height: 58px;
        font-size: 16px;
    }

    .sworld-mobile-access .sworld-access-popup__actions button {
        min-height: 58px;
        font-size: 16px;
    }

    .sworld-mobile-access .sworld-access-popup__actions small {
        font-size: 11px;
    }
}

.sworld-portal-marker.is-standard::before {
    content: "";
    position: absolute;
    right: 9px;
    bottom: 4px;
    left: 9px;
    z-index: -1;
    height: 13px;
    border-radius: 50%;
    background:
        rgba(255, 255, 255, .72);
    filter: blur(7px);
}

.sworld-portal-marker.is-owner {
    filter:
        drop-shadow(
            0 10px 10px
            rgba(117, 77, 8, .34)
        )
        drop-shadow(
            0 0 11px
            rgba(255, 210, 92, .76)
        );
}

.sworld-portal-marker.is-owner::before {
    content: "";
    position: absolute;
    inset: 5px 4px 2px;
    z-index: -1;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(255, 233, 159, .62),
            transparent 70%
        );
    animation:
        sunivaOwnerPortalGlow
        1.8s ease-in-out infinite alternate;
}

.sworld-portal-marker__owner {
    position: absolute;
    right: 5px;
    bottom: 1px;
    padding: 2px 5px;
    border: 1px solid
        rgba(255, 247, 210, .92);
    border-radius: 999px;
    color: #fffaf0;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    background:
        linear-gradient(
            135deg,
            #d4a93b,
            #8f6411
        );
    box-shadow:
        0 3px 8px
        rgba(85, 54, 5, .28);
}

.sworld-portal-marker.is-selected {
    transform:
        translateY(-5px)
        scale(1.16);
    filter:
        drop-shadow(
            0 13px 12px
            rgba(31, 52, 57, .34)
        )
        drop-shadow(
            0 0 14px
            rgba(255, 213, 105, .90)
        );
}

@keyframes sunivaOwnerPortalGlow {
    from {
        opacity: .48;
        transform: scale(.92);
    }

    to {
        opacity: 1;
        transform: scale(1.08);
    }
}

.sworld-map-portal-card {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: max(96px, calc(env(safe-area-inset-bottom) + 82px));
    z-index: 800;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 54px;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 16px 42px rgba(35,68,72,.20);
    backdrop-filter: blur(16px);
}

.sworld-map-portal-card[hidden] {
    display: none;
}

.sworld-map-portal-card__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    background:
        linear-gradient(
            135deg,
            #f5bd4c,
            #ef8da9
        );
}

.sworld-map-portal-card__copy {
    min-width: 0;
}

.sworld-map-portal-card__copy small,
.sworld-map-portal-card__copy strong,
.sworld-map-portal-card__copy span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sworld-map-portal-card__copy small {
    color: #ba8a32;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}

.sworld-map-portal-card__copy strong {
    margin-top: 2px;
    font-size: 13px;
}

.sworld-map-portal-card__copy span {
    margin-top: 2px;
    color: #667b80;
    font-size: 10px;
}

#sunivaMapPortalScope {
    height: 38px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    background:
        linear-gradient(
            135deg,
            #d9ad50,
            #b5842d
        );
    cursor: pointer;
}

.sworld-map-nav {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 900;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 8px 5px 6px;
    border: 1px solid rgba(255,255,255,.76);
    border-radius: 25px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 34px rgba(30,67,74,.20);
    backdrop-filter: blur(17px);
}

.sworld-map-nav button,
.sworld-map-nav a {
    display: grid;
    place-items: center;
    gap: 2px;
    min-width: 0;
    padding: 3px;
    border: 0;
    color: #53656d;
    text-decoration: none;
    background: transparent;
}

.sworld-map-nav span {
    font-size: 20px;
    line-height: 1;
}

.sworld-map-nav small {
    font-size: 8px;
    font-weight: 800;
}

.sworld-map-nav .is-active {
    color: #219c79;
}

.suniva-scope-close {
    position: absolute !important;
    top: max(18px, env(safe-area-inset-top)) !important;
    right: 16px !important;
    z-index: 100020 !important;
    display: grid !important;
    place-items: center !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border: 1px solid rgba(238,205,125,.78) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 30px !important;
    font-weight: 300 !important;
    background: rgba(18,42,62,.90) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.24) !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

#sunivaScopeStage {
    display: none !important;
}

html.is-suniva-scope-open
.suniva-world-map-mode {
    display: none !important;
}

html.is-suniva-scope-open
#sunivaScopeStage {
    display: block !important;
}

@media (min-width: 768px) {
    .suniva-world-map-mode {
        max-height: 920px;
        margin-top: 12px;
        border-radius: 32px;
        box-shadow: 0 20px 70px rgba(35,70,76,.18);
    }
}


/* =========================================
   SUNIVA SCOPE Split View
========================================= */
.suniva-scope-panel,
.suniva-scope-panel * {
    box-sizing: border-box !important;
}

.suniva-scope-panel {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1200 !important;
    height: 54% !important;
    transform: translateY(calc(-100% + 50px)) !important;
    transition:
        transform .55s cubic-bezier(.22,.72,.18,1) !important;
    pointer-events: none !important;
}

html.is-suniva-scope-open
.suniva-scope-panel {
    transform: translateY(0) !important;
}

.suniva-scope-visual {
    position: relative !important;
    width: 100% !important;
    height: calc(100% - 46px) !important;
    overflow: hidden !important;
    border-radius: 0 0 30px 30px !important;
    background:
        url("/html/user_data/assets/suniva/world/img/backgrounds/main.webp")
        center center / cover no-repeat !important;
    box-shadow: 0 20px 50px rgba(12,38,55,.28) !important;
    pointer-events: auto !important;
}

.suniva-scope-visual__shade {
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(
            180deg,
            rgba(8,25,40,.36),
            rgba(8,24,37,.02) 45%,
            rgba(7,23,37,.50)
        ) !important;
    pointer-events: none !important;
}

.suniva-scope-visual__light {
    position: absolute !important;
    top: 15% !important;
    left: 50% !important;
    width: 210px !important;
    height: 210px !important;
    transform: translateX(-50%) !important;
    border: 1px solid rgba(255,220,130,.46) !important;
    border-radius: 50% !important;
    background:
        radial-gradient(
            circle,
            rgba(255,233,167,.38),
            rgba(255,213,102,.08) 48%,
            transparent 70%
        ) !important;
    filter: blur(1px) !important;
    animation:
        sunivaScopeBreath 3s
        ease-in-out infinite alternate !important;
}

@keyframes sunivaScopeBreath {
    from {
        transform:
            translateX(-50%)
            scale(.90);
        opacity: .60;
    }
    to {
        transform:
            translateX(-50%)
            scale(1.10);
        opacity: 1;
    }
}

.suniva-scope-portal-header {
    position: absolute !important;
    top: max(18px, env(safe-area-inset-top)) !important;
    left: 16px !important;
    z-index: 4 !important;
    display: flex ! !important;
    align-items: center !important;
    gap: 10px !important;
    max-width: calc(100% - 88px) !important;
    padding: 10px 14px 10px 10px !important;
    border: 1px solid rgba(239,205,119,.66) !important;
    border-radius: 20px !important;
    color: #fff !important;
    background: rgba(10,30,47,.83) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.26) !important;
    backdrop-filter: blur(14px) !important;
}

.suniva-scope-emblem {
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 50% !important;
    color: #ffe18c !important;
    font-size: 21px !important;
    border: 1px solid rgba(255,222,139,.72) !important;
    background: rgba(212,158,46,.20) !important;
}

.suniva-scope-portal-header small,
.suniva-scope-portal-header strong,
.suniva-scope-portal-header span span {
    display: block !important;
}

.suniva-scope-portal-header small {
    color: #e6ca86 !important;
    font-size: 8px !important;
    letter-spacing: .13em !important;
}

.suniva-scope-portal-header strong {
    overflow: hidden !important;
    max-width: 230px !important;
    margin-top: 2px !important;
    font-size: 14px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

#sunivaScopePortalDistance {
    margin-top: 2px !important;
    color: #fff !important;
    font-size: 10px !important;
}

.suniva-scope-collapse {
    position: absolute !important;
    top: max(20px, env(safe-area-inset-top)) !important;
    right: 16px !important;
    z-index: 5 !important;
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 1px solid rgba(239,205,119,.70) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 25px !important;
    background: rgba(10,30,47,.84) !important;
}

.suniva-scope-flowers {
    position: absolute !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 92px !important;
    z-index: 4 !important;
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0,1fr)) !important;
    align-items: end !important;
    gap: 5px !important;
}

.suniva-scope-flowers > span {
    display: grid !important;
    justify-items: center !important;
    gap: 4px !important;
    opacity: .42 !important;
    filter: grayscale(1) !important;
    transform-origin: center bottom !important;
    transition:
        opacity .3s ease,
        filter .3s ease,
        transform .3s ease !important;
}

.suniva-scope-flowers > span i {
    position: relative !important;
    display: block !important;
    width: 31px !important;
    height: 31px !important;
    border: 2px solid rgba(255,255,255,.74) !important;
    border-radius: 50% 50% 46% 54% !important;
    box-shadow:
        0 0 18px rgba(255,255,255,.35) !important;
    background: rgba(255,255,255,.34) !important;
}

.suniva-scope-flowers > span i::after {
    content: "" !important;
    position: absolute !important;
    top: 27px !important;
    left: 50% !important;
    width: 2px !important;
    height: 22px !important;
    transform: translateX(-50%) !important;
    background: rgba(255,255,255,.78) !important;
}

.suniva-scope-flowers > span small {
    margin-top: 18px !important;
    padding: 2px 5px !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-size: 7px !important;
    background: rgba(7,25,39,.68) !important;
}

.suniva-scope-flowers > span.is-active {
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-5px) scale(1.08) !important;
}

.suniva-scope-flowers
[data-scope-flower="gold"].is-active i {
    background: #e7bd3f !important;
}

.suniva-scope-flowers
[data-scope-flower="blue"].is-active i {
    background: #428ee0 !important;
}

.suniva-scope-flowers
[data-scope-flower="aqua"].is-active i {
    background: #5bd2d5 !important;
}

.suniva-scope-flowers
[data-scope-flower="orange"].is-active i {
    background: #ef8b38 !important;
}

.suniva-scope-flowers
[data-scope-flower="green"].is-active i {
    background: #62ad59 !important;
}

.suniva-scope-flowers
[data-scope-flower="red"].is-active i {
    background: #dd514b !important;
}

.suniva-scope-flowers
[data-scope-flower="purple"].is-active i {
    background: #8d63bd !important;
}

#sunivaScopeFlowerMessage {
    position: absolute !important;
    left: 18px !important;
    right: 18px !important;
    bottom: 67px !important;
    z-index: 4 !important;
    margin: 0 !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 9px !important;
    text-align: center !important;
    text-shadow: 0 2px 5px rgba(0,0,0,.45) !important;
}

.suniva-scope-actions {
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 14px !important;
    z-index: 5 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
}

.suniva-scope-actions button {
    min-height: 42px !important;
    padding: 9px 10px !important;
    border-radius: 16px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

#sunivaScopePlant {
    border: 1px solid rgba(215,174,83,.62) !important;
    color: #17334a !important;
    background: rgba(255,253,246,.94) !important;
}

#sunivaScopePlant:disabled {
    color: #887f73 !important;
    background: rgba(255,255,255,.75) !important;
    opacity: 1 !important;
}

#sunivaScopeEnter {
    border: 1px solid rgba(239,205,119,.70) !important;
    color: #fff !important;
    background:
        linear-gradient(
            135deg,
            #17384f,
            #0f283d
        ) !important;
}

.suniva-scope-handle {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    z-index: 6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 235px !important;
    height: 50px !important;
    transform: translateX(-50%) !important;
    border: 1px solid rgba(229,190,98,.76) !important;
    border-radius: 26px 26px 18px 18px !important;
    color: #fff !important;
    font-family: serif !important;
    letter-spacing: .08em !important;
    background:
        linear-gradient(
            135deg,
            #16374e,
            #10273b
        ) !important;
    box-shadow: 0 10px 28px rgba(11,34,49,.28) !important;
    pointer-events: auto !important;
}

.suniva-scope-handle span {
    color: #f1cc70 !important;
    font-size: 18px !important;
    transition: transform .3s ease !important;
}

html.is-suniva-scope-open
.suniva-scope-handle span {
    transform: rotate(180deg) !important;
}

html.is-suniva-scope-open
#sunivaWorldMapCanvas {
    top: 50% !important;
    transition: top .55s ease !important;
}

html.is-suniva-scope-open
.sworld-map-header,
html.is-suniva-scope-open
.sworld-scope-open,
html.is-suniva-scope-open
.sworld-area-status,
html.is-suniva-scope-open
.sworld-map-portal-card {
    opacity: 0 !important;
    pointer-events: none !important;
}

html.is-suniva-scope-open
.suniva-world-map-mode {
    display: block !important;
}

html.is-suniva-scope-open
#sunivaScopeStage {
    display: none !important;
}

html.is-suniva-portal-open
.suniva-world-map-mode {
    display: none !important;
}

html.is-suniva-portal-open
#sunivaScopeStage {
    display: block !important;
}

html:not(.is-suniva-portal-open)
.suniva-scope-only {
    display: none !important;
}


/* SUNIVA_PORTAL_SCOPE_TRANSPARENT_PHASE3_6 */
.sworld-portal-marker,
.sworld-portal-marker::before,
.sworld-portal-marker::after {
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
.sworld-portal-marker {
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: contain !important;
}

.sworld-access-popup__quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.sworld-access-popup__quick > * {
    min-height: 58px;
    padding: 8px 4px;
    border: 1px solid rgba(198, 147, 34, .24);
    border-radius: 14px;
    color: #174552;
    background: #fffdf8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    text-align: center;
    text-decoration: none;
    font-size: 21px;
    font-weight: 900;
}

.sworld-access-popup__quick small {
    color: #526d75;
    font-size: 9px;
    font-weight: 900;
}

.sworld-access-popup__quick .is-disabled {
    opacity: .34;
}
/* SUNIVA LIGHT ROUTE V9 20260818 */
.sworld-light-route-guide {
    position: absolute;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(96px, calc(env(safe-area-inset-bottom) + 82px));
    left: max(18px, env(safe-area-inset-left));
    z-index: 1400;
    max-width: 520px;
    margin: 0 auto;
    padding: 13px 14px 10px;
    border: 1px solid rgba(201,146,29,.52);
    border-radius: 22px;
    color: #173f4b;
    background: rgba(255,253,247,.96);
    box-shadow: 0 14px 38px rgba(15,48,57,.24);
    backdrop-filter: blur(14px);
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 5px 12px;
    align-items: center;
}
.sworld-light-route-guide div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sworld-light-route-guide small { color: #b57d13; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.sworld-light-route-guide strong { overflow: hidden; color: #173f4b; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.sworld-light-route-guide span { color: #587077; font-size: 12px; font-weight: 800; }
.sworld-light-route-guide button {
    min-height: 42px; padding: 8px 13px; border: 0; border-radius: 999px;
    color: #fff; background: #174f59; font-size: 12px; font-weight: 900;
}
.sworld-light-route-guide p { grid-column: 1 / -1; margin: 1px 0 0; color: #839095; font-size: 9px; }
.sworld-light-route-guide p a { color: inherit; }
.sworld-light-route-line { animation: sunivaLightRouteFlow 1.2s linear infinite; }
@keyframes sunivaLightRouteFlow { to { stroke-dashoffset: -44; } }