/* 매수/매도 흐름선 리스트 */
.line-list {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
    margin: 0px 25px;
}

/* 헤더 */
.ll-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding: 15px 20px;
    border-bottom: 1px solid #2a3458;
}
.ll-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ratio-list-title-logo {
    
}
.ratio-list-title-logo img {
    width: 100px;
    height: 100px;
    
}
.ll-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}
.ll-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}
.ll-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 범례 */
.ll-legend {
    display: flex;
    gap: 12px;
}
.ll-lg-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #9ca3af;
}
.ll-lg-dot {
    width: 12px;
    height: 3px;
    border-radius: 1px;
}

/* 검색 */
.ll-search {
    display: flex;
    gap: 4px;
}
.ll-search input {
    width: 180px;
    height: 32px;
    padding: 0 10px;
    background: #0f172a;
    border: 1px solid #2a3458;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    outline: none;
}
.ll-search input:focus { border-color: #4a5580; }
.ll-search input::placeholder { color: #4a5580; }
.ll-search button {
    height: 32px;
    padding: 0 14px;
    background: #2a3458;
    border: 1px solid #2a3458;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}
.ll-search button:hover { background: #3a4568; }

/* ── 퀵카드 ── */
.ll-quick {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a3458;
    padding-bottom: 20px;
}
.ll-qcard {
    display: block;
    background: #040b1b;
    border: 1px solid #4c5886;
    border-radius: 4px;
    padding: 12px;
    text-decoration: none;
    transition: border-color 0.2s;
}
.ll-qcard:hover { border-color: aqua; }
.ll-qcard-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.ll-qlogo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 5px;
}
.ll-qsym {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-top: -5px;
}
.ll-qname {
    font-size: 14px;
    color: #fff;
    padding-left: 10px;
}
.ll-qchart {
    margin-bottom: 8px;
    background: #000;
    border-radius: 4px;
    border: 1px solid #2a3458;
    padding: 7px 0px;
}
.ll-qchart .mc-svg {
    width: 100%;
    height: 120px;
    display: block;
}
.ll-qdata {
    border-top: 1px solid #2a3458;
    padding-top: 8px;
}
.ll-qrow {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
}
.ll-qlbl {
    font-size: 11px;
    color: #fff;
}
.ll-qval {
    font-size: 11px;
    color: #d1d5db;
    font-family: monospace;
}
.ll-qval.up { color: #10b981; }
.ll-qval.down { color: #f43f5e; }

/* ── 카드 그리드 ── */
.ll-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.ll-card {
    display: block;
    background: #1a1f3a;
    border: 1px solid #2a3458;
    border-radius: 4px;
    padding: 12px;
    text-decoration: none;
    transition: border-color 0.2s;
}
.ll-card:hover { border-color: #4a5580; }

/* 미니 차트 SVG */
.ll-chart .mc-svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* 코인 정보 */
.ll-coin {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #2a3458;
}
.ll-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.ll-sym {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.ll-name {
    font-size: 12px;
    color: #d2dae9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── 페이징 ── */
.ll-paging {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
    padding: 16px 0;
}
.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    background: #1a1f3a;
    border: 1px solid #2a3458;
    border-radius: 4px;
    color: #9ca3af;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.pg-btn:hover {
    background: #2a3458;
    color: #fff;
}
.pg-btn.active {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    font-weight: 700;
}