@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

/* Removable visual skin only: keeps current app logic intact */
:root {
    --app-ui-font-family: "Tajawal", Helvetica, sans-serif;
}

html,
body,
body * {
    font-family: var(--app-ui-font-family) !important;
}

input,
textarea,
select,
option,
button {
    font-family: inherit !important;
}

body .fa,
body .fa::before,
body .fa::after,
body .fa *,
body .fa *::before,
body .fa *::after,
body .ui-icon::before,
body [data-role="icon"]::after {
    font-family: FontAwesome !important;
}

body .glyphicon,
body .glyphicon::before,
body .glyphicon::after,
body .glyphicon *,
body .glyphicon *::before,
body .glyphicon *::after {
    font-family: "Glyphicons Halflings" !important;
}

@media only screen and (max-width: 980px) {
    body.entry-split {
        padding: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    body.entry-split .dad,
    body.entry-split > .center-block.bg.dad {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        margin: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
    }

    body.entry-split #Hchat {
        width: 100vw !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
    }

    body.entry-split .entry-split-stage {
        display: none !important;
    }
}

body.entry-split .dad {
    max-width: 394px !important;
    width: 100% !important;
    background: var(--bg-primary) !important;
}

body.entry-split #Hchat {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    background: #fff !important;
    border: 1px solid #2f4f39 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

body.entry-split #Hchat .divColorLo,
body.entry-split #Hchat .listHome {
    display: none !important;
}

body.entry-split #Hchat .homeTop {
    float: none !important;
    width: 100% !important;
    background: #fff !important;
}

body.entry-split #Hchat > .homeTop > a.label.label-primary.fl img {
    width: 24px !important;
    height: 24px !important;
    margin-right: 6px !important;
    border-radius: 0 !important;
}

body.entry-split #Hchat > .homeTop > a.label.label-primary.fl .btn,
body.entry-split #Hchat > .homeTop > a.label.label-primary.fl button.btn {
    width: 54px !important;
    height: 44px !important;
    margin: -7px -10px -7px auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #7ad35e !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.entry-split #Hchat .isbnr {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 200px !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-top: 1px solid #cfcfcf !important;
    border-bottom: 1px solid #cfcfcf !important;
}

body.entry-split #Hchat ul.nav.nav-tabs {
    width: 100% !important;
    margin: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid #d8d8d8 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
}

body.entry-split #Hchat .nav-tabs > li {
    float: none !important;
    flex: 1 1 33.333% !important;
    margin: 0 !important;
}

body.entry-split #Hchat .nav-tabs > li > a {
    margin: 0 !important;
    padding: 10px 4px !important;
    text-align: center !important;
    color: var(--bt-primary, #40404f) !important;
    color: color-mix(in srgb, var(--bt-primary, #40404f) 70%, #ffffff 30%) !important;
    background: #ffffff !important;
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--bt-primary, #40404f) 8%, #ffffff 92%) 100%) !important;
    border: 0 !important;
    border-left: 1px solid #dddddd !important;
    border-left: 1px solid color-mix(in srgb, var(--bt-primary, #40404f) 18%, #dddddd 82%) !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: inherit !important;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease !important;
}

body.entry-split #Hchat .nav-tabs > li:first-child > a {
    border-left: 0 !important;
}

body.entry-split #Hchat .nav-tabs > li.active > a,
body.entry-split #Hchat .nav-tabs > li.active > a:hover,
body.entry-split #Hchat .nav-tabs > li.active > a:focus {
    color: var(--hi-primary) !important;
    background: var(--bt-primary) !important;
    box-shadow: inset 0 -2px 0 rgba(255,255,255,.18), 0 6px 12px rgba(0, 0, 0, .12) !important;
    border-color: transparent !important;
}

body.entry-split #Hchat .nav-tabs > li:not(.active) > a:hover,
body.entry-split #Hchat .nav-tabs > li:not(.active) > a:focus {
    color: var(--bt-primary, #40404f) !important;
    background: #f7f7f7 !important;
    background: color-mix(in srgb, var(--bt-primary, #40404f) 12%, #ffffff 88%) !important;
}

body.entry-split #Hchat .tab-content.fr {
    width: 100% !important;
    min-height: 78px !important;
    padding: 12px 8px 8px !important;
    background: #fff !important;
}

body.entry-split #Hchat .tab-content .tab-pane {
    width: 100% !important;
}

body.entry-split #Hchat .entry-login-tabs {
    border-top: 0 !important;
}

body.entry-split #Hchat .entry-login-pane {
    padding: 0 2px 4px !important;
}

body.entry-split #Hchat .entry-login-pane.active {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

body.entry-split #Hchat .entry-login-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
}

body.entry-split #Hchat .entry-login-row-fields {
    justify-content: space-between !important;
    flex-direction: row-reverse !important;
}

body.entry-split #Hchat .entry-login-row-actions {
    justify-content: space-between !important;
}

body.entry-split #Hchat #u1,
body.entry-split #Hchat #u2,
body.entry-split #Hchat #u3,
body.entry-split #Hchat #pass1,
body.entry-split #Hchat #pass2 {
    width: calc(100% - 18px) !important;
    max-width: calc(100% - 18px) !important;
    align-self: center !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid #cbbbc0 !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #fff 0%, #fcf7f9 100%) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.7), 0 1px 2px rgba(88,32,53,.08) !important;
    font-size: inherit !important;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease !important;
    text-align: right !important;
}

body.entry-split #Hchat .entry-login-row-fields #u2,
body.entry-split #Hchat .entry-login-row-fields #pass1 {
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    min-width: 0 !important;
}

body.entry-split #Hchat #u1:focus,
body.entry-split #Hchat #u2:focus,
body.entry-split #Hchat #u3:focus,
body.entry-split #Hchat #pass1:focus,
body.entry-split #Hchat #pass2:focus {
    border-color: #ab7a8c !important;
    box-shadow: 0 0 0 3px rgba(182, 125, 148, .18), inset 0 1px 1px rgba(255,255,255,.75) !important;
    background: #fff !important;
}

body.entry-split #Hchat .checkbox {
    margin: 0 !important;
}

body.entry-split #Hchat .entry-login-checkbox {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 0 10px !important;
    color: #5f4953 !important;
    margin: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

body.entry-split #Hchat .entry-login-checkbox label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    color: #5f4953 !important;
    font-size: inherit !important;
}

body.entry-split #Hchat .entry-login-checkbox label input[type="checkbox"] {
    margin: 0 0 0 18px !important;
}

button,
.btn,
a.btn,
[role="button"],
label.btn,
.ae,
.room-footer-icon-btn,
.xqv-rh-chip,
.xqv-mt-k4,
.wall-composer-btn,
.brb-bot-panel-btn,
.carrom-trigger-btn,
.w3-button,
.tablink {
    cursor: pointer !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

#roomHeader.xqv-rh-a93 {
    padding: 4px 8px !important;
    gap: 8px !important;
    min-height: 0 !important;
}

#roomHeader .xqv-rh-p2 {
    width: 48px !important;
    height: 48px !important;
    border-radius: 8px !important;
}

#roomHeader .xqv-rh-t2 {
    gap: 6px !important;
    align-items: center !important;
}

#roomHeader .xqv-rh-m9 {
    margin-top: 2px !important;
    gap: 4px !important;
}

#roomHeader .xqv-rh-chip {
    padding: 3px 8px !important;
}

#roomHeader .xqv-rh-n3 {
    font-size: 13px !important;
}

#roomHeader .xqv-rh-c6,
#roomHeader .xqv-rh-b5,
#roomHeader .xqv-rh-o1,
#roomHeader #roomHeaderOwnerText {
    font-size: 11px !important;
}

#roomHeader #roomHeaderOwnerWrap,
#roomHeader #roomHeaderMicProviderWrap {
    display: none !important;
}

#roomHeader #roomHeaderAbout {
    display: block !important;
    margin-top: 2px !important;
    line-height: 1.35 !important;
    opacity: .92 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#roomHeader #roomHeaderMessageModeWrap {
    min-width: 30px !important;
    padding: 3px 7px !important;
    justify-content: center !important;
}

#roomHeader #roomHeaderMessageModeText,
#roomHeader #roomMicToggle .xqv-mt-t1 {
    display: none !important;
}

#roomHeader .xqv-rh-a8 {
    display: flex !important;
    align-items: center !important;
}

#roomHeader .xqv-rh-chip,
#roomHeader #roomMicToggle.xqv-mt-k4 {
    min-height: 30px !important;
    border-radius: 999px !important;
}

#roomHeader .xqv-rh-chip-icon,
#roomHeader #roomMicToggle.xqv-mt-k4 .fa {
    width: 16px !important;
    min-width: 16px !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

#roomHeader #roomMicToggle.xqv-mt-k4 {
    min-width: 34px !important;
    padding: 4px 7px !important;
    gap: 0 !important;
    justify-content: center !important;
}

body.entry-split #Hchat .entry-login-checkbox label .fa-eye-slash {
    margin-right: 6px !important;
}

body.entry-split #Hchat .entry-login-checkbox label .fa-eye-slash {
    font-size: 16px !important;
    line-height: 1 !important;
    color: var(--bt-primary, #40404f) !important;
}

body.entry-split #Hchat .entry-login-checkbox input[type="checkbox"] {
    margin: 0 !important;
}

body.entry-split #Hchat .entry-login-btn {
    width: calc(100% - 18px) !important;
    max-width: calc(100% - 18px) !important;
    align-self: center !important;
    min-height: 40px !important;
    margin: 2px 0 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--bt-primary, #40404f) !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .16) !important;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease !important;
}

body.entry-split #Hchat .entry-login-row-actions .entry-login-btn {
    width: 44% !important;
    max-width: 44% !important;
    margin: 0 !important;
    flex: 0 0 44% !important;
}

body.entry-split #Hchat .entry-login-row-actions .entry-login-checkbox {
    width: auto !important;
    flex: 1 1 auto !important;
}

body.entry-split #Hchat .entry-login-btn:hover,
body.entry-split #Hchat .entry-login-btn:focus {
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .2) !important;
    filter: brightness(1.06) !important;
}

body.entry-split #Hchat .entry-login-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .14) !important;
    filter: brightness(.96) !important;
}

@media only screen and (max-width: 420px) {
    body.entry-split #Hchat .entry-login-row {
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }

    body.entry-split #Hchat .entry-login-row-fields #u2,
    body.entry-split #Hchat .entry-login-row-fields #pass1 {
        width: calc(50% - 3px) !important;
        max-width: calc(50% - 3px) !important;
        flex: 0 0 calc(50% - 3px) !important;
        padding: 0 8px !important;
        font-size: 13px !important;
    }

    body.entry-split #Hchat .entry-login-row-actions .entry-login-checkbox {
        width: 52% !important;
        max-width: 52% !important;
        flex: 0 0 52% !important;
        padding: 0 4px !important;
    }

    body.entry-split #Hchat .entry-login-row-actions .entry-login-btn {
        width: 48% !important;
        max-width: 48% !important;
        flex: 0 0 48% !important;
    }

    body.entry-split #Hchat .entry-login-checkbox label {
        gap: 5px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
    }
}

body.entry-split #Hchat .label.mini.fl.label-primary .loginstat {
   display: inline-flex !important;
    align-items: center;
    min-width: 109px !important;
    height: 31px !important;
    margin: 3px !important;
    padding: 0 14px !important;
    border: 9 !important;
    border-radius: 4px !important;
    text-align: center !important;
    flex-direction: row;
    align-content: space-around;
    justify-content: space-around;

    font-size: inherit !important;
}

body.entry-split #Hchat .label.mini.fl.label-primary .lusd {
    margin-left: auto !important;
}

body.entry-split #Hchat .label.mini.fl.label-primary .s1 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 56px !important;
    height: 31px !important;
    margin: 1px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 6px !important;
    font-size: inherit !important;
}

body.entry-split #Hchat .lonline {
    width: 100% !important;
    padding-left: 1px !important;
    background: #fafafa !important;
    outline: 1px solid lightgray !important;
}

body.entry-split .homeTop > .fr.borderg.bg {
    height: 24px !important;
    padding: 2px 6px !important;
    color: var(--hi-primary, #ffffff) !important;
    background: var(--bg-primary, #40404f) !important;
    background-image: none !important;
    border: 0 !important;
    border-top: 1px solid color-mix(in srgb, var(--bg-primary, #40404f) 65%, #ffffff 35%) !important;
    font-size: small !important;
}

body.entry-split .homeTop > .fr.borderg.bg a {
    color: var(--hi-primary, #ffffff) !important;
    color: color-mix(in srgb, var(--hi-primary, #ffffff) 82%, var(--bt-primary, #40404f) 18%) !important;
}

body.entry-split .homeTop > .fr.borderg.bg a:hover,
body.entry-split .homeTop > .fr.borderg.bg a:focus {
    color: var(--hi-primary, #ffffff) !important;
    filter: brightness(1.04) !important;
}

body.entry-split #Hchat ul.nav.nav-tabs > li.active > a,
body.entry-split #Hchat ul.nav.nav-tabs > li.active > a:hover,
body.entry-split #Hchat ul.nav.nav-tabs > li.active > a:focus {
    color: var(--hi-primary, #ffffff) !important;
    background: var(--bt-primary, #40404f) !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: inset 0 -2px 0 rgba(255,255,255,.18), 0 6px 12px rgba(0, 0, 0, .12) !important;
}

div#Hchat .lonline .uhtml,
#users .uhtml,
#users .hand.nosel.fl.uzr.borderg,
#users .fl.hand.nosel.uzr.uhtml {
    text-align: left !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 1px 0 0 !important;
    background-color: #fafafa !important;
    border-bottom: 1px solid #ececf4 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#users .hand.nosel.fl.uzr.borderg {
    width: 100% !important;
    border: 0 !important;
    cursor: pointer !important;
    background-size: 100% 100% !important;
}

div#Hchat .lonline .u-pic,
#users .u-pic,
#users .fl.u-pic {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin-top: 0 !important;
    margin-left: 3px !important;
    border-radius: 0 !important;
    background-color: #f3f3f3 !important;
    background-size: cover !important;
    background-position: center !important;
    object-fit: cover !important;
}

div#Hchat .lonline .uhtml .ustat,
#users .uhtml .ustat,
#users .fl.ustat {
    width: 4px !important;
    min-width: 4px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
}

div#Hchat .lonline .d-flex.fl,
#users .d-flex.fl {
    width: 100% !important;
    max-height: none !important;
    align-items: flex-start !important;
}

div#Hchat .lonline .u-ico,
#users .u-ico {
    max-height: 18px !important;
    margin-top: 1px !important;
    object-fit: scale-down !important;
}

div#Hchat .lonline .u-topic,
#users .u-topic.dots {
    margin-top: 2px !important;
    margin-left: 1px !important;
    padding: 0 !important;
    line-height: inherit !important;
    font: inherit !important;
    color: inherit !important;
    background: transparent !important;
}

div#Hchat .lonline .u-msg,
#users .u-msg {
    margin-top: 0 !important;
    max-height: 40px !important;
    line-height: inherit !important;
    font: inherit !important;
    color: #888 !important;
}

div#Hchat .lonline .co,
#users .co,
#users .uhtml .co.ico {
    width: 18px !important;
    height: 18px !important;
    margin-top: -2px !important;
    margin-left: auto !important;
    border-radius: 1px !important;
}

div#Hchat .lonline .uhash,
#users .uhash {
    font-size: 70% !important;
    color: grey !important;
}

div#Hchat .lonline .uhtml,
#users .uhtml,
#users .hand.nosel.fl.uzr.borderg,
#users .fl.hand.nosel.uzr.uhtml,
div#Hchat .lonline .u-topic,
#users .u-topic,
div#Hchat .lonline .u-msg,
#users .u-msg,
div#Hchat .lonline .u-pic,
#users .u-pic {
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
}

#users .theme.has-avatar-cover .u-pic,
#users .theme .u-them.has-avatar-cover > .u-pic,
#users .theme .u-pic.has-avatar-cover {
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    overflow: hidden !important;
    clip-path: circle(50% at 50% 50%);
    -webkit-clip-path: circle(50% at 50% 50%);
    background-size: cover !important;
    background-position: center center !important;
}

#users .theme.has-avatar-cover .u-cover,
#users .theme .u-cover.has-avatar-cover {
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    overflow: hidden !important;
}

#users .theme .u-topic.dots {
    display: inline-block !important;
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

#d2bc a.like2,
#d2bc a#giftbc,
#d2bc a#cooment,
#d2bc a.wall-comment-toggle,
#d2bc a#remove {
    width: auto !important;
    min-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    padding: 0 3px !important;
    margin: 1px 4px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-shadow: none !important;
}

#d2bc a.like2 {
    color: #e11d48 !important;
}

#d2bc a#giftbc {
    color: #16a34a !important;
    width: 18px !important;
    min-width: 18px !important;
    padding: 0 !important;
}

#d2bc a#cooment,
#d2bc a.wall-comment-toggle {
    color: #64748b !important;
}

a#remove,
#d2bc a#remove,
#wall a#remove,
#d2 a#remove {
    all: unset !important;
    display: inline-flex !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 1px 4px 0 1px !important;
    cursor: pointer !important;
    color: #c1121f !important;
    font-family: FontAwesome !important;
    font-size: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

a#remove::before,
#d2bc a#remove::before,
#wall a#remove::before,
#d2 a#remove::before {
    font-family: FontAwesome !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

#d2bc a.like2::before,
#d2bc a#giftbc::before,
#d2bc a#cooment::before,
#d2bc a.wall-comment-toggle::before,
#d2bc a#remove::before {
    font-size: 15px !important;
    line-height: 1 !important;
}

#d2bc a.like2,
#d2bc a#giftbc,
#d2bc a#cooment,
#d2bc a.wall-comment-toggle {
    position: relative !important;
    margin-bottom: 11px !important;
}

#d2bc a.like2::after,
#d2bc a#giftbc::after,
#d2bc a#cooment::after,
#d2bc a.wall-comment-toggle::after {
    position: absolute !important;
    top: calc(100% + 1px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: block !important;
    min-width: 28px !important;
    text-align: center !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: #7b8794 !important;
    white-space: nowrap !important;
}

#d2bc a.like2::after {
    content: "إعجاب" !important;
}

#d2bc a#giftbc::after {
    content: "هدية" !important;
}

#d2bc a#cooment::after,
#d2bc a.wall-comment-toggle::after {
    content: "تعليق" !important;
}

#d2 a.like2.btn.minix,
#d2 a#giftbc.btn.minix,
#d2 a#cooment.btn.minix {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    margin: 2px 0 0 4px !important;
    border-width: 1px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    opacity: .92 !important;
    transition: background-color .16s ease, border-color .16s ease, opacity .16s ease !important;
}

#d2 a.like2.btn.minix {
    background: #e98b8b !important;
    border-color: #e98b8b !important;
    color: #fff !important;
}

#d2 a#giftbc.btn.minix {
    background: #7aa98b !important;
    border-color: #7aa98b !important;
    color: #fff !important;
}

#d2 a#cooment.btn.minix {
    background: #7c8896 !important;
    border-color: #7c8896 !important;
    color: #fff !important;
}

#d2 a.like2.btn.minix:hover,
#d2 a#giftbc.btn.minix:hover,
#d2 a#cooment.btn.minix:hover {
    opacity: 1 !important;
    filter: none !important;
}

#d2 a.like2.btn.minix::before,
#d2 a#giftbc.btn.minix::before,
#d2 a#cooment.btn.minix::before {
    font-size: 14px !important;
    line-height: 1 !important;
}

#d2 a.like2.btn.minix,
#d2 a#cooment.btn.minix {
    font-family: inherit !important;
}

#d2 a.like2.btn.minix {
    gap: 3px !important;
    padding-inline: 6px !important;
    width: auto !important;
    min-width: 34px !important;
}

#d2 a#cooment.btn.minix {
    gap: 3px !important;
    padding-inline: 6px !important;
    width: auto !important;
    min-width: 34px !important;
}

/* Wall action labels under the icon-only buttons */
#d2bc a.like2,
#d2bc a#giftbc,
#d2bc a#cooment,
#d2bc a.wall-comment-toggle {
    position: relative !important;
    margin-bottom: 11px !important;
}

#d2bc a.like2::after,
#d2bc a#giftbc::after,
#d2bc a#cooment::after,
#d2bc a.wall-comment-toggle::after {
    position: absolute !important;
    top: calc(100% + 1px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: #7b8794 !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

#d2bc a.like2::after {
    content: "\0625\0639\062C\0627\0628" !important;
}

#d2bc a#giftbc::after {
    content: "\0647\062F\064A\0629" !important;
}

#d2bc a#cooment::after,
#d2bc a.wall-comment-toggle::after {
    content: "\062A\0639\0644\064A\0642" !important;
}

/* Match room voice recorder styling with wall recorder */
#room > .tablebox.footer .room-voice-recorder {
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

#room > .tablebox.footer.room-voice-recording .room-voice-recorder {
    display: flex !important;
}

#room > .tablebox.footer .room-voice-recorder .wall-voice-recorder__cancel,
#room > .tablebox.footer .room-voice-recorder .wall-voice-recorder__send {
    width: 42px;
    height: 42px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    font-size: 17px !important;
}

#room > .tablebox.footer .room-voice-recorder .wall-voice-recorder__cancel {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.15);
}

#room > .tablebox.footer .room-voice-recorder .wall-voice-recorder__send {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.22);
}

#room > .tablebox.footer .room-voice-recorder .wall-voice-recorder__status {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 100%);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

#room > .tablebox.footer .room-voice-recorder .wall-voice-recorder__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
    animation: wallVoicePulse 1.2s infinite;
}

#room > .tablebox.footer .room-voice-recorder .wall-voice-recorder__time {
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .03em;
}

/* Match upload progress styling in room and wall */
#room > .tablebox.footer .room-upload-progress,
#wall > .wall-upload-progress {
    display: none;
    width: 100%;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10), inset 0 0 0 1px rgba(148, 163, 184, 0.14);
}

#room > .tablebox.footer .room-upload-progress.is-active,
#wall > .wall-upload-progress.is-active {
    display: block !important;
}

#room > .tablebox.footer .room-upload-progress .wall-upload-progress__meta,
#wall > .wall-upload-progress .wall-upload-progress__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

#room > .tablebox.footer .room-upload-progress .wall-upload-progress__name,
#wall > .wall-upload-progress .wall-upload-progress__name {
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

#room > .tablebox.footer .room-upload-progress .wall-upload-progress__cancel,
#wall > .wall-upload-progress .wall-upload-progress__cancel {
    border: 0;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.08);
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
}

#room > .tablebox.footer .room-upload-progress .wall-upload-progress__bar,
#wall > .wall-upload-progress .wall-upload-progress__bar {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #e8eef8 0%, #dbe7f5 100%);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

#room > .tablebox.footer .room-upload-progress .wall-upload-progress__fill,
#wall > .wall-upload-progress .wall-upload-progress__fill {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 45%, #0ea5e9 100%);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.22);
    transition: width .16s ease;
}

#room > .tablebox.footer .room-upload-progress .wall-upload-progress__value,
#wall > .wall-upload-progress .wall-upload-progress__value {
    margin-top: 7px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    letter-spacing: .02em;
}

/* Refine inline audio card appearance in room messages */
.inline-local-media-card.inline-local-media-card--audio,
#d2 .inline-local-media-card.inline-local-media-card--audio {
    align-items: stretch !important;
    gap: 10px !important;
    width: min(100%, 332px) !important;
    padding: 10px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.10), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
}

.inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__preview,
#d2 .inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__preview {
    flex: 0 0 78px !important;
    width: 78px !important;
    height: 78px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #19b36b 0%, #15aabf 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__audio-bg,
#d2 .inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__audio-bg {
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.96), rgba(20, 184, 166, 0.92)),
        linear-gradient(180deg, #0f766e 0%, #115e59 100%) !important;
}

.inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__audio-icon,
#d2 .inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__audio-icon {
    font-size: 34px !important;
    color: #ffffff !important;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
}

.inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__meta,
#d2 .inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__meta {
    justify-content: center !important;
    gap: 5px !important;
    padding: 4px 0 !important;
}

.inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__title,
#d2 .inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__name,
#d2 .inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__name {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #475569 !important;
}

.inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__hint,
#d2 .inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__hint {
    font-size: 11px !important;
    color: #64748b !important;
}

.inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__action,
#d2 .inline-local-media-card.inline-local-media-card--audio .inline-local-media-card__action {
    align-self: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%) !important;
    box-shadow: 0 10px 22px rgba(59, 130, 246, 0.24) !important;
    font-size: 16px !important;
}

.inline-local-media-card.inline-local-media-card--audio:hover .inline-local-media-card__action,
.inline-local-media-card.inline-local-media-card--audio:focus .inline-local-media-card__action,
#d2 .inline-local-media-card.inline-local-media-card--audio:hover .inline-local-media-card__action,
#d2 .inline-local-media-card.inline-local-media-card--audio:focus .inline-local-media-card__action {
    transform: scale(1.04) !important;
}

/* Ensure inline audio player opens as a proper horizontal bar */
.inline-media-player.inline-media-player--audio {
    width: min(100%, 332px) !important;
    max-width: min(100%, 332px) !important;
    padding: 10px 12px !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14) !important;
}

.inline-media-player.inline-media-player--audio .inline-media-player__tools {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    margin: 0 !important;
    z-index: 2 !important;
}

.inline-media-player.inline-media-player--audio .inline-media-player__close {
    width: 26px !important;
    height: 26px !important;
    background: rgba(239, 68, 68, 0.10) !important;
    color: #dc2626 !important;
}

.inline-media-player.inline-media-player--audio .inline-media-player__body {
    display: block !important;
    width: 100% !important;
    padding-top: 20px !important;
}

.inline-media-player.inline-media-player--audio .inline-media-player__body audio {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: #eef6ff !important;
}

#d2 .inline-media-player.inline-media-player--audio {
    width: min(100%, 332px) !important;
    max-width: min(100%, 332px) !important;
}

/* Room header media stage for room message video/youtube */
#room > .room-inline-media-stage {
    display: none;
    order: 0;
    flex: 0 0 auto;
    width: 100%;
    background: #050505;
    overflow: hidden;
}

#room > .room-inline-media-stage:not(:empty) {
    display: block;
}

#room > .room-inline-media-stage .inline-media-player {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: #050505;
    box-shadow: none;
}

#room > .room-inline-media-stage .inline-media-player__tools {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 3;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
}

#room > .room-inline-media-stage .inline-media-player__close {
    pointer-events: auto;
    width: 34px;
    height: 34px;
    background: rgba(241, 245, 249, 0.92);
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.26);
}

#room > .room-inline-media-stage .inline-media-player__body {
    width: 100%;
    min-height: 120px;
    aspect-ratio: 16 / 7;
    max-height: 220px;
    background: #020617;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* Premium wall/feed post cards */
#wall > #d2bc.wall-feed {
    padding-inline: 8px !important;
    padding-bottom: 22px !important;
}

#d2bc > .wall-post-card {
    direction: rtl;
    display: block !important;
    width: 100% !important;
    margin: 10px 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    max-width: none !important;
    transform: none !important;
    position: relative !important;
    transition: box-shadow 0.22s ease, transform 0.22s ease !important;
}

#d2bc > .wall-post-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1) !important;
    transform: translateY(-2px) !important;
}

#d2bc > .wall-post-card > .wall-post-shell {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

#d2bc > .wall-post-card .wall-post-shell {
    box-sizing: border-box;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
}

#d2bc > .wall-post-card .wall-post-shell * {
    box-sizing: border-box;
}

#d2bc > .wall-post-card .wall-post-shell .fa,
#d2bc > .wall-post-card .wall-post-shell .fa::before,
#d2bc > .wall-post-card .wall-post-shell .fa::after {
    font-family: FontAwesome !important;
}

#d2bc > .wall-post-card .wall-post-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 10px;
    padding: 16px 16px 0;
    margin-bottom: 4px;
}

#d2bc > .wall-post-card .wall-post-identity {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    gap: 10px;
}

#d2bc > .wall-post-card .wall-post-avatar-wrap {
    position: relative;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
}

#d2bc > .wall-post-card .wall-post-avatar-wrap > .u-avatar-verified-shell,
#d2bc > .wall-post-card .wall-post-avatar-wrap > .u-pic {
    display: block;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
}

#d2bc > .wall-post-card .wall-post-avatar-wrap > .u-pic {
    float: none !important;
    margin: 0 !important;
    border-radius: 14px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-color: #e2e8f0 !important;
}

#d2bc > .wall-post-card .wall-post-meta {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 2px;
}

#d2bc > .wall-post-card .wall-post-title-row {
    width: 100% !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

#d2bc > .wall-post-card .wall-post-author,
#d2bc > .wall-post-card .u-topic.wall-post-author {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    min-width: 0;
    background: transparent !important;
    border-radius: 0 !important;
    color: #4f46e5 !important;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#d2bc > .wall-post-card .site-badge-inline,
#d2bc > .wall-post-card .room-owner-badge-inline {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    max-width: 100%;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

#d2bc > .wall-post-card .site-badge-inline img,
#d2bc > .wall-post-card .room-owner-badge-inline img {
    width: 11px !important;
    height: 11px !important;
    min-width: 11px !important;
    min-height: 11px !important;
}

#d2bc > .wall-post-card .wall-post-subline {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    color: #8a8f98;
    font-size: 12px;
    font-weight: 400;
    justify-content: flex-end;
    margin-top: -1px;
}

#d2bc > .wall-post-card .wall-post-status-icon,
#d2bc > .wall-post-card .wall-post-subline > .u-ico {
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    margin: 0 !important;
    object-fit: contain;
    opacity: 0.72;
}

#d2bc > .wall-post-card .wall-post-time,
#d2bc > .wall-post-card .tago.wall-post-time {
    margin: 0 !important;
    padding: 0 !important;
    color: #a8b0bd !important;
    font-size: 11px !important;
    font-weight: 300 !important;
}

#d2bc > .wall-post-card .wall-post-header-actions {
    flex: 0 0 auto;
    position: relative;
    z-index: 8;
}

#d2bc > .wall-post-card a#remove.wall-post-option-btn,
#d2bc > .wall-post-card .wall-post-option-btn {
    all: unset !important;
    width: 21px !important;
    height: 21px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #fbfdff 0%, #f1f5f9 100%) !important;
    color: #475569 !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
    cursor: pointer !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
}

#d2bc > .wall-post-card a#remove.wall-post-option-btn:hover,
#d2bc > .wall-post-card .wall-post-option-btn:hover {
    background: #eef2f7 !important;
    color: #2563eb !important;
    border-color: rgba(191, 219, 254, 0.95) !important;
}

#d2bc > .wall-post-card a#remove.wall-post-option-btn::before,
#d2bc > .wall-post-card .wall-post-option-btn::before,
#d2bc > .wall-post-card a.like2::after,
#d2bc > .wall-post-card a#giftbc::after,
#d2bc > .wall-post-card a#cooment::after,
#d2bc > .wall-post-card a.wall-comment-toggle::after {
    content: none !important;
    display: none !important;
}

#d2bc > .wall-post-card .wall-post-option-btn .wall-post-action__label {
    display: none;
}

#d2bc > .wall-post-card .wall-post-header-actions .wall-post-option-btn .wall-post-action__icon,
#d2bc > .wall-post-card .wall-post-option-btn > .fa {
    font-size: 11px !important;
}

#d2bc > .wall-post-card .wall-post-options-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    z-index: 6;
    min-width: 160px;
    padding: 8px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    text-align: right;
}

#d2bc > .wall-post-card .wall-post-options-menu__item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-color 0.18s ease, color 0.18s ease !important;
}

#d2bc > .wall-post-card .wall-post-options-menu__item:hover {
    background: #f8fafc;
    color: #2563eb !important;
}

#d2bc > .wall-post-card .wall-post-options-menu__item--danger:hover {
    color: #dc2626 !important;
}

#d2bc > .wall-post-card .wall-post-options-menu__item .fa {
    font-size: 14px !important;
}

#d2bc > .wall-post-card .wall-post-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 16px;
    min-height: 0 !important;
}

#d2bc > .wall-post-card .wall-post-text,
#d2bc > .wall-post-card .u-msg.wall-post-text {
    display: block !important;
    width: 100% !important;
    margin: 2px 0 8px !important;
    padding: 0 !important;
    color: #1f2937 !important;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    text-align: right !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-height: 0 !important;
}

#d2bc > .wall-post-card .wall-post-text img,
#d2bc > .wall-post-card .wall-post-text video,
#d2bc > .wall-post-card .wall-post-text iframe,
#d2bc > .wall-post-card .wall-post-text audio {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #f8fafc;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

#d2bc > .wall-post-card .wall-post-media-grid {
    display: grid;
    gap: 10px;
    width: calc(100% + 32px);
    margin: 10px -16px 4px;
}

#d2bc > .wall-post-card .wall-post-media-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

#d2bc > .wall-post-card .wall-post-media-grid--multi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#d2bc > .wall-post-card .wall-post-media-grid__item {
    min-width: 0;
}

#d2bc > .wall-post-card .wall-post-media-grid__item > img,
#d2bc > .wall-post-card .wall-post-media-grid__item > a,
#d2bc > .wall-post-card .wall-post-media-grid__item .inline-image-preview-card,
#d2bc > .wall-post-card .wall-post-media-grid__item .inline-local-media-card--image {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
}

#d2bc > .wall-post-card .wall-post-media-grid__item > img,
#d2bc > .wall-post-card .wall-post-media-grid__item > a > img,
#d2bc > .wall-post-card .wall-post-media-grid__item .inline-image-preview-card__image,
#d2bc > .wall-post-card .wall-post-media-grid__item .inline-local-media-card__image {
    width: 100% !important;
    height: 100% !important;
    min-height: 220px;
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

#d2bc > .wall-post-card .wall-post-media-grid--multi .wall-post-media-grid__item > img,
#d2bc > .wall-post-card .wall-post-media-grid--multi .wall-post-media-grid__item > a > img,
#d2bc > .wall-post-card .wall-post-media-grid--multi .inline-image-preview-card__image,
#d2bc > .wall-post-card .wall-post-media-grid--multi .inline-local-media-card__image {
    min-height: 170px;
    max-height: 240px;
}

#d2bc > .wall-post-card .wall-post-media-grid .inline-image-preview-card,
#d2bc > .wall-post-card .wall-post-media-grid .inline-local-media-card--image {
    border: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#d2bc > .wall-post-card .wall-post-media-grid .inline-image-preview-card__actions,
#d2bc > .wall-post-card .wall-post-media-grid .inline-local-media-card__meta,
#d2bc > .wall-post-card .wall-post-media-grid .inline-local-media-card__action {
    display: none !important;
}

#d2bc > .wall-post-card .wall-post-media-grid .inline-image-preview-card__image-btn,
#d2bc > .wall-post-card .wall-post-media-grid .inline-local-media-card--image {
    all: unset;
    display: block;
    width: 100%;
    cursor: pointer;
}

#d2bc > .wall-post-card .wall-post-stats {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    gap: 8px 16px;
    margin-top: 4px;
    margin-bottom: 12px;
    padding: 0 16px;
    color: #8f99a8;
    overflow-x: auto;
}

#d2bc > .wall-post-card .wall-post-stat:first-child {
    margin-left: auto;
}

#d2bc > .wall-post-card .wall-post-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8f99a8 !important;
    font-size: 12px !important;
    font-weight: 400;
    white-space: nowrap;
    font-family: system-ui !important;
    line-height: 1;
}

#d2bc > .wall-post-card .wall-post-stat--comments {
    cursor: pointer;
}

#d2bc > .wall-post-card .wall-post-stat i {
    color: #8f99a8 !important;
    font-size: 15px;
    line-height: 1;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#d2bc > .wall-post-card .wall-post-stat__value {
    color: #8f99a8 !important;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
}

#d2bc > .wall-post-card .wall-post-stat__label {
    color: #8f99a8 !important;
    font-family: system-ui !important;
    font-size: 12px !important;
    display: inline-flex;
    align-items: center;
}

#d2bc > .wall-post-card .wall-post-actions {
    display: flex !important;
    align-items: center;
    justify-content: space-around;
    direction: rtl;
    gap: 8px;
    flex-wrap: nowrap !important;
    border-top: 1px solid #eceef2;
    padding: 10px 16px;
    margin-top: 4px;
}

#d2bc > .wall-post-card a.like2.wall-post-action,
#d2bc > .wall-post-card a#giftbc.wall-post-action,
#d2bc > .wall-post-card a#cooment.wall-post-action,
#d2bc > .wall-post-card a.wall-comment-toggle.wall-post-action {
    all: unset !important;
    flex: 1 1 0;
    width: 33.333% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row-reverse !important;
    gap: 7px !important;
    padding: 10px 0 !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #334155 !important;
    cursor: pointer !important;
    float: none !important;
    min-width: 0 !important;
    max-width: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

#d2bc > .wall-post-card a.like2.wall-post-action:hover,
#d2bc > .wall-post-card a#giftbc.wall-post-action:hover,
#d2bc > .wall-post-card a#cooment.wall-post-action:hover,
#d2bc > .wall-post-card a.wall-comment-toggle.wall-post-action:hover {
    background: #f3f4f6 !important;
    border-color: transparent !important;
    transform: translateY(-1px);
}

#d2bc > .wall-post-card a.like2.wall-post-action:active,
#d2bc > .wall-post-card a#giftbc.wall-post-action:active,
#d2bc > .wall-post-card a#cooment.wall-post-action:active,
#d2bc > .wall-post-card a.wall-comment-toggle.wall-post-action:active {
    transform: scale(0.97);
}

#d2bc > .wall-post-card .wall-post-action__icon {
    font-size: 19px !important;
    line-height: 1;
    margin: 0 !important;
    flex: 0 0 auto;
    width: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#d2bc > .wall-post-card .wall-post-action__label {
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#d2bc > .wall-post-card .wall-post-action__count {
    display: none !important;
}

#d2bc > .wall-post-card .wall-post-action--gift {
    color: #f59e0b !important;
}

#d2bc > .wall-post-card .wall-post-action--comment {
    color: #64748b !important;
}

#d2bc > .wall-post-card .wall-post-action--like {
    color: #ef4444 !important;
}

#d2bc > .wall-post-card .wall-post-action--like[data-liked="1"],
#d2bc > .wall-post-card .wall-post-action--like.liked {
    color: #ef4444 !important;
    animation: wall-like-pop 0.22s ease-out;
}

@keyframes wall-like-pop {
    0% {
        transform: scale(0.92);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#d2bc > .wall-post-card .wall-comment-box,
#d2bc > .wall-post-card .wall-comments-list {
    padding-inline: 15px;
}

#d2bc > .wall-post-card a.like2.wall-post-action::before,
#d2bc > .wall-post-card a#giftbc.wall-post-action::before,
#d2bc > .wall-post-card a#cooment.wall-post-action::before,
#d2bc > .wall-post-card a.wall-comment-toggle.wall-post-action::before {
    content: none !important;
    display: none !important;
}

#d2bc > .wall-post-card .wall-comment-box {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

#d2bc > .wall-post-card .wall-comment-composer {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
}

#d2bc > .wall-post-card .wall-comment-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 0 !important;
    outline: none !important;
    border-radius: 12px;
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    box-shadow: none !important;
}

#d2bc > .wall-post-card .wall-comment-send {
    min-width: 44px;
    height: 42px;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #4f46e5 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700 !important;
}

#d2bc > .wall-post-card .wall-comment-send:hover {
    background: #f2f4f8 !important;
}

#d2bc > .wall-post-card .wall-comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 0px;
    padding-bottom: 14px;
}

#d2bc > .wall-post-card .wall-comment-item {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    gap: 10px;
}

#d2bc > .wall-post-card .wall-comment-avatar {
    width: 34px;
    min-width: 34px;
    height: 34px;
    border-radius: 12px;
    object-fit: cover;
    background: #e2e8f0;
}

#d2bc > .wall-post-card .wall-comment-bubble {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
    text-align: right;
}

#d2bc > .wall-post-card .wall-comment-bubble::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 12px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left-width: 0;
    border-right-color: #ffffff;
    filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.02));
}

#d2bc > .wall-post-card .wall-comment-author {
    order: 1;
    display: block;
    width: 100%;
    margin-bottom: 4px;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

#d2bc > .wall-post-card .wall-comment-text {
    order: 2;
    display: block;
    width: 100%;
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
    word-break: break-word;
    text-align: right;
}

@media (max-width: 767px) {
    #d2bc > .wall-post-card {
        width: 100% !important;
        margin: 10px 0 !important;
        border-radius: 16px !important;
    }

    #d2bc > .wall-post-card > .wall-post-shell {
        padding: 0;
        gap: 0;
    }

    #d2bc > .wall-post-card .wall-post-header {
        gap: 8px;
    }

    #d2bc > .wall-post-card .wall-post-identity {
        gap: 10px;
    }

    #d2bc > .wall-post-card .wall-post-avatar-wrap,
    #d2bc > .wall-post-card .wall-post-avatar-wrap > .u-pic,
    #d2bc > .wall-post-card .wall-post-avatar-wrap > .u-avatar-verified-shell {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
        border-radius: 16px !important;
    }

    #d2bc > .wall-post-card .wall-post-author,
    #d2bc > .wall-post-card .u-topic.wall-post-author {
        font-size: 15px !important;
    }

    #d2bc > .wall-post-card .wall-post-actions {
        gap: 2px;
        flex-wrap: nowrap;
        padding: 6px 10px;
    }

    #d2bc > .wall-post-card .wall-post-media-grid {
        gap: 8px;
        width: calc(100% + 20px);
        margin: 12px -10px 0;
    }

    #d2bc > .wall-post-card .wall-post-media-grid__item > img,
    #d2bc > .wall-post-card .wall-post-media-grid__item > a > img,
    #d2bc > .wall-post-card .wall-post-media-grid .inline-image-preview-card__image,
    #d2bc > .wall-post-card .wall-post-media-grid .inline-local-media-card__image {
        min-height: 150px;
    }

    #d2bc > .wall-post-card .wall-comment-composer {
        flex-direction: column;
        align-items: stretch;
    }

    #d2bc > .wall-post-card .wall-comment-send {
        width: 100%;
    }

    #d2bc > .wall-post-card a.like2.wall-post-action,
    #d2bc > .wall-post-card a#giftbc.wall-post-action,
    #d2bc > .wall-post-card a#cooment.wall-post-action,
    #d2bc > .wall-post-card a.wall-comment-toggle.wall-post-action {
        min-height: 38px !important;
        padding: 0 8px !important;
    }

    #d2bc > .wall-post-card .wall-post-action__label {
        font-size: 12px;
    }

    #d2bc > .wall-post-card .wall-post-action__icon {
        font-size: 14px;
    }
}

#room > .room-inline-media-stage .inline-media-player__body > iframe,
#room > .room-inline-media-stage .inline-media-player__body > video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border: 0;
    background: #020617;
    display: block;
}

#room > .room-inline-media-stage .inline-media-player__body > video {
    object-fit: contain;
}

/* Settings redesign */
#settings.settings-pane {
    padding: 10px 8px 18px !important;
    background:
        radial-gradient(circle at top center, rgba(255,255,255,0.72), rgba(245,247,251,0.94) 42%),
        linear-gradient(180deg, #edf2f8 0%, #f7f8fb 100%) !important;
    overflow-y: auto !important;
}

#settings .settings-profile-hero {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    margin: 0 0 14px !important;
    border-radius: 22px !important;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(244,245,251,0.96) 100%) !important;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.10) !important;
}

#settings .settings-profile-hero__main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 14px 12px;
}

#settings .settings-profile-avatar {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    border-radius: 20px !important;
    border: 3px solid rgba(255,255,255,0.92) !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.10) !important;
    background-color: #e5e7eb !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

#settings .settings-profile-hero__meta {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

#settings .settings-profile-name {
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#settings .settings-profile-stats {
    display: flex;
    align-items: center;
    gap: 10px;
}

#settings .settings-profile-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
}

#settings .settings-profile-stat--coin .fa {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: linear-gradient(135deg, #f6c744 0%, #f0b90b 100%);
    color: #fff;
    font-size: 12px !important;
}

#settings .settings-profile-hero__menu {
    flex: 0 0 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.04);
    color: #4b5563;
    font-size: 26px;
}

#settings .settings-pane__title {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 132px !important;
    margin: 4px auto 12px !important;
    padding: 10px 18px !important;
    border-radius: 14px !important;
    border: 0 !important;
    background: linear-gradient(135deg, #3f72ff 0%, #1d74f5 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(29, 116, 245, 0.18) !important;
}

#settings .settings-profile-card,
#settings .settings-balance-card,
#settings .settings-action-card,
#settings .settings-zoom {
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}

#settings .settings-profile-card {
    margin: 0 0 12px !important;
    padding: 10px !important;
    background: rgba(255,255,255,0.92) !important;
}

#settings .settings-profile-card__inner {
    margin-top: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#settings .settings-profile-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#settings .settings-field-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: max-content !important;
    padding: 7px 12px !important;
    border-radius: 12px !important;
    border: 0 !important;
    background: #1d74f5 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

#settings .stopic,
#settings .smsg,
#settings .yp,
#settings .scolor,
#settings .mcolor,
#settings .sbg,
#settings .gcolor {
    width: 100% !important;
    height: 46px !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
    border: 1px solid #d8deea !important;
    background: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7) !important;
    text-align: right !important;
}

#settings .settings-save-btn {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 13px 14px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #39b86b 0%, #1f9b55 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

#settings .settings-zoom {
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 16px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #485b89 0%, #3d4f77 100%) !important;
    color: #fff !important;
    text-align: center !important;
}

#settings .settings-balance-card {
    display: block !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 14px 16px !important;
    background: #fff !important;
    color: #111827 !important;
    text-align: center !important;
    font-weight: 800 !important;
}

#settings #tnbehseo,
#settings .settings-action-card {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 58px !important;
    margin: 0 0 10px !important;
    padding: 12px 44px 12px 14px !important;
    background: rgba(255,255,255,0.96) !important;
    color: #111827 !important;
    border: 0 !important;
    border-radius: 18px !important;
    text-align: right !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    overflow: hidden !important;
}

#settings #tnbehseo::after,
#settings .settings-action-card::after {
    content: "\f104";
    font-family: FontAwesome;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b7bcc8;
    font-size: 18px;
}

#settings #tnbehseo > .fa,
#settings .settings-action-card > .fa,
#settings .settings-action-card > img {
    float: none !important;
    flex: 0 0 40px;
}

#settings #tnbehseo > .fa,
#settings .settings-action-card > .fa {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 18px !important;
    background: linear-gradient(135deg, #1d74f5 0%, #3f72ff 100%) !important;
}

#settings .settings-action-card--wallet > .fa {
    background: linear-gradient(135deg, #1d74f5 0%, #0f9dff 100%) !important;
}

#settings #tnbehseo > .fa {
    background: linear-gradient(135deg, #8b3dff 0%, #bd4fff 100%) !important;
}

#settings .settings-action-card--danger > .fa {
    background: linear-gradient(135deg, #ff5c5c 0%, #e53e3e 100%) !important;
}

#settings .settings-action-card--image > img {
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    border: 0 !important;
}

/* Premium settings redesign */
#settings.settings-pane {
    padding: 18px 14px 28px !important;
    background:
        radial-gradient(circle at top center, rgba(124, 58, 237, 0.06), transparent 34%),
        linear-gradient(180deg, #f8faff 0%, #f5f7fb 54%, #eff4fb 100%) !important;
}

#settings .settings-profile-hero {
    border-radius: 20px !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(244,246,255,0.96) 100%) !important;
    border: 1px solid rgba(231, 234, 243, 0.95) !important;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.10), 0 2px 8px rgba(91, 76, 240, 0.05) !important;
    margin-bottom: 18px !important;
}

#settings .settings-profile-hero__main {
    padding: 16px !important;
    gap: 14px !important;
}

#settings .settings-profile-avatar {
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
    border-radius: 22px !important;
}

#settings .settings-profile-name {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

#settings .settings-profile-stats {
    gap: 12px !important;
}

#settings .settings-profile-stat {
    font-size: 14px !important;
    color: #475569 !important;
    background: rgba(248, 250, 255, 0.92);
    border: 1px solid rgba(231, 234, 243, 0.9);
    border-radius: 999px;
    padding: 6px 10px;
}

#settings .settings-profile-stat .fa {
    width: 24px !important;
    height: 24px !important;
    border-radius: 8px !important;
}

#settings .settings-profile-stat--points .fa {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
    color: #fff !important;
    font-size: 10px !important;
}

#settings .settings-profile-hero__menu {
    flex: 0 0 92px !important;
    background: linear-gradient(180deg, rgba(91, 76, 240, 0.08), rgba(59, 130, 246, 0.04)) !important;
    color: #475569 !important;
    border-right: 1px solid rgba(231, 234, 243, 0.9);
    font-size: 24px !important;
}

#settings .settings-section {
    margin-bottom: 18px !important;
}

#settings .settings-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 2px;
}

#settings .settings-section__title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

#settings .settings-section__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #5B4CF0 0%, #7C3AED 100%);
    color: #fff;
    font-size: 16px !important;
    box-shadow: 0 12px 24px rgba(91, 76, 240, 0.22);
}

#settings .settings-section__title {
    color: #0f172a;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

#settings .settings-section__subtitle {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 3px;
}

#settings .settings-card {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid #e7eaf3 !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(148, 163, 184, 0.10) !important;
    padding: 16px !important;
}

#settings .settings-card--profile,
#settings .settings-card--preferences,
#settings .settings-card--colors,
#settings .settings-card--account,
#settings .settings-stats-card {
    background-image: linear-gradient(180deg, rgba(248, 250, 255, 0.62), rgba(255, 255, 255, 0.98)) !important;
}

#settings .settings-card + .settings-card {
    margin-top: 12px !important;
}

#settings .settings-card--profile,
#settings .settings-card--preferences {
    display: grid;
    gap: 14px;
}

#settings .settings-card--colors {
    display: grid;
    gap: 16px;
}

#settings .settings-field-group,
#settings .settings-select-wrap {
    display: grid;
    gap: 8px;
}

#settings .settings-label {
    display: block !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

#settings .settings-input,
#settings .settings-color-input,
#settings .settings-select {
    width: 100% !important;
    min-height: 48px !important;
    border: 1px solid #e7eaf3 !important;
    border-radius: 14px !important;
    background: #f8faff !important;
    color: #0f172a !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}

#settings .settings-input {
    padding: 0 14px !important;
    text-align: right !important;
}

#settings .settings-color-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

#settings .settings-color-item {
    display: grid;
    gap: 8px;
}

#settings .settings-color-field {
    display: block;
    padding: 0;
    border-radius: 16px;
    background: transparent;
    border: 0;
    transition: box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

#settings .settings-color-field:focus-within {
    box-shadow: none;
    background: transparent;
}

#settings .settings-color-swatch {
    display: none;
}

#settings .settings-color-input {
    padding: 0 12px !important;
    min-height: 44px !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
    text-align: center !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
    background-image: none !important;
}

#settings .settings-color-native {
    display: none;
}

#settings .settings-color-native::-webkit-color-swatch-wrapper {
    padding: 0;
}

#settings .settings-color-native::-webkit-color-swatch {
    border: 0;
    border-radius: 12px;
}

#settings .settings-input:focus,
#settings .settings-color-input:focus,
#settings .settings-select:focus {
    border-color: rgba(79, 70, 229, 0.5) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(91, 76, 240, 0.10), 0 12px 26px rgba(91, 76, 240, 0.08) !important;
    outline: none !important;
}

#settings .settings-save-btn {
    appearance: none !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #5B4CF0 0%, #7C3AED 100%) !important;
    color: #fff !important;
    min-height: 52px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    box-shadow: 0 18px 34px rgba(91, 76, 240, 0.26), inset 0 1px 0 rgba(255,255,255,0.18) !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

#settings .settings-save-btn:hover,
#settings .settings-save-btn:focus {
    transform: translateY(-1px) !important;
    filter: brightness(1.03) !important;
    box-shadow: 0 22px 40px rgba(91, 76, 240, 0.28) !important;
}

#settings .settings-select-shell {
    position: relative;
}

#settings .settings-select {
    appearance: none !important;
    padding: 0 16px !important;
    background: #f8fafc !important;
    text-align: right !important;
    color: #0f172a !important;
}

#settings .settings-select-arrow {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

#settings .settings-stats-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(91, 76, 240, 0.07), rgba(59, 130, 246, 0.04));
    border: 1px solid #e7eaf3;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

#settings .settings-stats-card--account {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#settings .settings-stats-card__item {
    display: grid;
    gap: 4px;
    justify-items: center;
    flex: 1 1 0;
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(231, 234, 243, 0.92);
}

#settings .settings-stats-card__label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

#settings .settings-stats-card__value {
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
}

#settings .settings-stats-card__divider {
    width: 1px;
    align-self: stretch;
    background: rgba(148, 163, 184, 0.32);
}

#settings .settings-stats-card--account .settings-stats-card__divider {
    display: none;
}

#settings .settings-card--actions {
    display: grid;
    gap: 10px;
}

#settings #tnbehseo,
#settings .settings-action-card {
    margin: 0 !important;
    width: 100% !important;
    min-height: 60px !important;
    padding: 12px 16px 12px 48px !important;
    border: 1px solid #e7eaf3 !important;
    border-radius: 16px !important;
    background: #fcfcff !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04) !important;
    cursor: pointer !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease !important;
}

#settings #tnbehseo *,
#settings .settings-action-card *,
#settings .settings-save-btn,
#settings .settings-save-btn * {
    cursor: pointer !important;
}

#settings #tnbehseo:hover,
#settings #tnbehseo:focus,
#settings .settings-action-card:hover,
#settings .settings-action-card:focus {
    transform: translateY(-1px) !important;
    border-color: rgba(91, 76, 240, 0.18) !important;
    background: #ffffff !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08) !important;
}

#settings #tnbehseo::after,
#settings .settings-action-card::after {
    left: 18px !important;
    color: #c4cada !important;
}

#settings .settings-action-card__icon,
#settings .settings-action-card__image {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#settings .settings-action-card__icon {
    background: linear-gradient(135deg, #5B4CF0 0%, #7C3AED 100%) !important;
    color: #fff !important;
    font-size: 18px !important;
    box-shadow: 0 12px 22px rgba(91, 76, 240, 0.18) !important;
}

#settings .settings-action-card__image {
    object-fit: cover;
    background: #eef2ff !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08) !important;
}

#settings .settings-action-card__text {
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
}

#settings .settings-action-card--wallet .settings-action-card__icon {
    background: linear-gradient(135deg, #4F46E5 0%, #3B82F6 100%) !important;
}

#settings .settings-action-card--secondary .settings-action-card__icon {
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important;
}

#settings .settings-action-card--info .settings-action-card__icon {
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%) !important;
}

#settings .settings-action-card--danger .settings-action-card__icon,
#settings .settings-action-card--logout .settings-action-card__icon {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
}

#settings .settings-footer-brand {
    text-align: center;
    padding: 8px 0 0;
}

#settings .settings-footer-brand a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.8);
    border: 1px solid #e7eaf3;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
    background: linear-gradient(135deg, #111827 0%, #334155 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

@media (max-width: 640px) {
    #settings.settings-pane {
        padding: 14px 10px 24px !important;
    }

    #settings .settings-profile-hero__menu {
        flex-basis: 72px !important;
    }

    #settings .settings-color-grid {
        grid-template-columns: 1fr;
    }

    #settings .settings-stats-card--account {
        grid-template-columns: 1fr;
    }

    #settings .settings-section__subtitle {
        font-size: 11px;
    }

    #settings .settings-profile-name {
        font-size: 18px !important;
    }
}

/* Premium profile dialog */
#upro .upro-dialog {
    width: 420px;
    max-width: calc(100vw - 20px);
    margin: 24px auto;
}

#upro .upro-profile-modal {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at top, rgba(124, 58, 237, 0.05), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #f2f6fc 100%) !important;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.42), 0 8px 24px rgba(37, 99, 235, 0.08) !important;
    overflow: hidden;
}

#upro .upro-profile-modal__header {
    position: absolute;
    inset: 14px 14px auto 14px;
    z-index: 5;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    display: flex;
    justify-content: flex-start;
}

#upro .upro-profile-modal__header .modal-title {
    display: none !important;
}

#upro .upro-profile-modal__header .pull-right.clickable.badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    padding: 0 !important;
    background: rgba(255,255,255,0.14) !important;
    color: #fff !important;
    border: 0 !important;
    backdrop-filter: blur(10px);
}

#upro .upro-body-shell {
    padding: 0 !important;
}

#upro .upro-profile-legacy {
    width: 100% !important;
    border: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.18);
    background: linear-gradient(180deg, rgba(248,250,255,0.95), rgba(240,246,252,0.96));
    border: 1px solid rgba(148,163,184,0.22);
}

#upro .light.fl.pro.center.break.upro-profile-legacy .safarihost.spic2 {
    position: relative;
    height: 238px;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-image:
        radial-gradient(circle at top right, rgba(99,102,241,0.26), transparent 32%),
        linear-gradient(135deg, rgba(15,23,42,0.86) 0%, rgba(30,41,59,0.74) 48%, rgba(49,46,129,0.92) 100%) !important;
}

#upro .light.fl.pro.center.break.upro-profile-legacy .safarihost.spic2::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.16), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(124,58,237,0.30), transparent 32%);
    pointer-events: none;
}

#upro .light.fl.pro.center.break.upro-profile-legacy .fitimg.u-pic.lazy {
    width: 108px !important;
    height: 108px !important;
    top: 144px !important;
    left: 18px !important;
    position: absolute !important;
    border-radius: 999px !important;
    object-fit: cover !important;
    border: 4px solid rgba(255,255,255,0.96) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.32) !important;
    z-index: 3 !important;
}

#upro .user-name,
#upro .user-name.upro-hero__name {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.28);
}

#upro .user-st,
#upro .upro-hero__status {
    margin: 0;
    color: #dbe4f1;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 10px rgba(0,0,0,0.18);
}

#upro .notadmin > center {
    display: block;
}

#upro .safarihost.spic2 {
    position: relative;
    height: 250px;
    border-radius: 0 !important;
    background-color: #0f172a !important;
    background-image:
        linear-gradient(180deg, rgba(15, 23, 42, 0.10), rgba(15, 23, 42, 0.92)),
        linear-gradient(135deg, #0f172a 0%, #1e293b 48%, #312e81 100%) !important;
    overflow: hidden;
}

#upro .upro-profile-legacy .safarihost.spic2,
#upro .upro-profile-legacy .safarihost.spic2::before,
#upro .upro-profile-legacy .safarihost.spic2::after {
    pointer-events: none !important;
}

#upro .upro-profile-legacy .prf,
#upro .upro-profile-legacy .prf * {
    pointer-events: auto !important;
}

#upro .upro-profile-legacy .prf {
    position: relative;
    z-index: 5;
}

#upro .safarihost.spic2::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.32), transparent 34%),
        linear-gradient(180deg, rgba(15,23,42,0.04) 0%, rgba(15,23,42,0.86) 100%);
    backdrop-filter: blur(2px);
}

#upro .u-pic.upro-hero__avatar {
    width: 104px !important;
    height: 104px !important;
    top: 146px !important;
    left: 22px !important;
    border: 4px solid rgba(255,255,255,0.96) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.36), 0 0 0 8px rgba(255,255,255,0.05) !important;
    z-index: 3;
}

#upro .upro-hero-name-block,
#upro .upro-hero-status-block {
    z-index: 3;
}

#upro .upro-hero-name-block {
    top: 146px !important;
    right: 24px !important;
    max-width: 220px;
}

#upro .user-name.upro-hero__name,
#upro .user-name {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.28);
}

#upro .upro-membership-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.42), rgba(37, 99, 235, 0.28));
    color: #f5f3ff;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(196, 181, 253, 0.34);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

#upro .upro-hero-status-block {
    top: 198px !important;
    right: 24px !important;
}

#upro .upro-hero__status,
#upro .user-st {
    margin: 0;
    color: #dbe4f1;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 10px rgba(0,0,0,0.18);
}

#upro .upro-hero-counters {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

#upro .upro-counter {
    display: grid;
    gap: 4px;
    padding: 12px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 10px 24px rgba(0,0,0,0.14);
    backdrop-filter: blur(14px);
    text-align: center;
}

#upro .upro-counter__label {
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#upro .upro-counter__value {
    color: #fff !important;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

#upro .upro-top-actions-wrap {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    padding-top: 44px !important;
    padding-right: 18px;
    padding-left: 18px;
    padding-bottom: 0;
    background:
        linear-gradient(180deg, rgba(248, 250, 255, 0.92), rgba(242, 246, 252, 1));
}

#upro .upro-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
    width: 100%;
}

#upro .upro-quick-stat {
    padding: 12px 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e7eaf3;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255,255,255,0.8);
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#upro .upro-quick-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

#upro .upro-quick-stat__label {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

#upro .upro-quick-stat__value {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.45;
    word-break: break-word;
}

#upro .prf {
    width: calc(33.333% - 8px) !important;
    height: auto !important;
    margin: 0 0 18px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

#upro .prf .bx,
#upro .prf .ffff {
    position: static !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.9) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

#upro .prf:hover .bx,
#upro .prf:hover .ffff {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.16) !important;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.10) !important;
}

#upro .prf > span.borderg,
#upro .prf > span.unot,
#upro .prf > span.ulike {
    display: none !important;
}

#upro .upro-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
    padding: 0 18px 0;
    background: transparent !important;
    border: 0 !important;
}

#upro .upro-tabs .tablink {
    min-height: 46px;
    border: 1px solid #e7eaf3 !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease !important;
}

#upro .upro-tabs .tablink:hover {
    transform: translateY(-1px);
    color: #334155 !important;
    border-color: rgba(37, 99, 235, 0.16) !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07) !important;
}

#upro .upro-tabs .tablink.w3-red {
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22), inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

#upro .city {
    background: transparent !important;
    border: 0 !important;
    padding: 0 18px 18px !important;
}

#upro #Paris > center {
    display: block;
}

#upro #Paris .border.fl,
#upro #Tokyo .border.fl,
#upro #London .border.fl {
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 14px 16px !important;
    border: 1px solid #e7eaf3 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05) !important;
    text-align: right !important;
}

#upro .upro-info-card {
    display: grid;
    gap: 12px;
}

#upro .upro-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid #e7eaf3;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255,255,255,0.86);
    text-align: right;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#upro .upro-info-row:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.14);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

#upro .upro-info-row__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    color: #fff;
    font-size: 16px;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.20);
}

#upro .upro-info-row__meta {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 6px;
}

#upro .upro-info-row__label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

#upro .upro-info-row__value {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
    word-break: break-word;
}

#upro .upro-info-row__hint {
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

#upro #Paris .u-msg,
#upro #Paris .timetoday,
#upro #Paris .u-co,
#upro #Paris .u-room,
#upro #Paris .pointtop,
#upro #Paris .proyps,
#upro #Paris .proyps2 {
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
}

#upro #Paris .pointtop {
    background: #f8faff !important;
    border: 1px solid #e7eaf3 !important;
    border-radius: 12px;
    padding: 10px 12px;
    display: block;
}

#upro .rating-box {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 6px 0 0;
}

#upro #London .border.fl,
#upro #Tokyo .isadmins {
    display: grid;
    gap: 10px;
}

#upro #London .border.fl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#upro #Tokyo .isadmins {
    gap: 12px;
}

#upro #London a,
#upro #Tokyo .u-nickc,
#upro #Tokyo .ulikec,
#upro #Tokyo .usmsgs,
#upro #Tokyo .usitebadge,
#upro #Tokyo .upower,
#upro #Tokyo .uroomz {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border: 1px solid #e7eaf3 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    text-align: center !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05) !important;
    width: 100% !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease !important;
}

#upro #London a:hover,
#upro #Tokyo .u-nickc:hover,
#upro #Tokyo .ulikec:hover,
#upro #Tokyo .usmsgs:hover,
#upro #Tokyo .usitebadge:hover,
#upro #Tokyo .upower:hover,
#upro #Tokyo .uroomz:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08) !important;
}

#upro #London .ugift,
#upro #Tokyo .u-nickc,
#upro #Tokyo .ulikec,
#upro #Tokyo .usmsgs,
#upro #Tokyo .usitebadge,
#upro #Tokyo .upower,
#upro #Tokyo .uroomz {
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.20) !important;
}

#upro #London .uthem,
#upro #London .ugiftico,
#upro #London .ucover,
#upro #London .ubnr,
#upro #London .uh {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%) !important;
    color: #334155 !important;
}

#upro #London .udelpic,
#upro #London .urkick,
#upro #London .ukick,
#upro #London .uban,
#upro #London .ureport,
#upro #London .meiut,
#upro #London .umute,
#upro #London .uunmute {
    background: linear-gradient(180deg, #fff5f5 0%, #fff0f0 100%) !important;
    border-color: rgba(239, 68, 68, 0.14) !important;
    color: #b91c1c !important;
}

#upro #Tokyo input,
#upro #Tokyo textarea,
#upro #Tokyo select {
    width: 100% !important;
    min-height: 44px !important;
    border: 1px solid #e7eaf3 !important;
    border-radius: 12px !important;
    background: #f8faff !important;
    padding: 10px 12px !important;
}

#upro #Tokyo textarea {
    min-height: 74px !important;
    resize: vertical !important;
}

#upro .upro-profile-modal {
    backdrop-filter: blur(4px);
    border-radius: 18px !important;
    background: #1f1f22 !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.42) !important;
}

#upro .upro-profile-legacy {
    border-radius: 18px !important;
    background: #1f1f22 !important;
    border: 1px solid rgba(255,255,255,.05) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.34) !important;
}

#upro .light.fl.pro.center.break.upro-profile-legacy .safarihost.spic2,
#upro .safarihost.spic2 {
    height: 184px !important;
    min-height: 184px !important;
    background: linear-gradient(180deg, #202124 0%, #1b1b1d 100%) !important;
}

#upro .light.fl.pro.center.break.upro-profile-legacy .safarihost.spic2::after,
#upro .safarihost.spic2::after,
#upro .safarihost.spic2::before {
    display: none !important;
}

#upro .upro-profile-modal__header {
    inset: 10px 12px auto 12px !important;
}

#upro .upro-profile-modal__header .pull-right.clickable.badge {
    width: 34px !important;
    height: 34px !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    box-shadow: none !important;
}

#upro .light.fl.pro.center.break.upro-profile-legacy .fitimg.u-pic.lazy,
#upro .u-pic.upro-hero__avatar {
    top: 38px !important;
    right: 18px !important;
    left: auto !important;
    width: 104px !important;
    height: 104px !important;
    border-radius: 14px !important;
    border: 3px solid rgba(255,255,255,.95) !important;
    box-shadow: none !important;
}

#upro .upro-hero-name-block {
    top: 54px !important;
    right: 142px !important;
    left: 22px !important;
    text-align: right !important;
}

#upro .upro-hero-status-block {
    top: 112px !important;
    right: 142px !important;
    left: 22px !important;
    text-align: right !important;
}

#upro .user-name,
#upro .user-name.upro-hero__name {
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    color: #fff !important;
    text-shadow: none !important;
}

#upro .upro-hero__status,
#upro .user-st {
    color: rgba(255,255,255,.82) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}

#upro .upro-membership-badge {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

#upro .upro-hero-counters {
    right: 22px !important;
    left: 22px !important;
    bottom: 18px !important;
    gap: 14px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

#upro .upro-counter {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
}

#upro .upro-counter__label {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin-bottom: 10px !important;
}

#upro .upro-counter__value {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

#upro .upro-top-actions-wrap {
    background: #f3f3f4 !important;
    padding: 14px 14px 0 !important;
    gap: 10px !important;
}

#upro .upro-quick-stats {
    margin-bottom: 8px !important;
    gap: 0 !important;
}

#upro .upro-quick-stat {
    min-height: auto !important;
    padding: 10px 8px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#upro .upro-quick-stat:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

#upro .upro-quick-stat__label {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

#upro .upro-quick-stat__value {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

#upro .prf {
    width: calc(33.333% - 8px) !important;
    gap: 6px !important;
}

#upro .prf .bx,
#upro .prf .ffff {
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid #e8e8ea !important;
    box-shadow: none !important;
}

#upro .prf:hover .bx,
#upro .prf:hover .ffff {
    transform: none !important;
    box-shadow: none !important;
}

#upro .upro-tabs {
    gap: 8px !important;
    padding: 0 0 14px !important;
    margin: 0 !important;
    background: #f3f3f4 !important;
}

#upro .upro-tabs .tablink {
    min-height: 44px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #ececef !important;
    color: #2f3137 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

#upro .upro-tabs .tablink.w3-red {
    background: #e9e9ec !important;
    color: #111 !important;
    border-color: #dddddf !important;
    box-shadow: none !important;
}

#upro .city {
    background: #f3f3f4 !important;
    padding: 0 14px 14px !important;
}

#upro #Paris .border.fl,
#upro #Tokyo .border.fl,
#upro #London .border.fl {
    border-radius: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 10px !important;
}

#upro .upro-info-card {
    gap: 0 !important;
}

#upro .upro-info-row {
    min-height: 58px;
    align-items: center !important;
    padding: 14px 16px !important;
    border-radius: 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid #ececef !important;
    box-shadow: none !important;
}

#upro .upro-info-row:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    border-bottom-color: #ececef !important;
}

#upro .upro-info-row__icon {
    order: 2;
    margin-right: auto;
    margin-left: 0;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #3a3d44 !important;
    box-shadow: none !important;
    font-size: 18px !important;
}

#upro .upro-info-row__meta {
    order: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    width: 100% !important;
}

#upro .upro-info-row__label {
    color: #1f2937 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

#upro .upro-info-row__value {
    color: #3f3f46 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

#upro .upro-info-row__hint {
    display: none !important;
}

#upro #London .border.fl,
#upro #Tokyo .isadmins {
    gap: 0 !important;
}

#upro #London a,
#upro #Tokyo .u-nickc,
#upro #Tokyo .ulikec,
#upro #Tokyo .usmsgs,
#upro #Tokyo .usitebadge,
#upro #Tokyo .upower,
#upro #Tokyo .uroomz {
    justify-content: flex-end !important;
    min-height: 58px !important;
    padding: 14px 16px !important;
    border-radius: 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid #ececef !important;
    color: #1f2937 !important;
    box-shadow: none !important;
    position: relative !important;
}

#upro #London a:hover,
#upro #Tokyo .u-nickc:hover,
#upro #Tokyo .ulikec:hover,
#upro #Tokyo .usmsgs:hover,
#upro #Tokyo .usitebadge:hover,
#upro #Tokyo .upower:hover,
#upro #Tokyo .uroomz:hover {
    transform: none !important;
    box-shadow: none !important;
}

#upro #London .ugift,
#upro #Tokyo .u-nickc,
#upro #Tokyo .ulikec,
#upro #Tokyo .usmsgs,
#upro #Tokyo .usitebadge,
#upro #Tokyo .upower,
#upro #Tokyo .uroomz,
#upro #London .uthem,
#upro #London .ugiftico,
#upro #London .ucover,
#upro #London .ubnr,
#upro #London .uh,
#upro #London .udelpic,
#upro #London .urkick,
#upro #London .ukick,
#upro #London .uban,
#upro #London .ureport,
#upro #London .meiut,
#upro #London .umute,
#upro #London .uunmute {
    background: #fff !important;
    color: #1f2937 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

#upro #Tokyo input,
#upro #Tokyo textarea,
#upro #Tokyo select {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
}

@media (max-width: 520px) {
    #upro .upro-dialog {
        width: calc(100vw - 12px);
        margin: 8px auto !important;
    }

    #upro .light.fl.pro.center.break.upro-profile-legacy .fitimg.u-pic.lazy,
    #upro .u-pic.upro-hero__avatar {
        top: 34px !important;
        right: 14px !important;
        width: 92px !important;
        height: 92px !important;
    }

    #upro .upro-hero-name-block {
        top: 52px !important;
        right: 118px !important;
        left: 16px !important;
    }

    #upro .upro-hero-status-block {
        top: 106px !important;
        right: 118px !important;
        left: 16px !important;
    }

    #upro .upro-hero-counters {
        right: 16px !important;
        left: 16px !important;
        bottom: 14px !important;
        gap: 8px !important;
    }

    #upro .upro-counter__label {
        font-size: 11px !important;
    }

    #upro .upro-counter__value {
        font-size: 15px !important;
    }

    #upro .upro-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

#upro .upro-profile-modal__header .pull-right.clickable.badge {
    background: rgba(255,255,255,0.2) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22) !important;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease !important;
}

#upro .upro-profile-modal__header .pull-right.clickable.badge:hover {
    transform: scale(1.06);
    background: rgba(255,255,255,0.28) !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.26) !important;
}

#upro .safarihost.fitimg.spic2.lazy,
#upro .safarihost.spic2 {
    min-height: 262px !important;
}

#upro .safarihost.spic2::before {
    content: "";
}

/* Gift sheet redesign */
.gift-sheet-popover {
    position: fixed !important;
    inset: auto auto 16px 50% !important;
    transform: translateX(-50%) !important;
    width: min(680px, calc(100vw - 24px)) !important;
    max-width: 680px !important;
    min-width: min(680px, calc(100vw - 24px)) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 28px !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .52) !important;
    background: transparent !important;
}

.gift-sheet-popover.top,
.gift-sheet-popover.bottom,
.gift-sheet-popover.left,
.gift-sheet-popover.right {
    margin: 0 !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
}

.gift-sheet-popover .arrow {
    display: none !important;
}

.gift-sheet-popover {
    position: fixed !important;
    top: auto !important;
    bottom: 18% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(680px, calc(100vw - 24px)) !important;
    max-width: 680px !important;
    min-width: min(680px, calc(100vw - 24px)) !important;
    height: min(76vh, 640px) !important;
    max-height: min(76vh, 640px) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 28px !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .52) !important;
    background: transparent !important;
}

.gift-sheet-popover .popover-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    padding: 0 !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at top, rgba(62, 62, 66, .96) 0%, rgba(36, 36, 39, .985) 42%, rgba(24, 24, 27, .995) 100%),
        linear-gradient(180deg, rgba(32,32,35,.98) 0%, rgba(20,20,23,.99) 100%) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    overflow: hidden !important;
}

.gift-sheet-popover .popover-content .gift-mini-pop {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
}

.gift-mini-pop {
    direction: rtl;
    color: #f8fafc;
}

.gift-mini-pop__handle {
    width: 58px;
    height: 6px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

.gift-mini-pop__body {
    padding: 16px 18px 12px;
}

.gift-mini-pop__topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 14px;
}

.gift-mini-balance {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%),
        linear-gradient(180deg, rgba(43,43,47,.95) 0%, rgba(28,28,32,.98) 100%);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, .24),
        inset 0 1px 0 rgba(255,255,255,.06);
}

.gift-mini-balance__label,
.gift-mini-summary__label,
.gift-mini-qty-group__label {
    font-size: 12px;
    font-weight: 700;
    color: #a1a1aa;
}

.gift-mini-balance__value {
    font-size: 20px;
    font-weight: 800;
    color: #f8fafc;
}

.gift-mini-qty-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 22px;
    background: rgba(255,255,255,.03);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 10px 20px rgba(0,0,0,.14);
}

.gift-mini-qty,
.gift-mini-tab {
    border: 0;
    outline: 0;
    transition: transform .18s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
}

.gift-mini-qty {
    min-width: 52px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    color: #f4f4f5;
    font-size: 14px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.gift-mini-qty.is-active {
    background: linear-gradient(135deg, #ff2d78 0%, #ff0059 100%);
    color: #fff;
    box-shadow: 0 14px 28px rgba(255, 0, 89, .35);
}

.gift-mini-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.gift-mini-tab {
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    color: #d4d4d8;
    font-size: 13px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.gift-mini-tab.is-active {
    background: linear-gradient(135deg, #ffffff 0%, #ececec 100%);
    color: #111111;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
}

.gift-mini-grid::-webkit-scrollbar {
    width: 6px;
}

.gift-mini-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.16);
    border-radius: 999px;
}

.gift-mini-grid::-webkit-scrollbar-track {
    background: transparent;
}

.gift-mini-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    aspect-ratio: 1 / 1;
    width: 100%;
    padding: 10px 10px 10px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 15px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,.06) 0%, rgba(255,255,255,.025) 40%, rgba(255,255,255,.015) 100%),
        linear-gradient(180deg, rgba(52,52,56,.96) 0%, rgba(32,32,36,.98) 100%);
    box-shadow:
        0 14px 24px rgba(0, 0, 0, .22),
        inset 0 1px 0 rgba(255,255,255,.05);
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    transform-origin: center center;
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease,
        background .24s ease,
        filter .24s ease;
}

.gift-mini-card:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow:
        0 22px 38px rgba(0, 0, 0, .34),
        0 0 20px rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .12);
    filter: saturate(1.08);
}

.gift-mini-card.is-selected {
    border-color: rgba(255, 45, 120, .88);
    box-shadow:
        0 0 0 2px rgba(255, 45, 120, .18),
        0 0 28px rgba(255, 45, 120, .20),
        0 20px 40px rgba(0, 0, 0, .32);
    background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,.08) 0%, rgba(255,45,120,.08) 42%, rgba(255,255,255,.02) 100%),
        linear-gradient(180deg, rgba(60,60,66,.98) 0%, rgba(34,34,38,.99) 100%);
}

.gift-mini-card:active {
    transform: scale(.97);
}

.gift-mini-card__favorite {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(0,0,0,.24);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    color: rgba(255,255,255,.42);
    font-size: 10px;
    opacity: .9;
    transition: transform .2s ease, box-shadow .22s ease, color .22s ease, background-color .22s ease;
}

.gift-mini-card__favorite.is-active {
    color: #ff6aa7;
    background: rgba(255, 45, 120, .12);
}

.gift-mini-card:hover .gift-mini-card__favorite {
    transform: scale(1.06);
}

.gift-mini-card__media {
    display: grid;
    place-items: center;
    width: calc(100% - 10px);
    height: 58%;
    min-width: 0;
    min-height: 88px;
    max-width: none;
    max-height: none;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 26%, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 48%, rgba(255,255,255,.01) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 16px 24px rgba(0,0,0,.14);
    flex: 0 0 auto;
    transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
    overflow: hidden;
}

.gift-mini-card__img {
    width: 88%;
    height: 88%;
    min-width: 72px;
    min-height: 72px;
    max-width: 110px;
    max-height: 110px;
    object-fit: cover;
    border-radius: 18px;
    filter:
        drop-shadow(0 16px 24px rgba(0, 0, 0, .28))
        drop-shadow(0 0 12px rgba(255, 255, 255, .08));
    transition: transform .24s ease, filter .24s ease;
}

.gift-mini-card:hover .gift-mini-card__media,
.gift-mini-card.is-selected .gift-mini-card__media {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 22px 32px rgba(0,0,0,.18),
        0 0 22px rgba(255,255,255,.04);
}

.gift-mini-card:hover .gift-mini-card__img,
.gift-mini-card.is-selected .gift-mini-card__img {
    transform: scale(1.05);
    filter:
        drop-shadow(0 18px 28px rgba(0, 0, 0, .34))
        drop-shadow(0 0 14px rgba(255, 255, 255, .10));
}

.gift-mini-card__name {
    display: -webkit-box;
    min-height: 32px;
    max-width: calc(100% - 8px);
    overflow: hidden;
    color: #f5f5f5;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 0 0 auto;
    letter-spacing: -.01em;
}

.gift-mini-card__price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    width: 100%;
    margin: 0;
    padding: 0 10px;
    border-radius: 0 0 15px 15px;
    background: linear-gradient(135deg, #f8d66d 0%, #f1b60f 52%, #d89500 100%);
    color: #4a2d00;
    font-size: 15px;
    font-weight: 800;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.4),
        inset 0 1px 8px rgba(255,255,255,.16);
    flex: 0 0 auto;
    transition: transform .24s ease, box-shadow .24s ease;
}

.gift-mini-card:hover .gift-mini-card__price,
.gift-mini-card.is-selected .gift-mini-card__price {
    transform: none;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.4),
        inset 0 1px 8px rgba(255,255,255,.16);
}

.gift-mini-card__coin {
    width: 17px;
    height: 17px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(91, 58, 0, .18));
}

.gift-mini-empty {
    grid-column: 1 / -1;
    padding: 40px 16px;
    border: 1px dashed rgba(255,255,255,.10);
    border-radius: 24px;
    color: #a1a1aa;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    background: rgba(255,255,255,.02);
}

.gift-mini-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(15, 15, 18, .88);
    backdrop-filter: blur(12px);
}

.gift-mini-footer__info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 12px;
    color: rgba(255,255,255,.72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gift-mini-footer__info span {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gift-mini-summary {
    display: none !important;
}

.gift-mini-summary__title {
    display: none;
}

.gift-mini-summary__balance {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin-bottom: 6px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #f3f4f6;
    font-size: 12px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.gift-mini-summary__title.is-empty {
    color: #71717a;
}

.gift-mini-summary__meta {
    margin-top: 4px;
    color: #a1a1aa;
    font-size: 13px;
    font-weight: 700;
}

.gift-mini-footer__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gift-mini-action {
    min-width: 128px;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .22s ease, opacity .22s ease, background-color .22s ease, color .22s ease;
}

.gift-mini-action--secondary {
    background: rgba(255,255,255,.06);
    color: #fafafa;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.gift-mini-action--primary {
    background: linear-gradient(135deg, #ff2d78 0%, #ff0059 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(255, 0, 89, .28);
}

.gift-mini-action.is-disabled {
    opacity: .5;
    pointer-events: none;
}

@media (hover: hover) {
    .gift-mini-qty:hover,
    .gift-mini-tab:hover,
    .gift-mini-action:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 720px) {
    .gift-sheet-popover,
    .gift-sheet-popover.top,
    .gift-sheet-popover.bottom,
    .gift-sheet-popover.left,
    .gift-sheet-popover.right {
        position: fixed !important;
        top: auto !important;
        bottom: calc(110px + env(safe-area-inset-bottom, 0px)) !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        inset: auto auto calc(110px + env(safe-area-inset-bottom, 0px)) 50% !important;
        width: calc(100vw - 12px) !important;
        max-width: calc(100vw - 12px) !important;
        min-width: calc(100vw - 12px) !important;
        height: 50vh !important;
        max-height: calc(100vh - 16px) !important;
        border-radius: 24px 24px 20px 20px !important;
    }

    .gift-sheet-popover .popover-content {
        border-radius: 24px 24px 20px 20px !important;
    }

    .gift-mini-pop__body {
        padding: 10px 10px 6px;
    }

    .gift-mini-pop__topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        margin-bottom: 8px;
    }

    .gift-mini-balance {
        min-height: 46px;
        padding: 8px 10px;
        border-radius: 16px;
    }

    .gift-mini-balance__label,
    .gift-mini-summary__label,
    .gift-mini-qty-group__label {
        font-size: 11px;
    }

    .gift-mini-balance__value {
        font-size: 16px;
    }

    .gift-mini-qty-group {
        gap: 5px;
        flex-wrap: nowrap;
        padding: 5px;
        border-radius: 16px;
    }

    .gift-mini-qty {
        min-width: 38px;
        height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }

    .gift-mini-tabs {
        gap: 6px;
        margin-bottom: 8px;
    }

    .gift-mini-tab {
        min-height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .gift-mini-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        max-height: min(24vh, 180px);
        padding: 1px 1px 2px;
    }

    .gift-mini-card {
        min-height: 122px !important;
        border-radius: 13px !important;
    }

    .gift-mini-card__body {
        gap: 4px !important;
        padding: 5px 5px 3px !important;
    }

    .gift-mini-card__media {
        width: calc(100% - 2px) !important;
        height: 60px !important;
        min-width: 0;
        min-height: 60px !important;
        border-radius: 12px !important;
    }

    .gift-mini-card__img {
        width: 82% !important;
        height: 82% !important;
        min-width: 46px !important;
        min-height: 46px !important;
        max-width: 74px !important;
        max-height: 74px !important;
        object-fit: contain !important;
    }

    .gift-mini-card__name {
        min-height: 22px !important;
        font-size: 11px !important;
        line-height: 1.05 !important;
    }

    .gift-mini-card__price {
        min-height: 27px !important;
        font-size: 11px !important;
        border-radius: 0 0 13px 13px !important;
    }

    .gift-mini-card__coin {
        width: 14px !important;
        height: 14px !important;
    }

    .gift-mini-footer__actions {
        width: 100%;
    }

    .gift-mini-footer {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 6px 8px 8px;
    }

    .gift-mini-summary__title {
        font-size: 14px;
    }

    .gift-mini-summary__meta {
        font-size: 10px;
    }

    .gift-mini-summary__balance {
        min-height: 22px;
        margin-bottom: 3px;
        padding: 0 7px;
        font-size: 10px;
    }

    .gift-mini-action {
        flex: 1 1 0;
        min-width: 0;
        min-height: 36px;
        padding: 0 10px;
        border-radius: 12px;
        font-size: 12px;
    }
}

@media (max-width: 440px) {
    .gift-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: min(28vh, 200px);
    }
}

/* Force final gift card skin above legacy popover/button styles */
.gift-sheet-popover,
.gift-sheet-popover .popover-content,
.popover .gift-mini-pop {
    background: transparent !important;
}

.popover .gift-mini-pop {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: min(92vh, 760px) !important;
    max-height: calc(100vh - 24px) !important;
    min-height: 0 !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at top, rgba(62, 62, 66, .98) 0%, rgba(36, 36, 39, .992) 42%, rgba(24, 24, 27, .998) 100%) !important;
    color: #f8fafc !important;
    overflow: hidden !important;
}

.popover .gift-mini-pop__body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: contain !important;
}

.popover .gift-mini-footer {
    position: relative !important;
    bottom: auto !important;
    z-index: 6 !important;
    flex: 0 0 auto !important;
    margin-top: 8px !important;
    padding: 10px 14px !important;
    background: rgba(15, 15, 18, .92) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 -8px 18px rgba(0,0,0,.16) !important;
}

.popover .gift-mini-footer__actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}

.popover .gift-mini-footer__info {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    font-size: 12px !important;
    color: rgba(255,255,255,.72) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.popover .gift-mini-action {
    min-width: 110px !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
}

.popover .gift-mini-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-content: start !important;
    grid-auto-rows: auto !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 2px !important;
    padding-bottom: 16px !important;
}

.popover button.gift-mini-card,
.popover .gift-mini-card {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-height: 200px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 15px !important;
    background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,.06) 0%, rgba(255,255,255,.025) 40%, rgba(255,255,255,.015) 100%),
        linear-gradient(180deg, rgba(52,52,56,.96) 0%, rgba(32,32,36,.98) 100%) !important;
    box-shadow:
        0 14px 24px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.05) !important;
    color: #f5f5f5 !important;
    text-align: center !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease !important;
}

.popover .gift-mini-card__body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 10px 10px 54px !important;
    min-height: 0 !important;
}

.popover button.gift-mini-card:hover,
.popover .gift-mini-card:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow:
        0 22px 38px rgba(0,0,0,.34),
        0 0 20px rgba(255,255,255,.05) !important;
}

.popover button.gift-mini-card.is-selected,
.popover .gift-mini-card.is-selected {
    border-color: rgba(255,45,120,.88) !important;
    box-shadow:
        0 0 0 2px rgba(255,45,120,.18),
        0 0 28px rgba(255,45,120,.20),
        0 20px 40px rgba(0,0,0,.32) !important;
}

.popover .gift-mini-card__media {
    display: grid !important;
    place-items: center !important;
    width: calc(100% - 4px) !important;
    height: 86px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 86px !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: radial-gradient(circle at 50% 26%, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 48%, rgba(255,255,255,.01) 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 16px 24px rgba(0,0,0,.14) !important;
}

.popover .gift-mini-card__img {
    width: 92% !important;
    height: 92% !important;
    min-width: 72px !important;
    min-height: 72px !important;
    max-width: 116px !important;
    max-height: 116px !important;
    object-fit: contain !important;
    border-radius: 18px !important;
}

.popover .gift-mini-card__name {
    display: -webkit-box !important;
    min-height: 34px !important;
    max-width: calc(100% - 10px) !important;
    overflow: hidden !important;
    color: #f5f5f5 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin-top: 2px !important;
}

.popover .gift-mini-card__price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 42px !important;
    width: 100% !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border-radius: 0 0 15px 15px !important;
    background: linear-gradient(135deg, #f8d66d 0%, #f1b60f 52%, #d89500 100%) !important;
    color: #4a2d00 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.4),
        inset 0 1px 8px rgba(255,255,255,.16) !important;
    flex-shrink: 0 !important;
}

.popover .gift-mini-card__coin {
    width: 17px !important;
    height: 17px !important;
}

@media (max-width: 720px) {
    .popover .gift-mini-pop {
        height: 50vh !important;
        max-height: 50vh !important;
    }

    .popover .gift-mini-pop__body {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
        padding: 10px 10px 4px !important;
    }

    .popover .gift-mini-pop__topbar {
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin-bottom: 8px !important;
    }

    .popover .gift-mini-balance {
        min-height: 46px !important;
        padding: 8px 10px !important;
        border-radius: 16px !important;
    }

    .popover .gift-mini-balance__label {
        font-size: 10px !important;
    }

    .popover .gift-mini-balance__value {
        font-size: 15px !important;
        line-height: 1.05 !important;
    }

    .popover .gift-mini-qty-group {
        gap: 5px !important;
        flex-wrap: nowrap !important;
        padding: 5px !important;
        border-radius: 16px !important;
    }

    .popover .gift-mini-qty-group__label {
        font-size: 10px !important;
        white-space: nowrap !important;
    }

    .popover .gift-mini-qty {
        min-width: 36px !important;
        height: 32px !important;
        padding: 0 9px !important;
        font-size: 12px !important;
    }

    .popover .gift-mini-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        flex: 1 1 0 !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        align-content: start !important;
        max-height: none !important;
        padding: 1px 1px 16px !important;
    }

    .popover button.gift-mini-card,
    .popover .gift-mini-card {
        min-height: 112px !important;
        border-radius: 12px !important;
    }

    .popover .gift-mini-card__body {
        gap: 3px !important;
        padding: 4px 4px 28px !important;
    }

    .popover .gift-mini-card__media {
        width: calc(100% - 2px) !important;
        height: 66px !important;
        min-height: 66px !important;
        border-radius: 10px !important;
    }

    .popover .gift-mini-card__img {
        width: 84% !important;
        height: 84% !important;
        min-width: 44px !important;
        min-height: 44px !important;
        max-width: 64px !important;
        max-height: 64px !important;
        object-fit: contain !important;
    }

    .popover .gift-mini-card__name {
        min-height: 20px !important;
        font-size: 10px !important;
        line-height: 1.05 !important;
        margin-top: 0 !important;
    }

    .popover .gift-mini-card__price {
        min-height: 22px !important;
        padding: 0 6px !important;
        font-size: 10px !important;
        border-radius: 0 0 12px 12px !important;
    }

    .popover .gift-mini-card__coin {
        width: 11px !important;
        height: 11px !important;
    }

    .popover .gift-mini-footer {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 8 !important;
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        padding: 8px 8px 10px !important;
        margin-top: 8px !important;
        background: linear-gradient(180deg, rgba(30,30,33,.96) 0%, rgba(19,19,22,1) 100%) !important;
        box-shadow: 0 -10px 24px rgba(0,0,0,.24) !important;
    }

    .popover .gift-mini-summary__balance {
        min-height: 22px !important;
        margin-bottom: 3px !important;
        padding: 0 7px !important;
        font-size: 10px !important;
    }

    .popover .gift-mini-summary__title {
        font-size: 14px !important;
    }

    .popover .gift-mini-summary__meta {
        font-size: 10px !important;
    }

    .popover .gift-mini-footer__actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .popover .gift-mini-action {
        min-width: 0 !important;
        min-height: 38px !important;
        padding: 0 10px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
    }
}

.popover .gift-mini-qty-group,
.popover .gift-mini-balance,
.popover .gift-mini-tabs,
.popover .gift-mini-footer {
    background-clip: padding-box !important;
}

#upro .safarihost.spic2::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 108px;
    background: linear-gradient(180deg, rgba(15,23,42,0), rgba(15,23,42,0.28) 42%, rgba(15,23,42,0.56) 100%);
    z-index: 1;
    pointer-events: none;
}

#upro .light.fl.pro.center.break.upro-profile-legacy .fitimg.u-pic.lazy,
#upro .u-pic.upro-hero__avatar {
    top: 138px !important;
    left: 20px !important;
    width: 112px !important;
    height: 112px !important;
    border: 5px solid rgba(255,255,255,0.98) !important;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.28) !important;
    background-color: #fff !important;
}

#upro .upro-hero-name-block {
    top: 132px !important;
    right: 22px !important;
    left: 146px !important;
    max-width: none !important;
}

#upro .upro-hero-status-block {
    top: 186px !important;
    right: 22px !important;
    left: 146px !important;
}

#upro .user-name,
#upro .user-name.upro-hero__name {
    font-size: 26px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#upro .upro-membership-badge {
    margin-top: 12px !important;
    padding: 7px 14px !important;
    background: linear-gradient(135deg, rgba(99,102,241,0.46), rgba(124,58,237,0.46)) !important;
    box-shadow: 0 10px 24px rgba(76, 29, 149, 0.16), inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

#upro .upro-hero-counters {
    gap: 12px !important;
    bottom: 16px !important;
}

#upro .upro-counter {
    border-radius: 20px !important;
    padding: 14px 10px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.1)) !important;
}

#upro .upro-counter__label {
    font-size: 10px !important;
    color: rgba(226, 232, 240, 0.92) !important;
}

#upro .upro-counter__value {
    font-size: 22px !important;
}

#upro .upro-top-actions-wrap {
    padding-top: 56px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    gap: 14px !important;
}

#upro .upro-quick-stats {
    gap: 12px !important;
    margin-bottom: 10px !important;
}

#upro .upro-quick-stat {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 22px !important;
}

#upro .upro-quick-stat__label {
    font-size: 12px !important;
    margin-bottom: 8px !important;
}

#upro .upro-quick-stat__value {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

#upro .prf {
    width: calc(33.333% - 10px) !important;
    margin: 0 !important;
    gap: 10px !important;
}

#upro .prf .bx,
#upro .prf .ffff {
    width: 58px !important;
    height: 58px !important;
}

#upro .prf .fa-comments {
    color: #4f46e5 !important;
}

#upro .prf .fa-bell-o {
    color: #475569 !important;
}

#upro .prf .ffff {
    background: linear-gradient(180deg, #fff5f5 0%, #fff 100%) !important;
    border-color: rgba(248, 113, 113, 0.24) !important;
}

#upro .upro-tabs {
    margin-top: 2px !important;
    margin-bottom: 16px !important;
    gap: 12px !important;
}

#upro .upro-tabs .tablink {
    min-height: 50px !important;
    font-size: 15px !important;
    letter-spacing: -0.01em;
}

#upro .city {
    padding: 0 18px 20px !important;
}

#upro .upro-info-card {
    gap: 14px !important;
}

#upro .upro-info-row {
    align-items: center !important;
    border-radius: 20px !important;
    padding: 15px 16px !important;
}

#upro .upro-info-row__icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 15px !important;
}

#upro .upro-info-row__label {
    font-size: 12px !important;
    margin-bottom: 2px !important;
}

#upro .upro-info-row__value {
    font-size: 15px !important;
}

#upro .rating-box {
    padding: 4px 0 2px !important;
}

#upro #London .border.fl,
#upro #Tokyo .border.fl {
    border-radius: 20px !important;
}

#upro #London a,
#upro #Tokyo .u-nickc,
#upro #Tokyo .ulikec,
#upro #Tokyo .usmsgs,
#upro #Tokyo .usitebadge,
#upro #Tokyo .upower,
#upro #Tokyo .uroomz {
    border-radius: 16px !important;
    min-height: 50px !important;
}

@media (max-width: 520px) {
    #upro .upro-dialog {
        width: calc(100vw - 12px);
        margin: 6px auto;
    }

    #upro .upro-hero-counters,
    #upro .upro-quick-stats,
    #upro .upro-tabs {
        grid-template-columns: 1fr;
    }

    #upro #London .border.fl {
        grid-template-columns: 1fr;
    }

    #upro .light.fl.pro.center.break.upro-profile-legacy .fitimg.u-pic.lazy,
    #upro .u-pic.upro-hero__avatar {
        width: 92px !important;
        height: 92px !important;
        top: 150px !important;
        left: 16px !important;
    }

    #upro .upro-hero-name-block {
        top: 132px !important;
        right: 16px !important;
        left: 120px !important;
    }

    #upro .upro-hero-status-block {
        top: 184px !important;
        right: 16px !important;
        left: 120px !important;
    }

    #upro .user-name,
    #upro .user-name.upro-hero__name {
        font-size: 22px !important;
    }

    #upro .upro-top-actions-wrap {
        padding-top: 66px !important;
    }
}

/* readability fix for light sections */
#upro .upro-top-actions-wrap,
#upro .upro-quick-stats,
#upro .upro-tabs,
#upro .city,
#upro #Paris .border.fl,
#upro #Tokyo .border.fl,
#upro #London .border.fl,
#upro .upro-info-row,
#upro #London a,
#upro #Tokyo .u-nickc,
#upro #Tokyo .ulikec,
#upro #Tokyo .usmsgs,
#upro #Tokyo .usitebadge,
#upro #Tokyo .upower,
#upro #Tokyo .uroomz {
    color: #1f2937 !important;
}

#upro .upro-quick-stat__label,
#upro .upro-quick-stat__value,
#upro .upro-tabs .tablink,
#upro .upro-info-row__label,
#upro .upro-info-row__value,
#upro #Paris .u-msg,
#upro #Paris .timetoday,
#upro #Paris .u-co,
#upro #Paris .u-room,
#upro #Paris .pointtop,
#upro #Paris .proyps,
#upro #Paris .proyps2,
#upro #London a,
#upro #Tokyo .u-nickc,
#upro #Tokyo .ulikec,
#upro #Tokyo .usmsgs,
#upro #Tokyo .usitebadge,
#upro #Tokyo .upower,
#upro #Tokyo .uroomz {
    color: #1f2937 !important;
}

#upro .upro-quick-stat__label,
#upro .upro-info-row__label {
    color: #6b7280 !important;
}

#upro .upro-tabs .tablink.w3-red {
    background: #e5e7eb !important;
    color: #111827 !important;
    border-color: #d1d5db !important;
}

#upro .upro-quick-stat,
#upro .upro-info-row,
#upro #Paris .border.fl,
#upro #Tokyo .border.fl,
#upro #London .border.fl {
    background: #ffffff !important;
}

#upro .upro-top-actions-wrap,
#upro .city {
    background: #f3f4f6 !important;
}

#upro .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 40px);
    margin: 20px auto;
}

#upro .modal-content.upro-profile-modal {
    border: 0 !important;
}

#upro .upro-profile-modal button:focus {
    outline: none;
}

#upro .upro-profile-legacy .prf {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    padding: 0 !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#upro .upro-profile-legacy .prf > div:first-child {
    margin: 0 auto !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12) !important;
}

#upro .upro-profile-legacy .prf > div:last-child,
#upro .upro-profile-legacy .prf .ulike {
    width: 100% !important;
    line-height: 1.3 !important;
    margin-top: 2px !important;
}

#upro .upro-profile-legacy .prf i {
    font-size: 22px !important;
    line-height: 1 !important;
}

@media (max-width: 480px) {
    #upro .modal-dialog {
        margin: 12px auto;
        min-height: calc(100vh - 24px);
    }
}

#upro .upro-tabs .tablink.w3-red {
    background: #e5e7eb !important;
    color: #0f172a !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

#upro .upro-profile-legacy .prf {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#upro .upro-profile-legacy .prf > div {
    border-radius: 999px !important;
}

/* Room composer and bottom navigation refresh.
   Keep this block isolated so it can be rolled back easily if needed. */
#room > .tablebox.footer {
    gap: 10px !important;
    padding: 10px 12px !important;
    margin-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 252, 0.96));
    box-shadow:
        0 -10px 24px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

#room > .tablebox.footer .room-footer-tools {
    gap: 10px;
}

#room > .tablebox.footer .room-footer-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #eef3ff);
    border: 1px solid rgba(129, 140, 248, 0.18);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    color: #64748b !important;
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease;
}

#room > .tablebox.footer .room-footer-icon-btn:hover,
#room > .tablebox.footer .room-footer-icon-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(79, 70, 229, 0.16);
    color: #4f46e5 !important;
}

#room > .tablebox.footer .room-footer-input,
#room > .tablebox.footer #tbox,
#room > .tablebox.footer .tbox.filw {
    min-height: 46px !important;
    height: 46px !important;
    max-height: 108px;
    padding: 11px 18px !important;
    border: 1px solid rgba(148, 163, 184, 0.24) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 24px rgba(15, 23, 42, 0.06);
    color: #0f172a !important;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

#room > .tablebox.footer .room-footer-input::placeholder,
#room > .tablebox.footer #tbox::placeholder,
#room > .tablebox.footer .tbox.filw::placeholder {
    color: #94a3b8;
}

#room > .tablebox.footer .room-footer-input:focus,
#room > .tablebox.footer #tbox:focus,
#room > .tablebox.footer .tbox.filw:focus {
    border-color: rgba(79, 70, 229, 0.45) !important;
    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.12),
        0 14px 30px rgba(79, 70, 229, 0.12);
    background: #ffffff !important;
}

#room > .tablebox.footer .room-footer-action-btn {
    width: 38px;
    height: 38px;
    border: 0 !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    background: var(--bg-primary, #40404f) !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

#room > .tablebox.footer .room-footer-action-btn .fa {
    font-size: 18px !important;
}

#room > .tablebox.footer .room-footer-action-btn:hover,
#room > .tablebox.footer .room-footer-action-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
    filter: saturate(1.05);
}

#room > .tablebox.footer .room-footer-send-btn {
    background: var(--bg-primary, #40404f) !important;
}

#room > .tablebox.footer .room-composer-menu__toggle {
    background: var(--bg-primary, #40404f) !important;
    border-color: transparent !important;
}

#room > .tablebox.footer #carrom-btn {
    background: var(--bg-primary, #40404f) !important;
    border-color: transparent !important;
    display: none !important;
}

#room > .tablebox.footer .room-composer-menu__panel {
    bottom: calc(100% + 14px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

#room > .tablebox.footer .room-composer-menu__item--carrom i {
    color: var(--bg-primary, #40404f);
}

#room > #d0 {
    display: flex !important;
    align-items: stretch;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
    padding: 6px 8px 8px !important;
    margin: 0 !important;
    background:
        linear-gradient(180deg, rgba(243, 246, 252, 0.92), rgba(236, 242, 249, 0.96));
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

#d0 > .ae {
    position: relative;
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    min-height: 48px;
    padding: 7px 5px !important;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px !important;
    background: linear-gradient(180deg, #ffffff, #eef3ff);
    box-shadow:
        0 10px 20px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: #334155 !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

#d0 > .ae:hover,
#d0 > .ae:focus {
    transform: translateY(-1px);
    border-color: rgba(99, 102, 241, 0.28);
    box-shadow: 0 16px 28px rgba(79, 70, 229, 0.14);
}

#d0 > .ae i {
    color: #475569;
    transition: color .18s ease;
}

#d0 > .ae .badge {
    min-width: 18px;
    min-height: 18px;
    padding: 1px 5px !important;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.1) !important;
    border: 0 !important;
    color: #4338ca !important;
    font-size: 10px !important;
    font-weight: 800;
}

#d0 > .ae.active,
#d0 > .ae.active:hover,
#d0 > .ae.active:focus {
    border-color: color-mix(in srgb, var(--bg-primary, #40404f) 72%, #ffffff 28%);
    background: var(--bg-primary, #40404f) !important;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
    color: #ffffff !important;
}

#d0 > .ae.active i,
#d0 > .ae.active .badge,
#d0 > .ae.active::after {
    color: #ffffff !important;
}

#d0 > .ae.active .badge {
    background: rgba(255, 255, 255, 0.18) !important;
}

@media (max-width: 991px) {
    #room > #d0 {
        gap: 4px;
    }
}

@media (max-width: 640px) {
    #room > .tablebox.footer {
        gap: 8px !important;
        padding: 8px !important;
    }

    #room > .tablebox.footer .room-footer-icon-btn {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    #room > .tablebox.footer .room-footer-action-btn {
        width: 36px;
        height: 36px;
        border-radius: 12px !important;
    }

    #room > .tablebox.footer .room-footer-input,
    #room > .tablebox.footer #tbox,
    #room > .tablebox.footer .tbox.filw {
        min-height: 42px !important;
        height: 42px !important;
        border-radius: 16px !important;
        padding: 10px 14px !important;
    }

    #room > #d0 {
        gap: 4px;
        padding: 6px !important;
    }

    #d0 > .ae {
        min-height: 44px;
        padding: 6px 4px !important;
        border-radius: 12px !important;
    }
}

/* Private chat window refresh */
body.entry-split .pm-window-shell,
body.entry-split .pm-window-shell .pm-window-body,
body.entry-split .pm-window-shell .pm-window-stage,
body.entry-split .pm-window-shell .pm-window-messages,
body.entry-split .pm-window-shell .pm-window-composer {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.entry-split .pm-window-shell .pm-window-stage,
body.entry-split .pm-window-shell .pm-window-body {
    flex-direction: column;
}

body.entry-split .pm-window-shell .pm-window-messages {
    display: block !important;
}

body.entry-split .pm-window-shell .tablebox.footer.pm-window-composer,
body.entry-split .pm-window-shell .pm-window-composer {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.entry-split .pm-window-shell .pm-window-composer__tools,
body.entry-split .pm-window-shell .pm-window-composer__field {
    display: flex !important;
    visibility: visible !important;
}

body.entry-split .pm-window-shell .pm-window-composer__field {
    flex: 1 1 auto !important;
}

body.entry-split .pm-window-shell .pm-window-composer__input,
body.entry-split .pm-window-shell .pm-window-composer .tbox,
body.entry-split .pm-window-shell .pm-window-composer__icon,
body.entry-split .pm-window-shell .pm-window-composer__icon-btn,
body.entry-split .pm-window-shell .pm-window-composer__send {
    display: inline-flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.entry-split .pm-window-shell .pm-window-composer__input,
body.entry-split .pm-window-shell .pm-window-composer .tbox {
    display: block !important;
}

.pm-window-shell {
    direction: ltr;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(203, 213, 225, 0.92) !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #fbfcff 0%, #f4f7fb 100%) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22) !important;
    backdrop-filter: blur(10px);
}

.pm-window-head {
    width: 100%;
    flex: 0 0 auto;
    min-height: 74px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    direction: ltr;
}

.pm-window-head__identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.pm-window-head__avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 16px !important;
    background-size: cover !important;
    background-position: center !important;
    border: 2px solid rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.pm-window-head > .uzr,
.pm-window-head > .uhtml,
.pm-window-head > .head {
    display: none !important;
}

.pm-window-head__meta {
    min-width: 0;
    flex: 1 1 auto;
}

.pm-window-head .uh {
    width: 100% !important;
}

.pm-window-head .uh .u-pic,
.pm-window-head .uh .u-msg,
.pm-window-head .uh .co,
.pm-window-head .uh .ustat,
.pm-window-head .uh .fitimg.u-pic {
    display: none !important;
}

.pm-window-head .uh .uhtml,
.pm-window-head .uh .uzr,
.pm-window-head .uh .d-flex {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.pm-window-head .uh .u-topic {
    display: block !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    color: #0f172a !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: right !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-window-head .uh .uhash {
    display: none !important;
}

.pm-window-head__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.pm-window-head__action {
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0 !important;
    border-radius: 14px !important;
    border: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.pm-window-head__action.fa-phone,
.pm-window-head__action.fa-video-camera {
    background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
    color: #fff !important;
}

.pm-window-head__action--ghost {
    background: #eef2ff !important;
    color: #475569 !important;
}

.pm-window-head__action--danger {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

.pm-window-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: calc(100% - 74px) !important;
    max-height: calc(100% - 74px) !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.pm-window-stage {
    position: relative;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 10px 10px 0;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.pm-window-stage__hero {
    display: none !important;
}

.pm-window-stage__hero-avatar {
    display: none !important;
}

.pm-window-stage__hero-name {
    display: none !important;
}

.pm-window-messages {
    position: relative;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100%;
    max-height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-top: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 250, 252, 0.92));
    border-radius: 0;
    padding: 6px 10px 12px;
    direction: ltr;
}

.pm-window-messages::before {
    display: none;
}

.pm-window-composer {
    position: relative;
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 12px 14px 14px !important;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 246, 251, 0.98));
    min-height: 74px;
    z-index: 2;
    margin-top: auto;
    width: 100% !important;
    overflow: visible !important;
    direction: rtl;
}

.pm-window-recorder {
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.pm-window-recording .pm-window-recorder {
    display: flex !important;
}

.pm-window-recording .pm-window-composer__tools,
.pm-window-recording .pm-window-composer__field,
.pm-window-recording .pm-window-composer__typing {
    display: none !important;
}

.pm-window-recorder .wall-voice-recorder__cancel,
.pm-window-recorder .wall-voice-recorder__send {
    width: 42px;
    height: 42px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    font-size: 17px !important;
}

.pm-window-recorder .wall-voice-recorder__cancel {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.15);
}

.pm-window-recorder .wall-voice-recorder__send {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.22);
}

.pm-window-recorder .wall-voice-recorder__status {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 100%);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

.pm-window-recorder .wall-voice-recorder__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
    animation: wallVoicePulse 1.2s infinite;
}

.pm-window-recorder .wall-voice-recorder__time {
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .03em;
}

.pm-window-recorder__label {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.pm-window-composer__typing {
    position: absolute;
    top: -14px;
    right: 20px;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.pm-window-composer__tools {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.pm-window-composer__tools--left {
    order: 3;
}

.pm-window-composer__tools--right {
    order: 1;
}

.pm-window-composer__field {
    order: 2;
    flex: 1 1 180px;
    min-width: 180px;
}

.pm-window-composer__icon {
    width: 38px;
    height: 38px;
    padding: 7px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #eef3ff);
    border: 1px solid rgba(203, 213, 225, 0.95);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.pm-window-composer__icon-btn,
.pm-window-composer__send {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0 !important;
    border-radius: 14px !important;
    border: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.pm-window-composer__icon-btn {
    background: #eaf1ff !important;
    color: #2563eb !important;
}

.pm-window-composer__icon-btn.microphone {
    border-radius: 999px !important;
    background: linear-gradient(135deg, #22c55e 0%, #14b8a6 100%) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.22) !important;
}

.pm-window-composer__icon-btn.microphone:hover,
.pm-window-composer__icon-btn.microphone:focus {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.pm-window-composer__input,
.pm-window-composer .tbox {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    max-height: 104px;
    padding: 10px 16px !important;
    border: 1px solid rgba(203, 213, 225, 0.95) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 22px rgba(15, 23, 42, 0.06);
    color: #0f172a !important;
}

.pm-window-composer__input::placeholder,
.pm-window-composer .tbox::placeholder {
    color: #94a3b8;
}

.pm-window-composer__input:focus,
.pm-window-composer .tbox:focus {
    border-color: rgba(37, 99, 235, 0.42) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 14px 30px rgba(37, 99, 235, 0.12);
}

.pm-window-composer__send {
    background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
    color: #fff !important;
}

@media (max-width: 640px) {
    .pm-window-shell {
        width: calc(100vw - 18px) !important;
        max-width: none !important;
        border-radius: 22px !important;
    }

    .pm-window-head {
        min-height: 66px;
        padding: 10px 12px;
    }

    .pm-window-body {
        height: calc(100% - 66px) !important;
        max-height: calc(100% - 66px) !important;
    }

    .pm-window-head__avatar,
    .pm-window-head__action {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }

    .pm-window-head .uh .u-topic {
        font-size: 17px !important;
    }

    .pm-window-stage__hero {
        padding: 8px 10px 10px;
        gap: 6px;
    }

    .pm-window-stage__hero-avatar {
        width: 64px !important;
        height: 64px !important;
        border-radius: 20px !important;
    }

    .pm-window-stage__hero-name {
        font-size: 17px !important;
    }

    .pm-window-composer {
        gap: 8px;
        padding: 10px !important;
        min-height: 64px;
    }

    .pm-window-recorder {
        gap: 8px;
    }

    .pm-window-recorder .wall-voice-recorder__cancel,
    .pm-window-recorder .wall-voice-recorder__send {
        width: 36px;
        height: 36px;
    }

    .pm-window-recorder .wall-voice-recorder__status {
        padding: 8px 10px;
        gap: 8px;
    }

    .pm-window-recorder__label {
        font-size: 12px;
    }

    .pm-window-composer__icon,
    .pm-window-composer__icon-btn,
    .pm-window-composer__send {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 12px !important;
    }

    .pm-window-composer__field {
        flex: 1 1 120px;
        min-width: 120px;
    }
}

/* Private chat message header alignment */
[id^="d2"] > .uzr.d-flex.pmsgcxx.mm,
[id^="d2"] > .uzr.d-flex.pmsgcx2.mm {
    width: 100% !important;
    display: flex !important;
    flex-direction: row-reverse !important;
}

[id^="d2"] .pmsgcxx .d-flex:first-of-type,
[id^="d2"] .pmsgcx2 .d-flex:first-of-type {
    direction: rtl !important;
    justify-content: flex-start !important;
    text-align: right !important;
    gap: 6px !important;
    flex-wrap: wrap;
}

[id^="d2"] .pmsgcxx .u-topic,
[id^="d2"] .pmsgcx2 .u-topic {
    direction: rtl !important;
    text-align: right !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 4px !important;
    order: 1;
}

[id^="d2"] .pmsgcxx .co,
[id^="d2"] .pmsgcx2 .co,
[id^="d2"] .pmsgcxx .uhash,
[id^="d2"] .pmsgcx2 .uhash,
[id^="d2"] .pmsgcxx .tago,
[id^="d2"] .pmsgcx2 .tago {
    direction: rtl !important;
    text-align: right !important;
}

[id^="d2"] .pmsgcxx .co,
[id^="d2"] .pmsgcx2 .co {
    order: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Private call dialogs */
#pmCallDialog .pm-call-dialog-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #fff;
    box-shadow: 0 28px 68px rgba(15, 23, 42, 0.34);
}

#pmCallDialog[data-media-kind="video"] .pm-call-dialog-shell {
    width: 400px !important;
    max-width: min(95vw, 400px) !important;
}

#pmCallDialog[data-media-kind="video"] .pm-call-dialog-card {
    background: #0f172a;
}

#pmCallDialog .pm-call-dialog-hero {
    position: relative;
    min-height: 220px;
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

#pmCallDialog .pm-call-dialog-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

#pmCallDialog .pm-call-dialog-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.68)),
        linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(249, 115, 22, 0.24));
}

#pmCallDialog .pm-call-dialog-close {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

#pmCallDialog .pm-call-dialog-media-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(8px);
}

#pmCallDialog .pm-call-dialog-avatar-wrap,
#pmCallDialog .pm-call-dialog-hero-content {
    position: relative;
    z-index: 1;
}

#pmCallDialog .pm-call-dialog-avatar-wrap {
    width: 110px;
    height: 110px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
    margin-bottom: 14px;
}

#pmCallDialog .pm-call-dialog-avatar {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(255, 255, 255, 0.95);
}

#pmCallDialog .pm-call-dialog-status {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

#pmCallDialog .pm-call-dialog-title {
    margin-bottom: 4px;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
}

#pmCallDialog .pm-call-dialog-peer {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
}

#pmCallDialog .pm-call-dialog-body {
    padding: 18px 18px 20px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

#pmCallDialog .pm-call-stage {
    direction: ltr;
}

#pmCallDialog .pm-call-remote-fallback,
#pmCallDialog .pm-call-local-fallback {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#pmCallDialog .pm-call-remote-fallback {
    inset: 0;
    background-color: #0f172a;
}

#pmCallDialog .pm-call-remote-fallback::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.24), rgba(15, 23, 42, 0.52));
}

#pmCallDialog .pm-call-local-fallback {
    right: 14px;
    bottom: 18px;
    z-index: 2;
    width: 96px;
    height: 132px;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    background-color: #0f172a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

#pmCallDialog .pm-call-local-fallback::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.4));
}

#pmCallDialog .pm-call-stage-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.2)),
        linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.35));
    pointer-events: none;
}

#pmCallDialog .pm-call-dialog-message {
    margin-bottom: 16px;
    text-align: center;
    color: #475569;
    line-height: 1.9;
    font-size: 14px;
    font-weight: 700;
}

#pmCallDialog .pm-call-dialog-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

#pmCallDialog .pm-call-dialog-btn {
    min-width: 132px;
    height: 46px;
    border: 0 !important;
    border-radius: 16px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 15px !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

#pmCallDialog .pm-call-dialog-btn i {
    font-size: 16px;
}

#pmCallDialog .pm-call-dialog-btn__label {
    margin-right: 8px;
}

#pmCallDialog .pm-call-dialog-btn--accept {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: #fff !important;
}

#pmCallDialog .pm-call-dialog-btn--danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #fff !important;
}

#pmCallDialog .pm-call-dialog-btn--primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: #fff !important;
}

#pmCallDialog .pm-call-dialog-btn--ghost {
    background: #e2e8f0 !important;
    color: #334155 !important;
}

#pmCallDialog .pm-call-dialog-btn--toggled {
    background: linear-gradient(135deg, #334155, #0f172a) !important;
    color: #fff !important;
}

#pmCallDialog[data-call-state="incoming"] .pm-call-dialog-cover::after {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.72)),
        linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(37, 99, 235, 0.3));
}

#pmCallDialog[data-call-state="active"] .pm-call-dialog-cover::after {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.72)),
        linear-gradient(135deg, rgba(249, 115, 22, 0.26), rgba(37, 99, 235, 0.2));
}

#pmCallDialog[data-call-state="notice"] .pm-call-dialog-cover::after {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.74)),
        linear-gradient(135deg, rgba(71, 85, 105, 0.26), rgba(30, 41, 59, 0.3));
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-hero {
    position: absolute;
    inset: 0 0 auto 0;
    min-height: 0;
    padding: 22px 24px 0;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    z-index: 4;
    pointer-events: none;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-cover,
#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-avatar-wrap,
#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-title,
#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-message,
#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-media-badge {
    display: none !important;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-close,
#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-actions {
    pointer-events: auto;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-close {
    top: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-hero-content {
    max-width: 62%;
    color: #fff;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-status {
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-peer {
    font-size: 31px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-body {
    position: relative;
    padding: 0;
    min-height: 640px;
    background: #0f172a;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-stage {
    margin: 0 !important;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-stage-inner {
    height: 640px !important;
    max-height: min(78vh, 640px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-stage-badge,
#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-stage-notch,
#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-stage-home {
    display: none !important;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-local-video {
    top: 22px;
    right: 22px;
    bottom: auto !important;
    width: 118px !important;
    height: 158px !important;
    border-radius: 18px !important;
    border: 2px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.34) !important;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-local-fallback {
    top: 22px;
    right: 22px;
    bottom: auto;
    width: 118px;
    height: 158px;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.34);
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-actions {
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    z-index: 4;
    justify-content: center;
    gap: 18px;
    padding: 0 24px;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-btn {
    min-width: 0;
    width: 62px;
    height: 62px;
    padding: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.22);
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-btn i {
    margin: 0;
    font-size: 20px;
}

#pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-btn__label {
    display: none;
}

@media (max-width: 640px) {
    #pmCallDialog .pm-call-dialog-card {
        border-radius: 22px;
    }

    #pmCallDialog[data-media-kind="video"] .pm-call-dialog-shell {
        width: 94vw !important;
        max-width: 94vw !important;
    }

    #pmCallDialog .pm-call-dialog-hero {
        min-height: 190px;
        padding: 18px 16px 16px;
    }

    #pmCallDialog .pm-call-dialog-avatar-wrap {
        width: 92px;
        height: 92px;
    }

    #pmCallDialog .pm-call-dialog-title {
        font-size: 23px;
    }

    #pmCallDialog .pm-call-dialog-peer {
        font-size: 16px;
    }

    #pmCallDialog .pm-call-dialog-btn {
        min-width: 118px;
        height: 42px;
        border-radius: 14px !important;
    }

    #pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-body {
        min-height: 72vh;
    }

    #pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-stage-inner {
        height: 72vh !important;
        max-height: 72vh !important;
    }

    #pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-hero {
        padding: 18px 18px 0;
    }

    #pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-peer {
        font-size: 24px;
    }

    #pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-local-video {
        top: 18px;
        right: 18px;
        width: 96px !important;
        height: 132px !important;
    }

    #pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-local-fallback {
        top: 18px;
        right: 18px;
        width: 96px;
        height: 132px;
    }

    #pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-actions {
        bottom: 18px;
        gap: 14px;
        padding: 0 18px;
    }

    #pmCallDialog[data-media-kind="video"][data-call-state="active"] .pm-call-dialog-btn {
        width: 56px;
        height: 56px;
    }
}

/* Wall composer polish */
#wall > .tablebox.wall-composer {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    margin-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 247, 252, 0.97));
    box-shadow:
        0 -10px 24px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

#wall > .tablebox.wall-composer > .wall-composer-btn,
#wall > .tablebox.wall-composer > .wall-composer-emoji,
#wall > .tablebox.wall-composer > .wall-composer-menu,
#wall > .tablebox.wall-composer > .wall-composer-send {
    flex: 0 0 auto;
}

#wall > .tablebox.wall-composer > .wall-composer-btn-icon,
#wall > .tablebox.wall-composer > .wall-composer-menu > .wall-composer-menu__toggle,
#wall > .tablebox.wall-composer > .wall-composer-emoji {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(180deg, #ffffff, #eef3ff) !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}

#wall > .tablebox.wall-composer > .wall-composer-menu > .wall-composer-menu__toggle {
    background: linear-gradient(180deg, #ffffff, #e8efff) !important;
    border-color: rgba(99, 102, 241, 0.22) !important;
    color: #4f46e5 !important;
    box-shadow:
        0 14px 28px rgba(79, 70, 229, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

#wall > .tablebox.wall-composer > .wall-composer-menu > .wall-composer-menu__toggle:hover,
#wall > .tablebox.wall-composer > .wall-composer-menu > .wall-composer-menu__toggle:focus {
    transform: translateY(-1px);
    border-color: rgba(79, 70, 229, 0.34) !important;
    box-shadow:
        0 18px 32px rgba(79, 70, 229, 0.18),
        0 0 0 4px rgba(99, 102, 241, 0.08);
    color: #4338ca !important;
}

#wall > .tablebox.wall-composer > .wall-composer-menu.is-open > .wall-composer-menu__toggle {
    background: linear-gradient(180deg, #eef2ff, #dbeafe) !important;
    border-color: rgba(59, 130, 246, 0.34) !important;
    color: #1d4ed8 !important;
}

#wall > .tablebox.wall-composer > .wall-composer-menu > .wall-composer-menu__toggle .fa,
#wall > .tablebox.wall-composer > .wall-composer-btn-icon .fa {
    font-size: 18px !important;
    line-height: 1 !important;
}

#wall > .tablebox.wall-composer > .wall-composer-emoji {
    color: #f59e0b !important;
}

#wall > .tablebox.wall-composer > .wall-composer-emoji:hover,
#wall > .tablebox.wall-composer > .wall-composer-emoji:focus,
#wall > .tablebox.wall-composer > .wall-composer-btn-icon:hover,
#wall > .tablebox.wall-composer > .wall-composer-btn-icon:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

#wall > .tablebox.wall-composer > .wall-composer-input.tboxbc {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 46px !important;
    height: 46px !important;
    max-height: 108px;
    padding: 11px 18px !important;
    border: 1px solid rgba(148, 163, 184, 0.24) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 24px rgba(15, 23, 42, 0.06);
    color: #0f172a !important;
    font-size: 14px !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

#wall > .tablebox.wall-composer > .wall-composer-input.tboxbc::placeholder {
    color: #94a3b8 !important;
}

#wall > .tablebox.wall-composer > .wall-composer-input.tboxbc:focus {
    border-color: rgba(79, 70, 229, 0.45) !important;
    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.12),
        0 14px 30px rgba(79, 70, 229, 0.12);
    background: #ffffff !important;
}

#wall > .tablebox.wall-composer > .wall-composer-send {
    min-width: 70px !important;
    height: 40px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--bg-primary, #40404f) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

#wall > .tablebox.wall-composer > .wall-composer-send:hover,
#wall > .tablebox.wall-composer > .wall-composer-send:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
    filter: saturate(1.05);
}

#wall > .tablebox.wall-composer > .wall-composer-menu > .wall-composer-menu__panel {
    bottom: calc(100% + 12px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

@media (max-width: 640px) {
    #wall > .tablebox.wall-composer {
        gap: 6px !important;
        padding: 6px 8px !important;
    }

    #wall > .tablebox.wall-composer > .wall-composer-btn-icon,
    #wall > .tablebox.wall-composer > .wall-composer-menu > .wall-composer-menu__toggle,
    #wall > .tablebox.wall-composer > .wall-composer-emoji {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        border-radius: 12px !important;
    }

    #wall > .tablebox.wall-composer > .wall-composer-input.tboxbc {
        min-height: 40px !important;
        height: 40px !important;
        padding: 9px 14px !important;
    }

    #wall > .tablebox.wall-composer > .wall-composer-send {
        min-width: 64px !important;
        height: 36px !important;
        padding: 0 14px !important;
        border-radius: 12px !important;
    }
}

.gift-target-picker {
    min-width: 320px;
    max-width: 460px;
    max-height: min(70vh, 520px);
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    color: #0f172a;
    overflow: hidden;
}

.gift-target-picker__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.gift-target-picker__title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
}

.gift-target-picker__qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 24px;
    margin-inline-start: 6px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2d78 0%, #ff0059 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.gift-target-picker__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex: 0 0 auto;
}

.gift-target-picker__price,
.gift-target-picker__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.gift-target-picker__price {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(37, 99, 235, .18);
}

.gift-target-picker__count {
    background: rgba(15, 23, 42, .06);
    color: #475569;
}

.gift-target-picker__search {
    position: relative;
    margin-bottom: 10px;
}

.gift-target-picker__search-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 14px;
    pointer-events: none;
}

.gift-target-picker__input {
    width: 100%;
    height: 46px;
    padding: 0 42px 0 14px;
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.gift-target-picker__input:focus {
    border-color: rgba(37, 99, 235, .48);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .12);
    background: #fff;
}

.gift-target-picker__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: min(52vh, 360px);
    overflow-y: auto;
    padding-inline-end: 2px;
}

.gift-target-picker__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(244,247,255,.98) 100%);
    color: #0f172a;
    text-align: right;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.gift-target-picker__item:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, .26);
    box-shadow: 0 16px 28px rgba(37, 99, 235, .10);
}

.gift-target-picker__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    border: 2px solid rgba(255,255,255,.92);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .12);
    background: #fff;
}

.gift-target-picker__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gift-target-picker__coin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f8d66d 0%, #f1b60f 52%, #d89500 100%);
    color: #4a2d00;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.36);
}

.gift-target-picker__empty {
    margin-top: 10px;
    padding: 16px;
    border: 1px dashed rgba(148, 163, 184, .32);
    border-radius: 16px;
    background: rgba(255,255,255,.66);
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 640px) {
    .gift-target-picker {
        min-width: 0;
        max-width: calc(100vw - 24px);
        max-height: min(72vh, 520px);
        padding: 10px;
        border-radius: 16px;
    }

    .gift-target-picker__header {
        flex-direction: column;
        align-items: stretch;
    }

    .gift-target-picker__meta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .gift-target-picker__title {
        font-size: 16px;
    }

    .gift-target-picker__list {
        max-height: min(50vh, 330px);
    }

    .gift-target-picker__item {
        padding: 9px 10px;
        border-radius: 14px;
    }

    .gift-target-picker__avatar {
        width: 38px;
        height: 38px;
    }

    .gift-target-picker__name {
        font-size: 14px;
    }

    .gift-target-picker__coin {
        min-height: 28px;
        padding: 0 8px;
        font-size: 11px;
    }
}

.gift-confirm-dialog {
    min-width: 320px;
    max-width: 420px;
    padding: 14px 14px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
    color: #0f172a;
    overflow: visible;
}

.gift-confirm-dialog__header {
    margin-bottom: 12px;
}

.gift-confirm-dialog__eyebrow {
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
}

.gift-confirm-dialog__title {
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
}

.gift-confirm-dialog__target,
.gift-confirm-dialog__gift {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(244,247,255,.98) 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .06);
}

.gift-confirm-dialog__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.95);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
    background: #fff;
}

.gift-confirm-dialog__gift-media {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 18px;
    background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.95), rgba(241,245,249,.9));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 22px rgba(15, 23, 42, .08);
}

.gift-confirm-dialog__gift-img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.gift-confirm-dialog__target-copy,
.gift-confirm-dialog__gift-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.gift-confirm-dialog__label {
    margin-bottom: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.gift-confirm-dialog__name,
.gift-confirm-dialog__gift-name {
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.gift-confirm-dialog__gift-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.gift-confirm-dialog__qty,
.gift-confirm-dialog__coin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.gift-confirm-dialog__qty {
    background: rgba(37, 99, 235, .10);
    color: #1d4ed8;
}

.gift-confirm-dialog__coin {
    background: linear-gradient(135deg, #f8d66d 0%, #f1b60f 52%, #d89500 100%);
    color: #4a2d00;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.36);
}

.gift-confirm-dialog__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
    padding-top: 4px;
}

.gift-confirm-dialog__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 0;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.gift-confirm-dialog__btn:hover {
    transform: translateY(-1px);
}

.gift-confirm-dialog__btn--secondary {
    background: rgba(15, 23, 42, .08);
    color: #0f172a;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .18);
}

.gift-confirm-dialog__btn--primary {
    background: linear-gradient(135deg, #ff2d78 0%, #ff0059 100%);
    color: #fff;
    box-shadow: 0 16px 28px rgba(255, 0, 89, .22);
}

@media (max-width: 640px) {
    .gift-confirm-dialog {
        min-width: 0;
        max-width: calc(100vw - 24px);
        padding: 12px 12px 16px;
        border-radius: 18px;
    }

    .gift-confirm-dialog__title {
        font-size: 17px;
    }

    .gift-confirm-dialog__target,
    .gift-confirm-dialog__gift {
        gap: 10px;
        padding: 10px;
        border-radius: 16px;
    }

    .gift-confirm-dialog__avatar {
        width: 46px;
        height: 46px;
    }

    .gift-confirm-dialog__gift-media {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .gift-confirm-dialog__name,
    .gift-confirm-dialog__gift-name {
        font-size: 16px;
    }

    .gift-confirm-dialog__actions {
        gap: 8px;
        margin-top: 8px;
    }

    .gift-confirm-dialog__btn {
        min-height: 42px;
        padding: 0 10px;
        border-radius: 13px;
        font-size: 13px;
    }
}
