.ranking-panel { margin-top: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); overflow: hidden; } .ranking-head, .ranking-section-head, .ranking-bulk { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .ranking-head { padding: 14px 16px; border-bottom: 1px solid var(--line); } .ranking-subtitle, .ranking-section-head span, .ranking-bulk span { color: var(--muted); font-size: 12px; } .ranking-actions, .ranking-tabs, .ranking-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .primary-action { border-color: var(--accent); background: var(--accent); color: #fff; } .primary-action:hover { background: var(--accent-strong); color: #fff; } .ranking-chip { min-height: 30px; border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; background: #fff; color: var(--muted); font-weight: 700; cursor: pointer; } .ranking-chip.active { border-color: var(--accent); background: #e5f4f2; color: var(--accent-strong); } .ranking-body { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 0; } .kids-discovery { padding: 14px 16px; } .kids-filter-form { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 1.4fr) repeat(4, minmax(120px, 0.8fr)) 76px; gap: 8px; align-items: center; margin-bottom: 10px; } .kids-filter-form input, .kids-filter-form select, .kids-filter-form button { min-height: 34px; } .kids-summary { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: 12px; } .trend-summary { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 8px; margin-bottom: 12px; } .trend-summary.empty { display: block; } .trend-card { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #fbfdff; } .trend-card strong { display: block; margin-top: 4px; color: var(--accent-strong); font-size: 20px; } .trend-card span { color: var(--muted); font-size: 12px; } .ranking-advanced { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; } .ranking-advanced summary { color: var(--accent-strong); cursor: pointer; font-weight: 700; } .ranking-sources, .ranking-programs { padding: 14px 16px; } .ranking-sources { border-right: 1px solid var(--line); } .ranking-section-head { margin-bottom: 10px; } .ranking-source-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; } .ranking-source-form input, .ranking-source-form select, .ranking-source-form button, .ranking-bulk button { min-height: 32px; } .ranking-source-form input[name="label"], .ranking-source-form input[name="url"] { grid-column: 1 / -1; } .ranking-check { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); } .ranking-source-list { display: grid; gap: 6px; } .ranking-source-row { display: grid; grid-template-columns: 64px 44px minmax(0, 1fr) 36px 36px; gap: 6px; align-items: center; padding: 6px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; } .ranking-source-row a, .ranking-table strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .release-date-note { display: block; margin-top: 4px; color: var(--accent-strong); font-size: 12px; font-weight: 700; line-height: 1.2; } .release-date-note.missing { color: var(--muted); font-weight: 600; } .ranking-empty { padding: 16px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center; } .ranking-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 8px; } .ranking-table { width: 100%; border-collapse: collapse; table-layout: fixed; } .ranking-table th, .ranking-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; } .ranking-table th { background: var(--panel-soft); font-weight: 700; } .kids-table th:nth-child(1), .kids-table td:nth-child(1) { width: 24%; } .kids-table th:nth-child(2), .kids-table td:nth-child(2) { width: 64px; } .kids-table th:nth-child(n+3):nth-child(-n+6), .kids-table td:nth-child(n+3):nth-child(-n+6) { width: 86px; text-align: right; } .kids-table th:nth-child(8), .kids-table td:nth-child(8) { width: 190px; } .trend-table th:nth-child(1), .trend-table td:nth-child(1) { width: 22%; } .trend-table th:nth-child(n+3):nth-child(-n+6), .trend-table td:nth-child(n+3):nth-child(-n+6) { width: 86px; text-align: right; } .trend-table th:nth-child(9), .trend-table td:nth-child(9) { width: 150px; } .trend-badge { display: inline-flex; align-items: center; min-height: 22px; border-radius: 999px; padding: 0 8px; background: #eef2f7; color: #475569; font-weight: 700; white-space: nowrap; } .trend-badge.strong_growth { background: #dcfce7; color: #166534; } .trend-badge.rising { background: #dbeafe; color: #1d4ed8; } .trend-badge.multi_platform { background: #fef3c7; color: #92400e; } .trend-badge.new_signal { background: #e0f2fe; color: #0369a1; } .trend-badge.no_data { background: #fee2e2; color: #991b1b; } .metric-ok { color: var(--accent-strong); font-weight: 700; } .metric-missing { color: var(--muted); } .ranking-bulk { margin-top: 10px; } @media (max-width: 900px) { .ranking-body { grid-template-columns: 1fr; } .ranking-sources { border-right: 0; border-bottom: 1px solid var(--line); } .ranking-head, .ranking-section-head, .ranking-bulk { align-items: flex-start; flex-direction: column; } .kids-filter-form { grid-template-columns: 1fr; } }