.cw-page{min-height:calc(100vh - 80px);padding:2rem 0 4rem;background:radial-gradient(ellipse 80% 50% at 50% -5%,rgba(102,126,234,.08),transparent),#f8fafc}.cw-container{max-width:1140px;margin:0 auto;padding:0 1.5rem}@media screen and (min-width:1120px){.cw-container{max-width:1360px;display:grid;grid-template-columns:minmax(380px,440px) 1fr;gap:0 1.75rem;align-items:start}.cw-header{grid-column:1/-1}#inputCard{grid-column:1;position:sticky;top:90px}.cw-empty-state,.cw-loading,.cw-result{grid-column:2;grid-row:2;min-width:0}#inputCard .cw-word-list-header,#inputCard .cw-word-row{grid-template-columns:32px 130px 1fr 36px}}.cw-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cw-header{text-align:center;margin-bottom:2.5rem;padding:2.75rem 2rem 2.25rem;background:linear-gradient(rgba(30,27,75,.55),rgba(59,7,100,.55)),linear-gradient(135deg,#4338ca 0,#7c3aed 55%,#9333ea 100%);border-radius:1.5rem;color:#fff;position:relative;overflow:hidden;box-shadow:0 20px 50px -18px rgba(76,29,149,.45)}.cw-header::before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:34px 34px;background-position:center;pointer-events:none;-webkit-mask-image:radial-gradient(ellipse 75% 90% at 50% 40%,#000 30%,transparent 100%);mask-image:radial-gradient(ellipse 75% 90% at 50% 40%,#000 30%,transparent 100%)}.cw-hero-motif{position:relative;z-index:1;display:inline-grid;grid-template-columns:repeat(7,var(--cw-tile,46px));grid-auto-rows:var(--cw-tile,46px);gap:4px;margin-bottom:1.1rem}.cw-tile{position:relative;display:flex;align-items:center;justify-content:center;background:#fffdf7;color:#1e293b;font-size:calc(var(--cw-tile, 46px) * .52);font-weight:800;border-radius:6px;box-shadow:0 2px 0 rgba(15,23,42,.35),0 10px 22px -8px rgba(15,23,42,.5);animation:cw-tile-in .45s cubic-bezier(.34,1.56,.64,1) both}.cw-tile-cross{background:linear-gradient(135deg,#fef3c7,#fde68a)}.cw-tile i{position:absolute;top:2px;left:4px;font-style:normal;font-size:.55rem;font-weight:700;color:#6366f1;line-height:1}.cw-tile:first-child{animation-delay:50ms}.cw-tile:nth-child(2){animation-delay:.1s}.cw-tile:nth-child(3){animation-delay:.15s}.cw-tile:nth-child(4){animation-delay:.2s}.cw-tile:nth-child(5){animation-delay:.25s}.cw-tile:nth-child(6){animation-delay:.3s}.cw-tile:nth-child(7){animation-delay:.35s}.cw-tile:nth-child(8){animation-delay:.4s}.cw-tile:nth-child(9){animation-delay:.45s}.cw-tile:nth-child(10){animation-delay:.5s}@keyframes cw-tile-in{from{opacity:0;transform:translateY(-10px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@media (prefers-reduced-motion:reduce){.cw-grid td.animate-in,.cw-tile{animation:none}}.cw-header p{font-size:1.08rem;opacity:.92;margin:0;position:relative;z-index:1}.cw-hero-badges{position:relative;z-index:1;display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem;margin-top:1.1rem}.cw-hero-badge{padding:.32rem .85rem;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.22);font-size:.82rem;font-weight:600;backdrop-filter:blur(4px)}.cw-card{background:#fff;border-radius:1rem;padding:2rem;box-shadow:0 1px 3px rgba(0,0,0,.04),0 8px 24px rgba(0,0,0,.06);margin-bottom:2rem;border:1px solid rgba(0,0,0,.04)}.cw-card h2{font-size:1.3rem;font-weight:700;color:#1e293b;margin:0 0 .25rem;display:flex;align-items:center;gap:.5rem}.cw-card h2 .icon{font-size:1.4rem}.cw-help{color:#64748b;font-size:.92rem;margin:0 0 1.25rem;line-height:1.5}.cw-toolbar{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-bottom:1.25rem}.cw-toolbar-left{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;flex:1}.cw-select{padding:.55rem 2rem .55rem .85rem;border:2px solid #e2e8f0;border-radius:.6rem;font-size:.92rem;color:#334155;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right .7rem center;appearance:none;cursor:pointer;transition:border-color .2s;min-width:170px}.cw-select:focus{outline:0;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.12)}.cw-difficulty-pills{display:flex;gap:0;border:2px solid #e2e8f0;border-radius:.6rem;overflow:hidden}.cw-pill{padding:.55rem 1rem;font-size:.88rem;font-weight:600;color:#64748b;background:#fff;border:none;border-right:1px solid #e2e8f0;cursor:pointer;transition:background .15s,color .15s;white-space:nowrap}.cw-pill:last-child{border-right:none}.cw-pill.active{background:#667eea;color:#fff}.cw-pill:not(.active):hover{background:#f1f5f9}.cw-word-list{border:2px solid #e2e8f0;border-radius:.75rem;overflow:hidden}.cw-word-list-header{display:grid;grid-template-columns:40px 180px 1fr 40px;gap:0;padding:.6rem .75rem;background:#f8fafc;border-bottom:2px solid #e2e8f0;font-size:.78rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.cw-word-row{display:grid;grid-template-columns:40px 180px 1fr 40px;gap:0;padding:0;border-bottom:1px solid #f1f5f9;align-items:center;transition:background .15s;position:relative}.cw-word-row:last-child{border-bottom:none}.cw-word-row:hover{background:#fafaff}.cw-word-row .cw-row-num{display:flex;align-items:center;justify-content:center;font-size:.82rem;font-weight:600;color:#94a3b8;padding:.6rem 0;user-select:none}.cw-word-row input{border:none;padding:.7rem .75rem;font-size:.95rem;background:0 0;width:100%;outline:0;transition:background .15s;box-sizing:border-box}.cw-word-row input:focus{background:rgba(102,126,234,.04)}.cw-word-row input.cw-word-input{font-weight:600;color:#1e293b;text-transform:uppercase;border-right:1px solid #f1f5f9}.cw-word-row input.cw-word-input::placeholder{text-transform:none;font-weight:400}.cw-word-row input.cw-def-input{color:#334155}.cw-word-row .cw-row-delete{display:flex;align-items:center;justify-content:center;border:none;background:0 0;cursor:pointer;color:#cbd5e1;padding:.6rem;border-radius:.4rem;transition:color .15s,background .15s;font-size:1.1rem}.cw-word-row .cw-row-delete:hover{color:#ef4444;background:#fef2f2}.cw-word-row .cw-row-warning{position:absolute;right:44px;top:50%;transform:translateY(-50%);font-size:.75rem;color:#f59e0b;font-weight:600;pointer-events:none;white-space:nowrap}.cw-add-row-btn{display:flex;align-items:center;justify-content:center;gap:.4rem;width:100%;padding:.7rem;border:none;background:#f8fafc;color:#667eea;font-size:.92rem;font-weight:600;cursor:pointer;transition:background .15s,color .15s;border-top:1px solid #e2e8f0}.cw-add-row-btn:hover{background:#eef2ff}.cw-word-count{text-align:right;font-size:.82rem;color:#94a3b8;margin-top:.5rem}.cw-word-count.over-limit{color:#ef4444;font-weight:600}.cw-shortcuts-hint{font-size:.78rem;color:#94a3b8;margin-top:.4rem}.cw-shortcuts-hint kbd{display:inline-block;padding:.1rem .4rem;border:1px solid #e2e8f0;border-radius:.25rem;background:#f8fafc;font-family:inherit;font-size:.75rem;font-weight:600;color:#64748b}.cw-btn-row{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem;align-items:center}.cw-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.75rem 1.5rem;border-radius:.7rem;font-size:.98rem;font-weight:700;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s,opacity .15s;border:none;text-decoration:none;white-space:nowrap}.cw-btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.cw-btn-primary{background:linear-gradient(135deg,#667eea 0,#764ba2 100%);color:#fff}.cw-btn-primary:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(102,126,234,.35)}.cw-btn-success{background:linear-gradient(135deg,#10b981 0,#059669 100%);color:#fff}.cw-btn-success:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(16,185,129,.35)}.cw-btn-secondary{background:#f1f5f9;color:#475569;border:2px solid #e2e8f0}.cw-btn-secondary:not(:disabled):hover{background:#e2e8f0}.cw-btn-warning{background:linear-gradient(135deg,#f59e0b 0,#d97706 100%);color:#fff}.cw-btn-warning:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(245,158,11,.35)}.cw-btn-outline{background:#fff;color:#667eea;border:2px solid #667eea}.cw-btn-outline:not(:disabled):hover{background:#eef2ff}.cw-btn-sm{padding:.5rem 1rem;font-size:.88rem}.cw-crosslink{margin:1rem 0 0;font-size:.85rem;color:#94a3b8}.cw-crosslink a{color:#667eea;font-weight:600;text-decoration:none}.cw-crosslink a:hover{text-decoration:underline}.cw-loading{display:none;text-align:center;padding:3rem 2rem}.cw-loading.visible{display:block}.cw-spinner{width:44px;height:44px;border:4px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;animation:cw-spin .7s linear infinite;margin:0 auto 1rem}@keyframes cw-spin{to{transform:rotate(360deg)}}.cw-loading-text{font-size:1rem;color:#64748b;font-weight:600}.cw-empty-state{text-align:center;padding:4rem 2rem;color:#94a3b8;border:2px dashed #e0e7ff;border-radius:1rem;background:linear-gradient(rgba(255,255,255,.86),rgba(255,255,255,.86)),repeating-linear-gradient(0deg,#eef2ff 0 1px,transparent 1px 34px),repeating-linear-gradient(90deg,#eef2ff 0 1px,transparent 1px 34px),#fff}.cw-empty-icon{font-size:3.5rem;margin-bottom:1rem;opacity:.6}.cw-empty-state h3{font-size:1.2rem;font-weight:700;color:#64748b;margin:0 0 .5rem}.cw-empty-state p{font-size:.95rem;margin:0;max-width:400px;margin-left:auto;margin-right:auto;line-height:1.5}.cw-result{display:none}.cw-result.visible{display:block}.cw-stats-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem;margin-bottom:1.5rem}.cw-stat{display:flex;flex-direction:column;gap:.1rem;align-items:center;text-align:center;padding:.7rem .5rem;background:linear-gradient(160deg,#eef2ff 0,#faf5ff 100%);border:1px solid #e0e7ff;border-radius:.75rem}.cw-stat-value{font-size:1.3rem;font-weight:800;color:#5b64d8;font-variant-numeric:tabular-nums}.cw-stat-label{font-size:.72rem;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.cw-skipped{display:none;background:#fffbeb;border:1px solid #fcd34d;border-radius:.75rem;padding:1rem 1.25rem;margin-bottom:1.5rem;color:#92400e;font-size:.92rem;line-height:1.5}.cw-skipped.visible{display:block}.cw-skipped-title{font-weight:700;margin-bottom:.25rem;display:flex;align-items:center;gap:.4rem}.cw-skipped-words{font-weight:600}.cw-skipped-reason{font-size:.85rem;color:#a16207;margin-top:.25rem}.cw-toggle-bar{display:flex;gap:2rem;align-items:center;margin-bottom:1.25rem;flex-wrap:wrap}.cw-toggle-item{display:flex;align-items:center;gap:.6rem}.cw-toggle-switch{position:relative;width:48px;height:26px;background:#cbd5e1;border-radius:13px;cursor:pointer;transition:background .2s;border:none;padding:0;flex-shrink:0}.cw-toggle-switch.active{background:#667eea}.cw-toggle-switch .knob{position:absolute;top:3px;left:3px;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}.cw-toggle-switch.active .knob{transform:translateX(22px)}.cw-toggle-label{font-size:.92rem;font-weight:600;color:#475569;user-select:none}.cw-grid-wrapper{overflow-x:auto;display:flex;justify-content:center;padding:1.5rem 0}.cw-grid{border-collapse:separate;border-spacing:1px;background:#0f172a;border:2px solid #0f172a;border-radius:10px;box-shadow:0 3px 0 rgba(15,23,42,.3),0 24px 48px -16px rgba(15,23,42,.4)}.cw-grid tr:first-child td:first-child{border-top-left-radius:8px}.cw-grid tr:first-child td:last-child{border-top-right-radius:8px}.cw-grid tr:last-child td:first-child{border-bottom-left-radius:8px}.cw-grid tr:last-child td:last-child{border-bottom-right-radius:8px}.cw-grid td{width:40px;height:40px;text-align:center;vertical-align:middle;font-size:1.1rem;font-weight:700;color:#1e293b;position:relative;border:none;padding:0}.cw-grid td.black{background:linear-gradient(135deg,rgba(255,255,255,.03),transparent 60%),#0f172a}.cw-grid td.letter{background:#fffdf7;transition:background .2s,box-shadow .2s}.cw-grid td.letter.highlight-across{background:#eef2ff;box-shadow:inset 0 0 0 2px #667eea}.cw-grid td.letter.highlight-down{background:#faf5ff;box-shadow:inset 0 0 0 2px #a855f7}.cw-grid td .num{position:absolute;top:1px;left:3px;font-size:.58rem;font-weight:700;color:#6366f1;line-height:1;pointer-events:none;z-index:1}.cw-grid td .ch{display:block;font-size:1.1rem;line-height:40px}.cw-grid td.letter.hide-sol .ch{visibility:hidden}.cw-grid td.letter .cw-cell-input{display:none}.cw-grid td.letter.interactive{padding:0}.cw-grid td.letter.interactive .ch{display:none}.cw-grid td.letter.interactive .cw-cell-input{display:block;width:100%;height:100%;border:none;outline:0;text-align:center;font-size:1.1rem;font-weight:700;color:#1e293b;background:0 0;text-transform:uppercase;caret-color:#667eea;padding:0}.cw-grid td.letter.interactive .cw-cell-input:focus{background:rgba(102,126,234,.08)}.cw-grid td.letter.interactive.correct .cw-cell-input{color:#059669;background:rgba(16,185,129,.08)}.cw-grid td.letter.interactive.wrong .cw-cell-input{color:#dc2626;background:rgba(239,68,68,.06)}@keyframes cw-cell-in{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}.cw-grid td.animate-in{animation:cw-cell-in .3s ease-out both}.cw-clues{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:2rem}.cw-clue-group h3{font-size:1rem;font-weight:700;margin:0 0 .75rem;padding-bottom:.5rem;border-bottom:2.5px solid;display:flex;align-items:center;gap:.4rem}.cw-clue-group.across h3{color:#667eea;border-color:#667eea}.cw-clue-group.down h3{color:#a855f7;border-color:#a855f7}.cw-clue-list{list-style:none;padding:0;margin:0}.cw-clue-list li{padding:.5rem .6rem;font-size:.92rem;color:#334155;line-height:1.45;border-bottom:1px solid #f1f5f9;border-radius:.5rem;cursor:pointer;transition:background .15s,transform .15s}.cw-clue-list li:last-child{border-bottom:none}.cw-clue-list li:hover{background:#f8fafc;transform:translateX(3px)}.cw-clue-list li.active{background:#eef2ff}.cw-clue-num{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;height:1.5rem;padding:0 .3rem;border-radius:.4rem;font-size:.8rem;font-weight:800;margin-right:.45rem;color:#fff}.cw-clue-group.across .cw-clue-num{background:#667eea}.cw-clue-group.down .cw-clue-num{background:#a855f7}.cw-clue-wordlen{font-size:.8rem;color:#94a3b8;font-weight:500;margin-left:.3rem}.cw-bottom-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:2rem;align-items:center}.cw-bottom-actions .spacer{flex:1}.cw-print-opts{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.cw-checkbox{display:flex;align-items:center;gap:.35rem;font-size:.88rem;color:#475569;cursor:pointer}.cw-checkbox input[type=checkbox]{width:17px;height:17px;accent-color:#667eea;cursor:pointer}.cw-toast-container{position:fixed;bottom:1.5rem;right:1.5rem;z-index:10000;display:flex;flex-direction:column-reverse;gap:.5rem;pointer-events:none}.cw-toast{pointer-events:auto;padding:.75rem 1.25rem;border-radius:.7rem;font-size:.92rem;font-weight:600;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.15);transform:translateX(120%);opacity:0;transition:transform .35s cubic-bezier(.34, 1.56, .64, 1),opacity .3s;max-width:360px}.cw-toast.visible{transform:translateX(0);opacity:1}.cw-toast.success{background:#047857}.cw-toast.warning{background:#b45309}.cw-toast.error{background:#dc2626}.cw-toast.info{background:#667eea}.cw-modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:9000;justify-content:center;align-items:center;padding:2rem}.cw-modal-overlay.visible{display:flex}.cw-modal{background:#fff;border-radius:1rem;max-width:700px;width:100%;max-height:85vh;overflow-y:auto;box-shadow:0 24px 48px rgba(0,0,0,.2);animation:cw-modal-in .3s ease-out}@keyframes cw-modal-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.cw-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0}.cw-modal-header h3{margin:0;font-size:1.15rem;font-weight:700;color:#1e293b}.cw-modal-close{width:36px;height:36px;border:none;background:#f1f5f9;border-radius:.5rem;font-size:1.2rem;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#64748b;transition:background .15s}.cw-modal-close:hover{background:#e2e8f0}.cw-modal-body{padding:1.5rem}.cw-modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid #e2e8f0}.cw-preview-options{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.cw-preview-option label{display:flex;align-items:center;gap:.5rem;font-size:.92rem;color:#334155;cursor:pointer}.cw-preview-title-input{width:100%;padding:.6rem .85rem;border:2px solid #e2e8f0;border-radius:.5rem;font-size:.95rem;transition:border-color .2s}.cw-preview-title-input:focus{outline:0;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.12)}.cw-confirm-body{text-align:center;padding:1.5rem}.cw-confirm-body p{font-size:1rem;color:#334155;margin:0 0 .25rem}.cw-confirm-body .sub{font-size:.88rem;color:#94a3b8}@media screen and (max-width:768px){.cw-header p{font-size:.95rem}.cw-header{padding:1.75rem 1.25rem 1.5rem}.cw-hero-motif{--cw-tile:34px}.cw-hero-badge{font-size:.75rem;padding:.28rem .7rem}.cw-card{padding:1.25rem}.cw-toolbar{flex-direction:column;align-items:stretch}.cw-toolbar-left{flex-direction:column}.cw-word-list-header,.cw-word-row{grid-template-columns:32px 120px 1fr 36px}.cw-word-row input{font-size:.88rem;padding:.6rem .5rem}.cw-grid td{width:32px;height:32px}.cw-grid td .ch,.cw-grid td.letter.interactive .cw-cell-input{font-size:.95rem;line-height:32px}.cw-grid td .num{font-size:.5rem}.cw-clues{grid-template-columns:1fr}.cw-bottom-actions,.cw-btn-row{flex-direction:column}.cw-stats-bar{grid-template-columns:repeat(2,1fr);gap:.5rem}.cw-difficulty-pills,.cw-grid-size-pills{width:100%}.cw-grid-pill,.cw-pill{flex:1;text-align:center}.cw-toggle-bar{gap:1rem}.cw-theme-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.cw-difficulty-indicator{flex-wrap:wrap}.cw-hint-bar,.cw-timer-bar{flex-wrap:wrap}}@media screen and (max-width:480px){.cw-word-list-header,.cw-word-row{grid-template-columns:28px 90px 1fr 32px}.cw-grid td{width:28px;height:28px}.cw-grid td .ch,.cw-grid td.letter.interactive .cw-cell-input{font-size:.82rem;line-height:28px}}.cw-grid-size-pills{display:flex;gap:0;border:2px solid #e2e8f0;border-radius:.6rem;overflow:hidden}.cw-grid-pill{padding:.55rem .85rem;font-size:.85rem;font-weight:600;color:#64748b;background:#fff;border:none;border-right:1px solid #e2e8f0;cursor:pointer;transition:background .15s,color .15s;white-space:nowrap}.cw-grid-pill:last-child{border-right:none}.cw-grid-pill.active{background:#10b981;color:#fff}.cw-grid-pill:not(.active):hover{background:#f1f5f9}.cw-difficulty-indicator{display:flex;align-items:center;gap:.6rem;padding:.6rem 1rem;background:#f8fafc;border-radius:.6rem;border:1px solid #e2e8f0;margin-bottom:1rem}.cw-difficulty-label{font-size:.82rem;font-weight:600;color:#64748b;white-space:nowrap}.cw-difficulty-bar{flex:1;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;min-width:80px}.cw-difficulty-fill{height:100%;border-radius:4px;transition:width .4s ease,background .4s ease}.cw-difficulty-text{font-size:.82rem;font-weight:700;min-width:50px;text-align:right}.cw-hint-bar{display:none;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.6rem 1rem;background:#fffbeb;border:1px solid #fcd34d;border-radius:.6rem}.cw-hint-bar.visible{display:flex}.cw-hint-count{font-size:.85rem;color:#92400e;font-weight:600}.cw-timer-bar{display:none;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.6rem 1rem;background:#f0fdf4;border:1px solid #86efac;border-radius:.6rem}.cw-timer-bar.visible{display:flex}.cw-timer-display{font-size:1.1rem;font-weight:800;color:#059669;font-variant-numeric:tabular-nums;min-width:70px}.cw-timer-label{font-size:.82rem;color:#16a34a;font-weight:600}.cw-best-score{margin-left:auto;font-size:.82rem;color:#d97706;font-weight:600}.cw-best-score .trophy{margin-right:.25rem}.cw-theme-grid{display:none;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.5rem;margin-top:.75rem;margin-bottom:1rem;max-height:340px;overflow-y:auto;padding:2px 4px 6px 2px}.cw-theme-grid.visible{display:grid}.cw-theme-card{padding:.7rem .75rem .6rem;border:2px solid #e2e8f0;border-radius:.75rem;background:#fff;cursor:pointer;transition:border-color .15s,background .15s,transform .15s,box-shadow .15s;text-align:center}.cw-theme-card:hover{border-color:#667eea;background:#eef2ff;transform:translateY(-2px);box-shadow:0 8px 18px -8px rgba(102,126,234,.4)}.cw-theme-card .theme-icon{font-size:1.6rem;display:block;margin-bottom:.25rem}.cw-theme-card .theme-name{display:block;font-size:.82rem;font-weight:700;color:#334155}.cw-theme-card .theme-count{display:block;margin-top:.1rem;font-size:.72rem;color:#94a3b8}@media print{html{display:block!important}body{display:block!important;visibility:visible!important;background:#fff!important;padding-top:0!important;margin-top:0!important}body::after,body::before{content:none!important;display:none!important}#header,#inputCard,.contact-fab,.cookie-banner,.cw-bottom-actions,.cw-btn-row,.cw-difficulty-indicator,.cw-empty-state,.cw-grid td.letter .cw-cell-input,.cw-header,.cw-loading,.cw-modal-overlay,.cw-skipped,.cw-stats-bar,.cw-toast-container,.cw-toggle-bar,.cw-toolbar,.mobile-nav,footer,header,nav{display:none!important}.cw-page{padding:0;min-height:auto;background:#fff}.cw-container{max-width:100%;padding:0}.cw-result{display:block!important}.cw-result .cw-card{box-shadow:none;border:none;padding:0;margin:0}.cw-print-head{display:block!important;margin-bottom:1.4rem}.cw-hdr{width:100%;border-collapse:collapse;margin-bottom:3mm;background:linear-gradient(135deg,#c7d2fe 0,#fff 100%);border-radius:8px;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.cw-hdr td{vertical-align:middle;padding:3mm;border:none}.cw-hdr-logo{width:58px}.cw-hdr-logo img{width:50px;height:auto;border-radius:6px;display:block}.cw-hdr-mid{border-left:4px solid #4f46e5;padding-left:4mm}.cw-hdr-title{font-size:16pt;font-weight:700;color:#4f46e5;letter-spacing:.5px;line-height:1.1}.cw-hdr-sub{font-size:10pt;color:#4338ca;font-weight:500;margin-top:1mm}.cw-hdr-sub:empty{display:none}.cw-hdr-score-cell{width:60px;text-align:right}.cw-hdr-score{display:inline-block;background:#4f46e5;color:#fff;padding:2mm 4mm;border-radius:6px;font-weight:700;font-size:11pt;white-space:nowrap;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.cw-hdr-info{width:100%;border-collapse:collapse;background:rgba(199,210,254,.25);border-radius:6px;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.cw-hdr-info td{font-size:10pt;padding:2.5mm 3mm;border:none}.cw-hdr-info-date{text-align:right}.cw-hdr-label{color:#4338ca;font-weight:600}.cw-hint-bar,.cw-timer-bar{display:none!important}.cw-grid{margin:0 auto 1.5rem;border-collapse:separate!important;border-spacing:0!important;background:0 0!important;border:none!important;border-radius:0!important;box-shadow:none!important}.cw-grid td{width:30px;height:30px;border:none}.cw-grid td.black{background:0 0!important;border:none!important;border-radius:0!important}.cw-grid td.letter{background:#fff!important;border:1px solid #1e293b!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.cw-grid td.letter.highlight-across,.cw-grid td.letter.highlight-down{box-shadow:none!important;background:#fff!important}.cw-clue-list li,.cw-clue-list li.active{background:0 0!important}.cw-clue-num{background:0 0!important;color:#1e293b!important;min-width:0!important;height:auto!important;padding:0!important}.cw-grid td .ch{font-size:.95rem;line-height:30px}.cw-grid td .num{font-size:.55rem}.cw-clues{break-inside:avoid;page-break-inside:avoid;margin-top:1.5rem}.cw-clue-group h3{font-size:.95rem}.cw-clue-list li{padding:.3rem 0;font-size:.85rem;cursor:default}.cw-print-solution-page{page-break-before:always;text-align:center;padding-top:2rem}.cw-print-solution-page h2{font-size:1.3rem;margin-bottom:1.5rem;color:#000}body.cw-print-dys .cw-grid td{width:38px;height:38px}body.cw-print-dys .cw-grid td .ch{font-family:OpenDyslexic,'Comic Sans MS',Arial,sans-serif;font-size:1.1rem;line-height:38px;letter-spacing:.02em}body.cw-print-dys .cw-clue-group h3,body.cw-print-dys .cw-clue-list li,body.cw-print-dys .cw-hdr-title{font-family:OpenDyslexic,'Comic Sans MS',Arial,sans-serif}body.cw-print-dys .cw-clue-list li{font-size:.95rem;line-height:1.7;letter-spacing:.02em}}.cw-print-head,.cw-print-solution-page{display:none}@media screen{[data-theme=dark] .cw-page{background:#0f172a!important}[data-theme=dark] .cw-header{background:linear-gradient(rgba(2,6,23,.5),rgba(30,27,75,.45)),linear-gradient(135deg,#312e81 0,#4c1d95 55%,#581c87 100%)!important;box-shadow:0 20px 50px -18px rgba(0,0,0,.6)!important}[data-theme=dark] .cw-card{background:#1e293b!important;border-color:#334155!important;box-shadow:0 1px 3px rgba(0,0,0,.2),0 8px 24px rgba(0,0,0,.2)!important}[data-theme=dark] .cw-card h2{color:#f1f5f9!important}[data-theme=dark] .cw-help{color:#94a3b8!important}[data-theme=dark] .cw-select{background-color:#0f172a!important;color:#e2e8f0!important;border-color:#475569!important}[data-theme=dark] .cw-difficulty-pills,[data-theme=dark] .cw-grid-size-pills{border-color:#475569!important}[data-theme=dark] .cw-grid-pill,[data-theme=dark] .cw-pill{background:#0f172a!important;color:#94a3b8!important;border-right-color:#475569!important}[data-theme=dark] .cw-grid-pill:not(.active):hover,[data-theme=dark] .cw-pill:not(.active):hover{background:#334155!important}[data-theme=dark] .cw-pill.active{background:#4f46e5!important;color:#fff!important}[data-theme=dark] .cw-grid-pill.active{background:#047857!important;color:#fff!important}[data-theme=dark] .cw-word-list{border-color:#334155!important}[data-theme=dark] .cw-word-list-header{background:#0f172a!important;border-bottom-color:#334155!important;color:#94a3b8!important}[data-theme=dark] .cw-word-row{border-bottom-color:#1e293b!important}[data-theme=dark] .cw-word-row:hover{background:#0f172a!important}[data-theme=dark] .cw-word-row input{background:0 0!important;color:#f1f5f9!important;border-color:#334155!important}[data-theme=dark] .cw-word-row input::placeholder{color:#475569!important}[data-theme=dark] .cw-word-row input:focus{border-color:#667eea!important}[data-theme=dark] .cw-row-num{color:#64748b!important}[data-theme=dark] .cw-row-delete{color:#64748b!important}[data-theme=dark] .cw-row-delete:hover{color:#ef4444!important}[data-theme=dark] .cw-add-row-btn{background:#0f172a!important;color:#818cf8!important;border-top-color:#334155!important}[data-theme=dark] .cw-add-row-btn:hover{background:#1e293b!important}[data-theme=dark] .cw-word-count{color:#94a3b8!important}[data-theme=dark] .cw-shortcuts-hint{color:#94a3b8!important}[data-theme=dark] .cw-shortcuts-hint kbd{background:#334155!important;color:#cbd5e1!important;border-color:#475569!important}[data-theme=dark] .cw-btn-secondary{background:#334155!important;color:#cbd5e1!important;border-color:#475569!important}[data-theme=dark] .cw-btn-outline{background:0 0!important;color:#a5b4fc!important;border-color:#6366f1!important}[data-theme=dark] .cw-btn-outline:not(:disabled):hover{background:rgba(99,102,241,.15)!important}[data-theme=dark] .cw-empty-state{background:linear-gradient(rgba(30,41,59,.92),rgba(30,41,59,.92)),repeating-linear-gradient(0deg,#334155 0 1px,transparent 1px 34px),repeating-linear-gradient(90deg,#334155 0 1px,transparent 1px 34px),#1e293b!important;border-color:#334155!important}[data-theme=dark] .cw-empty-state h3{color:#cbd5e1!important}[data-theme=dark] .cw-stat{background:linear-gradient(160deg,#1e1b4b 0,#2e1065 100%)!important;border-color:#3730a3!important}[data-theme=dark] .cw-stat-value{color:#a5b4fc!important}[data-theme=dark] .cw-stat-label{color:#94a3b8!important}[data-theme=dark] .cw-difficulty-indicator{background:#0f172a!important;border-color:#334155!important}[data-theme=dark] .cw-difficulty-bar{background:#334155!important}[data-theme=dark] .cw-toggle-label{color:#cbd5e1!important}[data-theme=dark] .cw-toggle-switch{background:#475569!important}[data-theme=dark] .cw-toggle-switch.active{background:#667eea!important}[data-theme=dark] .cw-timer-bar{background:rgba(16,185,129,.08)!important;border-color:#065f46!important}[data-theme=dark] .cw-hint-bar{background:rgba(245,158,11,.08)!important;border-color:#92400e!important}[data-theme=dark] .cw-skipped{background:rgba(245,158,11,.08)!important;border-color:#92400e!important}[data-theme=dark] .cw-clue-list li{color:#e2e8f0!important;border-bottom-color:#334155!important}[data-theme=dark] .cw-clue-list li:hover{background:#0f172a!important}[data-theme=dark] .cw-clue-list li.active{background:#312e81!important}[data-theme=dark] .cw-clue-wordlen{color:#64748b!important}[data-theme=dark] .cw-checkbox{color:#cbd5e1!important}[data-theme=dark] .cw-theme-card{background:#0f172a!important;border-color:#334155!important}[data-theme=dark] .cw-theme-card:hover{background:#312e81!important;border-color:#667eea!important}[data-theme=dark] .cw-theme-card .theme-name{color:#e2e8f0!important}[data-theme=dark] .cw-modal{background:#1e293b!important;color:#e2e8f0!important}[data-theme=dark] .cw-modal-header{border-bottom-color:#334155!important}[data-theme=dark] .cw-modal-header h3{color:#f1f5f9!important}[data-theme=dark] .cw-modal-footer{border-top-color:#334155!important}[data-theme=dark] .cw-modal-close{color:#94a3b8!important}[data-theme=dark] .cw-preview-option label{color:#cbd5e1!important}[data-theme=dark] .cw-preview-title-input{background:#0f172a!important;color:#e2e8f0!important;border-color:#475569!important}[data-theme=dark] .cw-confirm-body p{color:#e2e8f0!important}[data-theme=dark] .cw-confirm-body .sub{color:#94a3b8!important}[data-theme=dark] .cw-loading-text{color:#94a3b8!important}[data-theme=dark] .cw-spinner{border-color:#334155!important;border-top-color:#667eea!important}[data-theme=dark] .cw-crosslink{color:#94a3b8!important}[data-theme=dark] .cw-crosslink a{color:#a5b4fc!important}}