/* Reserve the first viewport while access and audio metadata load. This keeps
   the footer below the fold without fixing the height of the eventual player. */
body.drku-system #drkukla-player {
  min-block-size:100vh;
  min-block-size:100svh;
}

/* Large text may put the access badge on another row. Keep Russian words whole. */
body.drku-system #drkukla-player .drkm-top,
body.drku-system #drkukla-player .drkm-top-actions {
  flex-wrap:wrap;
}
body.drku-system #drkukla-player .drkm-top>a {
  flex:0 0 auto;
  max-inline-size:100%;
  overflow-wrap:normal;
  word-break:normal;
}
body.drku-system #drkukla-player .drkm-top-actions {
  min-inline-size:0;
  max-inline-size:100%;
}
body.drku-system #drkukla-player .drkm-access {
  max-inline-size:100%;
  overflow-wrap:normal;
  word-break:normal;
}

/* These paragraphs previously inherited the body's computed pixel leading.
   Preserve the ordinary 1.65 ratio and let it follow enlarged text. */
body.drku-system.home .uagb-ifb-desc,
body.drku-system .drq-root p,
body.drku-system .drk3-compare-help p {
  line-height:1.65;
}

/* Keep form focus visible immediately, including WooCommerce fields. */
body.drku-system .woocommerce form .form-row :is(input.input-text,textarea,select):focus-visible {
  outline:3px solid var(--drku-focus,#905515)!important;
  outline-offset:3px!important;
}

/* Text links need more contrast than the lighter decorative brand teal.
   Filled actions, selected filters, the original hero CTA and the player's
   local day/night tokens keep their existing colours. */
body.drku-system #primary a:not(:where(
  .drkm a,.button,.wp-block-button__link,.uagb-infobox-cta-link,
  .drkh-button,.drkh-button-outline,.drki-button,.drki-secondary,
  .drkj-button,.drkj-secondary,.drkn-button,.drb-button,.drks-jump-primary,
  .drks-play,.drku-button,.drku-button-secondary,
  .drkc-formats a[aria-current],.drkc-topics a[aria-current],
  .drb-filters a[aria-current]
)) {
  color:#126577;
}
body.drku-system #primary :is(.drkh-eyebrow,.drkh-author-role,.drkh-sea-author,.drki-eyebrow),
body.drku-system #primary .drkj-eyebrow:not(.drkm-night .drkj-eyebrow) {
  color:#426568;
}
body.drku-system .drkm:not(.drkm-night) .drkj-offer-return { color:#126577; }
body.drku-system .drkm:not(.drkm-night) .drkj-context-actions p { color:#476168; }
body.drku-system .drkm.drkm-night a.drkj-secondary {
  background:#203a42!important;
  color:#8ccbd0!important;
  border-color:#58777c!important;
}
body.drku-system .drks-player-link p { line-height:1.65; }
body.drku-system .woocommerce form .form-row :is(input.input-text,textarea,select) {
  /* Astra's transition:all animates the focus ring from zero width. */
  transition-property:border-color,background-color,color,box-shadow;
}
@media(max-width:460px) {
  body.drku-system #drkukla-player .drkm-mode-switch {
    grid-template-columns:repeat(auto-fit,minmax(min(100%,7em),1fr));
  }
}

/* Text enlargement can make these two controls wider than one row. */
body.drku-system .drka-banner {
  overflow-y:auto;
  overscroll-behavior:contain;
}
body.drku-system .drka-actions {
  flex-wrap:wrap;
}
body.drku-system .drka-actions button {
  flex:1 1 8em;
  min-inline-size:0;
  max-inline-size:100%;
  white-space:normal;
}
@media(max-width:922px) {
  body.drku-system .drkc-mobile-nav { flex-wrap:wrap; }
  body.drku-system .drkc-mobile-nav a {
    min-inline-size:0;
    max-inline-size:100%;
  }
}

/* Real vectors, not emoji: stable colour, geometry and centring on iOS/Android. */
body svg.drk-play-svg { display:inline-block!important; width:18px!important; height:18px!important; min-width:18px; max-width:none!important; flex:0 0 18px; vertical-align:middle; fill:currentColor; }
body .drkj-play-icon { padding:0; line-height:1; }
body .drkj-play-link > span:nth-child(2) { min-width:0; }
body .drka-play-icon > svg.drk-play-svg { width:28px!important; height:28px!important; }
