/* Daily Crostic, in the Drawblins brand.
   Colors, type, radii and shadows all come from the site tokens in site.css:
   the off-white page (--bg), white cards, violet as the one strong color
   (--violet, --violet-700, --violet-100, --violet-50), coral as the accent, and
   the solid violet band with a white button that the site uses for its calls
   to action. Nothing here introduces a color of its own, apart from the amber
   the site already uses for stars.
   Two screens: the hub (sits in the page) and the play screen (full screen). */
.cx{
  --block:#fff; --edge:var(--violet-100); --star:#E9A23B;
  --c:42px;
}
.cxpage{padding-top:24px;padding-bottom:8px}
.cxpage .crumbs{margin-bottom:12px}
.cx__h1{font-size:40px;line-height:46px;font-weight:700}
.cx__lede{font-size:18px;line-height:28px;margin:8px 0 22px;max-width:46em}
.cx__label{font:700 12px/18px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:22px 0 10px}
.cx__label--onink{margin:16px 2px 10px}
.cx .i{width:18px;height:18px;flex:none}
.cx [hidden]{display:none !important}
html.cx-lock{overflow:hidden}

/* ------------------------------------------------------------ hub */
.cx-hub{max-width:760px}
.cx-hubmsg{min-height:0;margin:0 2px 12px;font:600 15px/22px var(--body);color:var(--violet-700)}
.cx-hubmsg:empty{display:none}
.cx-stats{list-style:none;margin:0 0 14px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.cx-stat{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:16px}
.cx-stat .i{grid-row:span 2;width:36px;height:36px;padding:8px;border-radius:10px;background:var(--violet-50);color:var(--violet-700)}
.cx-stat b{font:700 20px/22px var(--display);font-variant-numeric:tabular-nums}
.cx-stat span{font:500 12px/16px var(--body);color:var(--muted)}
.cx-stat--streak .i{background:var(--coral-50);color:#C93A30}

/* the next level: the site's violet call-to-action band, with its coral circle */
.cx-next{position:relative;overflow:hidden;isolation:isolate;padding:24px 24px 26px;border-radius:var(--r-card);background:var(--violet);color:#fff}
.cx-next::after{content:"";position:absolute;z-index:-1;width:220px;height:220px;border-radius:50%;background:var(--coral);right:-70px;top:-120px}
.cx-next__eyebrow{font:700 12px/18px var(--body);letter-spacing:.08em;text-transform:uppercase;color:#E9E0FC}
.cx-next__proof{display:flex;flex-wrap:wrap;gap:7px 12px;margin:14px 0 12px;min-height:22px}
.cx-next__proof span{display:inline-flex;gap:2px}
.cx-next__proof i{width:15px;height:19px;border-radius:3px;background:#fff;box-shadow:0 2px 0 rgba(36,28,53,.22);font:700 11px/19px var(--display);font-style:normal;color:var(--violet-700);text-align:center}
.cx-next__meta{font:400 16px/24px var(--body);color:#E9E0FC;margin-bottom:18px}
.cx-go{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 26px;border:0;border-radius:var(--r-btn);background:#fff;color:var(--violet-700);font:700 17px/1 var(--body);cursor:pointer;box-shadow:0 1px 0 rgba(36,28,53,.08),0 8px 18px -8px rgba(36,28,53,.5);transition:transform var(--t-fast),box-shadow var(--t-fast)}
.cx-go:hover{transform:translateY(-1px)}
.cx-go:active{transform:translateY(1px)}
.cx-go:focus-visible{outline:3px solid #fff;outline-offset:3px}
.cx-links button:focus-visible,.cx-tray:focus-visible,.cx-gift__btn:focus-visible{outline:3px solid rgba(120,63,232,.5);outline-offset:3px}
.cx-go .i{width:20px;height:20px;fill:currentColor;stroke:none}

.cx-gift{display:flex;align-items:center;gap:10px;margin-top:12px;padding:10px 12px 10px 14px;border-radius:16px;background:var(--violet-50);border:1px solid var(--violet-100);font:600 15px/20px var(--body)}
.cx-gift .i{color:var(--violet-700);width:22px;height:22px}
.cx-gift span{flex:1}
.cx-gift__btn{min-height:40px;padding:0 14px;border:0;border-radius:10px;background:var(--violet);color:#fff;font:600 14px/1 var(--body);cursor:pointer}
.cx-gift__btn:hover{background:var(--violet-700)}
/* the daily puzzle: a white card under the violet one */
.cx-daily{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:12px;padding:18px 20px;border-radius:var(--r-card);background:#fff;border:1px solid var(--line)}
.cx-daily[hidden]{display:none}
.cx-daily__text{flex:1 1 240px;min-width:0}
.cx-daily__h{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0;font:700 20px/26px var(--display);color:var(--ink)}
.cx-daily__h .i{width:22px;height:22px;color:var(--coral)}
.cx-daily__h small{font:600 13px/22px var(--body);padding:0 10px;border-radius:999px;background:var(--coral-50);color:var(--error)}
.cx-daily__text p{margin:4px 0 0;font:400 15px/22px var(--body);color:var(--muted)}
.cx-daily__btns{display:flex;flex-wrap:wrap;gap:8px}
.cx-daily__btns button{min-height:46px}

/* one tray per difficulty, one compartment per level */
.cx-trays{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cx-tray{width:100%;display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center;padding:12px 14px 14px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);cursor:pointer;text-align:left;font-family:var(--body);transition:border-color var(--t-fast),box-shadow var(--t-fast)}
.cx-tray:hover{border-color:var(--violet);box-shadow:0 0 0 3px rgba(120,63,232,.1)}
.cx-tray__name{font:700 17px/22px var(--display)}
.cx-tray__name small{margin-left:8px;font:500 13px/18px var(--body);color:var(--muted)}
.cx-tray__count{font:600 14px/20px var(--body);color:var(--muted);font-variant-numeric:tabular-nums}
.cx-tray__cells{grid-column:1 / -1;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:2px}
.cx-tray__cells i{height:14px;border-radius:2px;background:var(--violet-50)}
.cx-tray__cells i.is-done{background:#B79BF2}
.cx-tray__cells i.is-gold{background:var(--violet)}
.cx-tray__cells i.is-next{background:#fff;box-shadow:inset 0 0 0 2px var(--coral)}
.cx-tray.is-locked{background:var(--bg);cursor:not-allowed}
.cx-tray.is-locked:hover{border-color:var(--line);box-shadow:none}
.cx-tray.is-locked .cx-tray__name{color:var(--muted)}
.cx-tray.is-locked .cx-tray__count{display:inline-flex;align-items:center;gap:6px}
.cx-tray.is-locked .cx-tray__cells i{background:#ECE8F2}
.cx-tray.is-locked .i{width:14px;height:14px}

.cx-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.cx-links button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:var(--r-btn);border:1px solid var(--line-strong);background:#fff;color:var(--ink);font:600 15px/1 var(--body);cursor:pointer}
.cx-links button:hover{background:var(--bg)}

/* ------------------------------------------------------------ play screen */
html.cx-playing{overflow:hidden}
.cx-play{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:var(--bg);color:var(--ink)}
.cx-top{display:flex;align-items:center;gap:8px;flex:none;padding:calc(8px + env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) 8px max(10px,env(safe-area-inset-left));background:#fff;border-bottom:1px solid var(--line)}
.cx-top__btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line-strong);border-radius:var(--r-btn);background:#fff;color:var(--ink);cursor:pointer}
.cx-top__btn:hover{background:var(--bg)}
.cx-top__btn .i{width:22px;height:22px}
.cx-top__hint{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:44px;padding:0 14px;border:0;border-radius:var(--r-btn);background:var(--violet);color:#fff;cursor:pointer;font-family:var(--body);box-shadow:0 1px 0 rgba(36,28,53,.08),0 6px 16px -6px rgba(120,63,232,.55)}
.cx-top__hint:hover{background:var(--violet-700)}
.cx-top__hint .i{width:20px;height:20px}
.cx-top__hint b{font:700 16px/1 var(--body);font-variant-numeric:tabular-nums}
.cx-top__btn:focus-visible,.cx-top__hint:focus-visible,.cx-now__nav:focus-visible{outline:3px solid rgba(120,63,232,.5);outline-offset:2px}
.cx-top__title{flex:1;min-width:0;display:flex;align-items:baseline;gap:8px;padding:0 4px}
.cx-top__title b{font:700 18px/24px var(--display);white-space:nowrap}
.cx-top__title span{padding:1px 8px;border-radius:999px;background:var(--violet-50);font:700 11px/18px var(--body);letter-spacing:.05em;text-transform:uppercase;color:var(--violet-700)}
.cx-top__time{font:600 15px/1 var(--body);font-variant-numeric:tabular-nums;color:var(--muted);padding:0 4px}

.cx-board{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.cx-board__in{max-width:980px;margin:0 auto;padding:2px 14px 28px}

/* letter blocks */
.cx-cell{position:relative;width:var(--c);height:calc(var(--c) * 1.2);padding:0;border:1px solid var(--line-strong);border-radius:8px;background:var(--block);color:var(--ink);cursor:pointer;font-family:var(--body);flex:none;box-shadow:0 2px 0 var(--edge);scroll-margin:12px;transition:background-color var(--t-fast),border-color var(--t-fast),box-shadow var(--t-fast),transform var(--t-fast)}
.cx-cell small{position:absolute;left:4px;top:3px;font:600 9.5px/11px var(--body);color:var(--muted);font-variant-numeric:tabular-nums}
.cx-cell i{position:absolute;right:4px;top:3px;font:700 9.5px/11px var(--body);font-style:normal;color:#A99BD6}
.cx-cell b{position:absolute;left:0;right:0;bottom:calc(var(--c) * .1);text-align:center;font:700 calc(var(--c) * .54)/1 var(--display);text-transform:uppercase}
.cx-cell:focus-visible{outline:3px solid rgba(120,63,232,.5);outline-offset:2px}
.cx-cell.is-word{background:var(--violet-50);border-color:#B79BF2}
.cx-cell.is-twin{border-color:var(--violet);box-shadow:0 2px 0 var(--edge),inset 0 0 0 2px var(--violet)}
.cx-cell.is-sel{background:var(--violet);border-color:var(--violet);color:#fff;box-shadow:0 2px 0 var(--violet-700);transform:translateY(-2px)}
.cx-cell.is-sel small,.cx-cell.is-sel i{color:rgba(255,255,255,.82)}
.cx-cell.is-given{background:#EFEBF5;border-color:var(--line);box-shadow:none;cursor:default}
.cx-cell.is-given b{color:var(--ink-2)}
.cx-cell.is-hint b{color:var(--success)}
.cx-cell.is-sel.is-hint b,.cx-cell.is-sel.is-given b{color:#fff}
.cx-cell.is-sel.is-given{background:var(--violet-700)}
.cx-cell.is-wrong{background:var(--coral-50);border-color:var(--coral);box-shadow:0 2px 0 #F2B3AD}
.cx-cell.is-wrong b{color:var(--error)}
.cx-cell.is-sel.is-wrong{background:var(--coral);border-color:var(--coral);box-shadow:0 2px 0 #C93A30}
.cx-cell.is-sel.is-wrong b{color:#fff}
.cx-cell.is-pop b{animation:cx-pop .18s ease-out}
.cx-cell.is-shake{animation:cx-shake .32s ease-in-out}
@keyframes cx-pop{0%{transform:scale(.4);opacity:.2}70%{transform:scale(1.18)}100%{transform:scale(1)}}
@keyframes cx-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}

.cx__quote{display:flex;flex-wrap:wrap;gap:12px calc(var(--c) * .6);padding:16px;border-radius:var(--r-card);background:#fff;border:1px solid var(--line);box-shadow:var(--sh-sm)}
.cx-word{display:inline-flex;flex-wrap:wrap;gap:8px 3px;align-items:flex-end;max-width:100%}
.cx__quote.is-measure .cx-word{flex-wrap:nowrap;max-width:none}
.cx-play.is-tight .cx__quote .cx-cell i{display:none}
.cx-play.is-tight .cx-cell small{left:3px;top:2px;font-size:8.5px}
.cx-punct{font:700 calc(var(--c) * .54)/1 var(--display);color:var(--ink);padding:0 1px calc(var(--c) * .1)}
.cx__source{margin:10px 4px 0;font:600 15px/22px var(--body);color:var(--violet-700)}

/* solved: the line fills with violet, block by block */
.cx-play.is-solved .cx__quote{border-color:var(--violet-100)}
.cx-play.is-solved .cx__quote .cx-cell{animation:cx-print .5s both;animation-delay:calc(var(--k) * 26ms);cursor:default}
.cx-play.is-solved .cx__quote .cx-cell small,.cx-play.is-solved .cx__quote .cx-cell i{color:rgba(255,255,255,.75)}
@keyframes cx-print{0%{background:#fff;color:var(--ink);transform:translateY(0)}45%{background:var(--violet-100);color:var(--ink);transform:translateY(-7px) scale(1.08)}100%{background:var(--violet);border-color:var(--violet);color:#fff;box-shadow:0 2px 0 var(--violet-700);transform:translateY(0)}}
.cx-play.is-solved .cx-clue .cx-cell{cursor:default}

.cx__clues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
.cx-clue{padding:10px 12px 14px;border:1px solid var(--line);border-radius:16px;background:#fff;min-width:0;transition:border-color var(--t-fast),box-shadow var(--t-fast)}
.cx-clue.is-on{border-color:var(--violet);box-shadow:0 0 0 3px rgba(120,63,232,.12)}
.cx-clue__head{display:flex;align-items:baseline;gap:8px;margin-bottom:10px;cursor:pointer;font:500 15px/21px var(--body);color:var(--ink)}
.cx-clue__head span{flex:1;min-width:0}
.cx-clue__head small{flex:none;font:400 13px/18px var(--body);color:var(--muted)}
.cx-clue__tag{flex:none;width:24px;height:24px;border-radius:8px;background:var(--violet-50);color:var(--violet-700);font:700 13px/24px var(--body);text-align:center}
.cx-clue.is-on .cx-clue__tag{background:var(--violet);color:#fff}
.cx-clue.is-full:not(.is-on) .cx-clue__tag{background:var(--success-50);color:var(--success)}
.cx-clue.is-bad{border-color:var(--coral)}
.cx-clue.is-bad.is-on{border-color:var(--coral);box-shadow:0 0 0 3px rgba(244,92,81,.16)}
.cx-clue__mark{display:none;flex:none;align-items:center;gap:5px;padding:2px 10px 2px 8px;border-radius:999px;font:700 13px/20px var(--body);font-style:normal}
.cx-clue__mark .i{width:14px;height:14px}
.cx-clue__mark[data-state="right"]{display:inline-flex;background:var(--success-50);color:var(--success)}
.cx-clue__mark[data-state="bad"]{display:inline-flex;background:var(--coral-50);color:var(--error)}
.cx-clue.is-full .cx-clue__head small,.cx-clue.is-bad .cx-clue__head small{display:none}
.cx-clue__cells{display:flex;flex-wrap:wrap;gap:3px 3px}

/* the dock: status, the clue in hand, and the letter keys on touch screens */
.cx-dock{flex:none;padding:6px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#fff;border-top:1px solid var(--line)}
/* messages: the site's dark pill, under the top bar where it cannot be missed */
.cx__status{position:absolute;z-index:6;left:50%;top:calc(70px + env(safe-area-inset-top));transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);margin:0;padding:10px 18px;border-radius:999px;background:rgba(36,28,53,.94);color:#fff;font:600 15px/20px var(--body);text-align:center;box-shadow:var(--sh-lg);pointer-events:none;animation:cx-toast .2s ease-out}
@keyframes cx-toast{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%,0)}}
.cx__status:empty{display:none}
.cx-dock__next{display:flex;align-items:center;justify-content:center;width:100%;max-width:560px;min-height:52px;margin:2px auto;border:0;border-radius:var(--r-btn);font:700 17px/1 var(--body);cursor:pointer}
/* the first-time guide: one line of help above the clue in hand, and a ring on what it is about */
.cx-coach{max-width:960px;margin:0 auto 6px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:10px 10px 10px 14px;border-radius:14px;background:var(--ink);color:#fff}
.cx-coach[hidden]{display:none}
.cx-coach p{flex:1 1 220px;margin:0;font:600 15px/21px var(--body)}
.cx-coach__foot{display:flex;align-items:center;gap:8px;margin-left:auto}
.cx-coach__foot span{font:500 13px/1 var(--body);color:#C9C2D6;font-variant-numeric:tabular-nums}
.cx-coach__foot button{min-height:38px;padding:0 14px;border-radius:10px;font:600 14px/1 var(--body);cursor:pointer}
.cx-coach__skip{border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff}
.cx-coach__ok{border:0;background:#fff;color:var(--violet-700)}
.cx-coach__foot button:focus-visible{outline:3px solid var(--violet-100);outline-offset:2px}
.cx-clue.is-coach,.cx-cell.is-coach,.cx-top__hint.is-coach{box-shadow:0 0 0 3px var(--coral);animation:cx-coach 1.3s ease-in-out infinite}
.cx-clue.is-coach{border-radius:14px}
@keyframes cx-coach{0%,100%{box-shadow:0 0 0 3px var(--coral)}50%{box-shadow:0 0 0 7px rgba(244,92,81,.3)}}
.cx-now{max-width:960px;margin:0 auto;display:flex;align-items:center;gap:6px}
.cx-now__nav{width:44px;height:44px;flex:none;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:var(--r-btn);background:#fff;color:var(--ink);cursor:pointer}
.cx-now__nav:hover{background:var(--bg)}
.cx-now__nav .i{width:22px;height:22px}
.cx-now__clue{flex:1;min-width:0;display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 12px;border-radius:var(--r-btn);background:var(--violet-50);color:var(--ink);font:600 15px/20px var(--body)}
.cx-now__clue b{flex:none;width:26px;height:26px;border-radius:8px;background:var(--violet);color:#fff;font:700 14px/26px var(--body);text-align:center}
.cx-now__clue span{flex:1;min-width:0}
.cx__keys{display:none;max-width:560px;margin:8px auto 0}
@media (pointer:coarse){.cx__keys{display:block}}
.cx-keys__row{display:flex;justify-content:center;gap:5px;margin-bottom:6px}
.cx-keys__row:last-child{margin-bottom:0}
.cx-key{flex:1 1 0;max-width:48px;min-width:0;height:48px;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);font:600 18px/1 var(--body);box-shadow:0 2px 0 var(--line);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.cx-key:active{background:var(--violet);border-color:var(--violet);color:#fff;box-shadow:none;transform:translateY(2px)}
.cx-key--wide{flex:1.8 1 0;max-width:86px;font:600 13px/1 var(--body);background:var(--violet-50);border-color:var(--violet-100)}
.cx-confetti{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

/* ------------------------------------------------------------ sheets (dialogs) */
.cx-sheet{position:fixed;inset:0;z-index:1100;background:rgba(36,28,53,.48);display:flex;align-items:center;justify-content:center;padding:20px}
.cx-card{background:#fff;color:var(--ink);border-radius:var(--r-dialog);width:min(640px,100%);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:auto;padding:22px 24px 24px;box-shadow:var(--sh-lg);overscroll-behavior:contain;animation:cx-rise .22s ease-out}
@keyframes cx-rise{from{transform:translateY(14px);opacity:0}to{transform:none;opacity:1}}
.cx-card--sm{width:min(440px,100%)}
.cx-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.cx-card__head h2{font:700 24px/30px var(--display)}
.cx-card h3{font:700 16px/22px var(--display);margin:18px 0 8px}
.cx-x{width:44px;height:44px;flex:none;display:grid;place-items:center;border:1px solid var(--line);border-radius:var(--r-btn);background:#fff;color:var(--ink);cursor:pointer}
.cx-card__foot{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:16px}
.cx-sheet .btn-ghost,.cx-sheet .btn-primary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:var(--r-btn);font:600 15px/1 var(--body);cursor:pointer;text-decoration:none;width:auto}
.cx-sheet .btn-ghost{border:1px solid var(--line-strong);background:#fff;color:var(--ink)}
.cx-sheet .btn-primary{border:1px solid transparent}
.cx-sheet button:disabled{opacity:.5;cursor:not-allowed}
.cx-note{font:400 15px/22px var(--body);color:var(--muted);margin:8px 0 0}
.cx-note:empty{display:none}
.cx-note a{color:var(--violet-700);font-weight:600}
.cx-note b{color:var(--ink)}
.cx-err{min-height:20px;margin:8px 0 0;color:var(--error);font:600 14px/20px var(--body)}
.cx-err:empty{min-height:0;margin:0}
.cx-label{display:block;font:600 14px/20px var(--body);margin:14px 0 6px}
.cx-input{width:100%;min-width:0;padding:10px 12px;border:1.5px solid var(--line);border-radius:var(--r-btn);font:500 16px/22px var(--body);color:var(--ink);background:#fff}
.cx-input:focus{outline:none;border-color:var(--violet);box-shadow:0 0 0 3px rgba(120,63,232,.18)}
.cx-row{display:flex;gap:8px;align-items:stretch}
.cx-row .btn-ghost{flex:none}

.cx-choices{display:grid;gap:8px;margin-top:12px}
.cx-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:10px 14px;border:1px solid var(--line-strong);border-radius:16px;background:#fff;color:var(--ink);cursor:pointer;text-align:left;font-family:var(--body)}
.cx-choice:hover:not(:disabled){border-color:var(--violet);background:var(--violet-50)}
.cx-choice b{font:600 16px/22px var(--body)}
.cx-choice small{flex:none;font:600 13px/18px var(--body);color:var(--muted);text-align:right;max-width:46%}
.cx-choice--ad{border-color:var(--violet-100);background:var(--violet-50)}
.cx-earn{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px}
.cx-earn li{display:flex;justify-content:space-between;gap:12px;font:400 15px/22px var(--body);color:var(--muted)}
.cx-earn b{color:var(--ink);font-variant-numeric:tabular-nums}
.cx-how{margin:8px 0 0;padding-left:22px;display:grid;gap:10px;font:400 15px/22px var(--body);color:var(--muted)}
.cx-how b{color:var(--ink)}

/* the solved quotation, on the site's violet band */
.cx-proof{position:relative;overflow:hidden;isolation:isolate;margin:4px 0 16px;padding:18px 18px 16px;border-radius:var(--r-card);background:var(--violet);color:#fff}
.cx-proof::after{content:"";position:absolute;z-index:-1;width:120px;height:120px;border-radius:50%;background:var(--coral);right:-44px;top:-70px}
.cx-proof p{font:700 21px/28px var(--display);padding-right:36px}
.cx-proof cite{display:block;margin-top:10px;font:500 14px/20px var(--body);font-style:normal;color:#E9E0FC}
.cx-win__sub{font:400 16px/24px var(--body);color:var(--muted);margin:-4px 0 12px}
.cx-win__score{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 6px}
.cx-win__score span{font-size:34px;line-height:1;color:var(--star);letter-spacing:3px}
.cx-win__score span i{display:inline-block;font-style:normal;color:var(--line-strong)}
.cx-win__score span i.is-on{color:var(--star)}
.cx-win__score span.is-go i.is-on{animation:cx-star .5s cubic-bezier(.2,1.5,.4,1) both;animation-delay:calc(200ms + var(--n) * 260ms)}
@keyframes cx-star{0%{transform:scale(0) rotate(-40deg);opacity:0}70%{transform:scale(1.4) rotate(8deg);opacity:1}100%{transform:none;opacity:1}}
#win-share .i{width:18px;height:18px;margin-right:6px}
.cx-win__score b{font:700 26px/30px var(--display);font-variant-numeric:tabular-nums}
.cx-win__score em{font:700 12px/22px var(--body);font-style:normal;padding:0 10px;border-radius:999px;background:var(--violet-50);color:var(--violet-700)}
.cx-win__rows{margin:8px 0 0;display:grid;gap:4px}
.cx-win__rows div{display:flex;justify-content:space-between;gap:12px;font:400 15px/22px var(--body)}
.cx-win__rows dt{color:var(--muted)}
.cx-win__rows dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}
.cx-win__badges{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:6px}
.cx-win__badges li{padding:8px 12px;border-radius:12px;background:var(--violet-50);color:var(--violet-700);font:600 15px/20px var(--body)}
.cx-win__guest{display:flex;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;border-radius:16px;background:var(--bg);border:1px solid var(--line);font:500 15px/20px var(--body)}
.cx-win__guest span{flex:1}

.cx-levels{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}
.cx-level{width:100%;display:flex;flex-direction:column;align-items:center;gap:1px;padding:10px 4px;border:1px solid var(--line-strong);border-radius:16px;background:#fff;color:var(--ink);cursor:pointer;font-family:var(--body)}
.cx-level b{font:700 20px/24px var(--display)}
.cx-level span{font:600 13px/18px var(--body);color:var(--star);letter-spacing:1px}
.cx-level small{font:400 12px/16px var(--body);color:var(--muted)}
.cx-level:not(.is-done) span{color:var(--violet-700);letter-spacing:0}
.cx-level:hover:not(:disabled){border-color:var(--violet)}
.cx-level.is-done{background:var(--violet-50);border-color:var(--violet-100)}
.cx-level.is-here{border-color:var(--violet);box-shadow:0 0 0 3px rgba(120,63,232,.14)}
.cx-level:disabled{background:var(--bg);border-color:var(--line);opacity:.7;cursor:not-allowed}
.cx-level:disabled span{color:var(--muted)}

.cx-badges{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cx-badge{padding:10px 12px;border:1px solid var(--line);border-radius:16px;display:grid;gap:2px;opacity:.72}
.cx-badge b{font:700 15px/20px var(--body)}
.cx-badge span{font:400 13px/18px var(--body);color:var(--muted)}
.cx-badge small{font:700 12px/18px var(--body);color:var(--muted)}
.cx-badge.is-got{opacity:1;background:var(--violet-50);border-color:var(--violet-100)}
.cx-badge.is-got small{color:var(--violet-700)}

.cx-tabs{display:inline-flex;padding:3px;border-radius:var(--r-btn);background:var(--bg);border:1px solid var(--line);margin-bottom:10px}
.cx-tabs button{min-height:38px;padding:0 16px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:600 14px/1 var(--body);cursor:pointer}
.cx-tabs button[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:var(--sh-sm)}
.cx-ranks{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.cx-rank{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;font:500 15px/20px var(--body)}
.cx-rank b{flex:none;width:34px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
.cx-rank span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.cx-rank small{flex:none;font:400 13px/18px var(--body);color:var(--muted)}
.cx-rank i{flex:none;font-style:normal;font-weight:700;font-variant-numeric:tabular-nums}
.cx-rank.is-you{background:var(--violet-50);border-color:var(--violet-100)}

/* a pretend ad, only ever shown in ?adtest mode */
.cx-adtest{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;background:rgba(36,28,53,.92);color:#fff;text-align:center;padding:24px}
.cx-adtest div{max-width:320px}
.cx-adtest b{display:block;font:700 22px/28px var(--display);margin-bottom:8px}
.cx-adtest p{font:400 15px/22px var(--body);color:#E9E0FC}
.cx-adtest span{display:inline-block;margin-top:14px;font:700 28px/1 var(--display);font-variant-numeric:tabular-nums}

.cxart .faq{display:grid;gap:10px;max-width:820px}

/* inside an app shell (?app=1 or a native wrapper) the site chrome goes */
html.cx-app .nav,html.cx-app .foot,html.cx-app .cxart,html.cx-app .crumbs,html.cx-app .cx__h1,html.cx-app .cx__lede,html.cx-app .skip{display:none}
html.cx-app .cxpage{padding-top:calc(14px + env(safe-area-inset-top));padding-bottom:calc(20px + env(safe-area-inset-bottom))}

@media (max-width:900px){
  .cx{--c:38px}
  .cx__clues{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:700px){
  .cx__h1{font-size:28px;line-height:34px}
  .cx__lede{font-size:16px;line-height:24px}
  .cx{--c:clamp(26px,8vw,36px)}
  .cx-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cx-next{padding:20px 18px 22px}
  .cx-go{width:100%;justify-content:center}
  .cx-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .cx-links button{justify-content:center;padding:0 8px}
  .cx-board__in{padding:0 10px 20px}
  .cx__quote{padding:12px 10px;gap:10px calc(var(--c) * .5)}
  .cx-word{gap:8px 2px}
  .cx-clue__cells{gap:2px}
  .cx-top__title{flex-direction:column;align-items:flex-start;gap:2px}
  .cx-top__title b{font-size:16px;line-height:20px}
  .cx-sheet{padding:0;align-items:flex-end}
  .cx-card{border-radius:20px 20px 0 0;max-height:94vh;max-height:94dvh;padding:16px 16px calc(16px + env(safe-area-inset-bottom))}
  .cx-card__foot .btn-primary{flex:1 1 100%;order:5}
  .cx-badges{grid-template-columns:minmax(0,1fr)}
}
@media (max-height:640px) and (pointer:coarse){
  .cx-key{height:42px}
  .cx__label--onink{margin:10px 2px 6px}
}
@media (prefers-reduced-motion:reduce){
  .cx-cell,.cx-go,.cx-card,.cx__status,.cx-clue,.cx-top__hint,.cx-win__score span i{transition:none;animation:none !important}
  .cx-cell.is-pop b,.cx-cell.is-shake{animation:none}
  .cx-play.is-solved .cx__quote .cx-cell{animation:none;background:var(--violet);border-color:var(--violet);color:#fff}
}
