body.ctj-canasta-page > .featured-image.page-header-image {display:none!important;}
body.ctj-canasta-page main article.page > .inside-article > .entry-header {display:none;}
body.ctj-canasta-page main article.page > .inside-article > .entry-content {margin-top:0;}
#ct-canasta {
  --ink:#292d3e; --rose:#F45A8E; --stitch:#ddd5e1; --paper:#fffdfb;
  box-sizing:border-box; container-type:inline-size; isolation:isolate; position:relative;
  width:100%; max-width:1050px; margin:0 auto;
  color:var(--ink);
  font:500 16px/1.45 "League Spartan","DM Sans","Trebuchet MS",Arial,sans-serif; text-align:left;
}
#ct-canasta * { box-sizing:border-box; }
#ct-canasta [hidden] {display:none!important;}
#ct-canasta button {min-height:44px; margin:0; font:inherit; letter-spacing:normal; text-transform:none; appearance:none; cursor:pointer;}
#ct-canasta :focus-visible {outline:3px solid #176276;outline-offset:3px;}
#ct-canasta .ct-top {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:0;margin:0 0 18px;max-width:none;text-align:left;background:transparent;border:0;}
#ct-canasta .ct-intro {min-width:0;}
#ct-canasta .ct-learning__eyebrow {color:var(--rose);font:800 11px/1.2 Nunito,sans-serif;letter-spacing:.08em;text-transform:uppercase;margin:0 0 4px;}
#ct-canasta .ct-learning__title {color:#171717;font:600 clamp(28px,3vw,36px)/1 "League Spartan",sans-serif;letter-spacing:-.045em;text-transform:none;margin:0;}
#ct-canasta .ct-learning__intro {color:#767676;font:400 14px/1.5 Nunito,sans-serif;letter-spacing:normal;margin:8px 0 0;}
#ct-canasta .ct-top-actions {display:flex;flex:none;gap:6px;}
#ct-canasta .ct-top-actions button {color:#41384d; background:transparent; border:1px solid #d9ced7; border-radius:50%;width:44px;height:44px;padding:0;line-height:1;font-size:20px;font-weight:700;}
#ct-canasta .ct-top-actions button:hover {background:white;}
#ct-canasta .ct-wrap {padding:clamp(14px,3.4%,34px);border-radius:24px;border:1px solid #e7dce5;background:var(--paper);}
#ct-canasta .ct-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(204px,26%);gap:clamp(14px,2.5cqw,28px);align-items:start;}
#ct-canasta .ct-field {position:relative;overflow:hidden;border:1px solid #cec7d9;background:#eee7f2;border-radius:17px; height:clamp(330px,46cqw,473px);}
#ct-canasta canvas {width:100%;height:100%;display:block;margin:0;padding:0;border:0;touch-action:pan-y;}
#ct-canasta canvas.ct-playing {touch-action:none;cursor:ew-resize;}
#ct-canasta canvas:focus-visible {outline-offset:-4px;}
#ct-canasta .ct-overlay {position:absolute;inset:0;display:grid;place-items:center;padding:12px;pointer-events:none;}
#ct-canasta .ct-paper {width:min(88%,302px);background:#fffdf9;border:1px solid #d7c9d3;outline:1px dashed #d9bdc9;outline-offset:-7px;box-shadow:0 5px 0 #49364614,0 10px 24px #49364612;border-radius:15px;padding:20px 24px;text-align:center;pointer-events:auto;}
#ct-canasta .ct-motif {color:var(--rose);font:26px/1 Georgia,serif;}
#ct-canasta h3 {margin:0;color:var(--ink);letter-spacing:-.035em;text-transform:none;}
#ct-canasta .ct-paper h3 {font:700 27px/1.12 Georgia,serif;margin:4px 0 8px;}
#ct-canasta .ct-paper p {font:inherit;font-size:16px;line-height:1.34;color:#504656;margin:0 0 15px;}
#ct-canasta .ct-primary {border:1px solid var(--rose); background:var(--rose);color:var(--ink);border-radius:999px;font-weight:700;padding:9px 22px;}
#ct-canasta .ct-primary:hover {background:#ff82ab;}
#ct-canasta .ct-round-actions {display:flex;flex-wrap:wrap;justify-content:center;gap:6px;}
#ct-canasta .ct-retry {border:1px solid #c7a4ba;background:#fff;color:#653952;border-radius:999px;padding:8px 16px;font-weight:700;}
#ct-canasta .ct-slip {background:#faf3f6;border:1px solid #e9d9e1;border-radius:15px;padding:18px;}
#ct-canasta .ct-round {font-weight:750;color:var(--ink);font-size:14px;}
#ct-canasta .ct-slip h3 {font:700 clamp(20px,2.8cqw,26px)/1.1 Georgia,serif;margin:5px 0 14px;}
#ct-canasta .ct-slip ul {padding:0;margin:0;list-style:none;}
#ct-canasta .ct-slip li {display:flex;align-items:center;gap:8px;padding:7px 0;margin:0;list-style:none;font-size:16px;}
#ct-canasta .ct-swatch {display:inline-grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;line-height:1;font:700 15px/1 Arial,sans-serif;color:white;border:1px solid #2b203233;background-image:repeating-linear-gradient(-45deg,transparent 0 3px,#ffffff36 3px 4px);}
#ct-canasta .ct-count {font-weight:750;margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums;}
#ct-canasta .ct-done {color:#24685a;}
#ct-canasta .ct-lives {display:flex;align-items:center;gap:8px;justify-content:space-between;border-top:1px dashed #d9bac9;margin-top:12px;padding-top:12px;font-weight:650;}
#ct-canasta .ct-hearts {font:700 19px/1.1 Arial,sans-serif;color:var(--rose);white-space:nowrap;letter-spacing:.02em;}
#ct-canasta .ct-controls {display:flex;align-items:flex-start;gap:9px;margin:15px 2px 0;color:#5a5361;font:inherit;font-size:14px;}
#ct-canasta .ct-keys {display:inline-grid;place-items:center;border:1px solid #d6ccda;border-bottom-width:2px;border-radius:5px;width:27px;flex:none;font-size:17px;line-height:21px;}
#ct-canasta .ct-sr {position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
@container (max-width:670px) {
 #ct-canasta .ct-wrap {padding:14px;}
 #ct-canasta .ct-layout {grid-template-columns:minmax(0,1fr);gap:10px;}
 #ct-canasta .ct-order {grid-row:1;}
 #ct-canasta .ct-slip {position:relative;padding:9px 12px;border-radius:12px;}
 #ct-canasta .ct-slip h3 {display:none;}
 #ct-canasta .ct-slip ul {display:flex;flex-wrap:wrap;gap:3px 16px;}
 #ct-canasta .ct-slip li {padding:4px 0;gap:5px;font-size:14px;}
 #ct-canasta .ct-round {font-size:14px;padding-right:97px;}
 #ct-canasta .ct-swatch {width:19px;height:19px;font-size:11px;}
 #ct-canasta .ct-lives {position:absolute;right:12px;top:10px;margin:0;border:0;padding:0;gap:5px;font-size:13px;}
 #ct-canasta .ct-hearts {font-size:16px;}
 #ct-canasta .ct-field {height:clamp(279px,48svh,440px);}
 #ct-canasta .ct-controls {display:none;}
 #ct-canasta .ct-paper {padding:15px 16px;}
 #ct-canasta .ct-learning__title {font-size:28px;}
}
@media (max-height:485px) and (orientation:landscape) {
 #ct-canasta .ct-field {height:260px;}
}

#ct-canasta .ct-picker {display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px;margin:0 0 8px;font-size:14px;color:#514457;}
#ct-canasta .ct-picker label {font-weight:700;white-space:nowrap;}
#ct-canasta .ct-picker select {min-height:44px;border:1px solid #dacbd5;border-radius:9px;background:#fff;color:var(--ink);font:inherit;padding:4px 8px;max-width:100%;}
@container(max-width:670px){#ct-canasta .ct-picker{margin-bottom:5px;}#ct-canasta .ct-paper{max-height:100%;overflow:auto;}}

@media (max-width: 767px) {
  #ctj-board table {table-layout: auto;}
  #ctj-board table th, #ctj-board table td {padding-inline: 4px; font-size: 14px; vertical-align: middle;}
  #ctj-board table :is(th, td):first-child,
  #ctj-board table :is(th, td):last-child {width: 1%; white-space: nowrap;}
  #ctj-board table thead th:first-child {font-size: 0;}
  #ctj-board table thead th:first-child::before {content: "#"; content: "#" / ""; font-size: 14px;}
  #ctj-board table td:nth-child(2) {width: 100%; max-width: 0;}
  #ctj-board table .ctj-identity {flex-wrap: nowrap; gap: 3px; white-space: nowrap;}
  #ctj-board .ctj-identity > :first-child {min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
  #ctj-board .ctj-identity :is(.ctj-badge, .ctj-socials) {flex: none;}
  #ctj-board .ctj-socials, #ctj-board .ctj-social-links {gap: 1px; flex-wrap: nowrap;}
  #ctj-board .ctj-social-links a {width: 24px;}
}
#ct-canasta[dir="rtl"] {text-align:right}
#ctj-board[dir="rtl"] :is(th,td) {text-align:right}
#ctj-board .ctj-score {display:inline-block;direction:ltr;unicode-bidi:isolate}
