/* Full-width inside a themed content column, and no duplicate theme title */
.tci-ctf-page .page-header,.tci-ctf-page .single-header,.tci-ctf-page .entry-header{display:none!important}
.tci-ctf-page .entry-content>.tci-ctf{width:min(1380px,95vw);margin-left:50%;transform:translateX(-50%)}
.tci-ctf{--ink:#2b2521;--muted:#746960;--paper:#fbf6ed;--card:#fffdf8;--line:#dfd1be;--brown:#79543c;--dark:#352820;--up:#177a41;--flat:#8a6412;--down:#b2342a;color:var(--ink);font-family:Arial,sans-serif;font-size:16px;line-height:1.5;background:var(--paper);padding:14px clamp(14px,4vw,56px) 44px}
.tci-ctf *{box-sizing:border-box}.tci-ctf button,.tci-ctf select{font:inherit}.tci-ctf [hidden]{display:none!important}

/* Header — blended into the page, no card */
.tci-ctf__hero{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:20px;padding:6px 0 10px}
.tci-ctf__hero h1{font-family:Georgia,serif;font-size:clamp(30px,3.4vw,44px);line-height:1.05;letter-spacing:-.02em;margin:0 0 8px}
.tci-ctf__hero-copy>p{margin:0;color:#5f554e;font-size:17px;max-width:640px}
.tci-ctf__hero-art{height:150px;position:relative}
.tci-ctf__hero-art picture{display:block;height:100%}
.tci-ctf__hero-art img{width:100%;height:100%;object-fit:contain;object-position:right center;display:block;mix-blend-mode:multiply;-webkit-mask-image:radial-gradient(120% 100% at 70% 50%,#000 55%,transparent 88%);mask-image:radial-gradient(120% 100% at 70% 50%,#000 55%,transparent 88%)}

/* Filters */
.tci-ctf__tool{margin-top:6px}
.tci-ctf__platforms{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 12px}
.tci-ctf__platforms button,.tci-ctf__views button{border:1px solid var(--line);background:#fffaf3;border-radius:999px;min-height:40px;padding:8px 14px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;cursor:pointer;font-weight:600;color:var(--ink)}
.tci-ctf button[aria-selected=true]{background:var(--dark);border-color:var(--dark);color:#fff}
.tci-ctf__icon{width:19px;height:19px;display:inline-grid;place-items:center;border-radius:6px;font-size:11px;font-weight:800}
.tci-ctf__icon--all{background:#e8dac8}.tci-ctf__icon--youtube{background:#ff0033;color:#fff}.tci-ctf__icon--instagram{background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);color:#fff}.tci-ctf__icon--google{background:#fff;color:#4285f4;border:1px solid #ddd}.tci-ctf__icon--linkedin{background:#0a66c2;color:#fff}.tci-ctf__icon--x{background:#111;color:#fff}.tci-ctf__icon--pinterest{background:#bd081c;color:#fff}
.tci-ctf__controls{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:18px;padding:12px 0 16px;border-bottom:1px solid var(--line)}
.tci-ctf__views{display:flex;gap:7px}.tci-ctf__views button{border-radius:12px}
.tci-ctf__category{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:700;color:var(--muted)}
.tci-ctf__category select{width:100%;min-height:41px;border:1px solid var(--line);border-radius:12px;padding:9px 12px;background:#fffdf8;color:var(--ink)}
.tci-ctf__updated{justify-self:end;margin:0!important;color:var(--muted);font-size:14px}
.tci-ctf__section-head{padding:18px 0 12px}.tci-ctf__section-head h2{font-family:Georgia,serif;font-size:29px;line-height:1.1;margin:0}

/* Table */
.tci-ctf__workspace{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.82fr);gap:16px;align-items:start}
.tci-ctf__table-card,.tci-ctf__details{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 30px rgba(70,47,31,.07)}
.tci-ctf__table-wrap{overflow:auto;border-radius:18px 18px 0 0}
.tci-ctf table{width:100%;border-collapse:collapse;min-width:660px}
.tci-ctf th{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line);background:#f1e5d5;color:#695d54;font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.tci-ctf td{padding:12px 10px;border-bottom:1px solid #eadfce;font-size:14px;vertical-align:middle}
.tci-ctf td:first-child,.tci-ctf th:first-child{padding-left:16px;width:38px;color:var(--muted)}
.tci-ctf td:last-child,.tci-ctf th:last-child{padding-right:14px}
.tci-ctf td:nth-child(2){min-width:190px}
.tci-ctf tbody tr{cursor:pointer}.tci-ctf tbody tr:hover,.tci-ctf tbody tr.is-selected{background:#f8eee1}
.tci-ctf__cat{display:block;margin-top:3px;color:var(--muted);font-size:12px}
.tci-ctf__platform-cell{display:flex;align-items:center;gap:8px;white-space:nowrap}
.tci-ctf__volume{font-weight:700;white-space:nowrap}
.tci-ctf__view{border:1px solid #a98f79;background:transparent;border-radius:9px;padding:6px 10px;font-size:13px;font-weight:700;cursor:pointer}

/* Growth sparkline — one series, arrow + number carry direction as well as colour */
.tci-ctf__growth-cell{white-space:nowrap}
.tci-ctf__spark{display:inline-block;vertical-align:middle;overflow:visible}
.tci-ctf__spark--none{width:96px;height:30px;border-bottom:2px dotted var(--line)}
.tci-ctf__spark-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tci-ctf__spark-area{stroke:none}
.tci-ctf__spark--up .tci-ctf__spark-line,.tci-ctf__spark--up .tci-ctf__spark-dot{stroke:var(--up);fill:var(--up)}
.tci-ctf__spark--flat .tci-ctf__spark-line,.tci-ctf__spark--flat .tci-ctf__spark-dot{stroke:var(--flat);fill:var(--flat)}
.tci-ctf__spark--down .tci-ctf__spark-line,.tci-ctf__spark--down .tci-ctf__spark-dot{stroke:var(--down);fill:var(--down)}
.tci-ctf__spark--up .tci-ctf__spark-top{stop-color:rgba(23,122,65,.30)}.tci-ctf__spark--up .tci-ctf__spark-bottom{stop-color:rgba(23,122,65,0)}
.tci-ctf__spark--flat .tci-ctf__spark-top{stop-color:rgba(138,100,18,.28)}.tci-ctf__spark--flat .tci-ctf__spark-bottom{stop-color:rgba(138,100,18,0)}
.tci-ctf__spark--down .tci-ctf__spark-top{stop-color:rgba(178,52,42,.28)}.tci-ctf__spark--down .tci-ctf__spark-bottom{stop-color:rgba(178,52,42,0)}
.tci-ctf__rise{display:inline-block;margin-left:9px;font-weight:800;font-size:13px;vertical-align:middle}
.tci-ctf__rise--up{color:var(--up)}.tci-ctf__rise--flat{color:var(--flat)}.tci-ctf__rise--down{color:var(--down)}

/* Rank bar — position on that platform's own trending list */
.tci-ctf__rankbar{display:inline-block;vertical-align:middle;width:96px;height:10px;border-radius:999px;background:#ece3d7;overflow:hidden}
.tci-ctf__rankbar>span{display:block;height:100%;border-radius:999px}
.tci-ctf__rankbar--up>span{background:var(--up)}.tci-ctf__rankbar--flat>span{background:var(--flat)}.tci-ctf__rankbar--down>span{background:var(--down)}
.tci-ctf__detail-chart .tci-ctf__rankbar{width:150px;height:12px}

/* Detail card */
.tci-ctf__details{position:sticky;top:16px;padding:20px}
.tci-ctf__detail-top{padding-bottom:14px;border-bottom:1px solid var(--line)}
.tci-ctf__details h3{font-family:Georgia,serif;font-size:25px;line-height:1.14;margin:5px 0 0}
.tci-ctf__detail-platform{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:14px}
.tci-ctf__detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px 0;border-bottom:1px solid var(--line)}
.tci-ctf__detail-stats span{display:block;color:var(--muted);font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.tci-ctf__detail-stats strong{font-size:16px}
.tci-ctf__detail-chart{display:flex;align-items:center;gap:10px;padding:14px 0 4px;color:var(--muted);font-size:12px}
.tci-ctf__detail-chart .tci-ctf__spark{width:150px;height:44px}
.tci-ctf__detail-section{padding-top:16px}
.tci-ctf__detail-section h4{margin:0 0 8px;color:#6d5545;font-size:12px;letter-spacing:.09em;text-transform:uppercase}
.tci-ctf__detail-section p{margin:0;color:#5f554e;font-size:15px}
.tci-ctf__related{display:flex;flex-wrap:wrap;gap:7px}
.tci-ctf__related span{padding:6px 9px;border-radius:999px;background:#f1e5d5;border:1px solid #dfd0bd;font-size:13px}
.tci-ctf__ideas{margin:0;padding:0;list-style:none;display:grid;gap:9px;counter-reset:item}
.tci-ctf__ideas li{display:grid;grid-template-columns:24px 1fr;gap:8px;font-size:14px;counter-increment:item}
.tci-ctf__ideas li:before{content:counter(item);display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#ebddca;font-size:11px;font-weight:700}
.tci-ctf__source{margin:18px 0 0!important;padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.tci-ctf__source a{color:var(--brown)}
.tci-ctf__state{padding:40px 22px;text-align:center;color:var(--muted)}.tci-ctf__state strong{display:block;color:var(--ink);font-size:17px}

/* Pagination */
.tci-ctf__table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border-top:1px solid var(--line);background:#fffaf3;border-radius:0 0 18px 18px}
.tci-ctf__result-count{margin:0!important;color:var(--muted);font-size:13px}
.tci-ctf__pagination{display:flex;align-items:center;gap:6px}
.tci-ctf__pagination button{min-width:36px;height:36px;padding:0 6px;border:1px solid var(--line);border-radius:10px;background:#fffdf8;color:var(--ink);cursor:pointer;font-weight:700;line-height:1}
.tci-ctf__pagination button:hover:not(:disabled){border-color:var(--brown)}
.tci-ctf__pagination .tci-ctf__arrow{font-size:22px}
.tci-ctf__pagination button[aria-current="page"]{background:var(--dark);border-color:var(--dark);color:#fff}
.tci-ctf__pagination button:disabled{opacity:.35;cursor:not-allowed}

@media(max-width:1100px){.tci-ctf__workspace{grid-template-columns:minmax(0,1fr)}.tci-ctf__details{position:static}}
@media(max-width:980px){.tci-ctf__hero{grid-template-columns:1fr 210px}.tci-ctf__hero-art{height:120px}.tci-ctf__controls{grid-template-columns:auto 1fr}.tci-ctf__updated{grid-column:1/-1;justify-self:start}}
@media(max-width:680px){.tci-ctf{padding:10px 12px 28px}.tci-ctf__hero{grid-template-columns:minmax(0,1fr);gap:6px}.tci-ctf__hero-art{height:132px}.tci-ctf__hero-art img{object-position:center}.tci-ctf__controls{grid-template-columns:1fr;gap:11px}.tci-ctf__views button{flex:1}.tci-ctf__category{align-items:flex-start;flex-direction:column}.tci-ctf__section-head h2{font-size:25px}.tci-ctf__table-footer{align-items:flex-start;flex-direction:column}.tci-ctf__pagination{flex-wrap:wrap}}
