/* Englify — results */
  /* --- NATIJALAR BO'LIMI: YANGI DIZAYN (rasmdagi "Natijalarim" uslubida) --- */
  /* Yuqori 4 ta stat kartalari */
  .rs-top-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin-bottom:8px;
  }
  .rs-top-card{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:16px;
    padding:18px 16px;
    text-align:center;
    transition:transform .15s ease, box-shadow .15s ease;
  }
  .rs-top-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px -10px rgba(14,32,56,0.15);}
  .rs-top-ic{
    width:42px;height:42px;border-radius:12px;
    display:flex;align-items:center;justify-content:center;
    margin:0 auto 12px;
  }
  .rs-top-ic svg{width:22px;height:22px;}
  .rs-top-num{
    font-family:'Fraunces',serif;
    font-size:28px;font-weight:700;
    color:var(--ink);
    line-height:1.1;
    margin-bottom:4px;
  }
  .rs-top-label{
    font-size:12.5px;
    color:var(--ink-soft);
    font-weight:600;
  }
  /* Rang variantlari (yuqori kartalar) */
  .rs-blue .rs-top-ic{background:linear-gradient(135deg,#3b82f6,#1d4ed8);}
  .rs-green .rs-top-ic{background:linear-gradient(135deg,#22c55e,#15803d);}
  .rs-gold .rs-top-ic{background:linear-gradient(135deg,#f59e0b,#d97706);}
  .rs-red .rs-top-ic{background:linear-gradient(135deg,#ef4444,#dc2626);}

  /* STATISTIKA grid (8 ta kichik + 1 keng) */
  .rs-stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
  }
  .rs-stat{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:14px;
    padding:14px 12px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }
  .rs-stat-wide{
    grid-column:1 / -1;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    padding:16px 18px;
  }
  .rs-stat-wide > div:first-child{flex-shrink:0;}
  .rs-stat-wide .rs-stat-label{margin-top:0;font-size:13.5px;}
  .rs-stat-ic{
    width:32px;height:32px;border-radius:9px;
    display:flex;align-items:center;justify-content:center;
    margin-bottom:4px;
  }
  .rs-stat-ic svg{width:17px;height:17px;}
  .rs-stat-label{
    font-size:11.5px;
    color:var(--ink-soft);
    font-weight:700;
    line-height:1.3;
  }
  .rs-stat-val{
    font-family:'Fraunces',serif;
    font-size:22px;font-weight:700;
    color:var(--ink);
    line-height:1;
  }
  .rs-stat-val-wrap{display:flex;align-items:baseline;gap:6px;}
  .rs-stat-suffix{
    font-size:11px;
    color:var(--ink-soft);
    font-weight:600;
  }
  /* Ikonka ranglari (statistika) */
  .rs-ic-blue{background:linear-gradient(135deg,#3b82f6,#1d4ed8);}
  .rs-ic-purple{background:linear-gradient(135deg,#a855f7,#7c3aed);}
  .rs-ic-gold{background:linear-gradient(135deg,#f59e0b,#d97706);}
  .rs-ic-green{background:linear-gradient(135deg,#22c55e,#15803d);}
  .rs-ic-red{background:linear-gradient(135deg,#ef4444,#dc2626);}

  /* Past ball - qizil rangda (rasmdagi kabi) */
  .rs-stat-val.low{color:#ef4444;}

  /* Natija taqsimoti (Baholar taqsimoti) */
  .rs-distribution{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:14px;
    padding:18px 20px;
    display:flex;
    flex-direction:column;
    gap:14px;
  }
  .rs-dist-item{display:flex;align-items:center;gap:14px;}
  .rs-dist-bar{
    flex:1;
    height:10px;
    background:var(--field);
    border-radius:100px;
    overflow:hidden;
    border:1px solid var(--line);
  }
  .rs-dist-fill{
    height:100%;
    border-radius:100px;
    transition:width .6s ease;
  }
  .rs-dist-green{background:linear-gradient(90deg,#22c55e,#15803d);}
  .rs-dist-yellow{background:linear-gradient(90deg,#eab308,#ca8a04);}
  .rs-dist-red{background:linear-gradient(90deg,#ef4444,#dc2626);}
  .rs-dist-legend{
    display:flex;align-items:center;gap:8px;
    font-size:13px;color:var(--ink-soft);
    min-width:130px;
    font-weight:600;
  }
  .rs-dist-legend strong{color:var(--ink);font-weight:700;}
  .rs-dot{
    width:11px;height:11px;border-radius:50%;
    flex-shrink:0;
  }
  .rs-dot-green{background:#22c55e;}
  .rs-dot-yellow{background:#eab308;}
  .rs-dot-red{background:#ef4444;}

  @media (max-width:768px){
    .rs-top-grid{grid-template-columns:repeat(2,1fr);}
    .rs-stats-grid{grid-template-columns:repeat(2,1fr);}
    .rs-stat-wide{grid-column:1 / -1;}
    .rs-top-num{font-size:24px;}
    .rs-stat-val{font-size:18px;}
  }

  /* --- ESKI NATIJALAR DIZAYNI (saqlanib qolgan, lekin endi ishlatilmaydi) --- */
  .results-view-wrap{
    max-width:100%;
  }
  .stats-summary-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
    margin-bottom:20px;
  }
  .stat-card{
    background:var(--card);
    border:1px solid #dde6f0;
    border-radius:20px;
    padding:22px 24px;
    box-shadow:0 2px 8px rgba(14,32,56,0.02);
  }
  .stat-card-title{
    font-size:14.5px;
    color:var(--ink-soft);
    font-weight:600;
  }
  .stat-card-num{
    font-family:'Fraunces',serif;
    font-size:42px;
    font-weight:700;
    color:var(--blue-deep);
    margin:6px 0;
    line-height:1.1;
  }
  .stat-card-sub{
    font-size:13px;
    color:var(--ink-soft);
  }
  .stat-card-sub.green{
    color:#16a34a;
    font-weight:600;
  }

  /* Bo'limlar bo'yicha ko'nikmalar kartasi */
  .skills-card{
    background:var(--card);
    border:1px solid #dde6f0;
    border-radius:20px;
    padding:26px 24px;
    margin-bottom:24px;
  }
  .skills-card h3{
    font-size:17px;
    font-weight:800;
    color:var(--ink);
    margin-bottom:20px;
    letter-spacing:-0.01em;
  }
  .skill-item{
    margin-bottom:18px;
  }
  .skill-item:last-child{
    margin-bottom:0;
  }
  .skill-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14.5px;
    margin-bottom:8px;
  }
  .skill-name{
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--ink);
    font-weight:600;
  }
  .skill-score{
    font-weight:800;
    color:var(--ink);
  }
  .skill-track{
    width:100%;
    height:9px;
    background:var(--line);
    border-radius:100px;
    overflow:hidden;
  }
  .skill-fill{
    height:100%;
    border-radius:100px;
    transition:width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .skill-fill.listening{
    background:#6366f1; /* Rasm bilan bir xil binafsha */
  }
  .skill-fill.reading{
    background:#0891b2; /* Rasm bilan bir xil havorang/moviy */
  }
  .skill-fill.writing{
    background:#16a34a; /* Rasm bilan bir xil yashil */
  }
  .skill-fill.speaking{
    background:#e11d48; /* Rasm bilan bir xil qizg'ish pushti */
  }

  /* Imtihonlar tarixi jadvali */
  .results-table-wrap{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-top:16px;}
  .res-table{width:100%;border-collapse:collapse;text-align:left;font-size:13.5px;}
  .res-table th{background:var(--paper);padding:12px 16px;border-bottom:1px solid var(--line);color:var(--ink-soft);font-weight:700;}
  .res-table td{padding:12px 16px;border-bottom:1px solid var(--line);}
  .res-tag{display:inline-block;padding:4px 10px;border-radius:100px;font-size:12px;font-weight:700;}
  .res-tag-high{background:#dcfce7;color:#15803d;}
  [data-theme="dark"] .res-tag-high{background:rgba(34,197,94,0.16);color:#4ade80;}

