/* 3.3.2: contain the original floated page columns. Do not restyle titles,
   player geometry, navigation, or the original favorite/vote functionality. */
html body.single #wrap > #footer.dd-brand-footer,
html body.ddgg-v26-series #wrap > #footer.dd-brand-footer {
  clear:both !important;
}
html body.single #wrap > #content:after,
html body.ddgg-v26-series #wrap > #content.page.serie:after {
  content:"";
  display:block;
  clear:both;
}
/* The watch and series panels now own their own frame, instead of being
   accidentally painted by the footer behind their floating children. */
html[data-dd-mode] body.single #wrap > #content,
html[data-dd-mode] body.ddgg-v26-series #wrap > #content.page.serie {
  margin-top:12px;
  border-radius:20px;
  box-shadow:inset 0 0 0 1px var(--dd-stroke2) !important;
  box-sizing:border-box;
}
html[data-dd-mode] body.single #wrap > #content > .episodecontent > .title {
  display:flow-root;
}
/* Keep the title accent on the existing title row; contain its floated actions. */
html[data-dd-mode] body.single #wrap > #content > .episodecontent > .title:after {
  content:"";display:block;clear:both;
}
/* A shared, evenly spaced vote box for both episode and movie templates.
   The original percentage width/color is still supplied by PHP and AJAX. */
html[data-dd-mode] body.single #wrap #content .infocontent .bkkutu {
  width:100% !important;
  box-sizing:border-box !important;
  display:flow-root;
  border-radius:16px !important;
}
html[data-dd-mode] body.single #wrap #content .infocontent .bkkutu > .title {
  width:auto !important;
  margin:0 10px 8px !important;
  padding:0 !important;
}
html[data-dd-mode] body.single #wrap #content .infocontent .bkkutu > .title > .title-border {
  padding:9px 0 7px !important;
  max-width:100%;
  box-sizing:border-box;
}
html[data-dd-mode] body.single #wrap #content .infocontent .bkkutu #likebox {
  display:block !important;
  width:auto !important;
  margin:0 !important;
  padding:0 10px 12px !important;
  box-sizing:border-box !important;
}
html[data-dd-mode] body.single #wrap #content .infocontent .bkkutu #likebox .pld-like-dislike-wrap {
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:6px;
  width:100% !important;
  margin:0 0 9px !important;
  padding:0 !important;
}
html[data-dd-mode] body.single #wrap #content .infocontent .bkkutu #likebox .pld-like-dislike-wrap > .pld-common-wrap {
  float:none !important;
  flex:1 1 0;
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
  border-radius:11px !important;
  border:1px solid var(--dd-stroke2) !important;
}
html[data-dd-mode] body.single #wrap #content .infocontent .bkkutu #likebox .pld-common-wrap > a.pld-like-dislike-trigger {
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:100% !important;
  height:auto !important;
  min-height:34px;
  box-sizing:border-box;
  padding:4px 3px;
  font-size:12px;
  line-height:1.3;
  text-align:center;
  white-space:normal;
  overflow-wrap:break-word;
}
html[data-dd-mode] body.single #wrap #content .infocontent .bkkutu #likebox #vote-percentage {
  float:none !important;
  width:100% !important;
  height:28px !important;
  margin:0 !important;
  padding:5px !important;
  box-sizing:border-box !important;
}
html[data-dd-mode] body.single #wrap #content .infocontent .bkkutu #percentage-filled {
  margin:0 !important;
  height:17px !important;
  line-height:17px !important;
  max-width:100%;
}
/* Day-only mobile flex override had moved the favorite to a separate row.
   Restore the existing night-mode overlay geometry in both modes. */
@media (max-width:1100.98px) {
  html[data-dd-mode] body.ddgg-v26-series #wrap #content.page.serie #icerikcat .favorite_series {
    position:absolute !important;
    top:16px !important;
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
    margin:0 !important;
    padding:0 !important;
    width:159px !important;
    max-width:100% !important;
    display:block !important;
    z-index:2;
  }
  html[data-dd-mode] body.ddgg-v26-series #wrap #content.page.serie #icerikcat .favorite_series .add_fav {
    width:100% !important;
    max-width:100%;
    margin:0 !important;
    box-sizing:border-box;
    line-height:1.25;
  }
  html[data-dd-mode="day"] body.ddgg-v26-series #wrap #content.page.serie #icerikcatleft {
    margin-top:4px !important;
  }
  html[data-dd-mode] body.single #wrap #content .infocontent .bkkutu #likebox .pld-common-wrap > a.pld-like-dislike-trigger {
    min-height:40px;
    font-size:14px;
  }
}
/* The trending grid is a sibling of the footer, not part of its columns. */
html body #wrap > .gundemdekiler-wrap {
  clear:both !important;
  float:none !important;
  box-sizing:border-box !important;
  width:100% !important;
}
html body #wrap > .gundemdekiler-wrap + #footer.dd-brand-footer {
  margin-top:24px !important;
}
