/* SUNIVA_LV_ACHIEVEMENT_DISPLAY_V1 — WORLD header PASS. Do not cover GPS/checkin. */
.sworld-map-pass {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 148px;
    padding: 7px 10px 8px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 30px rgba(38, 73, 79, .15);
    backdrop-filter: blur(16px);
    color: #304256;
    line-height: 1.2;
}

.sworld-map-pass__main {
    display: grid;
    justify-items: end;
    gap: 2px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.sworld-map-pass__main small {
    color: #8a6a28;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.sworld-map-pass__main strong {
    display: block;
    max-width: 128px;
    overflow: hidden;
    color: #24363f;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sworld-map-pass__main em {
    display: block;
    max-width: 128px;
    color: #7a7266;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
}

.sworld-map-pass .sworld-map-balance {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    margin-top: 2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.sworld-map-pass__sun {
    color: #856d38;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.sworld-map-pass__sun b,
#sunivaWorldSunBalance {
    color: #24363f;
    font-size: 12px;
    font-weight: 800;
}

.sworld-map-pass__ledger,
.sworld-map-pass [data-suniva-sun-history] {
    position: relative;
    z-index: 2;
    isolation: isolate;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 10px 22px;
    margin: -10px -2px -22px 0;
    border: 0;
    background: transparent;
    color: #6a4e16;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.sworld-map-pass__ledger span,
.sworld-map-pass [data-suniva-sun-history] span {
    position: relative;
    z-index: 1;
}

.sworld-map-pass__ledger::before,
.sworld-map-pass [data-suniva-sun-history]::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 4px;
    right: 4px;
    top: 11px;
    height: 22px;
    border: 1px solid rgba(185, 138, 50, .5);
    border-radius: 999px;
    background: #f6edd4;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
    pointer-events: none;
}

.suniva-map-utility-row {
    top: max(118px, calc(env(safe-area-inset-top) + 100px));
}

@media (max-width: 390px) {
    .sworld-map-pass {
        max-width: 148px;
        padding: 6px 8px 7px;
    }
}
