@import url("/v2/library-texts.css?v=20261114owner1");
/* SSR text and drill detail only. Shared panel tokens, no hydration styling. */
:root body.v2-playpage .text-panels {
  display: grid;
  gap: 16px;
  padding: 20px 0 32px;
}
:root body.v2-playpage .dm-block {
  --block-padding: clamp(14px, 2.4vw, 24px);
  --block-gap: 12px;
  --block-title-size: clamp(18px, 2vw, 22px);
}
:root body.v2-playpage #text-intro .dm-block-title {
  font-size: clamp(24px, 3vw, 36px);
}
:root body.v2-playpage .dm-block--navigation {
  --block-padding: 14px;
  --block-title-size: 16px;
  --block-gap: 6px;
}
:root body.v2-playpage .dm-breadcrumb { width: auto; margin: 0; }
:root body.v2-playpage .dm-breadcrumb ol { margin: 0; }
:root body.v2-playpage .dm-breadcrumb a { display: inline-block; padding-block: 4px; }
:root body.v2-playpage .text-attribution { margin: 0 0 12px; color: var(--ui-muted); line-height: 1.6; }
:root body.v2-playpage .v2-chips { margin: 0; gap: 8px; }
:root body.v2-playpage .v2-chip { white-space: normal; }
:root body.v2-playpage .v2-play-card {
  display: grid; gap: 16px; padding: 0; border: 0; background: transparent;
}
:root body.v2-playpage .dm-block--context { --block-surface: var(--ui-warm); }
:root body.v2-playpage .v2-hud {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0; gap: 12px; background: transparent; margin: 0 0 12px;
}
:root body.v2-playpage .v2-hud-item { padding: 10px; background: var(--ui-bg); }
:root body.v2-playpage .v2-hud-label {
  font-size: 12px; line-height: 1.5; letter-spacing: .02em;
  text-transform: none; overflow-wrap: normal; word-break: normal;
}
:root body.v2-playpage .v2-hud-value { font-size: clamp(24px, 3vw, 30px); line-height: 1.4; }
:root body.v2-playpage .v2-hud-value small { font-size: 12px; }
:root body.v2-playpage .v2-progress { margin: 0; }
:root body.v2-playpage .v2-status { margin: 12px 0; font-weight: 400; }
:root body.v2-playpage .v2-source blockquote { margin: 0 0 12px; }
:root body.v2-playpage .v2-source p:last-child { margin-bottom: 0; }
:root body.v2-playpage #jouer { scroll-margin-top: 20px; }
@media (max-width: 560px) {
  :root body.v2-playpage .text-panels { width: calc(100% - 24px); gap: 12px; padding-top: 12px; }
  :root body.v2-playpage .v2-play-card { gap: 12px; }
  :root body.v2-playpage .v2-hud { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  :root body.v2-playpage .v2-prompt { padding: 12px; font-size: clamp(22px, 4.8vw, 34px); }
}

/* Deux appels à l'action visibles sans avoir à faire défiler tout un poème. */
:root body.v2-playpage .v2-start-bar {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 12px;
}
:root body.v2-playpage .v2-start-bar--bottom { margin: 12px 0 0; }
:root body.v2-playpage .v2-start-bar[hidden] { display: none !important; }
:root body.v2-playpage .v2-play-actions {
  justify-content: center;
}
:root body.v2-playpage [data-act="start"].v2-start-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 320px);
  min-height: 56px;
  padding: 12px 24px;
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  line-height: 1.25;
  font-weight: 850;
  border-radius: 12px;
  box-shadow: 0 3px 0 rgba(8, 39, 100, .15);
}
:root body.v2-playpage [data-act="start"].v2-start-btn[hidden] { display: none !important; }
:root body.v2-playpage [data-act="start"].v2-start-btn:hover { filter: brightness(1.06); }
:root body.v2-playpage [data-act="start"].v2-start-btn:focus-visible {
  outline: 3px solid #f2b73e;
  outline-offset: 3px;
}
@media (max-width: 560px) {
  :root body.v2-playpage .v2-start-bar { margin-bottom: 10px; }
  :root body.v2-playpage [data-act="start"].v2-start-btn { width: min(100%, 360px); min-height: 56px; }
}
