.soma-minihome-container {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
}


.soma-content-box {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.soma-section-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #ff6600; 
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}


.soma-list-item {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}


.soma-user-link {
    color: #ff6600;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dashed #ff6600;
}
.soma-user-link:hover {
    color: #e65c00;
}


.soma-meta-text {
    color: #bbb;
    font-size: 11px;
    margin-left: 8px;
}


.member-header-actions.action,
#post-mention,
.friendship-button,
.generic-button {
    display: none !important;
}


#item-header-content #item-buttons,
#item-header-content .action {
    display: none !important;
}


.soma-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 25px 0;
    padding: 10px 0;
}

.soma-pagination a, 
.soma-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 5px;
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s ease;
}


.soma-pagination .current,
.soma-pagination span.current {
    background: #ff6600 !important;
    color: #fff !important;
    border-color: #ff6600 !important;
    font-weight: bold;
}


.soma-pagination a:active,
.soma-pagination a:hover {
    background: #f8f8f8;
    border-color: #ff6600;
    color: #ff6600;
}


@media (max-width: 768px) {
    .soma-pagination {
        gap: 12px; 
    }
    .soma-pagination a, 
    .soma-pagination span {
        min-width: 42px; 
        height: 42px;
        font-size: 16px;
    }
}

#object-nav {
    position: relative;
    margin-bottom: 15px;
}


#object-nav ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 5px !important;
    border-bottom: 2px solid #f5f5f5;
}


#object-nav ul::-webkit-scrollbar {
    display: none;
}


#object-nav::before,
#object-nav::after {
    content: '';
    position: absolute;
    top: 0;
    width: 30px;
    height: 100%;
    z-index: 2;
    pointer-events: none; 
    transition: opacity 0.3s;
}


#object-nav::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0));
    content: '◀';
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 10px;
    color: #ff6600;
    padding-left: 2px;
}


#object-nav::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.9), rgba(255,255,255,0));
    content: '▶';
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 10px;
    color: #ff6600;
    padding-right: 2px;
}


@media (min-width: 769px) {
    #object-nav::before,
    #object-nav::after {
        display: none;
    }
}



    .soma-log-header { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        margin-bottom: 20px; 
        padding-bottom: 15px; 
        border-bottom: 2px solid #ff6600;
    }
    .btn-write { 
        background: #ff6600; 
        color: #fff; 
        border: none; 
        padding: 8px 16px; 
        border-radius: 6px; 
        cursor: pointer; 
        font-weight: bold; 
        font-size: 12px;
    }
    .soma-table-wrapper { 
        width: 100%; 
        background: #fff; 
        border-radius: 8px; 
    }
    .soma-list-table { width: 100%; border-collapse: collapse; }
    .soma-list-table th { 
        background: #fcfcfc; 
        padding: 12px; 
        text-align: center; 
        font-size: 11px; 
        color: #666; 
        border-bottom: 1px solid #eee; 
    }
    .soma-list-table td { 
        padding: 15px 10px; 
        border-bottom: 1px solid #f5f5f5; 
        font-size: 12px; 
        text-align: center; 
    }
    .soma-list-table tr:hover { background: #fffaf5; cursor: pointer; }
    
    .badge-dist { 
        background: #2c3e50; 
        color: #fff; 
        padding: 3px 8px; 
        border-radius: 12px; 
        font-weight: bold; 
        font-size: 10px;
    }
    .badge-pace { color: #ff6600; font-weight: bold; }
    .log-detail-row { display: none; background: #fafafa; }
    .img-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
    .img-item { width: 70px; height: 70px; object-fit: cover; border-radius: 4px; border: 1px solid #ddd; }


   @media (max-width: 600px) {

    .soma-list-table tr {
        margin-bottom: 12px;
        border: 1px solid #eee;
        border-radius: 12px;
        background: #fff;
        padding: 5px 10px;
        transition: background 0.2s;
    }
        .soma-list-table thead { display: none; }
        
        .soma-list-table tr {
            margin-bottom: 15px;
            border: 1px solid #eee;
            border-radius: 12px;
            background: #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            overflow: hidden;
            position: relative;
            padding: 10px;
        }

        .soma-list-table td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 5px !important;
            border-bottom: 1px dashed #f0f0f0 !important;
            text-align: right;
        }

        .soma-list-table td:last-child { border-bottom: none !important; }

  
        .soma-list-table td::before {
            content: attr(data-label);
            font-weight: bold;
            color: #999;
            font-size: 11px;
            flex-shrink: 0;
        }

    .log-detail-row {
        display: none; 
        border: none !important;
        background: transparent !important;
        margin-top: -10px !important; 
    }

    .log-detail-row td {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
    }
	
    .log-detail-row td::before {
        content: none !important;
    }
    
	

.bp-user.home #subnav.user-subnav,
.bp-user.training-log #subnav.user-subnav,
.bp-user.guestbook #subnav.user-subnav {
    display: none !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    border: none !important;
    overflow: hidden !important;
}


.bp-user.home #item-body,
.bp-user.training-log #item-body,
.bp-user.guestbook #item-body {
    padding-top: 0 !important;
    margin-top: -10px !important; 
}


#soma-ichon-box {
    margin-top: 10px !important;
}


:root {
    --soma-main-orange: #ff6600;
    --soma-bg-light: #fcfcfc;
    --soma-border-color: #ddd;
    --soma-text-dark: #333;
    --soma-text-gray: #666;
    --soma-table-header: #f8f9fa;
}


.soma-content-box {
    background: #ffffff;
    border: 1px solid var(--soma-border-color);
    border-radius: 4px; 
    padding: 20px;
    margin-bottom: 20px;
}

.soma-section-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--soma-main-orange);
    border-bottom: 2px solid var(--soma-main-orange);
    padding-bottom: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}


#subnav {
    display: block !important; 
    margin-bottom: 15px !important;
}

#subnav ul {
    display: flex !important;
    flex-wrap: nowrap !important; 
    overflow-x: auto !important; 
    gap: 10px !important;
    padding: 5px 0 !important;
    border: none !important;
}

#subnav ul li {
    flex: 0 0 auto !important;
    background: none !important;
}

#subnav ul li a {
    white-space: nowrap !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
}



.soma-list-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #eee !important;
    table-layout: auto !important; 
    margin: 0 !important;
}

.soma-list-table tr {
    display: table-row !important;
}

.soma-list-table th {
    background-color: var(--soma-table-header) !important;
    color: var(--soma-text-gray) !important;
    padding: 12px 15px !important;
    border: 1px solid #eee !important;
    text-align: left !important;
    font-size: 13px !important;
    white-space: nowrap; 
    width: 1% !important; 
}

.soma-list-table td {
    padding: 12px 15px !important;
    border: 1px solid #eee !important;
    text-align: center !important; 
    font-weight: bold;
    font-size: 14px;
    background: #fff !important;
}


.soma-list-table td:nth-child(3),
.soma-list-table th:nth-child(3) {
    display: none !important;
}


.soma-cheer-box {
    margin-top: 25px;
    padding: 20px;
    background: var(--soma-bg-light);
    border-radius: 8px;
    text-align: center;
    border: 1px solid #f0f0f0;
}


#subnav ul#member-secondary-nav::-webkit-scrollbar {
    display: none;
}



.soma-mini-img-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.soma-mini-img-item { width: 70px; height: 70px; object-fit: cover; border-radius: 4px; border: 1px solid #ddd; }








.rating-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    width: 100% !important;
    margin: 20px 0 !important;
}


.rating-grid > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
}

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.rating-value {
    font-weight: bold;
    color: #1a365d;
    font-size: 14px;
}


.rating-grid input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100% !important;
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    outline: none;
    margin: 5px 0 15px 0 !important;
}

.rating-grid input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #1a365d;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}


.hondal-board-container { 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px; 
    box-sizing: border-box; 
}


.gear-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-bar { display: flex; gap: 8px; margin-bottom: 0 !important; }
.filter-bar a {
    padding: 8px 16px; 
    border-radius: 6px; 
    border: 1px solid #e2e8f0; 
    text-decoration: none; 
    font-size: 13px; 
    background: #fff; 
    color: #475569;
    transition: all 0.2s;
}
.filter-bar a.active { background: #1a365d; color: #fff; border-color: #1a365d; }

@media screen and (max-width: 600px) {
    
    .rating-grid {
        grid-template-columns: 1fr !important; 
        gap: 20px !important;
        margin: 10px 0 !important;
    }

    
    .gear-controls {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .gear-search-wrapper {
        display: flex !important;
        width: 100% !important;
        min-width: auto !important; 
        height: 36px !important; 
    }

    .gear-search-input {
        flex: 1 !important; 
        height: 100% !important;
        padding: 0 10px !important;
        font-size: 13px !important;
        border: 1px solid #e2e8f0 !important;
        border-right: none !important; 
    }

    .gear-search-btn {
        width: 60px !important; 
        height: 100% !important;
        padding: 0 !important;
        font-size: 13px !important;
        background: #1a365d !important;
        border-radius: 0 6px 6px 0 !important;
        white-space: nowrap !important;
    }

    
    .filter-bar {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 4px !important;
    }

    .filter-bar a {
        font-size: 11px !important;
        height: 38px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }

    
    .hondal-form-wrapper .form-section div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .hondal-btn-submit {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        
        white-space: nowrap !important;    
        font-size: 13px !important;        
        padding: 10px 12px !important;     
        letter-spacing: -0.5px !important; 
        
        flex: 2 !important;                
        width: auto !important;            
    }

    
    .hondal-btn-cancel {
        flex: 1 !important;
        font-size: 13px !important;
        white-space: nowrap !important;
    }
}


@media (min-width: 769px) and (max-width: 1100px) {
    
    .rating-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    
    .tahefobu-nav-menu > li > a {
        font-size: 13px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}