/* Phones and devices. List photos stay on a transparent ground. Product galleries do too. */
.devices-filter-groups{display:flex;flex-direction:column;gap:10px;margin:0 0 28px}
.devices-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0;align-items:center}
.devices-filters button{appearance:none;border:1.5px solid var(--yc-line,var(--line,#dfe4ee));background:var(--yc-surface,#fff);color:var(--yc-text,var(--ink));border-radius:999px;padding:8px 14px;font:inherit;font-weight:600;cursor:pointer;min-height:44px}
/* Active pill: dark text on brand for >=4.5:1 */
.devices-filters button[aria-pressed=true]{background:var(--yc-brand-neon,var(--yc-brand,#F000A5));border-color:transparent;color:#140A0F}
.devices-filter-empty{margin:0 0 28px;color:var(--yc-text-muted,var(--muted))}
.mfr-block{margin:0 0 48px}
.mfr-block h2{margin:0 0 18px;font-size:1.35rem}
.device-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px}
.device-card{display:flex;flex-direction:column;background:var(--yc-surface,#fff);border:1px solid var(--yc-line,var(--line,#dfe4ee));border-radius:22px;padding:22px;box-shadow:var(--shadow,0 10px 30px -18px rgba(15,27,61,.35));content-visibility:auto;contain-intrinsic-size:auto 420px}
html[data-theme=dark] .device-card{background:var(--yc-surface-2,rgba(255,255,255,.04))}
.device-card .device-photo{aspect-ratio:1;display:grid;place-items:center;background:transparent;border-radius:16px;margin-bottom:14px;overflow:hidden}
.device-card .device-photo img{max-width:88%;max-height:88%;object-fit:contain}
.device-card h3{margin:0 0 4px;font-size:1.1rem}
.device-card .make{color:var(--yc-text-muted,var(--muted));font-size:.85rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;margin:0 0 8px}
.device-card .blurb{color:var(--yc-text-muted,var(--muted));font-size:.95rem;flex:1;margin:0 0 16px}
.device-card .card-actions{display:flex;gap:10px;align-items:center;margin-top:auto}
.btn-buy-slot{display:none!important}
.device-card[hidden],.mfr-block[hidden],.eol-section[hidden],.devices-filter-empty[hidden]{display:none!important}
.eol-section{margin-top:64px;padding-top:40px;border-top:1px solid var(--yc-line,var(--line))}
.eol-intro{max-width:720px;color:var(--yc-text-muted,var(--muted))}
.product-top{display:grid;gap:32px;margin-bottom:40px}
@media(min-width:900px){.product-top{grid-template-columns:minmax(280px,420px) 1fr;align-items:start}}
.product-gallery{background:transparent;border-radius:22px;padding:28px;display:grid;place-items:center;min-height:280px}
.product-gallery img{max-width:100%;height:auto}
.specs-grid{display:grid;gap:0 32px;margin:12px 0 28px}
@media(min-width:1024px){.specs-grid{grid-template-columns:1fr 1fr}}
.specs-grid .spec-row{display:grid;grid-template-columns:minmax(120px,42%) 1fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--yc-line,var(--line))}
.specs-grid .spec-row dt{color:var(--yc-text-muted,var(--muted));font-weight:600;margin:0}
.specs-grid .spec-row dd{margin:0}
.works-with{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;background:var(--yc-success-bg,#dcfaf2);color:var(--yc-success,#05614c);font-weight:700;font-size:.92rem;margin:0 0 16px}
.yc-crumbs{font-size:.92rem;margin:0 0 18px;color:var(--yc-text-muted,var(--muted))}
.yc-crumbs a{color:inherit}
.yc-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0;align-items:center}
.yc-crumbs li:not(:last-child)::after{content:"›";margin-left:6px;opacity:.7}
.support-cta{border:1px solid var(--yc-line,var(--line));border-radius:16px;padding:20px 22px;max-width:640px}
.device-kb{margin:0;padding-left:1.2rem}
.device-kb li{margin:0 0 8px}
.downloads{margin-top:8px}
.downloads p{margin:0 0 8px}
.lifecycle-notice{max-width:720px;color:var(--yc-text-muted,var(--muted))}
.lifecycle-badge{display:inline-block;margin:0 0 8px;padding:4px 10px;border-radius:999px;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:#fff4dc;color:#6b4500}
html[data-theme=dark] .lifecycle-badge{background:#3a2a00;color:#ffd990}
