.pd-frow-dash { font-family: system-ui, sans-serif; }

.pd-frow .sg-expand-summary { justify-content: flex-start; padding-left: 64px; }

@media (max-width: 900px) {
    .pd-frow .sg-expand-summary { padding-left: 14px; }
}

@media (min-width: 901px) {
    .pd-find-filterbar .pd-dd:last-of-type .pd-dd__menu { left: auto; right: 0; }
}

@media (max-width: 640px) {
    .pd-hero__breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
    .pd-hero__breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }

    .pd-kpi__card { display: flex; flex-direction: column; align-items: center; }
    .pd-kpi__label { min-height: 20px; }
    .pd-kpi__num { max-width: 100%; }

    .pd-keypeople__list { width: 100%; min-width: 0; }
    .pd-keypeople__person { min-height: 44px; max-width: 100%; align-items: center; }
    .pd-keypeople__name,
    .pd-keypeople__role { white-space: normal; overflow-wrap: anywhere; min-width: 0; flex: 0 1 auto; }
    .pd-keypeople__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
    .pd-keypeople__meta a { display: inline-flex; align-items: center; min-height: 44px; }

    .pd-find-copy-all { min-height: 44px; }
    .pd-find-hdr-actions { flex-wrap: wrap; }
    .pd-find-search-wrap { padding: 0 13px; }
    .pd-find-search-input { min-height: 44px; font-size: 16px; }
    .pd-find-sort-select { min-height: 44px; }
    .pd-find-reset-link { display: inline-flex; align-items: center; min-height: 44px; }
    .pd-find-filterbar .pd-dd__sum { min-height: 44px; }
    .pd-find-filterbar .pd-dd__opt { min-height: 44px; }
    .pd-filters-cb,
    .pd-demand-radio { height: 44px; }

    .pd-find-toolbar-tail { width: 100%; }
    .pd-find-toolbar-tail .pd-find-sort-select { flex: 1 1 auto; min-width: 0; }

    .pd-frow-main,
    .pd-frow--demand .pd-frow-main {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto auto auto auto;
        align-items: start;
        gap: 10px 12px;
        padding: 12px 14px;
    }
    .pd-frow-thumb { grid-column: 1; grid-row: 1; align-self: center; }
    .pd-frow-game { grid-column: 1 / -1; grid-row: 1; min-height: 44px; padding: 0 0 0 44px; justify-content: center; flex: none; }
    .pd-frow-name { display: block; line-height: 44px; min-height: 44px; }
    .pd-frow-released { grid-column: 1; grid-row: 2; }
    .pd-frow-rtp { grid-column: 2; grid-row: 2; }
    .pd-frow-vol { grid-column: 3; grid-row: 2; }
    .pd-frow-maxwin { grid-column: 1; grid-row: 3; }
    .pd-frow-demand { grid-column: 2; grid-row: 3; }
    .pd-frow-cell { flex: none; min-height: 34px; }
    .pd-frow-actions {
        grid-column: 1 / -1;
        grid-row: 4;
        display: flex;
        flex-wrap: nowrap;
        justify-content: stretch;
        gap: 8px;
    }
    .pd-fab { min-height: 44px; font-size: 12px; padding: 0 12px; justify-content: center; }
    .pd-fab--demo { flex: 1 1 auto; }
    .pd-fab--icon { flex: none; min-width: 44px; width: 44px; padding: 0; font-size: 14px; }

    .pd-frow .sg-tag { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; }
    .pd-frow .sg-expand-tags { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .pd-frow .sg-tag { flex: none; }
    .pd-frow .sg-capt-detail-link { display: inline-flex; align-items: center; min-height: 44px; }
    .sg-pg-btn { min-width: 44px; height: 44px; }

    .pd-top-grid { grid-template-columns: minmax(0, 1fr); }
    .pd-top-card { min-width: 0; }
    .pd-top-name-wrap { min-width: 0; }
    .pd-top-name { display: block; line-height: 44px; min-height: 44px; }
    .pd-top-demo-btn { min-height: 44px; padding: 0 12px; font-size: 12px; justify-content: center; }

    .pd-series-hdr { flex-wrap: wrap; row-gap: 4px; }
    .pd-series-hdr-name { flex: 1 1 calc(100% - 60px); min-width: 0; min-height: 44px; display: inline-flex; align-items: center; white-space: normal; overflow-wrap: anywhere; }
    .pd-series-hdr-copy,
    .pd-series-hdr-remove { min-height: 44px; min-width: 44px; }
    .pd-series-hdr-copy { margin-left: 0; }
    .pd-series-api-row .mcp-copy { min-height: 44px; min-width: 44px; }
    .pd-series-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 10px 14px; }
    .pd-series-row-name { grid-column: 1; display: flex; align-items: center; min-height: 44px; white-space: normal; overflow: visible; overflow-wrap: anywhere; }
    .pd-series-row-maxwin { grid-column: 1; }
    .pd-series-row-actions { grid-column: 1; grid-row: auto; align-self: stretch; justify-content: stretch; gap: 8px; margin-top: 4px; }
    .pd-series-row-btn { min-height: 44px; padding: 0 12px; font-size: 12px; justify-content: center; }
    .pd-series-row-btn--demo { flex: 1 1 auto; }
    .pd-series-row-btn--detail { flex: none; min-width: 44px; padding: 0; }
    .pd-series-more__sum { min-height: 44px; }

    .pd-theme-item { min-height: 44px; }

    .pd-new-row {
        grid-template-columns: 40px auto minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        align-items: center;
        gap: 6px 10px;
        padding: 10px 14px;
    }
    .pd-new-row > .pd-new-logo { grid-column: 1; grid-row: 1; }
    .pd-new-name-wrap { grid-column: 2 / -1; grid-row: 1; min-width: 0; }
    .pd-new-name { white-space: normal; overflow: visible; display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
    .pd-new-row > .pd-freshness-badge { grid-column: 1 / 3; grid-row: 2; align-self: center; justify-self: start; }
    .pd-new-released { grid-column: 3; grid-row: 2; font-size: 11px; }
    .pd-new-actions { grid-column: 1 / -1; grid-row: 3; align-self: stretch; justify-content: stretch; gap: 8px; }
    .pd-new-actions .pd-fab--demo { flex: 1 1 auto; }

    .pd-demand-more__sum { min-height: 44px; }
    .pd-demand-tab { min-height: 44px; }

    .pd-team-lead-grid { grid-template-columns: minmax(0, 1fr); }
    .pd-team-lead { min-width: 0; }
    .pd-team-lead__li { width: 44px; height: 44px; }

    .pd-co-link-row { align-items: flex-start; }
    .pd-co-link-row__val { flex: 1 1 0; min-width: 0; white-space: normal; overflow: visible; overflow-wrap: anywhere; }

    .pd-section__title-group { flex-wrap: wrap; row-gap: 6px; }
    .pd-section__title-group .pd-section__h2 { flex: 1 1 100%; }
    .pd-section__title-group .pd-badge { white-space: nowrap; }
    .pd-api__cta-btn { align-self: flex-start; color: var(--pd-text-body); border-color: var(--pd-border-strong); }
    .pd-api__cta-btn:hover { background-color: var(--pd-bg-card-hd); }

    .pd-trust__disclaimer a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 360px) {
    .pd-kpi { gap: 4px; padding: 10px 10px; }
    .pd-kpi__num { font-size: 16px; }
}
