/* Verhindert den zusätzlichen, vom Theme ausgegebenen Seitentitel. */
body.single-hundespiel #sub-header,
body.single-hundespiel .page-header:not(.site-header),
body.single-hundespiel .vamtam-page-title,
body.single-hundespiel .meta-header,
body.single-hundespiel .vamtam-meta-header {
  display: none !important;
}

.pd-game-min,
.pd-game-min * {
  box-sizing: border-box;
}

.pd-game-min {
  width: 100%;
  background: #FBFBFB;
  color: #2F2B26;
  font-family: inherit;
  padding: 48px 20px 92px;
  overflow: hidden;
}

.pd-game-min-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.pd-game-min-shell {
  background: #FAF7F2;
  border: 1.5px solid #E6D7BD;
  border-radius: 38px;
  padding: 42px;
  box-shadow: 0 18px 46px rgba(47, 43, 38, 0.055);
}

.pd-game-min-head {
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
}

.pd-game-min-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #FFD100;
  color: #2F2B26;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 20px;
}

.pd-game-min-kicker span {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}

.pd-game-min h1.pd-game-min-title {
  margin: 0;
  color: #2F2B26;
  font-size: clamp(44px, 5vw, 74px) !important;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.pd-game-min-intro {
  max-width: 620px;
  margin: 20px auto 0;
  color: #2F2B26;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.pd-game-min-facts {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pd-game-min-fact {
  background: #FFFFFF;
  border: 1px solid rgba(230, 215, 189, 0.8);
  border-radius: 20px;
  padding: 15px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  box-shadow: 0 8px 22px rgba(47, 43, 38, 0.032);
  min-width: 0;
}

.pd-game-min-fact-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: #FFD100;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2F2B26;
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
}

.pd-game-min-fact-icon-difficulty {
  font-size: 21px;
  font-weight: 900;
}

.pd-game-min-fact-label {
  display: block;
  color: #2F2B26;
  opacity: 0.7;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 4px;
}

.pd-game-min-fact-value {
  display: block;
  color: #2F2B26;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 900;
  overflow-wrap: break-word;
  word-break: normal;
}

.pd-game-min-rating {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1;
}

.pd-game-min-rating-full {
  opacity: 1;
}

.pd-game-min-rating-empty {
  opacity: 0.26;
}

.pd-game-min-flow {
  display: flex;
  flex-direction: column;
}

.pd-game-min-flow-about { order: 1; }
.pd-game-min-flow-video { order: 2; }
.pd-game-min-flow-material { order: 3; }
.pd-game-min-flow-variant { order: 4; }
.pd-game-min-flow-hint { order: 5; }
.pd-game-min-flow-vote { order: 6; }

.pd-game-min-collapse-icon,
.pd-game-min-material-icon,
.pd-game-min-video-icon {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: #FFD100;
  color: #2F2B26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  line-height: 1;
  flex: 0 0 auto;
}

.pd-game-min-collapse-card h2,
.pd-game-min-material h2,
.pd-game-min-video-title {
  margin: 0;
  color: #2F2B26;
  font-size: 24px !important;
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 900;
}

.pd-game-min-collapse-card {
  margin-top: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(230, 215, 189, 0.8);
  border-radius: 28px;
  padding: 22px 24px;
  box-shadow: 0 10px 26px rgba(47, 43, 38, 0.038);
  overflow: hidden;
}

.pd-game-min-collapse-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pd-game-min-collapse-body {
  max-height: 76px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.32s ease;
}

.pd-game-min-collapse-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #FFFFFF 82%);
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.pd-game-min-collapse-card.is-open .pd-game-min-collapse-body::after,
.pd-game-min-collapse-card.is-short .pd-game-min-collapse-body::after {
  opacity: 0;
}

.pd-game-min-collapse-body p {
  margin: 0;
  color: #2F2B26;
  font-size: 15.5px;
  line-height: 1.52;
  font-weight: 500;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

.pd-game-min-collapse-body p + p {
  margin-top: 10px;
}

.pd-game-min-collapse-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  background: #FCFAF7 !important;
  color: #2F2B26 !important;
  border: 1px solid #E6D7BD;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
  text-decoration: none !important;
  box-shadow: none !important;
}

.pd-game-min-collapse-toggle::after {
  content: "⌄";
  margin-left: 7px;
  font-size: 14px;
  transform: translateY(-1px);
}

.pd-game-min-collapse-card.is-open .pd-game-min-collapse-toggle::after {
  content: "⌃";
  transform: translateY(1px);
}

.pd-game-min-collapse-card.is-short .pd-game-min-collapse-toggle {
  display: none;
}

.pd-game-min-video-card {
  margin-top: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(230, 215, 189, 0.8);
  border-radius: 30px;
  padding: 20px;
  box-shadow: 0 14px 36px rgba(47, 43, 38, 0.055);
  min-width: 0;
}

.pd-game-min-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.pd-game-min-video-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pd-game-min-video-label {
  flex: 0 0 auto;
  background: #FCFAF7;
  border: 1px solid #E6D7BD;
  border-radius: 999px;
  padding: 8px 12px;
  color: #2F2B26;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}

.pd-game-min-video-stage {
  width: 100%;
  min-width: 0;
}

/*
 * Der eingebundene HTML5-Video-Player verwaltet sein Seitenverhältnis,
 * seine internen Ebenen und seine Bedienelemente selbst. Deshalb wird hier
 * bewusst nur die Außenbreite begrenzt. Höhen oder innere Plyr-Elemente
 * werden nicht überschrieben.
 */
.pd-game-min-video-player {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #000000;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.pd-game-min-video-player--desktop,
.pd-game-min-video-player--universal {
  display: block;
}

.pd-game-min-video-player--mobile {
  display: none;
}

/* Nur das äußerste Shortcode-Element auf Kartenbreite setzen. */
.pd-game-min-video-player > * {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keine feste Höhe: Der Player berechnet sie aus seiner eigenen Konfiguration. */
.pd-game-min-video-player iframe,
.pd-game-min-video-player video {
  max-width: 100%;
  border: 0;
}

/* Gilt nur für einen direkten Legacy-/Fallback-Video-Tag. */
.pd-game-min-video-player > video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #000000;
}

.pd-game-min-video-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #FFFFFF;
  padding: 24px;
}

.pd-game-min-video-placeholder-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #FFD100;
  color: #2F2B26;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.pd-game-min-video-placeholder strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 7px;
}

.pd-game-min-video-placeholder span {
  display: block;
  opacity: 0.72;
  font-size: 14px;
  line-height: 1.4;
}

.pd-game-min-material {
  margin-top: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(230, 215, 189, 0.8);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(47, 43, 38, 0.045);
}

.pd-game-min-material-top {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.pd-game-min-material-copy {
  min-width: 0;
}

.pd-game-min-material-subtitle {
  margin: 5px 0 0;
  color: #2F2B26;
  opacity: 0.66;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
}

.pd-game-min-material-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pd-game-min-material-list li {
  background: #FCFAF7;
  border: 1px solid #E6D7BD;
  border-radius: 999px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: center;
  color: #2F2B26;
  font-size: 14.5px;
  line-height: 1.25;
  font-weight: 800;
  min-width: 0;
  flex: 1 1 30%;
  max-width: 32%;
}

.pd-game-min-material-list li span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E6D7BD;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2F2B26;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.pd-game-min-variant,
.pd-game-min-hint {
  background: #FCFAF7;
}

.pd-game-min-variant .pd-game-min-collapse-body::after,
.pd-game-min-hint .pd-game-min-collapse-body::after {
  background: linear-gradient(to bottom, rgba(252,250,247,0), #FCFAF7 82%);
}

.pd-game-min-feedback-shortcode {
  margin-top: 18px;
}

.pd-game-min-feedback-missing {
  background: #FFF8D8;
  border: 1px solid #E6D7BD;
  border-radius: 20px;
  padding: 18px;
  color: #2F2B26;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .pd-game-min {
    padding: 42px 18px 78px;
  }

  .pd-game-min-shell {
    padding: 34px;
  }

  .pd-game-min-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-game-min-material-list {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: initial;
  }

  .pd-game-min-material-list li {
    width: 100%;
    max-width: none;
    flex: none;
  }
}

@media (max-width: 767px) {
  .pd-game-min {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 18px 10px 58px;
    background: #FBFBFB;
  }

  .pd-game-min-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .pd-game-min-shell {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .pd-game-min-head {
    padding: 0 6px;
  }

  .pd-game-min-kicker {
    font-size: 12.5px;
    padding: 8px 14px;
    margin-bottom: 18px;
  }

  .pd-game-min h1.pd-game-min-title {
    font-size: 40px !important;
    line-height: 1.04;
  }

  .pd-game-min-intro {
    margin-top: 16px;
    max-width: 330px;
    font-size: 15.5px;
    line-height: 1.45;
  }

  .pd-game-min-facts {
    margin-top: 24px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pd-game-min-fact {
    border-radius: 16px;
    padding: 11px 9px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 68px;
  }

  .pd-game-min-fact-icon {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    font-size: 15px;
  }

  .pd-game-min-fact-icon-difficulty {
    font-size: 18px;
  }

  .pd-game-min-fact-label {
    font-size: 12px;
    line-height: 1.08;
    margin-bottom: 3px;
    white-space: normal;
    opacity: 0.74;
  }

  .pd-game-min-fact-value {
    font-size: 12.4px;
    line-height: 1.15;
    max-width: 100%;
  }

  .pd-game-min-rating {
    font-size: 13px;
    gap: 0;
  }

  .pd-game-min-flow-video { order: 1; }
  .pd-game-min-flow-about { order: 2; }
  .pd-game-min-flow-material { order: 3; }
  .pd-game-min-flow-variant { order: 4; }
  .pd-game-min-flow-hint { order: 5; }
  .pd-game-min-flow-vote { order: 6; }

  .pd-game-min-video-card {
    margin-top: 12px;
    border-radius: 22px;
    padding: 17px 16px 12px;
  }

  .pd-game-min-video-head {
    justify-content: flex-start;
    margin-bottom: 12px;
  }

  .pd-game-min-video-title-group {
    gap: 9px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .pd-game-min-video-title {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
  }

  .pd-game-min-video-label {
    display: none;
  }

  .pd-game-min-collapse-icon,
  .pd-game-min-material-icon,
  .pd-game-min-video-icon {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    font-size: 18px;
  }

  .pd-game-min-collapse-card h2,
  .pd-game-min-material h2,
  .pd-game-min-video-title {
    font-size: 21px !important;
    line-height: 1.12;
  }

  .pd-game-min-video-player {
    border-radius: 15px;
  }

  .pd-game-min-video-player--desktop {
    display: none;
  }

  .pd-game-min-video-player--mobile {
    display: block;
  }

  .pd-game-min-video-placeholder {
    padding: 18px;
  }

  .pd-game-min-video-placeholder-icon {
    width: 54px;
    height: 54px;
    font-size: 21px;
    margin-bottom: 12px;
  }

  .pd-game-min-video-placeholder strong {
    font-size: 15.5px;
    line-height: 1.2;
  }

  .pd-game-min-video-placeholder span {
    font-size: 12.5px;
  }

  .pd-game-min-collapse-card {
    margin-top: 12px;
    border-radius: 22px;
    padding: 17px 16px;
  }

  .pd-game-min-collapse-head {
    gap: 9px;
    margin-bottom: 8px;
  }

  .pd-game-min-collapse-body {
    max-height: 62px;
  }

  .pd-game-min-collapse-body::after {
    height: 31px;
  }

  .pd-game-min-collapse-body p {
    font-size: 14.2px;
    line-height: 1.45;
  }

  .pd-game-min-collapse-toggle {
    margin-top: 10px;
    font-size: 12.7px;
    padding: 8px 13px;
  }

  .pd-game-min-material {
    margin-top: 12px;
    border-radius: 22px;
    padding: 17px 16px;
  }

  .pd-game-min-material-top {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
  }

  .pd-game-min-material-subtitle {
    display: none;
  }

  .pd-game-min-material-list {
    margin-top: 15px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pd-game-min-material-list li {
    border-radius: 999px;
    padding: 9px 11px;
    grid-template-columns: 23px 1fr;
    gap: 8px;
    font-size: 14.2px;
    line-height: 1.28;
  }

  .pd-game-min-material-list li span {
    width: 23px;
    height: 23px;
    font-size: 11px;
  }

  .pd-game-min-feedback-shortcode {
    margin-top: 12px;
  }
}

@media (max-width: 380px) {
  .pd-game-min {
    padding-left: 8px;
    padding-right: 8px;
  }

  .pd-game-min h1.pd-game-min-title {
    font-size: 37px !important;
  }

  .pd-game-min-facts {
    gap: 7px;
  }

  .pd-game-min-fact {
    padding: 10px 8px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
    min-height: 66px;
  }

  .pd-game-min-fact-icon {
    width: 28px;
    height: 28px;
    border-radius: 11px;
    font-size: 14px;
  }

  .pd-game-min-fact-icon-difficulty {
    font-size: 17px;
  }

  .pd-game-min-fact-label {
    font-size: 11.4px;
  }

  .pd-game-min-fact-value {
    font-size: 11.8px;
  }

  .pd-game-min-rating {
    font-size: 12.2px;
  }

  .pd-game-min-video-title {
    font-size: 20px !important;
  }

  .pd-game-min-video-title-group {
    gap: 8px;
  }

  .pd-game-min-collapse-icon,
  .pd-game-min-material-icon,
  .pd-game-min-video-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    font-size: 17px;
  }

  .pd-game-min-material-top {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
  }
}
