.continueSection { margin: 22px 0 30px; }
.controls { flex-wrap:wrap; }
.controls .search { order:1; flex:1 1 360px; }
.controls nav { order:3; flex:0 0 100%; }
.sortControl { order:2; display:flex; flex:0 0 auto; align-items:center; gap:8px; margin-left:auto; color:var(--muted); font-size:12px; white-space:nowrap; }
.sortControl select { min-height:42px; padding:8px 32px 8px 12px; }
.sortControl > span { display:none; }
.clearSearch { position:relative; flex:0 0 auto; width:30px; height:30px; padding:0; border:0; border-radius:50%; background:#303644; color:#fff; font-size:0; cursor:pointer; }
.clearSearch::before,.clearSearch::after { content:""; position:absolute; left:50%; top:50%; width:13px; height:2px; border-radius:2px; background:currentColor; }
.clearSearch::before { transform:translate(-50%,-50%) rotate(45deg); }
.clearSearch::after { transform:translate(-50%,-50%) rotate(-45deg); }
.clearSearch[hidden] { display:none; }
.search input::-webkit-search-cancel-button { display:none; }
.continueHead { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.continueHead h2 { margin:0; font-size:20px; }
.continueHead span { color:var(--muted); font-size:12px; }
.continueRow {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(165px,210px);
  gap:14px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;
  padding:2px 2px 12px;
}
.continueItem { position:relative; scroll-snap-align:start; min-width:0; }
.continueItem .card { width:100%; }
.continueRow .cardText small { display:block; }
.removeContinue { position:absolute; top:7px; right:7px; z-index:2; width:31px; height:31px; padding:0; border:1px solid #ffffff38; border-radius:50%; background:#090b10d9; color:#fff; font-size:0; cursor:pointer; box-shadow:0 4px 14px #0009; }
.removeContinue::before,.removeContinue::after { content:""; position:absolute; left:50%; top:50%; width:13px; height:2px; border-radius:2px; background:currentColor; }
.removeContinue::before { transform:translate(-50%,-50%) rotate(45deg); }
.removeContinue::after { transform:translate(-50%,-50%) rotate(-45deg); }
.removeContinue:hover { background:var(--red); border-color:var(--red); }
.childMode .removeContinue { background:#202a52e8; }
.resumeBar { position:absolute; left:8px; right:8px; bottom:8px; height:4px; border-radius:9px; background:#ffffff35; overflow:hidden; }
.resumeBar i { display:block; height:100%; background:var(--red); border-radius:inherit; }
.childMode .resumeBar i { background:#ffd166; }
@media(max-width:700px){
  .controls { flex-direction:row; align-items:center; }
  .controls .search { flex:1 1 0; min-width:0; }
  .sortControl { margin-left:0; align-self:stretch; }
  .sortControl > span { display:none; }
  .sortControl select { height:46px; min-height:46px; padding-inline:10px 25px; }
  .controls nav { width:100%; flex-wrap:wrap; overflow:visible; gap:8px; }
  .controls nav button { flex:0 0 auto; }
  .continueSection { margin-top:12px; }
  .continueRow { grid-auto-columns:minmax(145px,42vw); gap:11px; }
}
