/* Base layout / cards / accordion */
.tcg-season-wrap{--cols:0}
.tcg-season-wrap.has-grid .tcg-grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:16px}
.tcg-grid{display:flex;flex-direction:column;gap:16px}
/* Heading: only left border color change */
.tcg-group-h{margin:24px 0 12px;font-size:20px;font-weight:800;border-left:6px solid #284155;padding-left:10px}

.tcg-card{position:relative;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#fbfbff 100%);box-shadow:0 4px 14px rgba(0,0,0,.06)}
.tcg-card__top{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:linear-gradient(90deg,#eef2ff,#ecfeff)}
.tcg-namechip{font-size:13px;font-weight:800;padding:6px 12px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.02)}
.tcg-topright{display:flex;gap:8px;align-items:center}
.tcg-chip{font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;border:1px solid #e5e7eb;background:#ecfeff;border-color:#bae6fd}

.tcg-medal{width:28px;height:28px;border-radius:50%;position:relative;border:2px solid #e5e7eb;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}
.tcg-medal--gold{background:linear-gradient(180deg,#ffe08a,#facc15);border-color:#eab308}
.tcg-medal--silver{background:linear-gradient(180deg,#dfe6ee,#c0c8d2);border-color:#94a3b8}

.tcg-thumb{width:100%;height:auto;display:block}
.tcg-deck{margin:10px 12px;color:#334155;font-weight:700}
.tcg-metarow{display:flex;gap:12px;flex-wrap:wrap;margin:6px 12px 10px}
.tcg-kv{display:flex;gap:6px;align-items:center;background:#f8fafc;border:1px solid #eef2f7;border-radius:8px;padding:4px 8px}
.tcg-kv .k{font-size:12px;color:#64748b}
.tcg-kv .v{font-weight:700}

.tcg-accordion{margin:8px 12px 12px}
.tcg-accordion > summary{cursor:pointer;list-style:none;font-weight:800;padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;background:#ffffff}
.tcg-accordion[open] > summary{border-bottom-left-radius:0;border-bottom-right-radius:0;background:#f8fafc}
.tcg-matchups{margin:0;padding:8px 12px;border:1px solid #e5e7eb;border-top:0;border-bottom-left-radius:8px;border-bottom-right-radius:8px}
.tcg-matchups li{margin:4px 0;}

@media (max-width:768px){
  .tcg-season-wrap.has-grid .tcg-grid{grid-template-columns:1fr}
}

/* Select UI */
.tcg-select-wrap{margin:8px 0 16px}
.tcg-select-label{display:block;font-size:12px;color:#64748b;margin-bottom:4px}
.tcg-select{width:100%;padding:8px 10px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;margin-bottom:8px}
.tcg-panes .tcg-pane{display:none}
.tcg-panes .tcg-pane.is-active{display:block}

/* Stats */
.tcg-stats{padding:12px}
.tcg-stat-caption{font-size:12px;color:#64748b;margin:8px 2px 2px}
