#cwPlay{font-family:Arial,sans-serif;color:#17375e}
#cwPlay *{box-sizing:border-box}
#cwPlay .cwp-shell{max-width:1120px;margin:0 auto;padding:8px}
#cwPlay .cwp-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
#cwPlay h1,#cwPlay h2,#cwPlay h3{color:#075fc7;margin-top:0}
#cwPlay .cwp-actions,#cwPlay .cwp-filters{display:flex;gap:7px;flex-wrap:wrap}
#cwPlay button,#cwPlay select{border-radius:8px;border:1px solid #bcd2e6;background:#fff;color:#075fc7;padding:9px 11px;font-weight:800}
#cwPlay button{cursor:pointer}
#cwPlay .primary{background:#0874e8;color:#fff;border-color:#075fc7}
#cwPlay .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
#cwPlay .card{background:#fff;border:1px solid #cfe0ef;border-radius:12px;padding:12px}
#cwPlay .meta{font-size:11px;color:#71869a;line-height:1.4}
#cwPlay .badge{display:inline-block;border:1px solid #cfe0ef;border-radius:999px;padding:3px 7px;margin:5px 4px 0 0;font-size:9px;font-weight:800;background:#f7fbff}
#cwPlay .done{color:#247243;font-weight:800}
#cwPlay .hidden{display:none!important}
#cwPlay .player{background:#fff;border:1px solid #cfe0ef;border-radius:12px;padding:12px}
#cwPlay .player-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,380px);gap:10px}
#cwPlay .grid-wrap{display:flex;justify-content:center;overflow:auto;padding:6px}
#cwPlay .grid{display:grid;gap:0;background:transparent}
#cwPlay .cell,#cwPlay .block{position:relative;width:var(--cell);height:var(--cell)}
#cwPlay .block{background:transparent}
#cwPlay .cell{background:#fff;box-shadow:inset 0 0 0 1px #17375e}
#cwPlay .cell.related{background:#eaf4ff}
#cwPlay .cell.active{background:#fff3bd;box-shadow:inset 0 0 0 3px #ffc52f,inset 0 0 0 4px #17375e;z-index:3}
#cwPlay .cell input{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;text-align:center;text-transform:uppercase;font-weight:800;font-size:calc(var(--cell)*.46);padding:15% 2% 2%;outline:0}
#cwPlay .num{position:absolute;z-index:2;top:2px;left:3px;font-size:max(7px,calc(var(--cell)*.18));font-weight:800}
#cwPlay .clue{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;width:100%;border:0;background:transparent;text-align:left;padding:5px;border-radius:6px;color:#425c75;font-size:11px}
#cwPlay .clue.selected{background:#eef6ff;color:#075fc7}
#cwPlay .clue-num{text-align:right;font-weight:800;color:#075fc7}
#cwPlay .toolbar{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
#cwPlay .status{margin-top:7px;padding:7px;border:1px solid #d8e7f3;border-radius:7px;background:#f7fbff;font-size:11px;text-align:center}
#cwPlay .tabs{display:none}
#cwPlay .profile-list{display:grid;gap:7px}
#cwPlay .profile-item{border:1px solid #dbe7f1;border-radius:8px;padding:8px}
@media(max-width:850px){
 #cwPlay .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 #cwPlay .player-layout{grid-template-columns:1fr}
 #cwPlay .tabs{display:flex;gap:6px;margin-bottom:7px}
 #cwPlay .tabs button{flex:1}
 #cwPlay .clues{display:none}
 #cwPlay .player-layout.show-clues .puzzle-side{display:none}
 #cwPlay .player-layout.show-clues .clues{display:block}
}
@media(max-width:560px){
 #cwPlay .cards{grid-template-columns:1fr}
 #cwPlay .cwp-head{align-items:flex-start;flex-direction:column}
}

/* Play It V1.1 - completion confirmation */
#cwPlay .complete-modal{
  position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;
  padding:18px;background:rgba(23,55,94,.48)
}
#cwPlay .complete-card{
  width:min(430px,100%);background:#fff;border:1px solid #cfe0ef;border-radius:16px;
  padding:26px;text-align:center;box-shadow:0 18px 50px rgba(23,55,94,.22)
}
#cwPlay .complete-card h2{margin:7px 0 8px;font-size:26px}
#cwPlay .complete-card p{margin:0 0 8px;line-height:1.45;color:#425c75}
#cwPlay .complete-card .meta{margin-bottom:16px}
#cwPlay .complete-tick{
  display:flex;align-items:center;justify-content:center;width:62px;height:62px;margin:0 auto;
  border-radius:50%;background:#eaf7ee;color:#247243;font-size:36px;font-weight:900
}
#cwPlay .complete-card button{min-width:230px}

/* Play It V1.2 - compact player controls */
#cwPlay .toolbar .check-main{
  padding:9px 13px;
  font-size:13px;
}
#cwPlay .toolbar .tool-small{
  padding:7px 9px;
  font-size:10px;
  font-weight:800;
}
@media(max-width:560px){
  #cwPlay .toolbar .check-main{font-size:12px;padding:8px 10px}
  #cwPlay .toolbar .tool-small{font-size:9px;padding:6px 8px}
}

/* Play It V1.3 - compact library cards and completed-crossword handling */
#cwPlay .cards{
  grid-template-columns:repeat(auto-fill,minmax(220px,260px));
  justify-content:start;
}
#cwPlay .card{
  padding:10px;
  min-height:0;
}
#cwPlay .card h3{
  margin:0 0 4px;
  font-size:20px;
  line-height:1.15;
}
#cwPlay .card .toolbar{
  margin-top:6px;
}
#cwPlay .card .toolbar button{
  padding:7px 10px;
  font-size:11px;
}
#cwPlay .card .badge{
  padding:2px 6px;
  margin-top:4px;
  font-size:8px;
}
#cwPlay .empty-card{
  min-width:260px;
}
@media(max-width:560px){
  #cwPlay .cards{grid-template-columns:1fr}
}

/* Play It V1.4 - streamlined history rows and library search */
#cwPlay .search-wrap{
  display:flex;
  gap:6px;
  flex:1 1 260px;
  max-width:390px;
}
#cwPlay .search-wrap input{
  min-width:0;
  flex:1;
  border:1px solid #bcd2e6;
  border-radius:8px;
  padding:9px 10px;
  color:#17375e;
  background:#fff;
  font:inherit;
  font-size:12px;
}
#cwPlay .search-wrap button{
  padding:9px 12px;
  font-size:11px;
}
#cwPlay .profile-list{
  gap:4px;
}
#cwPlay .profile-item{
  display:grid;
  grid-template-columns:minmax(130px,220px) minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-height:42px;
  padding:5px 7px 5px 10px;
  border:1px solid #dbe7f1;
  border-radius:7px;
  background:#fff;
}
#cwPlay .profile-title{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-weight:800;
  color:#17375e;
  font-size:12px;
}
#cwPlay .profile-details{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#71869a;
  font-size:10px;
}
#cwPlay .profile-item .profilePlay{
  margin:0;
  padding:6px 9px;
  font-size:10px;
  white-space:nowrap;
}
@media(max-width:650px){
  #cwPlay .search-wrap{max-width:none;flex-basis:100%}
  #cwPlay .profile-item{
    grid-template-columns:minmax(90px,1fr) auto;
    gap:5px 8px;
  }
  #cwPlay .profile-details{
    grid-column:1 / -1;
    grid-row:2;
    white-space:normal;
  }
  #cwPlay .profile-item .profilePlay{
    grid-column:2;
    grid-row:1;
  }
}

/* Play It V1.12 adds category filtering and display. */


/* V1.12 - compact Play It crossword cards */
.cwp-card,
.cwp-puzzle-card,
.play-card,
.cw-play-card{
  min-height:0 !important;
  height:auto !important;
  padding:10px 12px !important;
}
.cwp-card h3,
.cwp-puzzle-card h3,
.play-card h3,
.cw-play-card h3{
  margin:0 0 5px !important;
  line-height:1.2 !important;
  font-size:16px !important;
}
.cwp-card-meta,
.cwp-meta,
.cwp-card-info,
.play-card-meta,
.cw-play-meta{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:4px 8px !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  line-height:1.35 !important;
  font-size:12px !important;
  min-width:0 !important;
}
.cwp-card p,
.cwp-puzzle-card p,
.play-card p,
.cw-play-card p{
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  max-height:none !important;
}

/* Actual V1.5 card/result classes detected in JS */
.card,
.cards,
.complete-card,
.empty-card{min-height:0 !important;height:auto !important;}


/* V1.12 - compact Play It library cards */
.cwp-grid,
.cwp-library-grid,
.cwp-results{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(225px,250px)) !important;
  gap:10px !important;
  justify-content:start !important;
  align-items:start !important;
}
.cwp-card{
  width:100% !important;
  max-width:250px !important;
  min-height:0 !important;
  height:auto !important;
  padding:10px !important;
  border-radius:12px !important;
}
.cwp-card-title,
.cwp-card h3{
  font-size:15px !important;
  line-height:1.15 !important;
  margin:0 0 3px !important;
}
.cwp-card-sub,
.cwp-card-by,
.cwp-card .cwp-muted{
  font-size:10.5px !important;
  line-height:1.25 !important;
  margin-bottom:5px !important;
}
.cwp-card .cwp-pill,
.cwp-card .cwp-tag,
.cwp-card .cwp-badge{
  min-height:0 !important;
  padding:2px 6px !important;
  font-size:9.5px !important;
  line-height:1.1 !important;
  margin:1px 2px 1px 0 !important;
}
.cwp-card-desc{
  margin:6px 0 7px !important;
  color:#526b83 !important;
  font-size:10.5px !important;
  line-height:1.3 !important;
  white-space:normal !important;
}
.cwp-card button,
.cwp-card .cwp-btn{
  padding:6px 10px !important;
  min-height:0 !important;
  font-size:10.5px !important;
}
@media(max-width:600px){
 .cwp-grid,.cwp-library-grid,.cwp-results{
   grid-template-columns:1fr !important;
 }
 .cwp-card{max-width:none !important;}
}


/* V1.12 - clean, readable card metadata */
.cwp-card .cwp-pill,
.cwp-card .cwp-tag,
.cwp-card .cwp-badge,
.cwp-card .cwp-card-meta,
.cwp-card .cwp-meta,
.cwp-card .cwp-card-info{
  display:none !important;
}
.cwp-compact-meta{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:4px !important;
  margin:5px 0 6px !important;
}
.cwp-compact-meta span{
  display:inline-block !important;
  background:#eef6ff !important;
  border:1px solid #c6ddf3 !important;
  color:#075fc7 !important;
  border-radius:999px !important;
  padding:2px 6px !important;
  font-size:9.5px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  white-space:nowrap !important;
}
.cwp-card{
  max-width:235px !important;
  padding:9px 10px !important;
}
.cwp-card-desc{
  margin:5px 0 7px !important;
  min-height:28px !important;
}


/* V1.12 - ultra compact Play It library */
.cwp-compact-meta{
  display:none !important;
}
.cwp-grid,
.cwp-library-grid,
.cwp-results{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(170px,190px)) !important;
  gap:7px !important;
  justify-content:start !important;
  align-items:start !important;
}
.cwp-card{
  width:100% !important;
  max-width:190px !important;
  min-height:0 !important;
  height:auto !important;
  padding:7px 8px !important;
  border-radius:9px !important;
  margin:0 !important;
}
.cwp-card-title,
.cwp-card h3{
  font-size:13px !important;
  line-height:1.1 !important;
  margin:0 0 2px !important;
}
.cwp-card-sub,
.cwp-card-by,
.cwp-card .cwp-muted{
  font-size:9px !important;
  line-height:1.15 !important;
  margin:0 0 4px !important;
}
.cwp-card-desc{
  margin:3px 0 5px !important;
  min-height:0 !important;
  font-size:9px !important;
  line-height:1.2 !important;
}
.cwp-card button,
.cwp-card .cwp-btn{
  padding:4px 8px !important;
  min-height:0 !important;
  font-size:9px !important;
  border-radius:7px !important;
}
.cwp-card .cwp-pill,
.cwp-card .cwp-tag,
.cwp-card .cwp-badge,
.cwp-card .cwp-card-meta,
.cwp-card .cwp-meta,
.cwp-card .cwp-card-info{
  display:none !important;
}

/* Compact filter/select row so more library cards fit above the fold */
.cwp-toolbar,
.cwp-filters,
.cwp-filter-row{
  gap:6px !important;
}
.cwp-toolbar select,
.cwp-filters select,
.cwp-filter-row select,
.cwp-toolbar input,
.cwp-filters input,
.cwp-filter-row input{
  min-height:34px !important;
  height:34px !important;
  padding:5px 8px !important;
  font-size:11px !important;
  border-radius:8px !important;
}
.cwp-toolbar button,
.cwp-filters button,
.cwp-filter-row button{
  min-height:34px !important;
  height:34px !important;
  padding:5px 9px !important;
  font-size:10px !important;
  border-radius:8px !important;
}
@media(max-width:600px){
  .cwp-grid,.cwp-library-grid,.cwp-results{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px !important;
  }
  .cwp-card{max-width:none !important;}
}


/* V1.12 - metadata buttons side-by-side */
.cwp-card{
  max-width:190px !important;
}
.cwp-card .cwp-pill,
.cwp-card .cwp-tag,
.cwp-card .cwp-badge{
  display:inline-block !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 2px 3px 0 !important;
  padding:1px 4px !important;
  border-radius:4px !important;
  font-size:8px !important;
  line-height:1.15 !important;
  vertical-align:top !important;
  white-space:nowrap !important;
}
.cwp-card .cwp-card-meta,
.cwp-card .cwp-meta,
.cwp-card .cwp-card-info{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:3px !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  margin:3px 0 4px !important;
  padding:0 !important;
  overflow:visible !important;
}
.cwp-card .cwp-card-meta > *,
.cwp-card .cwp-meta > *,
.cwp-card .cwp-card-info > *{
  display:inline-block !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:1px 4px !important;
  font-size:8px !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
}
.cwp-card-desc{
  margin-top:3px !important;
}


/* V1.12 - final compact Play It catalogue cards */
#cwPlay .cards{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,175px) !important;
  gap:7px !important;
  justify-content:start !important;
  align-items:start !important;
  margin-top:8px !important;
}
#cwPlay .card{
  width:175px !important;
  min-width:0 !important;
  min-height:0 !important;
  height:auto !important;
  padding:7px 8px !important;
  border-radius:9px !important;
}
#cwPlay .card h3{
  margin:0 0 2px !important;
  font-size:14px !important;
  line-height:1.08 !important;
}
#cwPlay .card > .meta{
  margin:0 0 3px !important;
  font-size:8.5px !important;
  line-height:1.15 !important;
}

/* The four actual metadata badges are direct children of .card.
   Keep all four on one horizontal line. */
#cwPlay .card > .badge{
  display:inline-block !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  padding:1px 3px !important;
  margin:1px 2px 2px 0 !important;
  border-radius:3px !important;
  font-size:7px !important;
  line-height:1.05 !important;
  font-weight:700 !important;
  vertical-align:top !important;
  white-space:nowrap !important;
}

/* Description and Play button share a very compact footer area. */
#cwPlay .card > .toolbar{
  display:block !important;
  margin-top:2px !important;
}
#cwPlay .card .cwp-card-desc{
  margin:2px 0 4px !important;
  min-height:0 !important;
  font-size:8px !important;
  line-height:1.18 !important;
  color:#526b83 !important;
}
#cwPlay .card > .toolbar button{
  padding:4px 7px !important;
  min-height:0 !important;
  font-size:8px !important;
  line-height:1.1 !important;
  border-radius:6px !important;
}

/* Keep the top library controls compact as well. */
#cwPlay .cwp-filters{
  gap:5px !important;
}
#cwPlay .cwp-filters select,
#cwPlay .cwp-filters button{
  padding:6px 8px !important;
  font-size:10px !important;
  min-height:30px !important;
}
#cwPlay .search-wrap input{
  padding:6px 8px !important;
  font-size:10px !important;
  min-height:30px !important;
}
#cwPlay .search-wrap button{
  padding:6px 8px !important;
  font-size:9px !important;
  min-height:30px !important;
}
@media(max-width:560px){
  #cwPlay .cards{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px !important;
  }
  #cwPlay .card{
    width:auto !important;
  }
}


/* V1.12 - final card layout matching approved design */
#cwPlay .cards{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,230px) !important;
  gap:10px !important;
  justify-content:start !important;
  align-items:start !important;
  margin-top:10px !important;
}
#cwPlay .card{
  width:230px !important;
  min-width:0 !important;
  min-height:0 !important;
  height:auto !important;
  padding:9px 10px !important;
  border-radius:10px !important;
}
#cwPlay .card h3{
  margin:0 0 3px !important;
  font-size:16px !important;
  line-height:1.1 !important;
}
#cwPlay .card > .meta{
  margin:0 0 5px !important;
  font-size:9.5px !important;
  line-height:1.2 !important;
}

/* Dedicated badge row. This prevents builder/global CSS from stacking badges vertically. */
#cwPlay .card-tags{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:4px !important;
  width:100% !important;
  margin:4px 0 6px !important;
  padding:0 !important;
}
#cwPlay .card-tags .badge{
  display:inline-flex !important;
  flex:0 0 auto !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:2px 5px !important;
  border:1px solid #bcd2e6 !important;
  border-radius:5px !important;
  background:#fff !important;
  color:#075fc7 !important;
  font-size:8.5px !important;
  line-height:1.1 !important;
  font-weight:800 !important;
  white-space:nowrap !important;
}
#cwPlay .card .cwp-card-desc{
  margin:4px 0 7px !important;
  min-height:0 !important;
  font-size:9.5px !important;
  line-height:1.3 !important;
  color:#425c75 !important;
}
#cwPlay .card > .toolbar{
  margin:0 !important;
}
#cwPlay .card > .toolbar button{
  padding:5px 9px !important;
  min-height:0 !important;
  border-radius:6px !important;
  font-size:9px !important;
}
@media(max-width:560px){
  #cwPlay .cards{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:7px !important;
  }
  #cwPlay .card{
    width:auto !important;
  }
  #cwPlay .card-tags{
    flex-wrap:wrap !important;
  }
}

/* Play It V1.13 - Theme filter */
#cwPlay .filters select,
#cwPlay .filters input{
  min-width:0;
}


/* Play It V1.14 - V4.1 Official pack compatibility / larger-grid support */
#cwPlay .grid-wrap{
  max-width:100%;
  overflow:auto;
  overscroll-behavior:contain;
}
#cwPlay .grid{
  flex:0 0 auto;
}
#cwPlay .puzzle-side{
  min-width:0;
}
#cwPlay .player-layout{
  align-items:start;
}
@media(max-width:850px){
  #cwPlay .grid-wrap{
    justify-content:flex-start;
  }
}


/* =========================================================
   PLAY IT V2.0 — CROSSWORD DISCOVERY
   ========================================================= */
#cwPlay .cwp-v2-hero{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;
  align-items:center;margin-bottom:16px;padding:20px 22px;
  border:1px solid #cfe1f2;border-radius:18px;background:#fff;
  box-shadow:0 7px 22px rgba(20,70,120,.07)
}
#cwPlay .cwp-v2-kicker{font-size:10px;font-weight:900;letter-spacing:.11em;color:#0874e8}
#cwPlay .cwp-v2-hero h1{margin:3px 0 4px;color:#075fc7;font-size:30px}
#cwPlay .cwp-v2-random{text-align:center}
#cwPlay .cwp-random-main{min-height:48px;padding:10px 18px}
#cwPlay .cwp-random-quick{display:flex;gap:5px;justify-content:center;margin-top:6px}
#cwPlay .cwp-random-quick button{border:1px solid #c7dbef;border-radius:7px;background:#f7fbff;color:#075fc7;padding:5px 8px;font-size:9px;font-weight:800;cursor:pointer}
#cwPlay .cwp-v2-account-actions{grid-column:1/-1;justify-content:flex-end;border-top:1px solid #e5eef6;padding-top:10px}
#cwPlay .cwp-discovery-section,#cwPlay .cwp-browse-section{margin:14px 0;padding:16px;border:1px solid #d4e4f1;border-radius:15px;background:#fff}
#cwPlay .cwp-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
#cwPlay .cwp-section-head h2{margin:0;color:#17375e;font-size:19px}
#cwPlay .cwp-section-head p{margin:3px 0 0;color:#71869b;font-size:11px}
#cwPlay .cwp-view-all{border:1px solid #bfd7ed;border-radius:8px;background:#f5faff;color:#075fc7;padding:7px 10px;font-size:9px;font-weight:900;cursor:pointer;white-space:nowrap}
#cwPlay .cwp-discovery-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#cwPlay .cwp-mini-card{display:flex;flex-direction:column;min-height:132px;padding:11px;border:1px solid #d8e6f2;border-radius:11px;background:#fbfdff}
#cwPlay .cwp-mini-card h3{margin:7px 0 5px;color:#17375e;font-size:13px;line-height:1.2}
#cwPlay .cwp-mini-card .primary{margin-top:auto;width:100%;min-height:34px;font-size:9px}
#cwPlay .cwp-mini-top{display:flex;justify-content:space-between;gap:5px;align-items:center}
#cwPlay .cwp-progress-pill{font-size:7px;font-weight:900;color:#8a6500;background:#fff2bf;border-radius:999px;padding:3px 5px}
#cwPlay .cwp-theme-buttons{display:flex;flex-wrap:wrap;gap:7px}
#cwPlay .cwp-theme-chip{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #cfe1f2;border-radius:10px;background:#f7fbff;padding:8px 11px;color:#17375e;cursor:pointer}
#cwPlay .cwp-theme-chip strong{font-size:11px}
#cwPlay .cwp-theme-chip span{font-size:8px;color:#71869b;margin-top:2px}
#cwPlay .cwp-browse-pager{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:14px}
#cwPlay .cwp-browse-pager button{border:1px solid #bfd7ed;border-radius:8px;background:#fff;color:#075fc7;padding:7px 11px;font-size:9px;font-weight:900;cursor:pointer}
#cwPlay .cwp-browse-pager button:disabled{opacity:.35;cursor:default}
#cwPlay .cwp-browse-pager span{font-size:10px;color:#71869b;font-weight:700}
@media(max-width:850px){
 #cwPlay .cwp-v2-hero{grid-template-columns:1fr}
 #cwPlay .cwp-v2-account-actions{grid-column:auto;justify-content:flex-start}
 #cwPlay .cwp-discovery-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 #cwPlay .cwp-v2-hero{padding:15px}
 #cwPlay .cwp-v2-hero h1{font-size:26px}
 #cwPlay .cwp-random-quick{flex-wrap:wrap}
 #cwPlay .cwp-discovery-section,#cwPlay .cwp-browse-section{padding:12px}
 #cwPlay .cwp-discovery-row{grid-template-columns:1fr 1fr;gap:6px}
 #cwPlay .cwp-mini-card{min-height:125px;padding:9px}
 #cwPlay .cwp-section-head{align-items:flex-start}
}


/* =========================================================
   PLAY IT V2.2 — COMPLETION RECOMMENDATIONS
   ========================================================= */
#cwPlay .cwp-complete-next{
  margin:14px 0 10px;
  padding:12px;
  border:1px solid #cfe1f2;
  border-radius:12px;
  background:#f7fbff;
}
#cwPlay .cwp-complete-next h3{
  margin:0 0 8px;
  color:#17375e;
  font-size:14px;
}
#cwPlay .cwp-complete-next button{
  width:100%;
  margin:4px 0;
  min-height:38px;
  border:1px solid #bfd7ed;
  border-radius:8px;
  background:#fff;
  color:#075fc7;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
#cwPlay .cwp-complete-next button.primary{
  background:#0874e8;
  border-color:#0874e8;
  color:#fff;
}
#cwPlay .cwp-complete-back{
  width:100%;
  margin-top:4px;
  border:0;
  background:transparent;
  color:#607b96;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
}


/* =========================================================
   PLAY IT V2.3 — MY PLAY IT DASHBOARD
   ========================================================= */
#cwPlay .cwp-profile-hero{
  display:flex;align-items:flex-end;justify-content:space-between;gap:18px;
  padding:20px 22px;margin-bottom:12px;border:1px solid #cfe1f2;
  border-radius:18px;background:#fff;box-shadow:0 7px 22px rgba(20,70,120,.07)
}
#cwPlay .cwp-profile-hero h2{margin:3px 0 4px;color:#075fc7;font-size:28px}
#cwPlay .cwp-profile-hero p{margin:0;color:#71869b;font-size:11px}
#cwPlay .cwp-profile-back{
  display:block;margin:0 0 12px;padding:0;border:0;background:transparent;
  color:#607b96;font-size:9px;font-weight:900;cursor:pointer
}
#cwPlay .cwp-profile-random{min-height:44px;padding:10px 14px;white-space:nowrap}
#cwPlay .cwp-profile-stats{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0
}
#cwPlay .cwp-stat{
  padding:14px;border:1px solid #d4e4f1;border-radius:13px;background:#fff;text-align:center
}
#cwPlay .cwp-stat strong{display:block;color:#075fc7;font-size:25px;line-height:1}
#cwPlay .cwp-stat span{display:block;margin-top:5px;color:#71869b;font-size:9px;font-weight:800;text-transform:uppercase}
#cwPlay .cwp-profile-section{
  margin:12px 0;padding:15px;border:1px solid #d4e4f1;border-radius:15px;background:#fff
}
#cwPlay .cwp-profile-section h3{margin:0;color:#17375e;font-size:17px}
#cwPlay .cwp-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#cwPlay .cwp-profile-card{
  display:flex;flex-direction:column;min-height:140px;padding:10px;border:1px solid #d8e6f2;
  border-radius:11px;background:#fbfdff
}
#cwPlay .cwp-profile-card-top{display:flex;justify-content:space-between;align-items:center;gap:5px}
#cwPlay .cwp-profile-card h4{margin:7px 0 5px;color:#17375e;font-size:12px;line-height:1.25}
#cwPlay .cwp-profile-status{
  padding:3px 5px;border-radius:999px;font-size:7px;font-weight:900;white-space:nowrap
}
#cwPlay .cwp-profile-status.complete{background:#e8f7ee;color:#237143}
#cwPlay .cwp-profile-status.progress{background:#fff2bf;color:#856100}
#cwPlay .cwp-profile-card-actions{display:flex;gap:5px;margin-top:auto}
#cwPlay .cwp-profile-card-actions button{
  flex:1;min-height:33px;border:1px solid #bfd7ed;border-radius:7px;background:#fff;
  color:#075fc7;font-size:8px;font-weight:900;cursor:pointer
}
#cwPlay .cwp-profile-card-actions button.primary{background:#0874e8;border-color:#0874e8;color:#fff}
#cwPlay .cwp-profile-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#cwPlay .cwp-profile-theme-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}
#cwPlay .cwp-profile-theme{
  display:flex;align-items:center;gap:9px;padding:9px;border:1px solid #d8e6f2;border-radius:10px;
  background:#fbfdff;color:#17375e;text-align:left;cursor:pointer
}
#cwPlay .cwp-theme-rank{
  display:grid;place-items:center;width:25px;height:25px;border-radius:50%;
  background:#eaf4ff;color:#075fc7;font-size:10px;font-weight:900;flex:0 0 auto
}
#cwPlay .cwp-profile-theme strong{display:block;font-size:10px}
#cwPlay .cwp-profile-theme small{display:block;margin-top:2px;color:#71869b;font-size:8px}
#cwPlay .cwp-difficulty-breakdown{display:grid;gap:8px}
#cwPlay .cwp-diff-label{display:flex;justify-content:space-between;color:#47627c;font-size:9px;font-weight:800}
#cwPlay .cwp-diff-track{height:7px;margin-top:3px;border-radius:999px;background:#edf3f8;overflow:hidden}
#cwPlay .cwp-diff-track span{display:block;height:100%;border-radius:999px;background:#0874e8}
@media(max-width:850px){
 #cwPlay .cwp-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #cwPlay .cwp-profile-two-col{grid-template-columns:1fr}
}
@media(max-width:560px){
 #cwPlay .cwp-profile-hero{align-items:stretch;flex-direction:column;padding:15px}
 #cwPlay .cwp-profile-random{width:100%}
 #cwPlay .cwp-profile-stats{grid-template-columns:1fr 1fr}
 #cwPlay .cwp-profile-grid{grid-template-columns:1fr 1fr;gap:6px}
 #cwPlay .cwp-profile-theme-list{grid-template-columns:1fr}
}
