/*
 * Scoreline theme mobile responsive layer.
 * Desktop layout is unchanged. Mobile/tablet rules only apply below 1024px.
 */

.sl-mobile-menu-toggle,
.sl-mobile-submenu-toggle {
    display: none;
}

.sl-responsive-table {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1024px) {
    html.scoreline-theme,
    html.scoreline-theme body,
    body.scoreline-theme {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    html.scoreline-theme *,
    body.scoreline-theme * {
        box-sizing: border-box;
    }

    html.scoreline-theme img,
    html.scoreline-theme video,
    html.scoreline-theme iframe,
    html.scoreline-theme embed,
    html.scoreline-theme object,
    body.scoreline-theme img,
    body.scoreline-theme video,
    body.scoreline-theme iframe,
    body.scoreline-theme embed,
    body.scoreline-theme object {
        max-width: 100% !important;
    }

    html.scoreline-theme img,
    html.scoreline-theme video,
    body.scoreline-theme img,
    body.scoreline-theme video {
        height: auto;
    }

    /* Header and mobile navigation */
    html.scoreline-theme #header,
    body.scoreline-theme #header {
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 64px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 3px solid #003967 !important;
        background: #fff !important;
        overflow: visible !important;
        z-index: 30000 !important;
    }

    html.scoreline-theme #header_in,
    body.scoreline-theme #header_in {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 61px !important;
        margin: 0 !important;
        padding: 0 64px 0 12px !important;
        overflow: visible !important;
    }

    html.scoreline-theme #header_in h1,
    body.scoreline-theme #header_in h1 {
        position: static !important;
        display: flex !important;
        align-items: center !important;
        width: min(230px, 72vw) !important;
        height: 61px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    html.scoreline-theme #header_in h1 a,
    body.scoreline-theme #header_in h1 a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 61px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html.scoreline-theme #header_in h1 img,
    body.scoreline-theme #header_in h1 img {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        height: 52px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    html.scoreline-theme #tnb,
    body.scoreline-theme #tnb {
        display: none !important;
    }

    .sl-mobile-menu-toggle {
        position: absolute;
        top: 10px;
        right: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        margin: 0;
        padding: 0;
        border: 1px solid #d4dde7;
        border-radius: 4px;
        background: #fff;
        color: #073967;
        font-size: 0;
        cursor: pointer;
        z-index: 30100;
    }

    .sl-mobile-menu-toggle::before,
    .sl-mobile-menu-toggle::after,
    .sl-mobile-menu-toggle span {
        position: absolute;
        left: 10px;
        width: 20px;
        height: 2px;
        background: currentColor;
        content: "";
        transition: transform .18s ease, opacity .18s ease, top .18s ease;
    }

    .sl-mobile-menu-toggle::before { top: 13px; }
    .sl-mobile-menu-toggle span { top: 19px; }
    .sl-mobile-menu-toggle::after { top: 25px; }

    html.sl-mobile-menu-open .sl-mobile-menu-toggle::before {
        top: 19px;
        transform: rotate(45deg);
    }

    html.sl-mobile-menu-open .sl-mobile-menu-toggle span {
        opacity: 0;
    }

    html.sl-mobile-menu-open .sl-mobile-menu-toggle::after {
        top: 19px;
        transform: rotate(-45deg);
    }

    html.scoreline-theme #gnb.new,
    body.scoreline-theme #gnb.new {
        display: none !important;
        position: absolute !important;
        top: 61px !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: calc(100vh - 61px) !important;
        margin: 0 !important;
        padding: 8px 0 16px !important;
        border-top: 1px solid rgba(255,255,255,.16) !important;
        background: #073967 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        box-shadow: 0 8px 18px rgba(0,0,0,.26) !important;
        z-index: 30050 !important;
        -webkit-overflow-scrolling: touch;
    }

    html.sl-mobile-menu-open.scoreline-theme #gnb.new,
    html.sl-mobile-menu-open body.scoreline-theme #gnb.new {
        display: block !important;
    }

    html.scoreline-theme #gnb.new > li.gnb1d,
    body.scoreline-theme #gnb.new > li.gnb1d {
        position: relative !important;
        display: block !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.12) !important;
    }

    html.scoreline-theme #gnb.new > li.gnb1d > a.gnb1a,
    body.scoreline-theme #gnb.new > li.gnb1d > a.gnb1a {
        position: relative !important;
        display: flex !important;
        float: none !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        height: 48px !important;
        margin: 0 !important;
        padding: 0 56px 0 20px !important;
        border: 0 !important;
        background: transparent !important;
        color: #fff !important;
        text-align: left !important;
        overflow: visible !important;
    }

    html.scoreline-theme #gnb.new > li.gnb1d > a.gnb1a b,
    body.scoreline-theme #gnb.new > li.gnb1d > a.gnb1a b {
        color: #fff !important;
        font-size: 14px !important;
        line-height: 48px !important;
    }

    html.scoreline-theme #gnb.new > li.gnb1d > a.gnb1a u,
    body.scoreline-theme #gnb.new > li.gnb1d > a.gnb1a u {
        display: none !important;
    }

    .sl-mobile-submenu-toggle {
        position: absolute;
        top: 5px;
        right: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 3px;
        background: rgba(255,255,255,.1);
        color: #fff;
        font-size: 0;
        cursor: pointer;
        z-index: 2;
    }

    .sl-mobile-submenu-toggle::before {
        width: 8px;
        height: 8px;
        margin-top: -4px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        content: "";
        transform: rotate(45deg);
        transition: transform .18s ease, margin .18s ease;
    }

    .sl-mobile-submenu-toggle[aria-expanded="true"]::before {
        margin-top: 4px;
        transform: rotate(225deg);
    }

    html.scoreline-theme #gnb.new > li.gnb1d > ul.gnbs,
    body.scoreline-theme #gnb.new > li.gnb1d > ul.gnbs,
    html.scoreline-theme #gnb.new > li.gnb1d:hover > ul.gnbs,
    body.scoreline-theme #gnb.new > li.gnb1d:hover > ul.gnbs,
    html.scoreline-theme #gnb.new > li.gnb1d:focus-within > ul.gnbs,
    body.scoreline-theme #gnb.new > li.gnb1d:focus-within > ul.gnbs {
        position: static !important;
        display: none !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 6px 10px 10px !important;
        background: #102f4d !important;
        box-shadow: none !important;
    }

    html.scoreline-theme #gnb.new > li.sl-submenu-open > ul.gnbs,
    body.scoreline-theme #gnb.new > li.sl-submenu-open > ul.gnbs {
        display: grid !important;
    }

    html.scoreline-theme #gnb.new .gnbs li,
    body.scoreline-theme #gnb.new .gnbs li {
        float: none !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html.scoreline-theme #gnb.new .gnbs a,
    body.scoreline-theme #gnb.new .gnbs a {
        display: block !important;
        width: auto !important;
        min-height: 38px !important;
        padding: 10px 8px !important;
        color: #e8f2fb !important;
        text-align: center !important;
        line-height: 18px !important;
    }

    html.sl-mobile-menu-open,
    html.sl-mobile-menu-open body {
        overflow: hidden !important;
    }

    /* Header notice/login/latest area */
    html.scoreline-theme #conttop,
    body.scoreline-theme #conttop {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 10px auto 0 !important;
        padding: 0 10px !important;
        overflow: visible !important;
    }

    html.scoreline-theme #conttop > #login,
    body.scoreline-theme #conttop > #login {
        position: relative !important;
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 420px !important;
        height: auto !important;
        min-height: 193px !important;
        margin: 0 auto !important;
    }

    html.scoreline-theme #login #logbox,
    html.scoreline-theme #login .sl-login-box,
    body.scoreline-theme #login #logbox,
    body.scoreline-theme #login .sl-login-box {
        width: 100% !important;
        max-width: 100% !important;
        height: 193px !important;
        margin: 0 !important;
    }

    html.scoreline-theme #login .bg_app,
    body.scoreline-theme #login .bg_app {
        display: none !important;
    }

    html.scoreline-theme #login form,
    html.scoreline-theme #login fieldset,
    html.scoreline-theme #login fieldset .logbox_top,
    html.scoreline-theme #login fieldset dl,
    html.scoreline-theme #login fieldset dd,
    html.scoreline-theme #login fieldset .logbox_bottom,
    body.scoreline-theme #login form,
    body.scoreline-theme #login fieldset,
    body.scoreline-theme #login fieldset .logbox_top,
    body.scoreline-theme #login fieldset dl,
    body.scoreline-theme #login fieldset dd,
    body.scoreline-theme #login fieldset .logbox_bottom {
        max-width: 100% !important;
    }

    html.scoreline-theme #login .logbox_notice,
    body.scoreline-theme #login .logbox_notice {
        width: 100% !important;
    }

    html.scoreline-theme #login .logbox_notice dd,
    body.scoreline-theme #login .logbox_notice dd {
        width: calc(100% - 60px) !important;
    }

    html.scoreline-theme #conttop > #top_latest,
    body.scoreline-theme #conttop > #top_latest {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    html.scoreline-theme #top_latest #tl01_wrap,
    html.scoreline-theme #top_latest #tl02_wrap,
    body.scoreline-theme #top_latest #tl01_wrap,
    body.scoreline-theme #top_latest #tl02_wrap {
        position: relative !important;
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 193px !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    html.scoreline-theme #top_latest .tl01,
    html.scoreline-theme #top_latest .tl01 dt,
    html.scoreline-theme #top_latest .tl01 dd,
    html.scoreline-theme #top_latest .tl02,
    html.scoreline-theme #top_latest .tl02_move,
    html.scoreline-theme #top_latest .tl02 dd,
    body.scoreline-theme #top_latest .tl01,
    body.scoreline-theme #top_latest .tl01 dt,
    body.scoreline-theme #top_latest .tl01 dd,
    body.scoreline-theme #top_latest .tl02,
    body.scoreline-theme #top_latest .tl02_move,
    body.scoreline-theme #top_latest .tl02 dd {
        width: 100% !important;
        max-width: 100% !important;
    }

    html.scoreline-theme #top_latest .tl02_move,
    body.scoreline-theme #top_latest .tl02_move {
        display: flex !important;
    }

    html.scoreline-theme #top_latest .tl02_move li,
    body.scoreline-theme #top_latest .tl02_move li,
    html.scoreline-theme #top_latest .tl02_move li.last,
    body.scoreline-theme #top_latest .tl02_move li.last {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
    }

    /* Main layout */
    html.scoreline-theme #container,
    body.scoreline-theme #container {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 10px auto 0 !important;
        padding: 0 10px 18px !important;
        overflow: visible !important;
    }

    html.scoreline-theme #container > #frame,
    body.scoreline-theme #container > #frame {
        order: 1 !important;
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html.scoreline-theme #container > #aside,
    body.scoreline-theme #container > #aside {
        order: 2 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 10px !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 12px 0 0 !important;
        padding: 0 !important;
    }

    html.scoreline-theme #container > #frame > .sl-main,
    html.scoreline-theme #container > #frame #container,
    html.scoreline-theme #container > #frame .container,
    body.scoreline-theme #container > #frame > .sl-main,
    body.scoreline-theme #container > #frame #container,
    body.scoreline-theme #container > #frame .container,
    html.scoreline-theme #content,
    body.scoreline-theme #content {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    html.scoreline-theme #livechat,
    html.scoreline-theme .sl-livechat-box,
    html.scoreline-theme .sl-chat-widget,
    body.scoreline-theme #livechat,
    body.scoreline-theme .sl-livechat-box,
    body.scoreline-theme .sl-chat-widget {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    html.scoreline-theme #div_left,
    body.scoreline-theme #div_left {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    html.scoreline-theme #score_menu,
    body.scoreline-theme #score_menu {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    html.scoreline-theme #score_menu ul,
    body.scoreline-theme #score_menu ul {
        width: max-content !important;
        min-width: 100% !important;
    }

    html.scoreline-theme #score_menu ul li,
    body.scoreline-theme #score_menu ul li {
        flex: 0 0 auto !important;
        min-width: 88px !important;
    }

    /* Board navigation and horizontal categories */
    html.scoreline-theme #nav_bar,
    body.scoreline-theme #nav_bar {
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    html.scoreline-theme #nav_bar h2,
    body.scoreline-theme #nav_bar h2 {
        float: none !important;
        width: auto !important;
        height: auto !important;
        min-height: 48px !important;
        margin: 0 !important;
        padding: 12px 15px !important;
        line-height: 24px !important;
    }

    html.scoreline-theme #nav_bar ul,
    html.scoreline-theme #bo_cate ul,
    html.scoreline-theme .sl-auto-board-nav ul,
    body.scoreline-theme #nav_bar ul,
    body.scoreline-theme #bo_cate ul,
    body.scoreline-theme .sl-auto-board-nav ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        float: none !important;
        width: 100% !important;
        padding: 8px 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }

    html.scoreline-theme #nav_bar ul li,
    html.scoreline-theme #bo_cate ul li,
    html.scoreline-theme .sl-auto-board-nav ul li,
    body.scoreline-theme #nav_bar ul li,
    body.scoreline-theme #bo_cate ul li,
    body.scoreline-theme .sl-auto-board-nav ul li {
        flex: 0 0 auto !important;
        float: none !important;
    }

    /* Tables remain readable by horizontal swipe instead of clipping */
    .sl-responsive-table {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    .sl-responsive-table > table {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .sl-responsive-table.sl-data-table > table {
        min-width: 680px;
    }

    html.scoreline-theme #bo_list table,
    html.scoreline-theme .tbl_head01 table,
    html.scoreline-theme .tbl_head02 table,
    body.scoreline-theme #bo_list table,
    body.scoreline-theme .tbl_head01 table,
    body.scoreline-theme .tbl_head02 table {
        min-width: 680px;
    }

    /* Forms and member pages */
    html.scoreline-theme input[type="text"],
    html.scoreline-theme input[type="password"],
    html.scoreline-theme input[type="email"],
    html.scoreline-theme input[type="tel"],
    html.scoreline-theme input[type="url"],
    html.scoreline-theme input[type="number"],
    html.scoreline-theme input[type="search"],
    html.scoreline-theme input[type="date"],
    html.scoreline-theme input[type="time"],
    html.scoreline-theme select,
    html.scoreline-theme textarea,
    body.scoreline-theme input[type="text"],
    body.scoreline-theme input[type="password"],
    body.scoreline-theme input[type="email"],
    body.scoreline-theme input[type="tel"],
    body.scoreline-theme input[type="url"],
    body.scoreline-theme input[type="number"],
    body.scoreline-theme input[type="search"],
    body.scoreline-theme input[type="date"],
    body.scoreline-theme input[type="time"],
    body.scoreline-theme select,
    body.scoreline-theme textarea {
        max-width: 100% !important;
    }

    html.scoreline-theme textarea,
    body.scoreline-theme textarea {
        width: 100% !important;
    }

    html.scoreline-theme .my_info_top dl.mit_dl dd.dd665,
    body.scoreline-theme .my_info_top dl.mit_dl dd.dd665 {
        float: none !important;
        width: auto !important;
        min-width: 0 !important;
    }

    html.scoreline-theme .my_info_tbl table td input,
    html.scoreline-theme .my_info_tbl table td select,
    html.scoreline-theme .my_info_tbl table td input.ipt02,
    body.scoreline-theme .my_info_tbl table td input,
    body.scoreline-theme .my_info_tbl table td select,
    body.scoreline-theme .my_info_tbl table td input.ipt02 {
        width: 100% !important;
        max-width: 100% !important;
    }

    html.scoreline-theme #autosave_pop,
    body.scoreline-theme #autosave_pop,
    html.scoreline-theme .new_win,
    body.scoreline-theme .new_win {
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
        max-width: calc(100vw - 20px) !important;
    }

    /* Board view and comments */
    html.scoreline-theme .view_head h1,
    body.scoreline-theme .view_head h1 {
        padding-right: 5px !important;
        overflow-wrap: anywhere;
    }

    html.scoreline-theme .view_head .view_warning,
    body.scoreline-theme .view_head .view_warning {
        position: static !important;
        margin-top: 8px !important;
        text-align: right !important;
    }

    html.scoreline-theme .view_writer_info01 dl,
    body.scoreline-theme .view_writer_info01 dl {
        padding-left: 0 !important;
    }

    html.scoreline-theme .view_writer_info01 dl dt,
    body.scoreline-theme .view_writer_info01 dl dt {
        min-height: 58px !important;
        height: auto !important;
        padding-left: 68px !important;
    }

    html.scoreline-theme .view_writer_info01 dl dt .writer_photo,
    body.scoreline-theme .view_writer_info01 dl dt .writer_photo {
        left: 0 !important;
        width: 56px !important;
        height: 56px !important;
    }

    html.scoreline-theme .view_writer_info01 dl dt .writer_photo img,
    body.scoreline-theme .view_writer_info01 dl dt .writer_photo img {
        max-width: 56px !important;
        max-height: 56px !important;
    }

    html.scoreline-theme #bo_v_con,
    body.scoreline-theme #bo_v_con {
        padding: 16px 10px !important;
        overflow-wrap: anywhere;
    }

    html.scoreline-theme #bo_vc .view_comment_cont .writer_photo,
    body.scoreline-theme #bo_vc .view_comment_cont .writer_photo {
        margin-left: 0 !important;
    }

    /* Market, photo and card grids */
    html.scoreline-theme .market-grid,
    html.scoreline-theme .sl-market-grid,
    html.scoreline-theme .photo-grid,
    html.scoreline-theme .gallery-grid,
    html.scoreline-theme .sl-photo-grid,
    body.scoreline-theme .market-grid,
    body.scoreline-theme .sl-market-grid,
    body.scoreline-theme .photo-grid,
    body.scoreline-theme .gallery-grid,
    body.scoreline-theme .sl-photo-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* Footer */
    html.scoreline-theme #footer,
    html.scoreline-theme #footer_in,
    body.scoreline-theme #footer,
    body.scoreline-theme #footer_in {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 24px auto 0 !important;
        padding-right: 12px !important;
        padding-left: 12px !important;
        overflow: hidden !important;
    }

    /* Comfortable touch targets */
    html.scoreline-theme button,
    html.scoreline-theme input[type="button"],
    html.scoreline-theme input[type="submit"],
    html.scoreline-theme input[type="reset"],
    html.scoreline-theme .btn_b01,
    html.scoreline-theme .btn_b02,
    html.scoreline-theme .btn_b03,
    body.scoreline-theme button,
    body.scoreline-theme input[type="button"],
    body.scoreline-theme input[type="submit"],
    body.scoreline-theme input[type="reset"],
    body.scoreline-theme .btn_b01,
    body.scoreline-theme .btn_b02,
    body.scoreline-theme .btn_b03 {
        min-height: 40px;
    }
}

@media (max-width: 767px) {
    html.scoreline-theme #header_in,
    body.scoreline-theme #header_in {
        padding-left: 10px !important;
    }

    html.scoreline-theme #header_in h1,
    body.scoreline-theme #header_in h1 {
        width: min(205px, 68vw) !important;
    }

    html.scoreline-theme #conttop > #top_latest,
    body.scoreline-theme #conttop > #top_latest {
        display: flex !important;
        flex-direction: column !important;
    }

    html.scoreline-theme #top_latest #tl01_wrap,
    html.scoreline-theme #top_latest #tl02_wrap,
    body.scoreline-theme #top_latest #tl01_wrap,
    body.scoreline-theme #top_latest #tl02_wrap {
        border-right: 0 !important;
        border-bottom: 1px solid #e4e9f2 !important;
    }

    html.scoreline-theme #top_latest .tl02_move,
    body.scoreline-theme #top_latest .tl02_move {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    html.scoreline-theme #top_latest .tl02_move li,
    body.scoreline-theme #top_latest .tl02_move li,
    html.scoreline-theme #top_latest .tl02_move li.last,
    body.scoreline-theme #top_latest .tl02_move li.last {
        flex: 0 0 78px !important;
    }

    html.scoreline-theme #container > #aside,
    body.scoreline-theme #container > #aside {
        display: flex !important;
        flex-direction: column !important;
    }

    html.scoreline-theme #container,
    body.scoreline-theme #container,
    html.scoreline-theme #conttop,
    body.scoreline-theme #conttop {
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    html.scoreline-theme .market-grid,
    html.scoreline-theme .sl-market-grid,
    html.scoreline-theme .photo-grid,
    html.scoreline-theme .gallery-grid,
    html.scoreline-theme .sl-photo-grid,
    body.scoreline-theme .market-grid,
    body.scoreline-theme .sl-market-grid,
    body.scoreline-theme .photo-grid,
    body.scoreline-theme .gallery-grid,
    body.scoreline-theme .sl-photo-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html.scoreline-theme .view_head .view_info_wrap .writer_name,
    html.scoreline-theme .view_head .view_info_wrap .view_info,
    body.scoreline-theme .view_head .view_info_wrap .writer_name,
    body.scoreline-theme .view_head .view_info_wrap .view_info {
        float: none !important;
        width: 100% !important;
        padding: 3px 5px !important;
    }

    html.scoreline-theme .view_writer_info01 dl dd ul,
    body.scoreline-theme .view_writer_info01 dl dd ul {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html.scoreline-theme .view_writer_info01 dl dd ul li,
    html.scoreline-theme .view_writer_info01 dl dd ul li.first,
    body.scoreline-theme .view_writer_info01 dl dd ul li,
    body.scoreline-theme .view_writer_info01 dl dd ul li.first {
        float: none !important;
        width: auto !important;
        border-bottom: 1px solid #d3d3d3 !important;
    }

    html.scoreline-theme .bo_fx,
    body.scoreline-theme .bo_fx {
        height: auto !important;
        min-height: 70px !important;
    }

    html.scoreline-theme .btn_bo_user,
    html.scoreline-theme .btn_bo_adm,
    body.scoreline-theme .btn_bo_user,
    body.scoreline-theme .btn_bo_adm {
        display: flex !important;
        flex-wrap: wrap !important;
        float: none !important;
        justify-content: flex-end !important;
        gap: 5px !important;
        width: 100% !important;
    }

    html.scoreline-theme .btn_bo_user li,
    html.scoreline-theme .btn_bo_adm li,
    body.scoreline-theme .btn_bo_user li,
    body.scoreline-theme .btn_bo_adm li {
        float: none !important;
        margin: 0 !important;
    }

    html.scoreline-theme .view_good_nogood,
    body.scoreline-theme .view_good_nogood {
        display: flex !important;
        gap: 0 !important;
        height: auto !important;
    }

    html.scoreline-theme .view_good_nogood .good,
    html.scoreline-theme .view_good_nogood .nogood,
    body.scoreline-theme .view_good_nogood .good,
    body.scoreline-theme .view_good_nogood .nogood {
        position: static !important;
        flex: 1 1 0 !important;
        padding-right: 12px !important;
        padding-left: 12px !important;
        text-align: center !important;
    }
}

@media (max-width: 420px) {
    html.scoreline-theme #gnb.new > li.gnb1d > ul.gnbs,
    body.scoreline-theme #gnb.new > li.gnb1d > ul.gnbs {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html.scoreline-theme #header_in h1,
    body.scoreline-theme #header_in h1 {
        width: min(180px, 62vw) !important;
    }

    html.scoreline-theme input[type="text"],
    html.scoreline-theme input[type="password"],
    html.scoreline-theme input[type="email"],
    html.scoreline-theme input[type="tel"],
    html.scoreline-theme input[type="url"],
    html.scoreline-theme input[type="number"],
    html.scoreline-theme input[type="search"],
    html.scoreline-theme select,
    html.scoreline-theme textarea,
    body.scoreline-theme input[type="text"],
    body.scoreline-theme input[type="password"],
    body.scoreline-theme input[type="email"],
    body.scoreline-theme input[type="tel"],
    body.scoreline-theme input[type="url"],
    body.scoreline-theme input[type="number"],
    body.scoreline-theme input[type="search"],
    body.scoreline-theme select,
    body.scoreline-theme textarea {
        font-size: 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sl-mobile-menu-toggle::before,
    .sl-mobile-menu-toggle::after,
    .sl-mobile-menu-toggle span,
    .sl-mobile-submenu-toggle::before {
        transition: none !important;
    }
}
