/* ============================================================
   Видеоинструкция — плеер и макет интерфейса внутри сцены.
   Подключается только на страницах, где есть кнопка запуска.
   Сцена рисуется в системе координат 960×540 и масштабируется
   целиком через transform: scale() — поэтому все размеры ниже
   заданы в «дизайнерских» пикселях и не зависят от экрана.
   ============================================================ */

/* ---------- Кнопки запуска ---------- */

.guide-promo{
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  margin-top:22px;padding:22px 30px;
  background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--r-lg);
}
.guide-promo__text{max-width:640px}
.guide-promo__text b{display:block;color:var(--navy-900);font-size:16px;margin-bottom:4px}
.guide-promo__text span{font-size:14px;color:var(--slate)}

.guide-start{
  display:inline-flex;align-items:center;gap:11px;
  height:46px;padding:0 24px;border:0;border-radius:var(--r-md);
  background:var(--navy-900);color:#fff;font-size:15px;font-family:inherit;
  cursor:pointer;white-space:nowrap;transition:background .16s ease;
}
.guide-start:hover{background:#0E2140}
.guide-start--small{height:38px;padding:0 18px;font-size:14px;background:none;color:var(--navy-500)}
.guide-start--small:hover{background:var(--bg-soft);color:var(--navy-900)}
.guide-start .play{
  width:22px;height:22px;flex:none;border-radius:50%;
  background:var(--orange);display:grid;place-items:center;
}
.guide-start .play::after{
  content:"";border-left:7px solid #fff;
  border-top:5px solid transparent;border-bottom:5px solid transparent;
  margin-left:2px;
}
.guide-start--small .play{width:20px;height:20px}

/* ---------- Оверлей и корпус плеера ---------- */

.guide-overlay{
  position:fixed;inset:0;z-index:200;
  background:rgba(10,18,33,.74);
  display:flex;align-items:center;justify-content:center;padding:24px;
  opacity:0;transition:opacity .2s ease;
}
.guide-overlay[data-open="true"]{opacity:1}

.guide-player{
  width:min(1180px,100%);max-height:94vh;display:flex;flex-direction:column;
  background:#fff;border-radius:var(--r-lg);overflow:hidden;
  box-shadow:0 30px 80px rgba(6,14,28,.45);
  transform:translateY(12px) scale(.985);transition:transform .22s ease;
}
.guide-overlay[data-open="true"] .guide-player{transform:none}

.guide-head{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  background:var(--navy-900);color:#fff;padding:16px 22px;
}
.guide-head h2{color:#fff;font-size:18px;line-height:1.25}
.guide-head p{margin:3px 0 0;font-size:13px;color:var(--slate-light)}
.guide-close{
  background:none;border:0;color:#fff;cursor:pointer;opacity:.8;
  padding:6px;border-radius:var(--r-sm);flex:none;
}
.guide-close:hover{opacity:1;background:rgba(255,255,255,.12)}

.guide-body{display:grid;grid-template-columns:minmax(0,1fr) 288px;min-height:0;flex:1}

/* ---------- Сцена ---------- */

.guide-view{display:flex;flex-direction:column;min-width:0;background:var(--bg-block);padding:18px}

.guide-stage-box{position:relative;width:100%;overflow:hidden;border-radius:var(--r-md)}
.guide-stage{
  position:absolute;top:0;left:0;width:960px;height:540px;
  transform-origin:top left;background:#fff;overflow:hidden;
  box-shadow:0 8px 28px rgba(20,42,79,.14);border-radius:12px;
}

.guide-cursor{
  position:absolute;top:0;left:0;z-index:40;pointer-events:none;
  transform:translate(470px,300px);
  transition:transform .62s cubic-bezier(.33,.1,.2,1);
  filter:drop-shadow(0 2px 3px rgba(20,42,79,.45));
}
.guide-ripple{
  position:absolute;width:34px;height:34px;margin:-17px 0 0 -17px;z-index:39;
  border-radius:50%;border:2px solid var(--orange);pointer-events:none;
  animation:guideRipple .55s ease-out forwards;
}
@keyframes guideRipple{
  from{transform:scale(.25);opacity:.95}
  to{transform:scale(1.5);opacity:0}
}

.g-focus{
  box-shadow:0 0 0 3px rgba(232,145,45,.9),0 0 0 8px rgba(232,145,45,.22)!important;
  border-radius:8px;
}
.g-press{transform:translateY(1px)}

/* ---------- Субтитры ---------- */

.guide-caption{
  margin-top:16px;min-height:52px;
  display:flex;align-items:flex-start;gap:14px;
}
.guide-caption .num{
  flex:none;width:28px;height:28px;border-radius:50%;
  background:var(--orange);color:#fff;font-size:13px;font-weight:700;
  display:grid;place-items:center;
}
.guide-caption p{margin:2px 0 0;font-size:15.5px;line-height:1.45;color:var(--navy-900)}

/* ---------- Панель управления ---------- */

.guide-controls{display:flex;align-items:center;gap:14px;margin-top:14px}

.guide-btn{
  flex:none;display:grid;place-items:center;
  width:40px;height:40px;border-radius:50%;border:1px solid var(--line);
  background:#fff;color:var(--navy-900);cursor:pointer;
  transition:background .15s ease,border-color .15s ease;
}
.guide-btn:hover{background:var(--bg-soft);border-color:#C7D2E3}
.guide-btn--main{
  background:var(--orange);
  border-color:var(--orange);
  color:#fff;
  width:46px;
  height:46px;
}

.guide-btn--main:hover{
  background:#d94732;
  border-color:#d94732;
}

.guide-track{
  flex:1;height:6px;border-radius:3px;background:#DCE3EE;overflow:hidden;cursor:default;
}
.guide-track i{display:block;height:100%;width:0;background:var(--orange);border-radius:3px}

.guide-time{flex:none;font-size:13px;color:var(--slate);font-variant-numeric:tabular-nums}

/* ---------- Главы ---------- */

.guide-chapters{
  border-left:1px solid var(--line);background:var(--bg-panel);
  overflow:auto;padding:14px 0;
}
.guide-chapters h3{
  font-family:var(--font-sans);font-size:12px;letter-spacing:.4px;text-transform:uppercase;
  color:var(--slate);padding:0 20px 10px;
}
.guide-chapter{
  width:100%;text-align:left;background:none;border:0;cursor:pointer;
  display:flex;gap:12px;padding:11px 20px;font-size:14px;color:var(--ink);
  border-left:3px solid transparent;transition:background .14s ease;
}
.guide-chapter:hover{background:var(--bg-soft)}
.guide-chapter b{flex:none;color:var(--slate);font-weight:700;font-size:13px;width:16px}
.guide-chapter[aria-current="true"]{
  background:#fff;border-left-color:var(--orange);color:var(--navy-900);font-weight:600;
}
.guide-chapter[aria-current="true"] b{color:var(--orange)}
.guide-chapter[data-done="true"] b::after{content:" ✓"}

/* ============================================================
   МАКЕТ ИНТЕРФЕЙСА ВНУТРИ СЦЕНЫ (960×540)
   ============================================================ */

.g-ui{position:absolute;inset:0;font-family:var(--font-sans);color:var(--slate);font-size:13px}

/* Шапка */
.g-top{
  position:relative;height:46px;background:var(--navy-900);
  display:flex;align-items:center;justify-content:space-between;padding:0 26px;z-index:5;
}
.g-nav{display:flex;align-items:center;gap:22px}
.g-nav-item{color:#fff;font-size:12.5px;display:flex;align-items:center;gap:6px;padding:4px 2px;border-radius:5px}
.g-nav-item--active{color:var(--orange);font-weight:600}
.g-caret{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;opacity:.8}
.g-lang{display:flex;gap:4px;font-size:11px;color:var(--slate-light)}
.g-lang .on{color:#fff;background:rgba(255,255,255,.14);border-radius:5px;padding:2px 6px}
.g-lang span:not(.on){padding:2px 6px}

.g-drop{
  position:absolute;top:46px;left:14px;width:300px;z-index:6;
  background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px;
  box-shadow:0 14px 30px rgba(20,42,79,.2);padding:6px 0;
  opacity:0;transform:translateY(-6px);pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
}
.g-drop[data-open="true"]{opacity:1;transform:none}
.g-drop span{display:block;padding:8px 20px;font-size:12.5px;color:var(--ink)}
.g-drop span.on{background:var(--bg-soft);color:var(--navy-900);font-weight:700}

/* Шапка раздела */
.g-hero{background:var(--navy-900);margin:14px 18px 0;border-radius:10px 10px 0 0;padding:14px 22px 18px}
.g-crumbs{font-size:11px;color:var(--slate-light);margin-bottom:6px}
.g-crumbs b{color:#fff;font-weight:400}
.g-hero h2{color:#fff;font-size:20px;line-height:1.2}
.g-hero--sm{padding:12px 22px 14px}
.g-hero--sm h2{font-size:16px}

/* Список подразделов */
.g-sections {
  margin: 14px 18px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.g-section-row {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.g-section-row:hover,
.g-section-row.on {
  border-color: var(--orange);
  box-shadow: 0 5px 14px rgba(16, 43, 64, .07);
  transform: translateY(-1px);
}

.g-section-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.g-section-content strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.g-section-content em {
  color: var(--slate);
  font-size: 11px;
  font-weight: 400;
  font-style: normal;
}

.g-section-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 30px;
  width: 30px;
  height: 30px;

  border-radius: 50%;
  background: var(--bg-soft);

  color: var(--orange);
  font-size: 21px;
  line-height: 1;
}

/* Каталог */
.g-panel{
  margin:14px 18px 0;
  background:var(--bg-panel);
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 20px;

  display:grid;
  grid-template-columns:212px minmax(0,1fr);
  gap:24px;
}

.g-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) 150px;
  gap:12px;
  margin-bottom:10px;
  align-items:center;
}

.g-toolbar .g-search{
  width:100%;
  height:32px;
  margin:0;
  border-radius:0;
}

.g-sort{
  height:32px;
  padding:0 10px;
  border:1px solid var(--line);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:10.5px;
  color:var(--ink);
  white-space:nowrap;
}

.g-filters-head{display:flex;align-items:center;gap:8px;color:var(--navy-900);font-weight:700;font-size:13px;margin-bottom:12px}
.g-filter{position:relative;margin-bottom:9px}
.g-control{
  height:32px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;

  padding:0 12px;
  font-size:12px;
  color:var(--ink);

  white-space:nowrap;
  overflow:hidden;
}

.g-control .g-caret{
  flex:0 0 auto;
  margin-left:auto;
  border-top-color:var(--slate);
}
.g-control .g-caret{border-top-color:var(--slate)}
.g-menu{
  position:absolute;top:36px;left:0;right:0;z-index:12;
  background:#fff;border:1px solid var(--line);border-radius:8px;
  box-shadow:0 14px 30px rgba(20,42,79,.18);padding:4px 0;
  opacity:0;transform:translateY(-4px);pointer-events:none;transition:opacity .16s ease,transform .16s ease;
}
.g-menu[data-open="true"]{opacity:1;transform:none}
.g-menu span{display:block;padding:7px 11px;font-size:12px;color:var(--ink)}
.g-menu span.on{background:var(--bg-soft);color:var(--navy-900);font-weight:700}

.g-search{
  height:32px;border-radius:0;background:#fff;border:1px solid var(--line);
  display:flex;align-items:center;gap:8px;padding:0 12px;margin-top:14px;font-size:12px;color:#9AA7BC;
}
.g-search.on{border-color:var(--navy-700);box-shadow:0 0 0 3px rgba(27,58,107,.08)}
.g-search .txt{color:var(--ink)}
.g-search .caret-bar{width:1px;height:14px;background:var(--navy-900);opacity:0}
.g-search.on .caret-bar{opacity:1;animation:guideBlink 1s step-end infinite}
@keyframes guideBlink{50%{opacity:0}}

.g-chips-label{font-size:10.5px;color:var(--slate);margin:14px 0 7px}
.g-chips{display:flex;flex-wrap:wrap;gap:7px;min-height:24px}
.g-chip{
  display:inline-flex;align-items:center;gap:8px;height:24px;padding:0 10px;
  background:var(--tag);color:var(--navy-900);border-radius:8px;font-size:11px;
}
.g-chip .x{opacity:.75}
.g-chips .empty{color:#9AA7BC;font-size:11px}

.g-cat-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.g-cat-head b{color:var(--navy-900);font-size:13px}
.g-cat-head b i{font-weight:400;font-style:normal}
.g-cat-head span{color:var(--navy-500);font-size:11.5px}

.g-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.g-card{
  background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px;
  display:flex;flex-direction:column;box-shadow:0 4px 12px rgba(20,42,79,.05);
  transition:opacity .25s ease,transform .25s ease;
}
.g-card[data-hide="true"]{opacity:0;transform:scale(.96);pointer-events:none}
.g-card .tag{
  display:inline-block;background:var(--tag);color:var(--navy-700);
  border-radius:10px;font-size:9.5px;padding:3px 8px;margin-bottom:8px;align-self:flex-start;
}
.g-card h4{font-family:var(--font-serif);color:var(--navy-900);font-size:12.5px;line-height:1.3;margin:0 0 9px}
.g-card .row{display:flex;justify-content:space-between;font-size:10.5px;margin-bottom:4px}
.g-card .row b{color:var(--navy-900)}
.g-card .acts{display:flex;gap:7px;margin-top:auto;padding-top:9px}
.g-btn{
  flex:1;
  height:30px;
  border-radius:0;
  display:grid;
  place-items:center;
  font-size:10.5px;
  border:1px solid var(--orange);
}

.g-btn--p{
  background:var(--orange);
  color:#fff;
}

.g-btn--s{
  background:#fff;
  color:var(--orange);
}

/* Страница материала */
.g-doc{position:absolute;inset:46px 0 0;overflow:hidden}
.g-doc-scroll{padding:14px 18px 0;transition:transform .7s cubic-bezier(.33,.1,.2,1)}
.g-doc-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:16px}
.g-doc-main{background:var(--bg-panel);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.g-doc-main h3{font-size:15px;line-height:1.3;margin-bottom:10px;color:var(--navy-900)}
.g-viewer{
  height:196px;
  border-radius:8px;
  background:#f1f3f5;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}
.g-page{
  width:150px;height:100%;background:#fff;border-radius:3px;padding:12px 11px;
  display:flex;flex-direction:column;gap:5px;
}
.g-page i{display:block;height:4px;border-radius:2px;background:#DDE3EC}
.g-page i.t{height:7px;width:70%;background:#C3CDDC;margin-bottom:4px}
.g-page i.s{width:60%}
.g-doc-acts{display:flex;gap:9px;margin-top:12px}
.g-doc-acts .g-btn{flex:0 0 130px;height:30px;font-size:11px}

.g-side{
  background:#f1f3f5;
  border:0;
  border-radius:10px;
  padding:16px;
}
.g-side h5{font-family:var(--font-serif);color:var(--navy-900);font-size:12.5px;margin:0 0 9px}
.g-meta{display:grid;grid-template-columns:1fr auto;gap:6px 10px;font-size:11px;margin:0 0 12px}
.g-meta dt{color:var(--slate)}
.g-meta dd{margin:0;color:var(--navy-900);font-weight:700;text-align:right}
.g-side-link{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:26px;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  font-size:11px;
  color:var(--orange);
  margin-bottom:7px;
}
.g-dl{width:11px;height:11px;border-bottom:2px solid currentColor;position:relative;flex:none}
.g-dl::before{
  content:"";position:absolute;left:3.5px;top:-1px;width:2px;height:6px;background:currentColor;
}
.g-dl::after{
  content:"";position:absolute;left:1.5px;top:3px;width:6px;height:6px;
  border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);
}

.g-related{margin-top:16px}
.g-related h5{font-family:var(--font-serif);color:var(--navy-900);font-size:13px;margin:0 0 10px}

.g-toast{
  position:absolute;left:50%;bottom:26px;transform:translate(-50%,10px);z-index:30;
  background:var(--navy-900);color:#fff;font-size:12px;padding:9px 18px;border-radius:8px;
  opacity:0;transition:opacity .2s ease,transform .2s ease;
}
.g-toast[data-show="true"]{opacity:1;transform:translate(-50%,0)}

/* ---------- Адаптив ---------- */

@media (max-width:1000px){
  .guide-body{grid-template-columns:1fr}
  .guide-chapters{
    border-left:0;border-top:1px solid var(--line);
    display:flex;gap:6px;overflow-x:auto;padding:12px;
  }
  .guide-chapters h3{display:none}
  .guide-chapter{
    width:auto;flex:none;border-left:0;border-bottom:3px solid transparent;
    border-radius:8px;white-space:nowrap;padding:8px 12px;
  }
  .guide-chapter[aria-current="true"]{border-left-color:transparent;border-bottom-color:var(--orange)}
}
@media (max-width:640px){
  .guide-overlay{padding:0}
  .guide-player{max-height:100vh;border-radius:0;height:100%}
  .guide-view{padding:12px}
  .guide-caption p{font-size:14px}
  .guide-promo{padding:18px 20px}
}

/* ============================================================
   ОКНО «СМОТРЕТЬ / ПРОПУСТИТЬ» — показывается при входе на сайт
   ============================================================ */

.guide-invite{
  position:fixed;inset:0;z-index:190;
  background:rgba(10,18,33,.6);
  display:flex;align-items:center;justify-content:center;padding:24px;
  opacity:0;transition:opacity .26s ease;
}
.guide-invite[data-open="true"]{opacity:1}

.guide-invite__card{
  width:min(520px,100%);background:#fff;border-radius:var(--r-lg);
  padding:34px 36px 30px;text-align:center;
  box-shadow:0 26px 64px rgba(6,14,28,.38);
  transform:translateY(18px) scale(.97);
  transition:transform .3s cubic-bezier(.22,.8,.3,1);
}
.guide-invite[data-open="true"] .guide-invite__card{transform:none}

.guide-invite__badge{
  display:grid;place-items:center;width:58px;height:58px;margin:0 auto 18px;
  border-radius:50%;background:var(--bg-soft);
}
.guide-invite__badge::after{
  content:"";border-left:17px solid var(--orange);
  border-top:11px solid transparent;border-bottom:11px solid transparent;
  margin-left:5px;
}

.guide-invite__card h3{font-size:22px;line-height:1.25;margin-bottom:12px}
.guide-invite__card p{margin:0 0 26px;font-size:14.5px;line-height:1.55;color:var(--slate)}

.guide-invite__acts{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.guide-invite__acts .guide-start{justify-content:center}

.guide-skip{
  height:42px;border:0;background:none;cursor:pointer;font-family:inherit;
  font-size:14px;color:var(--slate);border-radius:var(--r-md);
  transition:background .15s ease,color .15s ease;
}
.guide-skip:hover{background:var(--bg-soft);color:var(--navy-900)}

@media (max-width:520px){
  .guide-invite__card{padding:28px 22px 24px}
  .guide-invite__card h3{font-size:19px}
}




/* ============================================================
   Career Enbek — оформление видеоинструкции
   ============================================================ */

.guide-overlay {
    padding: 20px;
    background: rgba(16, 43, 64, 0.72);
}

.guide-player {
    width: min(1080px, calc(100vw - 40px));
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(16, 43, 64, 0.28);
}

/* Шапка */
.guide-head {
    min-height: 68px;
    padding: 14px 20px;
    background: #102b40;
}

.guide-head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.guide-head p {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}

.guide-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
}

.guide-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Основная область */
.guide-body {
    grid-template-columns: minmax(0, 1fr) 230px;
    background: #fff;
}

.guide-view {
    padding: 16px 18px 18px;
    background: #f8f9fa;
}

.guide-stage-box {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: #fff;
}

.guide-stage {
    border-radius: 10px;
    box-shadow: none;
}

/* Текст текущего шага */
.guide-caption {
    min-height: 42px;
    margin-top: 12px;
    gap: 10px;
    align-items: center;
}

.guide-caption .num {
    width: 26px;
    height: 26px;
    background: #102b40;
    font-size: 12px;
}

.guide-caption p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #212529;
}

/* Управление */
.guide-controls {
    gap: 10px;
    margin-top: 10px;
}

.guide-btn {
    width: 36px;
    height: 36px;
    border-color: #dee2e6;
    color: #102b40;
}

.guide-btn--main {
    width: 42px;
    height: 42px;
    background: #102b40;
    border-color: #102b40;
}

.guide-btn--main:hover {
    background: #1a405c;
    border-color: #1a405c;
}

.guide-track {
    height: 5px;
    background: #dee2e6;
}

.guide-track i {
    background: #ef553f;
}

.guide-time {
    font-size: 12px;
}

/* Шаги справа */
.guide-chapters {
    padding: 16px 0;
    background: #fff;
    border-left: 1px solid #dee2e6;
}

.guide-chapters h3 {
    padding: 0 16px 10px;
    margin: 0;
    color: #6c757d;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.guide-chapter {
    gap: 10px;
    padding: 10px 16px;
    border-left: 3px solid transparent;
    color: #212529;
    font-size: 13px;
    line-height: 1.35;
}

.guide-chapter b {
    width: 16px;
    color: #6c757d;
    font-size: 12px;
}

.guide-chapter:hover {
    background: #f8f9fa;
}

.guide-chapter[aria-current="true"] {
    background: #fff7f5;
    border-left-color: #ef553f;
    color: #102b40;
    font-weight: 600;
}

.guide-chapter[aria-current="true"] b {
    color: #ef553f;
}

/* Планшет */
@media (max-width: 1000px) {
    .guide-player {
        width: min(900px, calc(100vw - 32px));
    }

    .guide-body {
        grid-template-columns: 1fr;
    }

    .guide-chapters {
        border-left: 0;
        border-top: 1px solid #dee2e6;
        padding: 10px 12px;
    }

    .guide-chapter {
        padding: 8px 12px;
    }
}

/* Телефон */
@media (max-width: 640px) {
    .guide-overlay {
        padding: 0;
    }

    .guide-player {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .guide-head {
        padding: 12px 16px;
    }

    .guide-head h2 {
        font-size: 15px;
    }

    .guide-view {
        padding: 12px;
    }

    .guide-caption p {
        font-size: 13px;
    }

    .guide-time {
        display: none;
    }
}

/* Career Enbek accent for video controls */
.guide-controls .guide-btn--main {
    background: #ef553f !important;
    border-color: #ef553f !important;
    color: #fff !important;
}

.guide-controls .guide-btn--main:hover {
    background: #d94732 !important;
    border-color: #d94732 !important;
}

.guide-caption .num {
    background: #ef553f !important;
}

.g-panel > div:last-child > .g-search{
  margin-top:0;
  margin-bottom:12px;
  border-radius:0;
  height:36px;
}