
.head .head-hamburg {
    float: right;
    font-size: 18px;
    color: #fff;
    padding: 0;
    cursor: pointer;
    margin-left: 14px;
    border: 0;
}

.head-hamburg-content {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.22);
    z-index: 30;
    padding: 88px 12px 20px;
    display: none;
    overflow-y: auto;
    box-sizing: border-box;
}

.head-hamburg-content .inner {
    max-width: 380px;
    margin: 0 0 0 auto;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.14);
}

.head-hamburg-content .panel-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.head-hamburg-content .panel-close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 999px;
    background: #ffffff;
    color: #171b24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
}

.head-hamburg-content .panel-close:hover,
.head-hamburg-content .panel-close:active {
    background: #f6f8fb;
    color: #1f4fd6;
}

.head-hamburg-content .search-area {
}

.head-hamburg-content .search-area .input-area {
    position: relative;
    margin-bottom: 14px;
}

.head-hamburg-content .search-area .input-area input {
    width: 100%;
    min-height: 46px;
    line-height: 20px;
    padding: 0 46px 0 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 999px;
    color: #171b24;
    box-sizing: border-box;
    background: #f8fafc;
}

.head-hamburg-content .search-area .input-area input:focus,
.head-hamburg-content .search-area .input-area input:focus-visible {
    border-color: rgba(31, 79, 214, 0.18);
    outline: none;
    background: #ffffff;
}

.head-hamburg-content .search-area .input-area .fa-search {
    font-size: 15px;
    position: absolute;
    right: 16px;
    top: 50%;
    margin-top: -7px;
    color: #727b8c;
}

.head-hamburg-content .search-area .result-area {
    padding: 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    background: #ffffff;
    display: none;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.head-hamburg-content .search-area .result-area .list {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.head-hamburg-content .search-area .result-area .list .item {
    display: block;
    width: auto;
    text-align: center;
    vertical-align: top;
    margin: 0;
}

.head-hamburg-content .search-area .result-area .list .item img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin-bottom: 8px;
    object-fit: cover;
}

.head-hamburg-content .search-area .result-area .list .item .title {
    font-weight: bold;
    line-height: 1.4;
    word-break: break-all;
    font-size: 13px;
}

.head-hamburg-content .menus-area {
    line-height: normal;
    font-size: 15px;
    margin-bottom: 0;
    display: grid;
    gap: 12px;
}

.head-hamburg-content .menus-area .menu-group {
    padding: 8px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    background: #ffffff;
}

.head-hamburg-content .menus-area .menu-group a {
    text-decoration: none;
    color: inherit;
}

.head-hamburg-content .menus-area .menu-group .item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 10px;
    border-radius: 14px;
    color: #171b24;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease;
}

.head-hamburg-content .menus-area .menu-group .item + .item {
    margin-top: 4px;
}

.head-hamburg-content .menus-area .menu-group .item i {
    width: 18px;
    text-align: center;
    color: #727b8c;
    font-size: 15px;
}

.head-hamburg-content .menus-area .menu-group .item:hover,
.head-hamburg-content .menus-area .menu-group .item:active {
    background: #f6f8fb;
    color: #1f4fd6;
}

.head-hamburg-content .menus-area .menu-group .item:hover i,
.head-hamburg-content .menus-area .menu-group .item:active i {
    color: #1f4fd6;
}

.wall .wall_list {
    width: calc(100% - 90px) !important;
}

.home .center {
    width: calc(100% - 240px) !important;
}

.panel1 .r_item {
    width: calc(50% - 20px) !important;
}

.panel1 .r_item img {
    width: 100px;
    height: 100px;
    margin: 16px;
}

.panel1 .r_item .r_bar {
    width: auto;
    float: none;
}

.panel1 .r_item .r_m_0 {
    display: none;
}

.d_item .d_main {
    width: auto;
}

.panel_1 .up_left,
.panel_1 .u {
    width: calc(50% - 15px) !important;
}

.panel_2 .r_opts .r_opt {
    margin-bottom: 15px;
}

.panel_flower {
    width: 100%;
}

.panel_flower .words {
    width: 100%;
    margin:25px;
}

.panel_flower .words label {
    width: auto !important;
    padding: 0 10px;
    margin-right:10px;
}

.panel_flower .words input {
    float: none !important;
    width: auto !important;
}

.panel_flower .words #Uname {
    display: inline-block;
    width: 100px !important;
    margin-right:7px;
}

.panel_flower .words #words {
    width: 50% !important;
}

.panel_flower#panel1 .list {
    width: 100% !important;
}

.panel_flower#panel1 .tab_item {
    min-width: auto !important;
}

#chat_panel {
    position: relative;
    height: calc(100vh - 95px) !important;
    overflow: auto;
}

#chat_panel #chat_close {
    right: 13px;
    top: 13px;
    margin-left: 0;
    margin-top: 0;
}

#chat_panel #chat_empty {
    width: calc(100% - 290px);
}

#chat_panel #chat_east {
    width: calc(100% - 290px);
}

.index-page .encounter_section {
    width: 100% !important;
    background-position-x: center !important;
}

.index-page .join_section {
    width: 100% !important;
}

.index-page .join_section #maq {
    width: 100% !important;
    height: 100% !important;
}

.encounter-page #panel1 {
    --encounter-panel-gap: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: var(--encounter-panel-gap);
    padding: 28px 56px !important;
}

.encounter-page .rec_photo {
    flex: 1 1 0;
    width: 100%;
    max-width: none;
    aspect-ratio: 1 / 1;
}

.encounter-page .rec_photo img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.encounter-page .rec_right {
    flex: 1 1 0;
    width: 100%;
    max-width: none;
    min-width: 0;
}

.encounter-page .rec_right .rec_about {
    height: auto;
}

#setting #settop {
    margin-top: 35px;
}

#setting #settop ul li {
    border: none;
}

.d-flower-page #panel1 {
    padding: 20px;
}

.d-flower-page #panel1 .photo {
    width: 50%;
    min-height: auto;
}

.d-flower-page #panel1 .photo img {
    width: 100%;
}

.d-flower-page #panel1 .prop {
    width: calc(50% - 40px);
}

#setli_4Date .data-table {
    width: 100%;
}

.chat_msg:hover .chat_msg_trans {
    display: none;
}

@media (max-width: 1000px) {
    body {
        min-width: 100% !important;
    }

    .head {
        min-width: auto !important;
    }

    .head .wrp {
        width: 100%;
    }

    .home {
        width: 100% !important;
    }

    .space {
        width: 100% !important;
    }

    .s_center_ifm {
        width: 100% !important;
    }

    .space .west {
        width: 250px !important;
    }

    #chat_panel {
        width: calc(100% - 70px) !important;
    }

    .index-page .encounter_section {
        background-size: calc(100% - 40px) !important;
        height: 300px !important;
    }

    .index-page .wrp {
        width: 100% !important;
    }

    .forgot-page .wrp {
        width: 100%;
    }

    #setli_1Date {
        width: 100% !important;
    }


    #setli_1Date .panel {
        width: calc((100% - 20px) / 2);
    }

    #setli_4Date {
        width: 100% !important;
    }
}

@media (max-width: 950px) {
    #head_recharge {
        display: none;
    }

    #head_upgrade {
        display: none;
    }

    .gwx_dialog_win {
        width: calc(100% - 40px) !important;
    }

}

@media (max-width: 850px) {
    #head_search {
        display: none;
    }

    .index-page .join_section {
        height: auto !important;
    }


    .index-page .join_section td img {
        width: 188px !important;
    }

    #setting #settop ul {
        width: 100%;
    }

    #setting #settop ul li {
        width: 24%;
    }

    #setting #settop .focusli {
        background-position-x: center;
    }
}

@media (min-width: 750px) {
    .head-hamburg {
        display: none;
    }
}

@media (max-width: 750px) {
    .head_west #head_discover,
    .head_west #head_space_2,
    .head_west #head_chat,
    .head_west #head_chat_count {
        display: none !important;
    }

    .home .west {
        display: block;
        float: none;
        width: 100% !important;
        margin: 0 0 12px;
        margin-right: 0;
    }

    .home .center {
        margin-left: 0;
        width: 100% !important;
    }

    .home .west .user_wrapper,
    .home .west .west_upgrade,
    .home .west .west_sticker,
    .home .west .west_upload {
        display: none;
    }

    .home .west .nav {
        margin-top: 0;
        margin-bottom: 12px;
        padding: 8px;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 8px;
        overflow: visible;
    }

    .home .west .nav_item {
        min-width: 0;
        margin-top: 0;
        padding: 0 4px;
    }

    .home .west .nav_item a {
        width: auto;
    }

    .head_user {
        display: none;
    }

    #chat_panel #chat_west {
        width: 200px;
    }

    #chat_panel #chat_empty {
        width: calc(100% - 220px);
    }

    #chat_panel #chat_east {
        width: calc(100% - 220px);
    }

    .encounter-page .rec_right .rec_about {
        height: auto;
    }

    #setli_1Date .panel {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .panel_1 .up_left {
        margin-bottom: 15px;
    }

    .panel_1 .up_left,
    .panel_1 .u {
        width: calc(100% - 15px) !important;
    }

    .space .west,
    .space .east {
        width: 100% !important;
    }

}

@media (max-width: 900px) {
    .encounter-page #panel1 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 600px) {
    .panel1 .r_item {
        width: calc(100% - 20px) !important;
    }

    .index-page .encounter_section {
        height: 200px !important;
    }

    .encounter-page .rec_photo {
        flex-basis: 100%;
        width: 100%;
        max-width: none;
        aspect-ratio: 1 / 1;
        margin-bottom: 20px;
    }

    .encounter-page .rec_right {
        flex-basis: 100%;
        width: 100%;
        max-width: none;
        min-height: auto;
    }

    .encounter-page .rec_name {
        font-size: 26px;
    }

    .encounter-page .rec_about {
        min-height: auto;
    }

    .d-sticker-page .list .item {
        width: calc(50% - 26px);
    }

    .d-sticker-page .item_banner {
        width: 100%;
    }

    .d-sticker-page .item_banner img {
        width: 100%;
        max-height: inherit;
    }

    #setli_2Date {
        width: calc(100% - 40px);
    }

    #setli_2Date #raw2 {
        width: 300px;
        height: 300px;
    }

    #setli_2Date #preview2 {
        display: none;
    }

    #setli_3Date .setimg {
        width: calc(100% - 40px);
        text-align: center;
    }

    #setli_3Date .setimg input {
        margin: 0;
    }

    .d-flower-page #panel1 .photo {
        width: calc(100% - 12px);
        margin-bottom: 20px;
    }

    .d-flower-page #panel1 .prop {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .d_item {
        gap: 12px;
    }

    .d_item .d_icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .d_item .d_arrow {
        left: 61px;
        top: 18px;
    }

    .d_item .d_main {
        width: auto;
        border-radius: 20px;
    }

    .d_item .d_caption {
        padding: 16px 16px 8px;
        flex-wrap: wrap;
    }

    .d_item .d_center {
        padding: 2px 16px 16px;
    }

    .d_item .d_bar {
        padding: 10px 14px 12px;
    }

    .d_item .d_report,
    .d_item .d_remove {
        margin-left: 0;
    }

    #chat_panel #chat_west {
        width: 100% !important;
    }

    #chat_panel #chat_empty {
        width: 100% !important;
    }

    #chat_panel #chat_east {
        width: 100% !important;
    }

    .index-page .encounter_section {
        height: 150px !important;
    }

    .forgot-page #panel1 .caption {
        margin-left: 20px;
        margin-right: 20px;
    }

    .forgot-page #panel1 #ask_mail {
        width: calc(100% - 40px);
    }

    .forgot-page #panel1 #btn_ask {
        width: calc(100% - 40px);
    }

    .d-sticker-page .list .item {
        width: calc(100% - 32px);
    }
}

@media (max-width: 1100px) {
    .index-page .landing_head_inner {
        width: 100%;
    }

    .index-page .landing_head_inner {
        padding: 16px;
        gap: 14px;
    }

    .index-page .landing_head_right,
    .index-page .landing_signin_shell {
        width: 100%;
    }

    .index-page .landing_head_right {
        align-items: center;
        gap: 12px;
    }

    .index-page .head_lang{
        align-self: center!important;
    }

    .index-page .landing_signin_shell {
        justify-content: space-between;
        border-radius: 16px;
        gap: 14px;
    }

    .index-page .landing_signin_shell .head_east {
        flex: 1 1 auto;
        flex-wrap: wrap;
    }

    .index-page .landing_hero {
        padding: 50px 0 !important;
    }

    .index-page .landing_hero_grid {
        min-height: 0;
    }

    .index-page .landing_metrics {
        padding-top: 26px;
    }

    .index-page .landing_metrics_grid {
        padding: 22px 22px 24px;
        border-radius: 16px;
    }

    .index-page .landing_metric_item {
        padding-right: 0;
        text-align: center;
    }

    .index-page .landing_metric_item::after {
        display: none;
    }

    .index-page .landing_metric_item strong {
        max-width: none;
    }

    .index-page .landing_split_grid {
        grid-template-columns: 1fr;
    }

    .index-page .landing_split_copy {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
        padding: 8px 6px 0;
        box-sizing: border-box;
    }

    .index-page .landing_split_copy .encounter_line1,
    .index-page .landing_split_copy .encounter_line2 {
        text-align: center;
    }

    .index-page .landing_split_copy .encounter_line2 {
        max-width: none;
        margin-top: 16px;
    }

    .index-page .landing_split_notes {
        justify-content: center;
        gap: 12px 18px;
        margin-top: 22px;
    }

    .index-page .landing_gallery_shell,
    .index-page .landing_split_grid {
        padding: 22px;
        border-radius: 16px;
    }

    .index-page .landing_gallery_shell {
        padding: 0;
    }

    .index-page .landing_gallery_shell::before,
    .index-page .landing_gallery_shell::after {
        top: 22px;
        bottom: 22px;
        width: 28px;
    }

    .index-page .landing_split_media {
        min-height: 440px;
    }

    .index-page .landing_signup_card {
        max-width: 520px;
    }

    .index-page .landing_signal_grid,
    .index-page .landing_feature_grid,
    .index-page .landing_case_grid,
    .index-page .landing_metrics_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .index-page .landing_head_inner {
        min-height: 0;
        padding: 14px 12px;
    }

    .index-page .landing_signin_shell {
        flex-direction: column;
        align-items: stretch;
    }

    .index-page .landing_signin_shell .head_east,
    .index-page .landing_signin_fields {
        width: 100%;
        align-items: stretch;
        gap: 12px;
    }

    .index-page .landing_signin_fields {
        flex: 1 1 auto;
    }

    .index-page .head_input {
        width: calc((100% - 12px) / 2);
        min-width: 0;
    }

    .index-page .ycode {
        min-width: 0;
        justify-content: flex-start;
    }

    .index-page .landing_signin_actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 720px) {
    .index-page .wrp {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    .index-page .landing_head_inner {
        padding: 12px;
    }

    .index-page .landing_head_right {
        gap: 10px;
    }

    .index-page .head_lang {
        align-self: flex-start;
    }

    .index-page .landing_signin_shell {
        gap: 10px;
    }

    .index-page .landing_signin_fields,
    .index-page .landing_signin_shell .head_east {
        flex-direction: column;
        align-items: stretch;
    }

    .index-page .landing_signin_fields,
    .index-page .ycode,
    .index-page .landing_signin_actions {
        width: 100%;
    }

    .index-page .head_input,
    .index-page .ycode #vcode,
    .index-page .cap_img_div,
    .index-page #head_login,
    .index-page .landing_signin_help {
        width: 100%;
    }

    .index-page .ycode {
        min-width: 0;
        gap: 10px;
    }

    .index-page .landing_hero {
        padding: 40px 0 0;
    }

    .index-page .landing_signup_card {
        padding: 34px 24px 30px;
        border-radius: 18px;
    }

    .index-page .landing_signup_card .marketing-register-input-group {
        flex-direction: column;
    }

    .index-page .landing_signin_actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .index-page .landing_gallery,
    .index-page .landing_split,
    .index-page .landing_features,
    .index-page .landing_cases {
        padding: 60px 0;
    }

    .index-page .landing_section_head {
        margin-bottom: 30px;
    }

    .index-page .landing_section_head .encounter_line1,
    .index-page .landing_section_head .fun_line1,
    .index-page .landing_section_head .case_line1,
    .index-page .landing_split_copy .encounter_line1 {
        font-size: 32px;
        line-height: 1.15;
    }

    .index-page .landing_section_head .encounter_line2,
    .index-page .landing_section_head .case_line2,
    .index-page .landing_split_copy .encounter_line2 {
        font-size: 16px;
        line-height: 1.7;
    }

    .index-page .landing_split_grid {
        gap: 24px;
    }

    .index-page .landing_gallery_shell,
    .index-page .landing_split_grid {
        padding: 16px;
        border-radius: 16px;
    }

    .index-page .landing_gallery_shell {
        padding: 0;
    }

    .index-page .landing_gallery_shell::before,
    .index-page .landing_gallery_shell::after {
        display: none;
    }

    .index-page .landing_split_copy {
        padding: 0 4px;
    }

    .index-page .landing_split_copy .encounter_line2 {
        margin-top: 12px;
    }

    .index-page .landing_split_notes {
        gap: 10px 14px;
        margin-top: 18px;
    }

    .index-page .landing_split_notes span {
        padding: 8px 12px;
        font-size: 11px;
    }

    .index-page .landing_split_media {
        min-height: 200px;
        border-radius: 16px;
    }

    .index-page .landing_metric_item strong {
        font-size: 19px;
    }

    .index-page .landing_feature_card,
    .index-page .landing_case_card {
        min-height: 0;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .index-page .landing_feature_card::before,
    .index-page .landing_case_card::before {
        left: 20px;
        right: 20px;
    }

    .index-page .landing_case_card .case_icon {
        border-radius: 16px;
    }

    .index-page .landing_footer {
        padding: 26px 16px 34px;
    }
}

@media (max-width: 1200px), (hover: none) and (pointer: coarse) {
    html,
    body {
        overflow-x: hidden;
    }

    body.home-page.head-menu-open {
        overflow: hidden;
    }

    body {
        min-width: 0 !important;
    }

    .home-page .head_wrap {
        padding: 0 12px;
        box-sizing: border-box;
    }

    .home-page .head_wrap {
        min-height: 64px;
        padding-top: 10px;
        padding-bottom: 10px;
        gap: 12px;
    }

    .home-page .head_logo img {
        max-width: 148px;
        height: auto;
        max-height: 38px;
    }

    .home-page .head_primary_nav,
    .home-page .head_east,
    .home-page .head_user {
        display: none !important;
    }

    .home-page .head_tools {
        margin-left: auto;
        gap: 10px;
    }

    .home-page .head_lang,
    .home-page .head-hamburg {
        min-height: 40px;
        min-width: 40px;
        padding: 0 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.12);
        box-sizing: border-box;
    }

    .home-page .head_lang {
        display: inline-flex;
        align-items: center;
    }

    .home-page .head_lang_viewer {
        left: auto;
        right: 0;
    }

    .home-page .head-hamburg {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        width: 42px;
        color: #ffffff;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .home-page .head-hamburg.is-open {
        background: #ffffff;
        color: #171b24;
        border-color: rgba(17, 24, 39, 0.08);
    }

    .home-page .head-hamburg-content {
        display: block !important;
        padding: 0;
        background: rgba(8, 15, 28, 0.42);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .28s ease, visibility .28s ease;
        z-index: 120;
        overscroll-behavior: contain;
    }

    .home-page .head-hamburg-content.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .home-page .head-hamburg-content .inner {
        width: min(86vw, 380px);
        max-width: none;
        height: 100%;
        margin: 0 0 0 auto;
        padding: 18px 18px 24px;
        border-radius: 0;
        border: 0;
        border-left: 1px solid rgba(17, 24, 39, 0.08);
        background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
        box-shadow: -18px 0 42px rgba(8, 15, 28, 0.18);
        overflow-y: auto;
        box-sizing: border-box;
        transform: translateX(100%);
        transition: transform .32s cubic-bezier(.22, 1, .36, 1);
    }

    .home-page .head-hamburg-content.is-open .inner {
        transform: translateX(0);
    }

    .home-page .head-hamburg-content .panel-head {
        margin-bottom: 16px;
    }

    .home-page .head-hamburg-content .panel-close {
        width: 42px;
        height: 42px;
        background: rgba(17, 24, 39, 0.05);
        border-color: rgba(17, 24, 39, 0.06);
    }

    .home-page .head-hamburg-content .search-area .input-area {
        margin-bottom: 18px;
    }

    .home-page .head-hamburg-content .search-area .input-area input {
        min-height: 48px;
        background: #ffffff;
        box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.03);
    }

    .home-page .head-hamburg-content .search-area .result-area {
        margin-bottom: 14px;
        border-radius: 20px;
    }

    .home-page .head-hamburg-content .menus-area {
        gap: 14px;
    }

    .home-page .head-hamburg-content .menus-area .menu-group {
        padding: 10px;
        border: 1px solid rgba(17, 24, 39, 0.06);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
    }

    .home-page .head-hamburg-content .menus-area .menu-group .item {
        min-height: 50px;
        padding: 0 12px;
        border-radius: 16px;
    }

    .home-page .head-hamburg-content .menus-area .menu-group .item i {
        width: 22px;
    }

    .home-page #divM {
        width: calc(100vw - 24px) !important;
        left: 12px !important;
        margin-left: 0 !important;
        background-size: cover !important;
    }

    #setting {
        width: 100%;
        padding: 0 12px 24px;
        box-sizing: border-box;
    }

    #setting #setli_1Date,
    #setting #setli_2Date,
    #setting #setli_3Date,
    #setting #setli_4Date {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }

    #setting .panel {
        box-sizing: border-box;
    }
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    .home-page .head_wrap {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .home-page .head_logo img {
        max-width: 132px;
        max-height: 34px;
    }

    .home-page .head_tools {
        gap: 8px;
    }

    .home-page .head_lang,
    .home-page .head-hamburg {
        min-height: 38px;
        min-width: 38px;
    }

    .home-page .head_lang_txt {
        font-size: 14px;
    }

    .home-page .head-hamburg-content {
        background: rgba(8, 15, 28, 0.5);
    }

    .home-page .head-hamburg-content .inner {
        width: min(92vw, 360px);
        padding: 18px 14px 18px;
        border-radius: 0;
    }

    .head-hamburg-content .search-area .result-area .list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.first-page {
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    body.home-page #home,
    body.home-page #space,
    body.home-page .s_center,
    body.home-page > #setting {
        width: calc(100% - 24px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }

    .home-page .wall {
        display: none;
        padding: 12px;
        box-sizing: border-box;
    }

    .home-page .wall_a {
        width: 64px;
    }

    .home-page .wall .wall_list {
        width: calc(100% - 74px) !important;
    }

    body.home-page #home > .center,
    body.home-page #space + .s_center,
    body.home-page #home > .center > .center_ifm,
    body.home-page #space + .s_center > .s_center_ifm,
    body.home-page #space,
    body.home-page > #setting {
        width: 100% !important;
        max-width: none !important;
    }

    body.home-page #home > .center {
        float: none !important;
        margin-left: 0 !important;
        overflow: visible !important;
    }

    body.home-page #home > .center > .center_ifm,
    body.home-page #space + .s_center > .s_center_ifm {
        display: block !important;
    }

    .home-page .center_ifm {
        min-height: 760px;
    }

    .home-page .s_top {
        overflow: visible;
        padding: 0;
        gap: 0;
        margin-bottom: 14px;
    }

    .home-page .s_user {
        width: 100%;
        margin: 0;
        padding: 102px 16px 16px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        box-sizing: border-box;
        border-radius: 10px;
    }

    .home-page .s_cover {
        height: 190px;
    }

    .home-page .s_identity {
        width: 100%;
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }

    .home-page .s_icon {
        width: 92px;
        height: 92px;
        flex-basis: 92px;
        margin-top: -38px;
        border-radius: 10px;
    }

    .home-page .s_info {
        width: 100%;
        padding-top: 10px;
        row-gap: 8px;
        justify-content: flex-start;
    }

    .home-page .s_name {
        width: 100%;
        max-width: 100%;
        font-size: 30px;
        justify-content: flex-start;
    }

    .home-page .s_meta {
        max-width: 100%;
        gap: 10px;
    }

    .home-page #s_life_status {
        padding: 8px 14px;
        gap: 8px;
    }

    .home-page .s_meta_item {
        gap: 8px;
        padding: 9px 12px;
    }

    .home-page .s_meta_icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .home-page .s_meta_icon i {
        font-size: 14px;
    }

    .home-page .s_meta_label {
        font-size: 10px;
    }

    .home-page .s_meta_value {
        font-size: 14px;
    }

    .home-page .s_bio {
        font-size: 13px;
        line-height: 1.6;
    }

    .home-page .s_actions {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 0 !important;
    }

    .home-page .s_action {
        padding: 0 12px;
    }

    .home-page .s_nav {
        margin-top: 0;
        padding: 18px 10px 14px;
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-start;
        border-radius: 10px;
        overflow-x: auto;
    }

    .home-page .s_nav_item,
    .home-page .s_nav_focus {
        margin-top: 0;
        min-width: 0;
        flex: 0 0 auto;
    }

    #setting #settop ul {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    #setting #settop ul li {
        width: calc(50% - 5px);
    }

    #setting .base,
    #setting .base table {
        width: 100%;
    }

    #setting .base table {
        table-layout: fixed;
    }

    #setting .base td {
        word-break: break-word;
    }

    .public_caption {
        line-height: 48px;
        min-height: 48px;
        padding: 4px 14px 0;
        font-size: 17px;
    }

    .first-page .mood_caption {
        font-size: 17px;
    }

    .public_panel {
        min-height: 0;
    }

    .public_caption,
    .public_panel,
    .encounter-page .nav,
    .encounter-page .panel,
    .first-page .mood,
    .first-page .nav,
    .giftall-page .nav,
    .giftall-page .public_panel,
    .pay-page .caption,
    .pay-page .panel_1,
    .pay-page .panel_2,
    .d-sticker-page .panel,
    .d-flower-page #panel1,
    .forgot-page #panel1,
    .space .west,
    .space .east,
    .virtual-page .panel,
    .auth-page .panel,
    .newsfeed-page .mood,
    .newsfeed-page .nav,
    .newsfeed-page .panel1,
    .newsfeed-page .panel2 {
        width: 100%;
        box-sizing: border-box;
    }

    .favor-page .public_panel .item,
    .favorite-page .public_panel .item,
    .visitor-page .public_panel .item,
    .box-page .public_panel .item,
    .encounter-page .panel .item {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px;
        padding: 12px;
    }

    .favor-page .public_panel .item_icon,
    .favorite-page .public_panel .item_icon,
    .visitor-page .public_panel .item_icon,
    .box-page .public_panel .item_icon,
    .encounter-page .panel .item_icon {
        width: 72px;
        height: 72px;
        flex: 0 0 72px;
    }

    .favor-page .public_panel .item ul,
    .favorite-page .public_panel .item ul,
    .visitor-page .public_panel .item ul,
    .box-page .public_panel .item ul,
    .encounter-page .panel .item ul {
        float: none;
        width: auto;
        min-width: 0;
        flex: 1 1 calc(100% - 84px);
        padding: 0;
    }

    .favor-page .public_panel .item li,
    .favorite-page .public_panel .item li,
    .visitor-page .public_panel .item li,
    .box-page .public_panel .item li,
    .encounter-page .panel .item li {
        max-width: none;
    }

    .favor-page .public_panel .item_btn,
    .favorite-page .public_panel .item_btn,
    .visitor-page .public_panel .item_btn,
    .box-page .public_panel .item_btn,
    .encounter-page .panel .item_btn {
        float: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .favor-page .public_panel .item_btn_left,
    .favorite-page .public_panel .item_btn_left,
    .visitor-page .public_panel .item_btn_left,
    .box-page .public_panel .item_btn_left,
    .encounter-page .panel .item_btn_left {
        margin-left: 84px;
    }

    .favor-page .public_panel .item_btn_right,
    .favorite-page .public_panel .item_btn_right,
    .visitor-page .public_panel .item_btn_right,
    .box-page .public_panel .item_btn_right,
    .encounter-page .panel .item_btn_right {
        margin-left: auto;
        position: relative;
    }

    .favor-page .public_panel .item_menu,
    .favorite-page .public_panel .item_menu,
    .visitor-page .public_panel .item_menu,
    .box-page .public_panel .item_menu,
    .encounter-page .panel .item_menu {
        right: 0;
        left: auto;
        margin-left: 0;
    }

    .panel_flower,
    .flower-page .panel_flower,
    .valentine-page .panel_flower {
        width: 100% !important;
        box-sizing: border-box;
    }

    .panel_flower .words {
        width: 100% !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    .panel_flower .words label {
        float: none;
        display: block;
        width: auto !important;
        margin: 0 0 10px;
    }

    .panel_flower .words input {
        float: none !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .panel_flower .item {
        width: calc(50% - 8px) !important;
        margin: 0 0 16px !important;
    }

    .panel_flower .item_pic,
    .panel_flower .item_pic img,
    .panel_flower .item_name,
    .panel_flower .item_price {
        width: 100% !important;
    }

    .panel_flower .item_pic {
        min-height: 0;
    }

    .panel_flower .item_pic img {
        height: auto !important;
    }

    .giftall-page .giftall-panel-inner {
        padding: 16px;
    }

    .giftall-page #panel1 .giftall-form-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        margin-bottom: 14px;
    }

    .giftall-page #panel1 .giftall-message-row {
        grid-template-columns: 1fr;
    }

    .giftall-page #panel1 .giftall-form-row input[type="text"],
    .giftall-page #panel1 .giftall-message-input {
        width: 100% !important;
        min-width: 0;
        height: 44px !important;
    }

    .giftall-page #panel1 .giftall-search-btn {
        width: auto !important;
        min-width: 92px;
        height: 44px !important;
    }

    .giftall-page #panel1 .giftall-picker {
        margin-bottom: 16px;
    }

    .giftall-page #panel1 .list {
        height: 320px;
        padding: 14px 10px 10px;
    }

    .giftall-page #panel1 .list .item {
        width: calc(50% - 12px) !important;
        margin: 0 6px 12px !important;
        padding: 12px 8px 10px;
    }

    .giftall-page .giftall-actions {
        justify-content: stretch;
    }

    .giftall-page #panel1 .giftall-send-btn {
        width: 100%;
    }

    .giftall-page .giftall-real-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .giftall-page #list_ul {
        padding-bottom: 2px;
    }

    #list_ul {
        height: auto;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 8px;
    }

    #list_ul li {
        width: auto;
        min-width: 88px;
        padding: 0 12px;
        margin-left: 0;
        margin-right: 8px;
    }

    .virtual-page .panel {
        margin: 16px 0 0 !important;
    }

    .virtual-page .tab {
        height: auto;
        display: flex;
        flex-wrap: wrap;
    }

    .virtual-page .tab_item {
        float: none;
        flex: 1 1 auto;
        padding: 0 12px;
        border-bottom: 1px solid #d3d3d3;
    }

    .virtual-page .list {
        height: auto;
        max-height: 320px;
    }

    .virtual-page .words {
        overflow: hidden;
    }

    .virtual-page .words label,
    .virtual-page .words input {
        float: none;
        display: block;
    }

    .virtual-page .words label {
        margin-bottom: 10px;
    }

    .newsfeed-page .mood_face_panel {
        width: min(100%, 532px);
        box-sizing: border-box;
    }

    .avatar-page .browse {
        width: 100%;
        max-width: 320px;
        margin: 0 auto 16px;
        box-sizing: border-box;
    }

    .avatar-page .raw,
    .avatar-page .preview {
        width: calc(50% - 8px);
        height: auto;
        margin-right: 0;
        box-sizing: border-box;
        aspect-ratio: 1 / 1;
    }

    .avatar-page .preview img {
        max-width: 100%;
        height: auto;
    }

    .spot-page .list {
        width: 100%;
        margin: 24px auto 0;
        position: relative;
        z-index: 1;
    }

    .spot-page .circle {
        margin: 24px auto 0;
    }

    .spot-page .me {
        position: relative;
        display: block;
        margin: -145px auto 0;
    }

    .spot-page .btn {
        width: 100%;
        max-width: 240px;
    }

    .auth-page .panel {
        padding: 18px;
    }

    .auth-page .txt {
        text-indent: 0;
    }

    .auth-page .bar {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .auth-page .btn {
        width: 100%;
    }

    .auth-page .btn_red {
        margin-left: 0;
    }

    .pass-page table {
        width: 100%;
        margin-top: 16px;
    }

    .pass-page td {
        display: block;
        line-height: 1.6;
        padding: 6px 0;
        text-align: left;
    }

    .pass-page input {
        width: 100%;
        font-size: 16px;
        box-sizing: border-box;
    }

    .pass-page #error_info {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .home-page .s_user {
        padding: 94px 14px 14px;
        gap: 14px;
        border-radius: 10px;
    }

    .home-page .s_cover {
        height: 176px;
    }

    .home-page .s_identity {
        flex-direction: column;
        align-items: center !important;
        gap: 14px;
    }

    .home-page .s_info {
        padding-top: 0;
        align-items: center !important;
    }

    .home-page .s_icon {
        width: 108px;
        height: 108px;
        flex-basis: 108px;
        margin-top: -44px;
    }

    .home-page .s_name {
        font-size: 28px;
        justify-content: center;
        text-align: center;
    }

    .home-page .s_meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .home-page .s_meta_item {
        justify-content: flex-start;
        width: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
        flex: 0 0 calc((100% - 10px) / 2);
        min-width: 0;
        box-sizing: border-box;
    }

    .home-page .s_meta_body {
        align-items: flex-start;
        text-align: left;
    }

    .home-page .s_meta_value {
        font-size: 13px;
    }

    .home-page #s_life_status {
        padding: 7px 12px;
    }

    .home-page .s_actions {
        gap: 8px;
        justify-content: center !important;
        margin-top: 0 !important;
    }

    .home-page .s_action {
        height: 40px;
        padding: 0 10px;
        gap: 6px;
        font-size: 12px;
    }

    .home-page .s_action_icon {
        font-size: 13px;
    }

    .home-page .s_nav {
        margin-top: 0;
        padding: 10px;
        justify-content: center !important;
    }

    .home-page .s_nav_item,
    .home-page .s_nav_focus {
        height: 40px;
        padding: 0 14px;
        font-size: 12px;
    }
}

@media (max-width: 560px) {
    .home-page .s_center_ifm,
    .home-page .center_ifm {
        min-height: 620px;
    }

    .home-page .s_user {
        padding: 88px 12px 12px;
        gap: 12px;
    }

    .home-page .s_cover {
        height: 162px;
    }

    .home-page .s_identity {
        gap: 12px;
    }

    .home-page .s_icon {
        width: 92px;
        height: 92px;
        flex-basis: 92px;
        margin-top: -36px;
    }

    .home-page .s_name {
        font-size: 26px;
        line-height: 1.05;
    }

    .home-page .s_meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .home-page .s_meta_item {
        width: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
        flex: 0 0 calc((100% - 10px) / 2);
        min-width: 0;
        box-sizing: border-box;
    }

    .home-page .s_meta_label {
        font-size: 10px;
    }

    .home-page .s_meta_value {
        font-size: 13px;
    }

    .home-page .s_actions {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 0 !important;
    }

    .home-page .s_action {
        height: 40px;
    }

    .home-page .s_nav {
        margin-top: 0;
    }

    .home .west .nav {
        padding: 6px;
    }

    .home .west .nav_item {
        padding: 0 2px;
    }

    #setting #settop ul li {
        width: 100%;
    }

    .favor-page .public_panel .item,
    .favorite-page .public_panel .item,
    .visitor-page .public_panel .item,
    .box-page .public_panel .item,
    .encounter-page .panel .item {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .favor-page .public_panel .item ul,
    .favorite-page .public_panel .item ul,
    .visitor-page .public_panel .item ul,
    .box-page .public_panel .item ul,
    .encounter-page .panel .item ul {
        width: 100%;
        margin-top: 10px;
    }

    .favor-page .public_panel .item_btn_left,
    .favor-page .public_panel .item_btn_right,
    .favorite-page .public_panel .item_btn_left,
    .favorite-page .public_panel .item_btn_right,
    .visitor-page .public_panel .item_btn_left,
    .visitor-page .public_panel .item_btn_right,
    .box-page .public_panel .item_btn_left,
    .box-page .public_panel .item_btn_right,
    .encounter-page .panel .item_btn_left,
    .encounter-page .panel .item_btn_right {
        flex: 0 0 calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2);
        margin: 12px 0 0;
        box-sizing: border-box;
    }

    .favor-page .public_panel .item_btn_left,
    .favorite-page .public_panel .item_btn_left,
    .visitor-page .public_panel .item_btn_left,
    .box-page .public_panel .item_btn_left,
    .encounter-page .panel .item_btn_left {
        margin-right: 0;
    }

    .panel_flower .item {
        width: 100% !important;
    }

    .giftall-page .giftall-real-list {
        grid-template-columns: 1fr;
    }

    .avatar-page .raw,
    .avatar-page .preview {
        float: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 16px;
    }

    .spot-page .list {
        margin-top: 12px;
    }
}

@media (max-width: 1199px) {
    .index-page .landing_signin_trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
    }

    .index-page .landing_signin_shell {
        display: none;
    }

    body.index-page.landing-signin-open {
        overflow: hidden;
    }

    body.index-page.landing-signin-open .landing_signin_backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(20, 18, 36, 0.58);
        z-index: 998;
    }

    body.index-page.landing-signin-open .landing_signin_shell {
        position: fixed;
        top: 88px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: min(520px, calc(100vw - 64px));
        max-height: calc(100vh - 112px);
        overflow: auto;
        padding: 20px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 24px 60px rgba(16, 13, 35, 0.28);
        z-index: 999;
        gap: 16px;
    }

    body.index-page.landing-signin-open .landing_signin_close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
        flex: 0 0 auto;
    }

    body.index-page.landing-signin-open .landing_signin_shell .head_east,
    body.index-page.landing-signin-open .landing_signin_fields {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    body.index-page.landing-signin-open .landing_signin_fields,
    body.index-page.landing-signin-open .ycode,
    body.index-page.landing-signin-open .landing_signin_actions {
        width: 100%;
    }

    body.index-page.landing-signin-open .head_input,
    body.index-page.landing-signin-open .ycode #vcode,
    body.index-page.landing-signin-open .cap_img_div,
    body.index-page.landing-signin-open #head_login,
    body.index-page.landing-signin-open .landing_signin_help {
        width: 100%;
    }

    body.index-page.landing-signin-open .head_input {
        min-width: 0;
        color: #2e2d6e;
        border-bottom-color: rgba(63, 57, 91, 0.18);
    }

    body.index-page.landing-signin-open .head_input::placeholder,
    body.index-page.landing-signin-open .head_input_mask {
        color: #8d8aa7;
    }

    body.index-page.landing-signin-open .head_input:focus,
    body.index-page.landing-signin-open .head_input:focus-visible {
        border-bottom-color: #2e2d6e;
    }

    body.index-page.landing-signin-open #head_login {
        background: #1f56d8;
        border-color: #1f56d8;
        color: #fff;
    }

    body.index-page.landing-signin-open #head_login:hover {
        background: #184abf;
        border-color: #184abf;
        color: #fff;
    }

    body.index-page.landing-signin-open .ycode {
        min-width: 0;
        justify-content: flex-start;
        gap: 10px;
    }

    body.index-page.landing-signin-open .cap_img_div {
        margin-left: 0;
    }

    body.index-page.landing-signin-open .landing_signin_actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.index-page.landing-signin-open .landing_signin_help {
        border-color: rgba(63, 57, 91, 0.16);
        color: #3f395b;
    }

    body.index-page.landing-signin-open .head_find {
        color: #3f395b;
    }
}
