/*  Yeni Çıkan Coinler v2  –  ycc-style.css
    Tüm sınıflar ycc- prefix ile izole. Temaya müdahale yok. */

/* ── KAPSAYICI ─────────────────────────────────────── */
#ycc-wrap,
#ycc-detail-wrap { font-family: inherit; max-width: 100%; }

/* ── BAŞLIK SATIRI ─────────────────────────────────── */
.ycc-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f3f6fb;
    border: 1px solid #dde3ec;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 11px 16px;
    gap: 8px;
    flex-wrap: wrap;
}
.ycc-header-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1d23;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ycc-live-dot {
    display: inline-block;
    width: 9px; height: 9px;
    background: #059669;
    border-radius: 50%;
    animation: ycc-pulse 1.6s ease infinite;
}
@keyframes ycc-pulse { 0%,100%{opacity:1} 50%{opacity:.2} }
.ycc-update-time {
    font-size: 12px;
    color: #6b7280;
    font-family: monospace;
}

/* ── TABLO ─────────────────────────────────────────── */
.ycc-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #dde3ec;
    border-bottom: none;
    background: #fff;
}
.ycc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}
.ycc-table thead tr {
    background: #f9fafb;
    border-bottom: 2px solid #dde3ec;
}
.ycc-table thead th {
    padding: 9px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .4px;
    white-space: nowrap;
    text-align: left;
}
.ycc-table thead th.col-n  { width:44px; text-align:center; }
.ycc-table thead th.col-r  { text-align:right; }
.ycc-table thead th.col-d  { text-align:left; }

.ycc-table tbody tr { border-bottom: 1px solid #f0f2f7; transition: background .12s; }
.ycc-table tbody tr:last-child { border-bottom: none; }
.ycc-table tbody tr:hover { background: #f5f8ff; }
.ycc-table tbody td { padding: 10px 14px; vertical-align: middle; }

.td-n { text-align:center; font-size:12px; color:#9ca3af; font-weight:600; }
.td-r { text-align:right; font-size:13px; font-family:monospace; }
.td-d { font-size:11px; font-family:monospace; color:#9ca3af; white-space:nowrap; }

/* Coin hücresi */
.ycc-cell { display:flex; align-items:center; gap:10px; }
.ycc-img  {
    width:30px; height:30px; border-radius:50%;
    object-fit:cover; flex-shrink:0; background:#e5e7eb;
}
.ycc-abbr {
    width:30px; height:30px; border-radius:50%;
    background: linear-gradient(135deg,#0f4c81,#ea580c);
    display:flex; align-items:center; justify-content:center;
    font-size:10px; font-weight:800; color:#fff;
    flex-shrink:0; text-transform:uppercase; line-height:1;
}
.ycc-meta { display:flex; flex-direction:column; gap:2px; }
.ycc-name {
    font-weight:700; color:#0f4c81; text-decoration:none;
    font-size:13.5px; line-height:1.3;
}
.ycc-name:hover { text-decoration:underline; color:#1a6fbf; }
.ycc-sym  { font-size:11px; color:#9ca3af; font-family:monospace; }
.ycc-new  {
    display:inline-block; background:#f3f0ff; color:#7c3aed;
    font-size:9px; font-weight:700; padding:1px 5px;
    border-radius:4px; text-transform:uppercase; letter-spacing:.4px;
    margin-left:5px; vertical-align:middle;
}
/* Renk */
.ycc-up  { color:#059669; font-weight:600; }
.ycc-dn  { color:#dc2626; font-weight:600; }
.ycc-nu  { color:#6b7280; }

/* ── SAYFALAMA ──────────────────────────────────────── */
.ycc-pagination {
    display:flex; align-items:center; justify-content:center;
    gap:5px; padding:16px 10px; flex-wrap:wrap;
    border:1px solid #dde3ec; border-top:none;
    background:#fff;
}
.ycc-total {
    text-align:right; font-size:12px; color:#9ca3af;
    padding:0 6px 12px; border:1px solid #dde3ec;
    border-top:none; border-radius:0 0 8px 8px;
    background:#fff;
}
.ycc-pb {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:36px; height:36px; padding:0 10px;
    border:1px solid #dde3ec; border-radius:6px;
    background:#fff; color:#374151;
    font-size:13px; font-weight:600;
    cursor:pointer; font-family:inherit;
    transition: all .14s;
    text-decoration:none;
}
.ycc-pb:hover:not(:disabled) {
    background:#e8f0fb; border-color:#0f4c81; color:#0f4c81;
}
.ycc-pb.on { background:#0f4c81; color:#fff; border-color:#0f4c81; }
.ycc-pb:disabled { opacity:.4; cursor:not-allowed; }
.ycc-pi { font-size:12px; color:#6b7280; margin-left:8px; }

/* ── YÜKLEME / HATA ─────────────────────────────────── */
.ycc-status-box {
    text-align:center; padding:36px 16px;
    color:#6b7280; font-size:14px;
    border:1px solid #dde3ec; border-top:none;
    background:#fff; border-radius:0 0 8px 8px;
}
.ycc-error-box {
    background:#fef2f2; border:1px solid #fca5a5;
    border-radius:8px; padding:14px 18px;
    color:#991b1b; font-size:14px; margin:8px 0;
}
.ycc-spinner {
    display:inline-block; width:26px; height:26px;
    border:3px solid #dde3ec; border-top-color:#0f4c81;
    border-radius:50%; animation:ycc-spin .7s linear infinite;
    margin-bottom:10px;
}
@keyframes ycc-spin { to { transform:rotate(360deg); } }

.ycc-disclaimer {
    font-size:12px; color:#6b7280;
    font-style:italic; margin-top:10px;
}

/* ── GERİ BUTONU (detay) ────────────────────────────── */
.ycc-back { margin-bottom:16px; }
.ycc-back-btn {
    display:inline-flex; align-items:center; gap:5px;
    color:#0f4c81; text-decoration:none;
    font-size:13px; font-weight:600;
    padding:7px 14px; border:1px solid #0f4c81;
    border-radius:6px; transition:all .14s; background:#fff;
}
.ycc-back-btn:hover { background:#0f4c81; color:#fff; text-decoration:none; }

/* ── DETAY FİYAT ────────────────────────────────────── */
.ycc-coin-head {
    display:flex; align-items:center; gap:14px;
    margin-bottom:14px; flex-wrap:wrap;
}
.ycc-dimg {
    width:52px; height:52px; border-radius:50%;
    object-fit:cover; flex-shrink:0; background:#e5e7eb;
}
.ycc-dabbr {
    width:52px; height:52px; border-radius:50%;
    background:linear-gradient(135deg,#0f4c81,#ea580c);
    display:flex; align-items:center; justify-content:center;
    font-size:16px; font-weight:800; color:#fff; flex-shrink:0;
}
.ycc-dname {
    font-size:22px; font-weight:700; margin:0 0 4px;
    display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.ycc-sym-tag {
    font-size:13px; background:#e8f0fb; color:#0f4c81;
    padding:2px 8px; border-radius:5px; font-weight:600;
}
.ycc-price-row {
    display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;
}
.ycc-dprice {
    font-size:30px; font-weight:700;
    font-family:monospace; color:#1a1d23; line-height:1.2;
}
.ycc-dchange {
    font-size:15px; font-weight:700;
    padding:3px 10px; border-radius:6px;
}
.ycc-dchange.ycc-up { background:#ecfdf5; color:#059669; }
.ycc-dchange.ycc-dn { background:#fef2f2; color:#dc2626; }
.ycc-ddate { font-size:12px; color:#6b7280; margin:6px 0 16px; }

/* ── STATS GRID ─────────────────────────────────────── */
.ycc-stats {
    display:grid; grid-template-columns:repeat(auto-fit,minmax(148px,1fr));
    gap:10px; margin-bottom:18px;
}
.ycc-sc {
    background:#f9fafb; border:1px solid #dde3ec;
    border-radius:8px; padding:12px 14px;
}
.ycc-sl { font-size:11px; color:#6b7280; text-transform:uppercase; letter-spacing:.5px; font-weight:700; margin-bottom:4px; }
.ycc-sv { font-size:14px; font-weight:600; font-family:monospace; color:#1a1d23; }

/* ── ANALİZ BLOKLARI ────────────────────────────────── */
.ycc-block {
    border:1px solid #dde3ec; border-radius:8px;
    padding:18px 20px; margin-bottom:14px; background:#fff;
}
.ycc-block h2 {
    font-size:16px; font-weight:700; color:#1a1d23;
    margin:0 0 12px; padding-bottom:10px;
    border-bottom:2px solid #e8f0fb;
}
.ycc-block h3 {
    font-size:14px; font-weight:700;
    color:#374151; margin:16px 0 6px;
}
.ycc-block p {
    font-size:14px; line-height:1.78;
    color:#374151; margin:0 0 8px;
}
.ycc-block p:last-child { margin:0; }

.ycc-warn {
    background:#fffbeb; border:1px solid #fcd34d;
    border-radius:8px; padding:10px 14px;
    font-size:12px; color:#78350f;
    text-align:center; margin-top:8px;
}

/* Reklam kutusu */
.ycc-ad-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px auto;
    min-height: 250px;
    background: #f9fafb;
    border: 1px solid #e2e6ed;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    width: 100%;
}
.ycc-ad-wrap .coinzilla {
    margin: 0 auto;
    display: block;
}

/* ── MOBİL ──────────────────────────────────────────── */
@media (max-width: 640px) {
    .hide-sm               { display:none !important; }
    .ycc-table             { font-size:12.5px; }
    .ycc-table tbody td,
    .ycc-table thead th    { padding:8px 9px; }
    .ycc-img, .ycc-abbr    { width:26px; height:26px; font-size:9px; }
    .ycc-name              { font-size:12.5px; }
    .ycc-dprice            { font-size:24px; }
    .ycc-stats             { grid-template-columns:1fr 1fr; }
    .ycc-dname             { font-size:18px; }
}
