/*  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:rgba(247, 147, 26, .16); color:#f7931a;
    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;
}

/* New crypto listings seo block */
#cmai-root.cmai {
    max-width: 100%;
    margin: 28px auto 0;
    color: #e8eaf0;
    font-family: var(--font-body, inherit);
}
#cmai-root.cmai *,
#cmai-root.cmai *::before,
#cmai-root.cmai *::after { box-sizing: border-box; }
#cmai-root .cmai-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: #f7931a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}
#cmai-root .cmai-eyebrow span {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.08);
}
#cmai-root .cmai-panel {
    background: #111318;
    border: 1px solid #1e2330;
    border-top: 3px solid #f7931a;
    border-radius: 14px;
    padding: 28px 24px;
}
#cmai-root h2,
#cmai-root h3,
#cmai-root p,
#cmai-root ul,
#cmai-root li { margin-top: 0; }
#cmai-root h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(1.5rem, 2vw, 1.9rem);
    line-height: 1.2;
    font-weight: 800;
}
#cmai-root h2 span { color: #f7931a; }
#cmai-root .cmai-sub {
    margin: 0 0 20px;
    color: #7f889b;
    font-size: 13px;
    letter-spacing: .04em;
}
#cmai-root p {
    margin-bottom: 14px;
    color: #c5cad8;
    font-size: 15px;
    line-height: 1.8;
}
#cmai-root p strong,
#cmai-root li strong,
#cmai-root h3 { color: #fff; }
#cmai-root h3 {
    margin: 24px 0 10px;
    padding-left: 12px;
    border-left: 3px solid #00d4aa;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}
#cmai-root .cmai-accordion {
    display: grid;
    gap: 10px;
    margin: 16px 0 22px;
}
#cmai-root .cmai-item {
    overflow: hidden;
    border: 1px solid #1e2330;
    border-radius: 10px;
    background: #151922;
}
#cmai-root .cmai-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 16px;
    color: #edf0f7;
    background: #1a1f29;
    border: 0;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
}
#cmai-root .cmai-toggle-mark {
    flex: 0 0 auto;
    color: #f7931a;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}
#cmai-root .cmai-body {
    padding: 14px 16px 16px;
    border-top: 1px solid #1e2330;
    background: #111318;
}
#cmai-root .cmai-body[hidden] { display: none; }
#cmai-root .cmai-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 22px;
}
#cmai-root .cmai-chip-row span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #1e2330;
    border-radius: 999px;
    background: #181c24;
    color: #c5cad8;
    font-size: 13px;
}
#cmai-root .cmai-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}
#cmai-root .cmai-list li {
    position: relative;
    padding: 0 0 0 18px;
    margin: 0 0 10px;
    color: #c5cad8;
    font-size: 14px;
    line-height: 1.7;
}
#cmai-root .cmai-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
    color: #f7931a;
    font-weight: 700;
}
#cmai-root .cmai-note {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(247,147,26,.2);
    border-radius: 10px;
    background: rgba(247,147,26,.06);
    color: #9ba3b4;
    font-size: 13px;
    line-height: 1.7;
}
#cmai-root .cmai-links {
    margin-top: 28px;
}
#cmai-root .cmai-links-label {
    margin: 0 0 10px;
    color: #7f889b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
#cmai-root .cmai-link-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}
#cmai-root .cmai-link-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
#cmai-root .cmai-link-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
#cmai-root .cmai-link-grid a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 170px;
    padding: 18px;
    border: 1px solid #1e2330;
    border-radius: 12px;
    background: #111318;
    color: #e8eaf0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: border-color .18s ease, transform .18s ease;
}
#cmai-root .cmai-link-grid a:hover {
    border-color: #f7931a;
    transform: translateY(-2px);
}
#cmai-root .cmai-link-grid strong {
    margin-top: auto;
    color: #fff;
    font-size: 16px;
    line-height: 1.35;
}
#cmai-root .cmai-link-grid small {
    display: block;
    color: #7f889b;
    font-size: 13px;
    line-height: 1.7;
}
#cmai-root .cmai-link-grid em {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 8px;
    border: 1px solid rgba(247,147,26,.2);
    border-radius: 7px;
    background: rgba(247,147,26,.08);
    color: #f7931a;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
@media (max-width: 900px) {
    #cmai-root .cmai-link-grid--4,
    #cmai-root .cmai-link-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    #cmai-root .cmai-panel {
        padding: 22px 16px;
    }
    #cmai-root .cmai-link-grid--4,
    #cmai-root .cmai-link-grid--3 {
        grid-template-columns: 1fr;
    }
    #cmai-root .cmai-link-grid a {
        min-height: 0;
    }
}

/* ── 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; }
}

.ycc-section-title {
    font-size: 18px;
    font-weight: 800;
    margin: 24px 0 10px;
    padding-left: 12px;
    border-left: 4px solid #f7931a;
    color: #f8fafc;
    line-height: 1.3;
}

.ycc-lead {
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.ycc-accent-price {
    color: #f7931a;
    font-size: 24px;
    font-weight: 800;
}

.ycc-small-note {
    margin-top: 10px !important;
    font-size: 12px !important;
    color: #6b7280 !important;
}

.ycc-subheading {
    margin: 0 0 6px;
    color: #f7931a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ycc-spaced {
    margin: 0 0 14px !important;
}

.ycc-list {
    margin: 0 0 0 18px;
    padding: 0;
}

.ycc-list li {
    margin-bottom: 10px;
    color: #cbd5e1;
    line-height: 1.7;
}

.ycc-faq h2,
.ycc-related h3 {
    color: #f8fafc !important;
}

.ycc-faq h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #f7931a !important;
    margin: 14px 0 4px !important;
}

.ycc-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ycc-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(247,147,26,.24);
    background: rgba(247,147,26,.08);
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.ycc-chip:hover {
    background: #f7931a;
    border-color: #f7931a;
    color: #111318;
    text-decoration: none;
}

#ycc-detail-wrap {
    max-width: 960px;
    margin: 0 auto;
}

#ycc-detail-wrap nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ycc-coin-head > div {
    min-width: 0;
}

.ycc-dname,
.ycc-name {
    word-break: break-word;
}

.ycc-table {
    min-width: 760px;
}

.ycc-scroll {
    border-radius: 10px 10px 0 0;
}

@media (max-width: 768px) {
    .ycc-header-bar {
        padding: 12px 14px;
    }

    .ycc-header-title {
        font-size: 14px;
    }

    .ycc-update-time {
        width: 100%;
    }

    .ycc-stats {
        grid-template-columns: 1fr;
    }

    .ycc-block {
        padding: 16px;
    }

    .ycc-section-title {
        font-size: 16px;
        margin-top: 20px;
    }

    .ycc-chip-list {
        gap: 8px;
    }

    .ycc-chip {
        width: 100%;
        justify-content: flex-start;
        border-radius: 12px;
    }
}

/* Night theme overrides */
#ycc-wrap,
#ycc-detail-wrap {
    color: #e5e7eb;
}

.ycc-header-bar,
.ycc-scroll,
.ycc-pagination,
.ycc-total,
.ycc-block,
.ycc-sc,
.ycc-error-box,
.ycc-status-box {
    background: #161b23;
    border-color: #2a3140;
}

.ycc-table,
.ycc-table tbody tr,
.ycc-table thead tr,
.ycc-table tbody td,
.ycc-table thead th {
    background: transparent;
    color: #e5e7eb;
    border-color: #2a3142;
}

.ycc-table thead tr {
    background: #20252e;
}

.ycc-table tbody tr:hover {
    background: #262c37;
}

.ycc-name,
.ycc-dname,
.ycc-section-title,
.ycc-faq h2,
.ycc-related h3,
.ycc-dprice,
.ycc-sv {
    color: #f8fafc !important;
}

.ycc-block p,
.ycc-block li,
.ycc-lead,
.ycc-spaced,
.ycc-faq p,
.ycc-related p {
    color: #cbd5e1 !important;
}

.ycc-sym,
.ycc-ddate,
.ycc-small-note,
.ycc-sl,
.td-d,
.ycc-pi,
.ycc-update-time,
.ycc-disclaimer {
    color: #9aa6b8 !important;
}

.ycc-section-title {
    border-left-color: #f7931a;
}

.ycc-accent-price,
.ycc-subheading,
.ycc-faq h3,
.ycc-new {
    color: #f7931a !important;
}

.ycc-new {
    background: rgba(247, 147, 26, .16);
}

.ycc-chip {
    background: rgba(247, 147, 26, .08);
    border-color: rgba(247, 147, 26, .24);
    color: #f8fafc;
}

.ycc-chip:hover {
    background: #f7931a;
    border-color: #f7931a;
    color: #111318;
}

.ycc-warn {
    background: rgba(245, 158, 11, .12);
    border-color: rgba(245, 158, 11, .28);
    color: #fcd34d;
}

.ycc-pb {
    background: #20252e;
    border-color: #303744;
    color: #e5e7eb;
}

.ycc-pb.on,
.ycc-pb:hover:not(:disabled) {
    background: #f7931a;
    border-color: #f7931a;
    color: #111318;
}
