.gkcv-section {
  --gkcv-accent: var(--accent, #1c7a57);
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--border, #e5e9e6);
  border-radius: 16px;
  background: var(--surface, #fff);
  color: var(--text, #16241d);
}

.gkcv-web { grid-column: 1 / -1; }
.gkcv-heading { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.gkcv-heading-copy { min-width: 0; }
.gkcv-heading h3 { margin: 0; font-size: 18px; color: var(--text, #16241d); }
.gkcv-heading p { margin: 4px 0 0; color: color-mix(in srgb, var(--text, #16241d) 72%, var(--surface, #fff)); font-size: 12px; }
.gkcv-suggest {
  min-height: 44px;
  flex: none;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--gkcv-accent) 55%, var(--border, #dce3df));
  border-radius: 11px;
  background: color-mix(in srgb, var(--gkcv-accent) 9%, var(--surface, #fff));
  color: var(--gkcv-accent);
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}
.gkcv-suggest:focus-visible { outline: 3px solid color-mix(in srgb, var(--gkcv-accent) 38%, transparent); outline-offset: 2px; }
.gkcv-empty { margin: 0; padding: 14px; border-radius: 12px; background: var(--surface-2, #f4f7f5); color: color-mix(in srgb, var(--text, #16241d) 76%, var(--surface, #fff)); font-size: 13px; line-height: 1.5; }
.gkcv-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.gkcv-card { min-width: 0; overflow: hidden; border: 1px solid var(--border, #e6e9e7); border-radius: 13px; background: var(--surface-2, #f8faf9); }
.gkcv-preview { position: relative; display: block; width: 100%; min-height: 132px; padding: 0; overflow: hidden; border: 0; border-radius: 12px 12px 0 0; background: #183b2f; color: #fff; cursor: pointer; }
.gkcv-preview:focus-visible, .gkcv-drawer button:focus-visible, .gkcv-attribution a:focus-visible { outline: 3px solid color-mix(in srgb, var(--gkcv-accent) 38%, transparent); outline-offset: 2px; }
.gkcv-thumb { width: 100%; height: 150px; object-fit: cover; opacity: .9; }
.gkcv-provider-mark { display: grid; min-height: 132px; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: .08em; opacity: .85; }
.gkcv-play-label { position: absolute; left: 10px; bottom: 10px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 999px; background: rgba(11, 36, 27, .88); color: #fff; font-size: 13px; font-weight: 750; box-shadow: 0 4px 14px rgba(0, 0, 0, .22); }
.gkcv-card-body { padding: 11px 12px 12px; }
.gkcv-title { margin: 0; font-size: 14px; line-height: 1.35; color: var(--text, #16241d); }
.gkcv-meta { margin-top: 5px; color: color-mix(in srgb, var(--text, #16241d) 72%, var(--surface, #fff)); font-size: 11.5px; }
.gkcv-language { display: inline-flex; min-height: 24px; align-items: center; margin-top: 7px; padding: 0 8px; border: 1px solid var(--border, #dce3df); border-radius: 999px; color: var(--text, #33443c); font-size: 11px; font-weight: 800; }
.gkcv-note { margin: 7px 0 0; color: var(--text, #33443c); font-size: 12px; line-height: 1.45; }
.gkcv-attribution { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 9px; font-size: 12px; }
.gkcv-channel { min-width: 0; overflow: hidden; color: var(--text, #35463e); font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.gkcv-original { flex: none; color: var(--gkcv-accent); font-weight: 700; }
.gkcv-attribution a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 2px; }
.gkcv-list-hint { display: none; margin: 0 0 7px; color: color-mix(in srgb, var(--text, #16241d) 72%, var(--surface, #fff)); font-size: 12px; }

body.gkcv-drawer-open, body.gkcv-suggestion-open { overflow: hidden; }
.gkcv-drawer, .gkcv-drawer * { box-sizing: border-box; }
.gkcv-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: auto;
  padding: 16px;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--text, #16241d);
}
.gkcv-drawer[open] {
  display: grid;
  place-items: center;
}
.gkcv-drawer::backdrop { background: rgba(5, 17, 12, .72); }
.gkcv-drawer-backdrop { position: absolute; inset: 0; }
.gkcv-drawer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  flex-direction: column;
  border-radius: 18px;
  background: var(--surface, #fff);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .36);
}
.gkcv-drawer-header { display: flex; flex: none; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--surface, #fff); }
.gkcv-drawer-heading { min-width: 0; }
.gkcv-drawer-heading h3 { margin: 0; overflow: hidden; color: var(--text, #16241d); font-size: 17px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.gkcv-drawer-heading p { margin: 3px 0 0; color: color-mix(in srgb, var(--text, #16241d) 68%, var(--surface, #fff)); font-size: 12px; }
.gkcv-drawer-heading .gkcv-drawer-counter { margin-top: 6px; color: var(--gkcv-accent); font-weight: 800; }
.gkcv-drawer-close { min-width: 44px; min-height: 44px; flex: none; padding: 0 13px; border: 1px solid var(--border, #dce3df); border-radius: 10px; background: var(--surface-2, #f4f7f5); color: var(--text, #16241d); font: inherit; font-weight: 750; cursor: pointer; }
.gkcv-drawer-player { min-height: 0; background: #000; }
.gkcv-drawer-navigation { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 16px; background: var(--surface, #fff); }
.gkcv-drawer-navigation button, .gkcv-drawer-external-button { min-height: 44px; padding: 0 14px; border: 1px solid var(--border, #dce3df); border-radius: 10px; background: var(--surface-2, #f4f7f5); color: var(--text, #16241d); font: inherit; font-weight: 750; cursor: pointer; }
.gkcv-drawer-navigation button:last-child { justify-self: end; }
.gkcv-drawer-navigation button:disabled { cursor: default; opacity: .45; }
.gkcv-drawer-original { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--gkcv-accent); font-size: 13px; font-weight: 750; text-underline-offset: 2px; }
.gkcv-drawer-external { min-height: 240px; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; background: var(--surface-2, #f4f7f5); color: var(--text, #16241d); text-align: center; }
.gkcv-drawer-external p { margin: 0; }
.gkcv-frame { display: block; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; border: 0; background: #000; }

.gkcv-suggestion-dialog, .gkcv-suggestion-dialog * { box-sizing: border-box; }
.gkcv-suggestion-dialog {
  --gkcv-accent: var(--accent, #1c7a57);
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: auto;
  padding: 16px;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--text, #16241d);
}
.gkcv-suggestion-dialog[open] { display: grid; place-items: center; }
.gkcv-suggestion-dialog::backdrop { background: rgba(5, 17, 12, .72); }
.gkcv-suggestion-backdrop { position: absolute; inset: 0; }
.gkcv-suggestion-panel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border-radius: 18px;
  background: var(--surface, #fff);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .36);
}
.gkcv-suggestion-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 18px 10px; }
.gkcv-suggestion-heading { min-width: 0; }
.gkcv-suggestion-heading h3 { margin: 0; color: var(--text, #16241d); font-size: 19px; line-height: 1.3; }
.gkcv-suggestion-heading p { margin: 5px 0 0; color: color-mix(in srgb, var(--text, #16241d) 70%, var(--surface, #fff)); font-size: 13px; line-height: 1.45; }
.gkcv-suggestion-close,
.gkcv-suggestion-cancel,
.gkcv-suggestion-submit {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border, #dce3df);
  border-radius: 10px;
  background: var(--surface-2, #f4f7f5);
  color: var(--text, #16241d);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.gkcv-suggestion-close { flex: none; }
.gkcv-suggestion-submit { border-color: var(--gkcv-accent); background: var(--gkcv-accent); color: #fff; }
.gkcv-suggestion-form { display: grid; gap: 14px; padding: 8px 18px 18px; }
.gkcv-suggestion-field { display: grid; gap: 6px; }
.gkcv-suggestion-field label, .gkcv-suggestion-rights legend { color: var(--text, #16241d); font-size: 13px; font-weight: 760; }
.gkcv-suggestion-field input, .gkcv-suggestion-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border, #d4ddd8);
  border-radius: 10px;
  background: var(--surface, #fff);
  color: var(--text, #16241d);
  font: inherit;
}
.gkcv-suggestion-field textarea { min-height: 88px; resize: vertical; }
.gkcv-suggestion-rights { display: grid; gap: 8px; margin: 0; padding: 12px; border: 1px solid var(--border, #dce3df); border-radius: 12px; }
.gkcv-suggestion-rights legend { padding: 0 5px; }
.gkcv-suggestion-right { display: flex; min-height: 44px; align-items: center; gap: 9px; cursor: pointer; }
.gkcv-suggestion-right input { width: 20px; height: 20px; margin: 0; accent-color: var(--gkcv-accent); }
.gkcv-suggestion-status { min-height: 20px; margin: 0; color: color-mix(in srgb, var(--text, #16241d) 78%, var(--surface, #fff)); font-size: 13px; line-height: 1.45; }
.gkcv-suggestion-actions { display: flex; justify-content: flex-end; gap: 10px; }
.gkcv-suggestion-form[aria-busy="true"] { cursor: progress; }
.gkcv-suggestion-form :disabled { cursor: default; opacity: .65; }
.gkcv-suggestion-dialog button:focus-visible,
.gkcv-suggestion-dialog input:focus-visible,
.gkcv-suggestion-dialog textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gkcv-accent) 38%, transparent);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .gkcv-section { margin-top: 14px; padding: 14px 12px; }
  .gkcv-heading { display: block; }
  .gkcv-heading p { margin-top: 4px; }
  .gkcv-suggest { width: 100%; margin-top: 10px; }
  .gkcv-app .gkcv-list-hint { display: block; }
  .gkcv-app .gkcv-list { display: flex; gap: 10px; overflow-x: auto; padding: 1px 1px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .gkcv-app .gkcv-card { flex: 0 0 min(82vw, 290px); scroll-snap-align: start; }
  .gkcv-web .gkcv-list { grid-template-columns: 1fr; }
  .gkcv-drawer[open] {
    width: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0;
    place-items: end center;
  }
  .gkcv-drawer-panel { width: 100%; max-height: 92dvh; border-radius: 18px 18px 0 0; }
  .gkcv-drawer-header { padding: 12px max(12px, env(safe-area-inset-right)) 12px max(12px, env(safe-area-inset-left)); }
  .gkcv-drawer-navigation {
    grid-template-columns: 1fr 1fr;
    padding: 10px max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }
  .gkcv-drawer-original { grid-column: 1 / -1; grid-row: 1; }
  .gkcv-drawer-navigation button { width: 100%; }
  .gkcv-suggestion-dialog[open] {
    width: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0;
    place-items: end center;
  }
  .gkcv-suggestion-panel { width: 100%; max-height: 94dvh; border-radius: 18px 18px 0 0; }
  .gkcv-suggestion-header { padding: 14px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left)); }
  .gkcv-suggestion-form {
    padding: 8px max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  }
  .gkcv-suggestion-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .gkcv-suggestion-actions button { width: 100%; }
}

@media (max-width: 355px) {
  .gkcv-frame { height: 200px; aspect-ratio: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .gkcv-app .gkcv-list { scroll-behavior: auto; }
}

/* fix678: first-party обложка на карточке видеообзора */
.gkcv-preview.gkcv-has-thumb{background-size:cover;background-position:center;position:relative}
.gkcv-preview.gkcv-has-thumb::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,30,22,.25),rgba(10,30,22,.55));border-radius:inherit}
.gkcv-preview.gkcv-has-thumb .gkcv-provider-mark,.gkcv-preview.gkcv-has-thumb .gkcv-play-label{position:relative;z-index:1;text-shadow:0 1px 6px rgba(0,0,0,.6)}
