<commit_before>@import './amp-story-desktop-one-panel.css';
@import './amp-story-templates.css';
@import './amp-story-user-overridable.css';
@import './amp-story-vertical.css';
@import './pagination-buttons.css';

/** Common */
:root {
  --story-page-vw: 1vw !important;
  --story-page-vh: var(--story-dvh, 1vh) !important;
  --story-page-vmin: min(var(--story-page-vw), var(--story-page-vh)) !important;
  --story-page-vmax: max(var(--story-page-vw), var(--story-page-vh)) !important;
  --story-100dvh: calc(var(--story-dvh, 1vh) * 100) !important;
  font-size: calc(2.5 * var(--story-page-vh, 8px));
}

@supports (height: 1dvh) {
  :root {
    --story-dvh: 1dvh !important;
  }
}

body {
  animation:none !important;
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -ms-animation: none !important;
}

amp-story, amp-story-page, amp-story-cta-layer {
  contain: strict !important;
  overflow: hidden !important;
  -webkit-touch-callout: none !important;
}

amp-story-grid-layer {
  contain: size layout !important;
  -webkit-touch-callout: none !important;
}

amp-story amp-consent {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  width: 100% !important;
  background: none !important;
  z-index: initial !important;
}
<commit_msg>🚀 [Story performance] Show story with CSS only on transformed docs (#37329)<commit_after>@import './amp-story-desktop-one-panel.css';
@import './amp-story-templates.css';
@import './amp-story-user-overridable.css';
@import './amp-story-vertical.css';
@import './pagination-buttons.css';

/** Common */
:root {
  --story-page-vw: 1vw !important;
  --story-page-vh: var(--story-dvh, 1vh) !important;
  --story-page-vmin: min(var(--story-page-vw), var(--story-page-vh)) !important;
  --story-page-vmax: max(var(--story-page-vw), var(--story-page-vh)) !important;
  --story-100dvh: calc(var(--story-dvh, 1vh) * 100) !important;
  font-size: calc(2.5 * var(--story-page-vh, 8px));
}

@supports (height: 1dvh) {
  :root {
    --story-dvh: 1dvh !important;
  }
}

html[transformed] body {
  animation:none !important;
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -ms-animation: none !important;
}

amp-story, amp-story-page, amp-story-cta-layer {
  contain: strict !important;
  overflow: hidden !important;
  -webkit-touch-callout: none !important;
}

amp-story-grid-layer {
  contain: size layout !important;
  -webkit-touch-callout: none !important;
}

amp-story amp-consent {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  width: 100% !important;
  background: none !important;
  z-index: initial !important;
}

{'fraction_non_alphanumeric': 0.1873156342182891, 'fraction_numerical': 0.018067846607669618, 'mean_word_length': 3.7848324514991183, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6329845', 'n_tokens_mistral': 1068, 'n_tokens_neox': 1003, 'n_words': 208}