.gsc-yoy { margin-top: 28px; }
.gsc-yoy .gsc-yoy-head { align-items: flex-start; display: flex; gap: 18px; justify-content: space-between; margin-bottom: 18px; }
.gsc-yoy .gsc-yoy-head h2 { margin: 5px 0 6px; }
.gsc-yoy .gsc-yoy-head p { color: var(--muted); margin: 0; max-width: 760px; }
.gsc-yoy .gsc-yoy-period { background: #fff3e7; border: 1px solid #f2cda6; border-radius: 999px; color: #a34e00; flex: 0 0 auto; font-size: 12px; font-weight: 800; letter-spacing: .03em; padding: 8px 12px; text-transform: uppercase; }
.gsc-yoy-metrics { display: grid; gap: 14px; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 18px; }
.gsc-yoy-metrics article { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 16px rgba(20,31,44,.04); padding: 18px; }
.gsc-yoy-metrics span { color: var(--muted); display: block; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.gsc-yoy-metrics strong { display: block; font-size: 26px; line-height: 1.1; margin: 8px 0 5px; }
.gsc-yoy-metrics p { color: var(--muted); font-size: 13px; margin: 0; }
.gsc-yoy-metrics em { display: block; font-size: 12px; font-style: normal; font-weight: 800; margin-top: 9px; }
.gsc-yoy-metrics .loss { color: #b42318; }
.gsc-yoy-metrics .gain { color: #067647; }
.gsc-yoy-grid { display: grid; gap: 16px; grid-template-columns: 1.1fr .9fr; margin-bottom: 18px; }
.gsc-yoy .card { min-width: 0; }
.gsc-yoy-stack { background: #e9edf1; border-radius: 999px; display: flex; height: 18px; margin: 20px 0 10px; overflow: hidden; }
.gsc-yoy-stack .brand { background: #ef7622; width: 69.1%; }
.gsc-yoy-stack .nonbrand { background: #1673a5; width: 30.9%; }
.gsc-yoy-legend { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.gsc-yoy-legend div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.gsc-yoy-legend i { border-radius: 50%; display: inline-block; height: 9px; margin-right: 7px; width: 9px; }
.gsc-yoy-legend .brand-dot { background: #ef7622; }
.gsc-yoy-legend .nonbrand-dot { background: #1673a5; }
.gsc-yoy-legend strong { display: block; font-size: 22px; margin-top: 5px; }
.gsc-yoy-insights { display: grid; gap: 11px; margin-top: 14px; }
.gsc-yoy-insights div { background: #f7f8fa; border-left: 4px solid #ef7622; border-radius: 10px; color: #3f4a54; font-size: 13px; line-height: 1.5; padding: 11px 13px; }
.gsc-yoy-insights b { color: #20282f; }
.gsc-yoy .table-card { margin-top: 18px; }
.gsc-yoy table th { cursor: pointer; white-space: nowrap; }
.gsc-yoy table th::after { color: #a3abb2; content: " ↕"; font-size: 10px; }
.gsc-yoy table th[aria-sort="ascending"]::after { content: " ↑"; color: #ef7622; }
.gsc-yoy table th[aria-sort="descending"]::after { content: " ↓"; color: #ef7622; }
.gsc-yoy .query-type { border-radius: 999px; display: inline-block; font-size: 10px; font-weight: 800; padding: 4px 7px; text-transform: uppercase; }
.gsc-yoy .query-type.brand { background: #fff0e6; color: #a34e00; }
.gsc-yoy .query-type.nonbrand { background: #e8f3f9; color: #0d5c83; }
.gsc-yoy .delta-loss { color: #b42318; font-weight: 800; }
.gsc-yoy .rank-worse { color: #b42318; font-weight: 700; }
.gsc-yoy .rank-better { color: #067647; font-weight: 700; }
.gsc-yoy .gsc-note { background: #fff8ed; border: 1px solid #f4d8ad; border-radius: 13px; color: #69410b; font-size: 12px; line-height: 1.55; margin-top: 18px; padding: 13px 15px; }
@media (max-width: 900px) {
  .gsc-yoy-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gsc-yoy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gsc-yoy .gsc-yoy-head { display: block; }
  .gsc-yoy .gsc-yoy-period { display: inline-block; margin-top: 12px; }
  .gsc-yoy-metrics { grid-template-columns: 1fr; }
}
