#sunivaMyWorldRoot[hidden] {
    display: none !important;
}

#sunivaMyWorldRoot {
    position: fixed;
    inset: 0;
    z-index: 189000;
}

.smw-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(10, 31, 40, .42);
}

.smw-sheet {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: min(82dvh, 720px);
    padding: 18px 20px calc(82px + env(safe-area-inset-bottom) + 16px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(190, 147, 61, .38);
    border-radius: 28px 28px 0 0;
    background: linear-gradient(180deg, #fffefb, #f8f2e7);
    box-shadow: 0 -24px 70px rgba(21, 48, 60, .22);
    color: #173746;
}

.smw-sheet[hidden] {
    display: none !important;
}

.smw-grabber {
    width: 56px;
    height: 5px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: #d1d5d4;
}

.smw-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(164, 123, 41, .22);
    border-radius: 50%;
    color: #173746;
    background: #fff;
    font-size: 28px;
    line-height: 1;
}

.smw-hero {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 8px 0 18px;
    text-align: center;
}

.smw-hero img {
    width: 84px;
    height: 84px;
    border: 3px solid #fff8dc;
    border-radius: 50%;
    object-fit: cover;
    background: #173f52;
    box-shadow: 0 0 0 2px #bc8b32;
}

.smw-hero strong {
    font-size: 26px;
    line-height: 1.2;
}

.smw-sun {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    color: #173746;
    background: linear-gradient(135deg, #fff3c8, #f5d77a);
    font-weight: 800;
}

.smw-primary {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 56px;
    margin: 8px 0 14px;
    border: 0;
    border-radius: 18px;
    color: #fff;
    background: #197b68;
    font-size: 18px;
    font-weight: 800;
}

.smw-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.smw-actions button {
    min-height: 52px;
    border: 1px solid rgba(164, 123, 41, .28);
    border-radius: 16px;
    color: #173746;
    background: #fff;
    font-weight: 800;
}

.smw-note {
    margin: 8px 0 0;
    color: #766f66;
    font-size: 15px;
    text-align: center;
}

.smw-qr {
    display: block;
    width: min(56vw, 240px);
    max-width: min(56vw, 240px);
    max-height: min(36dvh, 240px);
    height: auto;
    margin: 8px auto 12px;
    object-fit: contain;
    border-radius: 16px;
    background: #fff;
}

.smw-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(170, 138, 79, .16);
    border-radius: 16px;
    background: #fff;
    font-weight: 700;
}

.smw-item img {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
    background: #f6f1e6;
}

.smw-item strong {
    flex: 1;
    min-width: 0;
    text-align: left;
    line-height: 1.3;
}

.smw-item span {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}

.smw-empty {
    margin: 12px 0 0;
    color: #766f66;
    text-align: center;
}

html.is-myworld-open {
    overflow: hidden;
}
