:root {
    --primary-gold: #856404;
    --accent-gold: #ffc107;
    --buy-color: #e03131;
    --buy-bg: #fff5f5;
    --sell-color: #1971c2;
    --sell-bg: #f0f7ff;
    --border-color: #dee2e6;
   
    --text-muted: #595959; 
    --text-light: #666666; 
}


* { box-sizing: border-box; } 

body { 
    background-color: #f1f3f5; 
    font-family: 'Pretendard', sans-serif; 
    margin: 0; 
    padding: 15px; 
    color: #333; 
}

.container { max-width: 1000px; margin: auto; overflow: hidden; } 


.ad-top {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}


.ad-bottom {
    width: 100%;
    text-align: center; 
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    display: block; 
}


.ad-innerx {
    width: 100%;
    max-width: 780px;
    min-height: 100px; 
    margin: 0 auto; 
    background-color: #eee;
    text-align: center;
    font-size: 12px;
    color: #666;
    font-weight: 500;
    line-height: 100px; 
    display: block;
}


.ad-inner {
    width: 100%;
    max-width: 333px; 
    height: 92px;     
    background-color: #eee; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
}


header { 
    text-align: center; 
    margin-bottom: 20px; 
    width: 100%;
}

h1 { 
    color: var(--primary-gold); 
    font-size: 24px; 
    border-bottom: 4px solid var(--accent-gold); 
    display: inline-block; 
    padding-bottom: 5px; 
    margin: 0 auto;
}

.update-time { 
    font-size: 13px; 
    color: var(--text-muted); 
    text-align: center; 
    margin-bottom: 20px; 
}


.grid { display: flex; flex-direction: column; gap: 20px; width: 100%; }

.site-card { 
    background: #fff; 
    border-radius: 12px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
    padding: 15px; 
    width: 100%; 
    overflow: hidden; 
}

.site-title { 
    font-size: 18px; 
    font-weight: bold; 
    margin-bottom: 12px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.site-title span { 
    font-size: 12px; 
    color: var(--text-light); 
    font-weight: normal; 
}


.table-wrapper { 
    width: 100%; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.price-table { 
    width: 100%; 
    min-width: 600px; 
    border-collapse: collapse; 
    table-layout: fixed; 
}

.price-table th { 
    background: #f8f9fa; 
    padding: 10px 5px; 
    font-size: 13px; 
    border-bottom: 2px solid var(--border-color); 
    border-right: 1px solid var(--border-color); 
}

.price-table td { 
    padding: 12px 5px; 
    text-align: center; 
    border-right: 1px solid var(--border-color); 
}

.price-table td:last-child { border-right: none; }

.price-box { display: flex; flex-direction: column; gap: 5px; }
.price-row { padding: 5px; border-radius: 4px; }
.buy-row { background: var(--buy-bg); }
.sell-row { background: var(--sell-bg); }

.label { 
    font-size: 11px; 
    color: var(--text-muted); 
    margin-bottom: 2px; 
    font-weight: 500;
}

.buy { 
    color: var(--buy-color); 
    font-weight: bold; 
    font-size: 15px; 
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sell { 
    color: var(--sell-color); 
    font-weight: bold; 
    font-size: 15px; 
}


.scroll-hint { 
    display: none; 
    text-align: center; 
    font-size: 12px; 
    color: var(--text-muted); 
    margin-top: 8px; 
    font-weight: bold; 
}

.product-price {
    font-size: 12px;
    color: #555;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.info-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-top: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-top: 5px solid var(--accent-gold);
}

.info-box h2 {
    font-size: 20px;
    color: var(--primary-gold);
    margin: 0 0 15px 0;
}

.info-box p {
    font-size: 15px;
    color: #444; 
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0;
    list-style: none;
}

.feature-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-gold);
}

.feature-item strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.feature-item span {
    font-size: 13px;
    color: #666;
}


@media (max-width: 768px) {
    .scroll-hint { display: block; } 
    .info-box { padding: 20px; }
    .info-box h2 { font-size: 18px; }
    .info-box p { font-size: 14px; }
}



.nav-container {
    background: #fff;
    border-bottom: 2px solid var(--accent-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 25px;
   
    overflow: hidden; 
}


.nav-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px; 
    height: calc(100% - 4px); 
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none; 
}

.nav-content {
    max-width: 1000px;
    margin: auto;
    display: flex;
    overflow-x: auto; 
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; 
    
    
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) #f1f1f1;
}

/* [¹æ¹ý 2] ½ºÅ©·Ñ¹Ù µðÀÚÀÎ (Å©·Ò, »çÆÄ¸®, »ï¼ºÀÎÅÍ³Ý µî) */
.nav-content::-webkit-scrollbar {
    height: 4px; 
    display: block !important; 
}

.nav-content::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

.nav-content::-webkit-scrollbar-thumb {
    background: var(--accent-gold); 
    border-radius: 10px;
}

.nav-content a {
    display: inline-block;
    padding: 15px 20px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.nav-content a:hover, .nav-content a.active {
    color: var(--primary-gold);
    background: #fffdf5;
}

.nav-content a.active {
    border-bottom: 3px solid var(--primary-gold);
}


@media (min-width: 1024px) {
    .nav-container::after { display: none; }
    .nav-content::-webkit-scrollbar { display: none; }
    .nav-content { overflow-x: visible; justify-content: center; }
}