* {
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        body {
            margin: 0;
            padding: 0;
            background: #f1f5f9;
            height: 100vh;
            overflow: hidden;
        }
        /* Хедер */
.welcome-card {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 10px 30px;
  border-radius: 24px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
        .header {
            position: fixed;
            top: 0;
            right: 0;
            left: 25%;
//            background: white;
  background: linear-gradient(135deg, #667eea, #764ba2);
//            border-radius: 0 0 12px 12px;
  color: white;
            border-radius: 24px;
            padding: 34px 25px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 40;
            height: 60px;
        }
        .header h1 {
            margin: 0;
            font-size: 20px;
//            color: #1e293b;
color:#fff;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .header-stats {
            display: flex;
            gap: 15px;
            color: #64748b;
            font-size: 14px;
        }
        .header-stats span {
            background: #f1f5f9;
            padding: 5px 12px;
            border-radius: 20px;
        }
        /* Фрейм A - список языков */
        .frame-a {
            position: fixed;
            top:78px;
            left:0;
            bottom:0;
            right:0;
//            background:white;
            border-right:1px solid #e2e8f0;
        }
        .frame-a iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        /* Фрейм B - карточка выбора */
        .frame-b {
            position: fixed;
            top:60px;
            left:30%;
            right:131px;
            bottom: 0;
            background: #f8fafc;
        }
        .frame-b iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        /* Карточка (выезжающая) */
        .card-d {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 100%;
            background: white;
            box-shadow: -4px 0 20px rgba(0,0,0,0.15);
            z-index: 1000;
            border-radius: 8px 0 0 15px;
            overflow: hidden;
            transition: left 0.1s ease;
        }
        .card-d iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }
        .card-controls {
            position: absolute;
            left: 0px;
            top: 45px;
            z-index: 300;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            height: 90px;
            padding: 10px 12px;
            background: linear-gradient(180deg, #0056b3, #eeeeee);
            color: white;
            text-decoration: none;
            cursor: pointer;
        }
        .back-btn {
            font-size: 26px;
            color: white;
            transition: all 0.2s;
        }
        .back-btn:hover {
            transform: scale(1.05);
            color: #900;
        }
        /* Индикатор */
        .row-indicator {
            position: fixed;
            bottom: 80px;
            right: 30px;
            background: #1e293b;
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 12px;
            z-index: 1200;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            pointer-events: none;
        }
        /* Контроллер */
        .controller {
            position: fixed;
            bottom: 20px;
            left: 0;
            right: 0;
            height: 0;
            z-index: 1100;
            pointer-events: none;
        }
        .controller-panel {
            display: flex;
            justify-content: center;
            pointer-events: all;
        }
        #PR {
            width: 100%;
            height: 0px;
            background: rgba(0,0,0,0.3);
            outline: none;
            cursor: pointer;
        }
        #PR::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            background: #4f46e5;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }

