.nscp-game{--nscp-cell:#fff;--nscp-block:#252525;--nscp-selected:#b9ebff;--nscp-active:#ffde76;--nscp-panel:#d9eaf1;--nscp-toolbar:#d8eaf0;--nscp-font:16px;box-sizing:border-box;width:100%;max-width:1100px;margin:18px auto;color:#171b20;background:#fff;font-family:Arial,Helvetica,sans-serif;font-size:var(--nscp-font);line-height:1.35;color-scheme:only light}
.nscp-game *{box-sizing:border-box}
.nscp-toolbar{position:relative;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:45px;padding:3px 10px;background:var(--nscp-toolbar);color:#161d22}
.nscp-toolbar-group{position:relative;display:flex;align-items:center;gap:13px;min-width:65px}
.nscp-toolbar-group.nscp-command-buttons{justify-content:flex-end}
.nscp-game .nscp-tool{font-family:inherit;font-weight:400;display:inline-flex;align-items:center;justify-content:center;border:0!important;background:transparent!important;box-shadow:none!important;outline-offset:2px!important;border-radius:2px;padding:5px 7px;margin:0;color:#151a1f;cursor:pointer;text-transform:none;font-size:17px;line-height:1.4;min-height:32px}
.nscp-game .nscp-tool:hover,.nscp-game .nscp-tool:focus-visible{background:rgba(0,0,0,.1)!important}
.nscp-game .nscp-hamburger{font-size:29px;line-height:1!important;padding:0 6px}
.nscp-timer{font-variant-numeric:tabular-nums;text-align:center;font-size:17px}
.nscp-menu-wrap{position:relative}
.nscp-dropdown{position:absolute;z-index:20;right:0;top:100%;min-width:168px;padding:5px;background:#fff;border:1px solid #b5c5cf;box-shadow:0 8px 25px rgba(0,0,0,.18);border-radius:3px}
.nscp-dropdown[hidden]{display:none!important}
.nscp-main-menu{left:0;right:auto;min-width:185px}
.nscp-game .nscp-dropdown button{width:100%;text-align:left;display:block;border:0;background:#fff;color:#1d2930;font:inherit;font-size:14px;margin:0;padding:9px 10px;cursor:pointer}
.nscp-game .nscp-dropdown button:hover,.nscp-game .nscp-dropdown button:focus-visible{background:#e2eff6}
.nscp-current-clue{padding:9px 12px;min-height:44px;font-size:18px!important;line-height:1.35;background:var(--nscp-active);color:#171b20;border-bottom:1px solid #d4dce0;white-space:normal;overflow-wrap:anywhere;font-weight:500}
.nscp-content{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.85fr);gap:20px;padding:10px 10px 4px;align-items:start}
.nscp-grid-column{min-width:0}
.nscp-grid{display:grid;grid-template-columns:repeat(var(--nscp-size),minmax(0,1fr));aspect-ratio:1/1;width:100%;max-width:690px;margin:0;outline:2px solid #292929;outline-offset:-1px;background:#292929;gap:1px;border:1px solid #292929;user-select:none;container-type:inline-size}
.nscp-cell{min-width:0;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;background:var(--nscp-cell)}
.nscp-cell.nscp-black{background:var(--nscp-block)}
.nscp-cell.nscp-selected{background:var(--nscp-selected)}
.nscp-cell.nscp-active{background:var(--nscp-active);box-shadow:inset 0 0 0 2px rgba(40,40,40,.46);z-index:1}
.nscp-cell.nscp-wrong input{color:#bf1d24!important;text-decoration:underline;text-decoration-color:#bf1d24}
.nscp-cell.nscp-revealed input{font-weight:700}
.nscp-cell-number{position:absolute;top:1px;left:2px;font-size:clamp(7px,1.05vw,11px);line-height:1.1;color:#151515;pointer-events:none;z-index:1}
.nscp-game .nscp-cell input{display:block;width:100%;height:100%;min-width:0;padding:10% 0 0!important;margin:0!important;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#171c20!important;text-align:center!important;text-transform:uppercase;font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(10px,calc(44cqw / var(--nscp-size)),21px)!important;line-height:1!important;font-weight:600;caret-color:transparent}
.nscp-game .nscp-cell input:focus-visible{outline:0!important;box-shadow:none!important}
.nscp-game .nscp-cell input::selection{background:transparent!important;color:inherit!important}
.nscp-byline{font-size:14px;padding:8px 0 1px;line-height:1.4}
.nscp-byline-separator{margin:0 3px;color:#777}
.nscp-feedback{min-height:24px;font-size:14px;color:#365c24;padding-top:6px;font-weight:600}
.nscp-clue-column{height:100%;max-height:690px;min-width:0;display:flex;flex-direction:column;gap:12px}
.nscp-clue-panel{background:var(--nscp-panel);padding:7px;border:1px solid #d3e6ec;min-height:0;display:flex;flex-direction:column;flex:1;overflow:hidden}
.nscp-clue-panel h3{font-family:Arial,Helvetica,sans-serif!important;font-size:20px!important;color:#111!important;line-height:1.2!important;margin:0 0 7px!important;padding:0 3px!important;font-weight:700!important}
.nscp-clues{overflow-y:auto;scrollbar-width:thin;flex:1;min-height:80px}
.nscp-game .nscp-clue{display:flex;gap:8px;width:100%;text-align:left;padding:5px 6px;margin:0 0 1px;border:0;border-radius:0;background:transparent;color:#171717;font-family:Arial,Helvetica,sans-serif;font-size:var(--nscp-font);line-height:1.35;cursor:pointer;font-weight:normal;box-shadow:none}
.nscp-clue strong{min-width:27px;font-weight:700}
.nscp-clue span{flex:1;min-width:0}
.nscp-game .nscp-clue:hover{background:rgba(255,255,255,.65)}
.nscp-game .nscp-clue.nscp-clue-active{background:var(--nscp-active)}
.nscp-game .nscp-clue:focus-visible{outline:2px solid #177ba2;outline-offset:-2px}
.nscp-message{padding:20px;border:1px solid #c7d8df;background:#f0f8fc}
.nscp-puzzle-list{padding-left:20px}
.nscp-puzzle-list li{margin:6px 0}
.nscp-puzzle-list small{opacity:.65}
.nscp-solved .nscp-feedback{color:#247538}
@media(max-width:780px){
 .nscp-game{margin:12px auto}
 .nscp-content{display:block;padding:9px 4px}
 .nscp-grid{max-width:620px;margin:0 auto}
 .nscp-clue-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;max-height:none;gap:8px;margin-top:14px}
 .nscp-clue-panel{max-height:260px;min-height:180px}
 .nscp-clues{max-height:220px}
 .nscp-byline,.nscp-feedback{padding-left:5px}
 .nscp-cell-number{font-size:clamp(6px,1.6vw,10px)}
 .nscp-game .nscp-cell input{font-size:clamp(9px,calc(44cqw / var(--nscp-size)),20px)!important}
}
@media(max-width:480px){
 .nscp-toolbar{padding:3px 2px;gap:3px}
 .nscp-toolbar-group{gap:1px;min-width:30px}
 .nscp-game .nscp-tool{font-size:13px;padding:4px 5px}
 .nscp-game .nscp-hamburger{font-size:25px}
 .nscp-timer{font-size:14px}
 .nscp-current-clue{font-size:18px!important;padding:8px 10px}
 .nscp-clue-column{grid-template-columns:1fr}
 .nscp-clue-panel{max-height:210px;min-height:140px}
 .nscp-clue-panel h3{font-size:17px!important}
 .nscp-game .nscp-clue{font-size:14px}
 .nscp-game .nscp-cell input{font-size:clamp(9px,calc(44cqw / var(--nscp-size)),18px)!important}
}
@media print{
 body.nscp-printing *{visibility:hidden!important}
 body.nscp-printing .nscp-print-target,body.nscp-printing .nscp-print-target *{visibility:visible!important}
 body.nscp-printing .nscp-print-target{position:absolute!important;top:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 body.nscp-printing .nscp-print-target .nscp-toolbar,body.nscp-printing .nscp-print-target .nscp-current-clue,body.nscp-printing .nscp-print-target .nscp-feedback{display:none!important}
 body.nscp-printing .nscp-print-target .nscp-content{grid-template-columns:60% 38%!important;gap:2%!important}
 body.nscp-printing .nscp-print-target .nscp-clue-column{max-height:none!important;display:block!important}
 body.nscp-printing .nscp-print-target .nscp-clue-panel{overflow:visible!important;min-height:0!important;margin-bottom:12px!important}
 body.nscp-printing .nscp-print-target .nscp-clues{overflow:visible!important;max-height:none!important}
 body.nscp-printing .nscp-print-target .nscp-cell.nscp-selected,body.nscp-printing .nscp-print-target .nscp-cell.nscp-active{background:#fff!important}
 body.nscp-printing .nscp-print-target .nscp-clue.nscp-clue-active{background:none!important}
}

/* Keep crossword cells legible when themes apply global dark inputs/surface styles.
   Saved Appearance colors are still respected via the --nscp-* variables. */
.nscp-game .nscp-cell{background-color:var(--nscp-cell)!important}
.nscp-game .nscp-cell.nscp-black{background-color:var(--nscp-block)!important}
.nscp-game .nscp-cell.nscp-selected{background-color:var(--nscp-selected)!important}
.nscp-game .nscp-cell.nscp-active{background-color:var(--nscp-active)!important}
.nscp-game .nscp-clue-panel{background-color:var(--nscp-panel)!important}
.nscp-game .nscp-toolbar{background-color:var(--nscp-toolbar)!important}

/* Empty playable squares have their own administrator-controlled color. */
.nscp-game .nscp-cell.nscp-empty:not(.nscp-selected):not(.nscp-active){background-color:var(--nscp-empty)!important}
.nscp-game .nscp-cell.nscp-empty:not(.nscp-selected):not(.nscp-active) .nscp-cell-number{color:var(--nscp-empty-ink)!important}
/* The player selects the entire square, never the character inside the input. */
.nscp-game .nscp-cell.nscp-active{box-shadow:inset 0 0 0 2px rgba(23,27,32,.55)!important}
.nscp-game .nscp-current-clue{background-color:var(--nscp-active)!important;color:#171b20!important}
.nscp-game .nscp-settings-toggle{white-space:nowrap}
.nscp-game .nscp-settings-menu{min-width:245px;padding:10px 12px;color:#1b2730;font-size:14px}
.nscp-game .nscp-settings-heading{font-weight:700;font-size:15px;margin-bottom:10px}
.nscp-game .nscp-player-setting{display:flex;gap:9px;align-items:center;cursor:pointer;line-height:1.4;font-size:14px;color:#1b2730}
.nscp-game .nscp-player-setting input{appearance:auto;accent-color:#136b9f;margin:0;width:17px;height:17px;flex-shrink:0;cursor:pointer}
.nscp-game .nscp-player-setting input:disabled{cursor:not-allowed}
.nscp-game .nscp-timer[hidden]{display:none!important}
@media(max-width:480px){.nscp-settings-label{display:none}.nscp-game .nscp-settings-toggle{font-size:21px!important}}


/* NewsScout v1.1.2: shared menu dividers, left-menu Preferences, grouped Assist. */
.nscp-game .nscp-menu-divider{height:0;margin:5px 5px;border:0;border-top:1px solid #c2cdd3}
.nscp-game .nscp-preferences-menu{left:0;right:auto;min-width:245px}
.nscp-game .nscp-assist-menu{min-width:184px}
.nscp-game .nscp-assist-menu button{white-space:nowrap}
/* Scrollable, accessible instructions dialog with fixed header and footer. */
.nscp-game dialog.nscp-instructions-modal{
  position:fixed;inset:0;box-sizing:border-box;
  width:min(520px,calc(100vw - 24px));max-width:520px;
  max-height:min(680px,calc(100dvh - 24px));height:min(680px,calc(100dvh - 24px));
  padding:0;margin:auto;border:1px solid #272e31;border-radius:3px;
  box-shadow:0 18px 65px rgba(0,0,0,.6);
  background:#191d1f!important;color:#fff!important;
  font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5;
  overflow:hidden;color-scheme:dark;
}
.nscp-game dialog.nscp-instructions-modal:not([open]){display:none!important}
.nscp-game dialog.nscp-instructions-modal::backdrop{background:rgba(0,0,0,.68)}
.nscp-game .nscp-instructions-layout{height:100%;display:flex;flex-direction:column;min-height:0}
.nscp-game .nscp-instructions-header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;margin:0 20px;padding:18px 0 12px;border-bottom:1px solid #3b4246}
.nscp-game .nscp-instructions-header h2{font:700 23px/1.3 Georgia,serif!important;letter-spacing:-.2px;margin:0!important;padding:0!important;color:#fff!important}
.nscp-game .nscp-modal-x{border:0!important;background:transparent!important;box-shadow:none!important;color:#f4f4f4!important;cursor:pointer;font:normal 28px/1 Arial,sans-serif!important;margin:0!important;padding:0 4px!important;min-width:32px;min-height:32px}
.nscp-game .nscp-modal-x:hover,.nscp-game .nscp-modal-x:focus-visible{color:#f4c744!important;outline-offset:2px}
.nscp-game .nscp-instructions-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 20px 20px;scrollbar-width:thin}
.nscp-game .nscp-instructions-body section{padding:14px 2px 16px;margin:0;border-bottom:1px solid #3b4246}
.nscp-game .nscp-instructions-body section:last-child{border-bottom:0}
.nscp-game .nscp-instructions-body h3{font:700 16px/1.4 Arial,Helvetica,sans-serif!important;margin:0 0 8px!important;padding:0!important;color:#fff!important}
.nscp-game .nscp-instructions-body p{font:400 16px/1.55 Arial,Helvetica,sans-serif!important;margin:0!important;padding:0!important;color:#fff!important}
.nscp-game .nscp-instructions-body strong{font-weight:700;color:inherit}
.nscp-game .nscp-instructions-footer{flex:none;display:flex;justify-content:flex-end;align-items:center;min-height:60px;padding:10px 20px;border-top:1px solid #3b4246;background:#191d1f}
.nscp-game .nscp-modal-close{border:0!important;border-radius:4px!important;cursor:pointer!important;background:#876d00!important;box-shadow:none!important;padding:10px 16px!important;margin:0!important;font:600 15px/1.4 Arial,Helvetica,sans-serif!important;color:#fff!important}
.nscp-game .nscp-modal-close:hover,.nscp-game .nscp-modal-close:focus-visible{background:#a38300!important;outline-offset:2px}
@media(max-width:480px){
 .nscp-game dialog.nscp-instructions-modal{max-height:calc(100dvh - 20px);height:min(680px,calc(100dvh - 20px))}
 .nscp-game .nscp-instructions-header{margin:0 16px;padding-top:14px}
 .nscp-game .nscp-instructions-body{padding:8px 16px 12px}
 .nscp-game .nscp-instructions-body p{font-size:15px!important}
 .nscp-game .nscp-instructions-footer{padding:8px 16px}
}
@media print{
 .nscp-game dialog.nscp-instructions-modal{display:none!important}
}


/* NewsScout v1.1.3: comfortable layout inside WordPress content columns.
   Use the shortcode's actual available width, not the browser viewport:
   WordPress may show a 650px content column on a 1440px display. */
.nscp-game{container-type:inline-size;container-name:nscp-player}
@container nscp-player (max-width:900px){
 .nscp-content{display:block;padding:12px 10px 6px}
 .nscp-grid{max-width:690px;margin:0 auto}
 .nscp-clue-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;max-height:none;gap:12px;margin-top:16px}
 .nscp-clue-panel{height:310px;max-height:310px;min-height:0;flex:initial}
 .nscp-clues{min-height:0;max-height:none;overflow-y:auto}
 .nscp-byline{padding-top:10px}
}
@container nscp-player (max-width:520px){
 .nscp-content{padding:8px 5px 5px}
 .nscp-clue-column{grid-template-columns:minmax(0,1fr);margin-top:12px;gap:10px}
 .nscp-clue-panel{height:235px;max-height:235px;min-height:0}
 .nscp-game .nscp-clue{font-size:14px}
}
/* Numbers scale to the squares rather than the full browser viewport. */
.nscp-grid .nscp-cell-number{font-size:clamp(7px,calc(25cqw / var(--nscp-size)),11px);line-height:1;top:2px;left:2px}
/* WordPress and theme focus styles must not create white rectangles on click.
   Keyboard focus still gets a subtle high-contrast gold underline. */
.nscp-game .nscp-tool,
.nscp-game .nscp-dropdown button,
.nscp-game .nscp-modal-x,
.nscp-game .nscp-modal-close{outline:none!important;outline-offset:0!important;box-shadow:none!important;-webkit-tap-highlight-color:transparent}
.nscp-game .nscp-tool:focus,
.nscp-game .nscp-dropdown button:focus,
.nscp-game .nscp-modal-x:focus,
.nscp-game .nscp-modal-close:focus{outline:none!important;box-shadow:none!important}
.nscp-game .nscp-tool:focus-visible,
.nscp-game .nscp-dropdown button:focus-visible,
.nscp-game .nscp-modal-x:focus-visible,
.nscp-game .nscp-modal-close:focus-visible{outline:none!important;box-shadow:inset 0 -2px 0 #dbab30!important}
.nscp-game .nscp-assist-chevron{width:13px;height:13px;margin-left:5px;flex:0 0 auto;transition:transform .15s ease;pointer-events:none}
.nscp-game [data-nscp-toggle="assist"][aria-expanded="true"] .nscp-assist-chevron{transform:rotate(180deg)}
.nscp-game .nscp-settings-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.nscp-game .nscp-settings-heading{margin-bottom:0}
.nscp-game .nscp-preferences-close{flex:0 0 27px!important;width:27px!important;height:27px;min-width:27px;display:flex!important;align-items:center;justify-content:center;text-align:center!important;border-radius:3px!important;padding:0!important;margin:0!important;background:transparent!important;color:#26333d!important;font-size:25px!important;line-height:1!important;font-weight:400!important;cursor:pointer}
.nscp-game .nscp-preferences-close:hover{background:#e2eff6!important}
@media print{
 .nscp-game .nscp-clue-column{display:block!important;height:auto!important;max-height:none!important}
 .nscp-game .nscp-clue-panel{height:auto!important;max-height:none!important}
}


/* NewsScout v1.1.4: A newspaper-style right-hand clue rail for middle columns.
   The v1.1.3 rule put clues below at <=900px, which made a typical 650px
   WordPress content column unnecessarily tall. Keep both columns together
   when the crossword itself has >=600px. Stack only on smaller devices. */
@container nscp-player (min-width:600px){
 .nscp-content{
   display:grid;
   grid-template-columns:minmax(0,1fr) clamp(190px,30%,320px);
   gap:6px;
   padding:10px 0 6px;
   align-items:stretch;
 }
 .nscp-grid-column{min-width:0}
 .nscp-grid{width:100%;max-width:none;margin:0}
 .nscp-clue-column{
   display:flex;flex-direction:column;
   min-width:0;min-height:0;
   height:100%;max-height:none;
   margin-top:0;gap:10px;align-self:stretch;
 }
 .nscp-clue-panel{
   flex:1 1 0;min-height:0;max-height:none;height:auto;
   overflow:hidden;padding:6px;
 }
 .nscp-clues{flex:1;min-height:0;max-height:none;overflow-y:auto}
 .nscp-clue-panel h3{font-size:18px!important;margin-bottom:5px!important}
 .nscp-game .nscp-clue{font-size:clamp(13px,1.45cqw,16px);padding:4px 5px;gap:5px}
 .nscp-clue strong{min-width:20px}
 .nscp-byline{padding-top:7px}
}
/* On genuinely narrow columns, the grid should remain comfortably tappable. */
@container nscp-player (min-width:521px) and (max-width:599px){
 .nscp-content{display:block}
 .nscp-grid{width:100%;max-width:620px;margin:0 auto}
 .nscp-clue-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;max-height:none;margin-top:12px}
 .nscp-clue-panel{height:260px;max-height:260px}
}

/* v1.1.5: Use the full width of a middle WordPress column. Keep the clue
   rail at its readable minimum while giving back padding to the grid. */
@container nscp-player (min-width:600px){
 .nscp-content{column-gap:6px;padding-inline:0}
}

/* v1.1.6 — crisper newspaper-style grid and full-size, slightly lowered letters.
   Unlike a one-pixel gap, borders remain visible against custom dark squares.
   Use one border per internal edge to prevent double-width lines. */
.nscp-game .nscp-grid{
  gap:0!important;outline:none!important;outline-offset:0!important;
  border:0!important;border-right:1px solid var(--nscp-grid-lines,#555555)!important;
  border-bottom:1px solid var(--nscp-grid-lines,#555555)!important;
  background-color:var(--nscp-grid-lines,#555555)!important;
}
.nscp-game .nscp-cell{
  border:0!important;
  border-left:1px solid var(--nscp-grid-lines,#555555)!important;
  border-top:1px solid var(--nscp-grid-lines,#555555)!important;
}
/* In a 29-30px square this computes to approx. 17-17.5px.
   Input padding shifts the glyph slightly below visual centre without
   changing the cell dimensions or the puzzle's keyboard behaviour. */
.nscp-game .nscp-cell input{
  font-family:Helvetica,Arial,sans-serif!important;
  font-size:clamp(11px,calc(58cqw / var(--nscp-size)),24px)!important;
  font-weight:500!important;
  line-height:1!important;
  padding:19% 0 0!important;
}
@media print{
  body.nscp-printing .nscp-print-target .nscp-grid{
    border-right-color:#555!important;border-bottom-color:#555!important;
  }
  body.nscp-printing .nscp-print-target .nscp-cell{
    border-left-color:#555!important;border-top-color:#555!important;
  }
}


/* v1.2.1: accessible in-page print version chooser. */
.nscp-game dialog.nscp-print-options-modal{
  position:fixed;inset:0;box-sizing:border-box;margin:auto;
  width:min(440px,calc(100vw - 24px));max-width:440px;
  max-height:calc(100dvh - 24px);padding:0;
  border:1px solid #3b4246;border-radius:5px;
  background:#191d1f!important;color:#fff!important;color-scheme:dark;
  box-shadow:0 20px 70px rgba(0,0,0,.6);font-family:Arial,Helvetica,sans-serif!important;
}
.nscp-game dialog.nscp-print-options-modal:not([open]){display:none!important}
.nscp-game dialog.nscp-print-options-modal::backdrop{background:rgba(0,0,0,.7)}
.nscp-game .nscp-print-options-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 20px 12px;border-bottom:1px solid #3b4246}
.nscp-game .nscp-print-options-header h2{color:#fff!important;font:700 22px/1.25 Georgia,serif!important;margin:0!important;padding:0!important}
.nscp-game .nscp-print-options-x{margin:0!important;border:0!important;padding:0 4px!important;background:transparent!important;color:#fff!important;box-shadow:none!important;font:28px/1 Arial,sans-serif!important;cursor:pointer}
.nscp-game .nscp-print-options-body{padding:16px 20px;max-height:calc(100dvh - 180px);overflow:auto}
.nscp-game .nscp-print-options-body p{font:400 15px/1.5 Arial,sans-serif!important;color:#fff!important;margin:0 0 14px!important}
.nscp-game .nscp-print-choice-list{display:flex;flex-direction:column;gap:8px;border:0;padding:0;margin:0;min-width:0}
.nscp-game .nscp-print-choice-list legend.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
.nscp-game .nscp-print-choice{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border:1px solid #4b5559;border-radius:4px;color:#fff!important;cursor:pointer;background:#24292b}
.nscp-game .nscp-print-choice:has(input:checked){border-color:#d5a900;background:#30302a}
.nscp-game .nscp-print-choice input[type=radio]{flex:0 0 17px;width:17px;height:17px;margin:3px 0 0!important;accent-color:#e1b300;appearance:auto!important;cursor:pointer}
.nscp-game .nscp-print-choice span{display:flex;flex-direction:column;gap:3px;font:400 14px/1.35 Arial,sans-serif!important}
.nscp-game .nscp-print-choice strong{font-weight:700;color:#fff!important}
.nscp-game .nscp-print-choice small{font-size:13px;color:#c8d0d3!important}
.nscp-game .nscp-print-options-footer{display:flex;gap:10px;align-items:center;justify-content:flex-end;border-top:1px solid #3b4246;padding:12px 20px}
.nscp-game .nscp-print-options-footer button{cursor:pointer!important;border:0!important;border-radius:4px!important;margin:0!important;padding:9px 14px!important;font:600 14px/1.4 Arial,sans-serif!important;box-shadow:none!important}
.nscp-game .nscp-print-cancel{color:#fff!important;background:#40484c!important}
.nscp-game .nscp-print-confirm{color:#fff!important;background:#876d00!important}
.nscp-game .nscp-print-options-modal button:focus-visible,.nscp-game .nscp-print-choice:focus-within{outline:2px solid #e3bc46;outline-offset:2px}
@media print{.nscp-game dialog.nscp-print-options-modal{display:none!important}}

/* NewsScout Games v1.3: shared hub, collection and theme archive interface. */
.nsg-hub{box-sizing:border-box;width:100%;font:15px/1.45 Arial,Helvetica,sans-serif;color:#202830;background:#fff;padding:8px 0 24px;max-width:1100px;margin-inline:auto;color-scheme:light}
.nsg-hub *{box-sizing:border-box}
.nsg-hub-heading h2{font-size:28px!important;line-height:1.2!important;margin:5px 0 5px!important;color:#192b34!important}
.nsg-hub-heading p{font-size:15px;margin:0 0 18px;color:#51626d}
.nsg-hub h3{font-size:21px!important;line-height:1.3!important;color:#17272f!important;margin:12px 0 12px!important}
.nsg-hub h4{font-size:17px!important;color:#263846!important;margin:16px 0 8px!important}
.nsg-collection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}
.nsg-collection-card{display:flex;align-items:center;gap:12px;border:1px solid #c8d5dc;background:#f6f9fa;text-decoration:none!important;color:#172b35!important;border-radius:7px;padding:20px 15px;min-width:0;box-shadow:0 1px 2px rgba(12,39,59,.05);transition:background .15s ease,border-color .15s ease}
.nsg-collection-card:hover,.nsg-collection-card:focus-visible{background:#e4f1f8;border-color:#6e9db8}
.nsg-collection-card span:nth-child(2){flex:1;min-width:0}
.nsg-collection-card strong{display:block;font-size:18px!important;font-weight:700;color:inherit}
.nsg-collection-card small{display:block;font-size:13px!important;line-height:1.4;color:#4b5b64;margin-top:5px}
.nsg-card-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:6px;background:#dcecf3;font-size:25px;color:#235d7d;flex:none}
.nsg-arrow{font-size:26px;color:#235d7d}
.nsg-back,.nscp-return-to-list a,.nscp-expand-link{display:inline-block;color:#236585!important;text-decoration:none!important;font-size:14px;font-weight:700}
.nsg-back{margin:4px 15px 10px 0}
.nsg-back:hover,.nscp-expand-link:hover{text-decoration:underline!important}
.nsg-date-picker{display:flex;flex-direction:column;gap:5px;font-weight:700;max-width:500px;margin:4px 0 16px}
.nsg-hub select,.nsg-hub input[type=search]{box-sizing:border-box;border:1px solid #9faeba!important;background:#fff!important;color:#172830!important;font-size:14px!important;line-height:1.4!important;padding:9px 10px!important;border-radius:5px!important;min-height:39px;max-width:100%}
.nsg-hub .nsg-date-picker select{width:100%}
.nsg-archive{background:#f7fafb;border:1px solid #c3d3dc;border-radius:5px;padding:10px;margin:0 0 16px}
.nsg-archive-controls{display:flex;gap:9px;margin-bottom:9px;align-items:end;flex-wrap:wrap}
.nsg-archive-controls label{font-weight:600;font-size:13px;display:flex;flex-direction:column;gap:4px;min-width:0}
.nsg-search-label{flex:1}
.nsg-search-label input{width:100%}
.nsg-sort-label{width:170px}
.nsg-archive-list{overflow-y:auto;max-height:295px;border:1px solid #d6e0e5;background:#fff;border-radius:4px}
.nsg-archive-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #e5ebee;color:#1e333e!important;text-decoration:none!important;font-size:13px!important}
.nsg-archive-item:hover,.nsg-archive-item:focus-visible{background:#e9f4f9}
.nsg-archive-item[hidden]{display:none!important}
.nsg-archive-name{min-width:0}
.nsg-archive-name strong{font-size:14px!important;display:block;color:inherit}
.nsg-archive-name small{display:block;color:#5a6870;font-size:12px;margin-top:3px}
.nsg-archive-detail{color:#506574;font-size:12px}
.nsg-status{min-width:76px;text-align:right;font-size:12px;color:#346e58}
.nsg-selected-player{margin-top:16px}
.nsg-selected-player .nscp-game{margin-top:0}
.nsg-selection-note{color:#51626d;font-size:14px;margin:0 0 7px}
.nsg-primary-link{display:inline-block;background:#315d78!important;color:#fff!important;text-decoration:none!important;border-radius:4px;padding:10px 15px;font-size:15px;font-weight:700}
.nsg-primary-link:hover{background:#214964!important}
.nsg-large-launch{font:15px/1.5 Arial,Helvetica,sans-serif;padding:22px;border:1px solid #c5d5df;border-radius:6px;background:#f4fafb;color:#193440}
.nsg-large-launch strong{font-size:19px}
.nsg-large-launch p{margin:8px 0 16px}
.nscp-expand-link{margin-top:7px;font-size:13px}
.nsg-empty{font-size:14px;color:#53616a;margin:14px 0}
@media(max-width:520px){
 .nsg-hub-heading h2{font-size:24px!important}
 .nsg-collection-grid{grid-template-columns:1fr}
 .nsg-archive-controls{display:block}
 .nsg-archive-controls label{width:100%;margin-bottom:8px}
 .nsg-archive-item{gap:6px;padding:10px 7px;grid-template-columns:minmax(0,1fr) auto}
 .nsg-archive-detail{display:none}
 .nsg-status{min-width:68px}
}
/* The 21x21 player is a dedicated browser-width page, not a shortcode box. */
body.nscp-full-page{margin:0!important;padding:0!important;background:#e7ecf0!important;color:#202e35;font:15px/1.45 Arial,Helvetica,sans-serif;max-width:none!important}
body.nscp-full-page .nscp-full-shell{box-sizing:border-box;margin:0 auto;padding:12px 24px 24px;width:100%;max-width:1780px}
.nscp-full-header{display:flex;gap:25px;align-items:center;padding:10px 0 13px;border-bottom:1px solid #b7c5cd;margin-bottom:12px}
.nscp-full-header div{display:flex;flex-direction:column;gap:2px}
.nscp-full-header strong{font-size:22px}
.nscp-full-header span{font-size:13px;color:#586972}
.nscp-back-button{white-space:nowrap;color:#1c5674!important;text-decoration:none!important;font-weight:700;font-size:15px}
.nscp-back-button:hover{text-decoration:underline!important}
body.nscp-full-page .nscp-game{max-width:none!important;width:100%!important;margin:0 auto!important;background:#fff!important}
body.nscp-full-page .nscp-content{display:grid!important;grid-template-columns:minmax(0, min(64vw, 860px)) minmax(290px, 1fr)!important;gap:18px!important;padding:12px 10px!important}
body.nscp-full-page .nscp-grid{width:100%;max-width:none!important;margin:0!important}
body.nscp-full-page .nscp-clue-column{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:12px!important;height:auto!important;max-height:none!important;margin-top:0!important;min-width:0}
body.nscp-full-page .nscp-clue-panel{max-height:45vh!important;min-height:175px!important}
body.nscp-full-page .nscp-clues{max-height:none!important}
@media(max-width:980px){
 body.nscp-full-page .nscp-full-shell{padding:10px 8px 20px}
 body.nscp-full-page .nscp-content{display:block!important;padding:8px 4px!important}
 body.nscp-full-page .nscp-grid-column{overflow-x:auto}
 body.nscp-full-page .nscp-grid{max-width:850px!important;margin:0 auto!important}
 body.nscp-full-page .nscp-clue-column{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-top:18px!important}
 body.nscp-full-page .nscp-clue-panel{max-height:330px!important}
}
@media(max-width:560px){
 body.nscp-full-page .nscp-grid{min-width:525px!important}
 body.nscp-full-page .nscp-clue-column{grid-template-columns:1fr!important}
 .nscp-full-header strong{font-size:17px}
}

/* Always make the requested All Puzzles return control recognizable as a button. */
.nsg-hub .nsg-back,
.nscp-full-page .nscp-back-button{
 display:inline-flex;align-items:center;justify-content:center;
 border:1px solid #a9c2ce!important;background:#edf5f8!important;
 border-radius:5px!important;padding:7px 12px!important;color:#215b78!important;
 text-decoration:none!important;min-height:34px;
}
.nsg-hub .nsg-back:hover,.nscp-full-page .nscp-back-button:hover{
 background:#d8ebf4!important;border-color:#719fb5!important;text-decoration:none!important;
}

/* NewsScout Games: freeform puzzles are irregular, not dark blocked squares. */
.nscp-game.nscp-freeform .nscp-grid{
  aspect-ratio:var(--nscp-grid-ratio,1 / 1)!important;
  background:transparent!important;
  outline:none!important;
  border:0!important;
  gap:0!important;
  max-width:100%;
}
.nscp-game.nscp-freeform .nscp-cell.nscp-black{
  visibility:hidden!important;
  border:0!important;
  background:transparent!important;
}
.nscp-game.nscp-freeform .nscp-cell:not(.nscp-black){
  border-right:1px solid var(--nscp-grid-lines,#555)!important;
  border-bottom:1px solid var(--nscp-grid-lines,#555)!important;
}
.nscp-game.nscp-freeform .nscp-grid-column{min-width:0}
.nscp-game.nscp-freeform .nscp-cell-number{font-size:clamp(7px,calc(25cqw / var(--nscp-size)),11px)}


/* v1.3.7: Focus on the game after the visitor selects a crossword.
   Browsing remains available in the compact, collapsible selector. */
.nsg-hub.nsg-hub--playing{padding-top:0!important;padding-bottom:16px!important}
.nsg-hub--playing .nsg-player-nav{
 display:flex;align-items:center;flex-wrap:wrap;column-gap:7px;row-gap:5px;
 padding:0 0 7px;margin:0 0 6px;border-bottom:1px solid #d5e1e7;
 min-height:32px
}
.nsg-hub--playing .nsg-player-nav .nsg-back{
 margin:0 5px 0 0!important;padding:4px 9px!important;
 font-size:12px!important;min-height:28px!important
}
.nsg-hub--playing .nsg-playing-title{font-size:13px!important;font-weight:600;color:#536a79;min-width:0}
.nsg-hub--playing .nsg-player-date{display:flex;flex-direction:row;align-items:center;gap:10px;max-width:none;margin:0 0 8px;font-size:13px}
.nsg-hub--playing .nsg-player-date select{width:min(440px,100%);min-width:0}
.nsg-hub--playing .nsg-choose-another{margin:0 0 8px;border:1px solid #b8d0d8;border-radius:4px;background:#f3f8fa}
.nsg-hub--playing .nsg-choose-another>summary{
 display:list-item;cursor:pointer;list-style:disclosure-closed inside;
 font-size:13px!important;font-weight:600;line-height:1.5;padding:7px 10px;color:#285e77
}
.nsg-hub--playing .nsg-choose-another[open]>summary{list-style:disclosure-open inside;border-bottom:1px solid #d1e0e5}
.nsg-hub--playing .nsg-choose-another-content{padding:10px}
.nsg-hub--playing .nsg-archive{margin-bottom:0}
.nsg-hub--playing .nsg-selected-player{margin-top:4px!important}
/* Twenty Twenty-Five normally shows a generous page title/top inset, useful
   for a directory but distracting after the visitor starts playing. */
body.nsg-crossword-playing h1.wp-block-post-title,
body.nsg-crossword-playing h1.entry-title{display:none!important}
body.nsg-crossword-playing .wp-site-blocks>main{padding-block-start:8px!important;margin-block-start:0!important}
body.nsg-crossword-playing .wp-block-post-content:has(.nsg-hub--playing){margin-block-start:0!important}
@media(max-width:560px){
 .nsg-hub--playing .nsg-player-date{flex-direction:column;align-items:stretch;gap:4px}
 .nsg-hub--playing .nsg-player-date select{width:100%}
 .nsg-hub--playing .nsg-player-nav{align-items:flex-start}
}

/* Put the archive in a compact navigation dropdown instead of a separate row. */
.nsg-hub--playing .nsg-player-nav{position:relative;isolation:isolate}
.nsg-hub--playing .nsg-player-nav .nsg-choose-another{
 position:relative;margin:0 0 0 auto!important;border:0!important;background:transparent!important;
 border-radius:0;flex:none
}
.nsg-hub--playing .nsg-player-nav .nsg-choose-another>summary{
 list-style:none!important;display:inline-flex;align-items:center;gap:5px;
 padding:5px 9px!important;border:1px solid #a9c2ce;border-radius:4px;
 background:#edf5f8;color:#215b78!important;font-size:12px!important;
 min-height:28px;white-space:nowrap
}
.nsg-hub--playing .nsg-choose-another>summary::-webkit-details-marker{display:none}
.nsg-hub--playing .nsg-choose-another>summary:after{content:'▾';font-size:12px}
.nsg-hub--playing .nsg-choose-another[open]>summary{list-style:none!important;border-bottom:1px solid #a9c2ce}
.nsg-hub--playing .nsg-choose-another[open]>summary:after{content:'▴'}
.nsg-hub--playing .nsg-choose-another-content{
 position:absolute;z-index:80;right:0;top:calc(100% + 5px);
 width:min(390px,90vw);max-width:calc(100vw - 24px);max-height:min(580px,75vh);
 overflow-y:auto;border:1px solid #adc2d0;border-radius:6px;
 background:#f3f8fa;padding:10px;box-shadow:0 10px 30px rgba(0,0,0,.24)
}
.nsg-hub--playing .nsg-choose-another-content .nsg-archive{padding:6px!important}
.nsg-hub--playing .nsg-choose-another>summary:focus-visible{outline:2px solid #e3bc46;outline-offset:2px}


/* v1.3.8: The expanded archive must sit ABOVE the crossword toolbar.
   The previous nav isolation created a low stacking context, so the puzzle's
   positioned toolbar was painted over the search and puzzle-list controls. */
.nsg-hub--playing .nsg-player-nav{
  position:relative!important;
  z-index:40!important;
  isolation:isolate;
  overflow:visible!important;
}
.nsg-hub--playing .nsg-player-nav .nsg-choose-another[open]{z-index:41}
.nsg-hub--playing .nsg-player-nav .nsg-choose-another-content{
  z-index:42!important;
  background:#f3f8fa!important;
  box-shadow:0 12px 30px rgba(0,0,0,.4)!important;
}
.nsg-hub--playing .nsg-selected-player{position:relative;z-index:0}

/* Optional puzzle title and description (v1.3.24). Display ABOVE the game toolbar,
   on the page background, matching the layout of archival crossword pages. */
.nscp-puzzle-intro{box-sizing:border-box;max-width:1100px;margin:16px auto 14px;padding:0 6px;color:inherit;font-family:Arial,Helvetica,sans-serif}
.nscp-puzzle-intro-title{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(23px,3.3vw,36px)!important;font-weight:400!important;line-height:1.2!important;text-align:center!important;margin:0 0 14px!important;color:inherit!important}
.nscp-puzzle-intro-description{font-size:15px;line-height:1.5;overflow-wrap:anywhere;color:inherit}
.nscp-puzzle-intro-description p{margin:0 0 10px!important;font:inherit!important;color:inherit!important;line-height:inherit!important}
.nscp-puzzle-intro-description p:last-child{margin-bottom:0!important}
.nscp-puzzle-intro + .nscp-game,.nscp-puzzle-intro + .nsg-large-launch{margin-top:0!important}
body.nscp-full-page .nscp-puzzle-intro{max-width:none;padding:0 6px;color:#202e35}
@media(max-width:600px){.nscp-puzzle-intro{padding:0 10px;margin:12px auto}.nscp-puzzle-intro-title{font-size:25px!important}.nscp-puzzle-intro-description{font-size:14px}}

/* Avoid the WordPress landing-page heading becoming a second puzzle title. */
body.page:has(.nscp-puzzle-intro-title) h1.wp-block-post-title,
body.page:has(.nscp-puzzle-intro-title) h1.entry-title{display:none!important}
/* v1.3.25: allowlisted [b]/[i]/[u] formatting in the puzzle introduction. */
.nscp-puzzle-intro strong,.nscp-puzzle-intro b{font-weight:700!important}
.nscp-puzzle-intro em,.nscp-puzzle-intro i{font-style:italic!important}
.nscp-puzzle-intro u{text-decoration:underline!important;text-decoration-skip-ink:auto}

/* v1.3.27: Dedicated 21x21 player at about two-thirds its old desktop size.
   Leave the mobile layout scrollable instead of shrinking cells to illegibility. */
@media screen and (min-width:981px){
  body.nscp-full-page .nscp-full-shell{max-width:1190px!important}
  body.nscp-full-page .nscp-content{
    grid-template-columns:minmax(0,min(45vw,580px)) minmax(290px,1fr)!important;
    gap:16px!important;
  }
}
@media screen and (min-width:561px) and (max-width:980px){
  body.nscp-full-page .nscp-grid{max-width:580px!important}
}
@media print{
  body.nscp-full-page .nscp-content{grid-template-columns:60% 38%!important}
}
/* Collection pages show a puzzle library first, 20 at a time. */
.nsg-hub--archive{max-width:900px!important;padding:8px 0 22px!important}
.nsg-hub--archive .nsg-archive-heading{margin:5px 0 6px!important;font-size:27px!important;line-height:1.25!important;color:#192b34!important}
.nsg-hub--archive .nsg-archive-intro{margin:0 0 15px;font-size:14px;color:#53616a}
.nsg-hub--archive .nsg-archive{margin-top:4px;padding:12px}
.nsg-archive-scroll{max-height:min(660px,72vh);overflow-y:auto;overscroll-behavior:contain;border:1px solid #cbd8df;border-radius:5px;background:#fff;scrollbar-width:thin}
.nsg-archive-scroll:focus-visible{outline:2px solid #2b7898;outline-offset:2px}
.nsg-archive-list{overflow:visible!important;max-height:none!important;border:0!important;border-radius:0!important}
.nsg-hub--archive .nsg-archive-item{grid-template-columns:34px minmax(0,1fr) auto auto 18px;gap:12px;min-height:66px;padding:12px 14px;font-size:14px!important}
.nsg-archive-icon{display:grid;place-items:center;width:30px;height:30px;background:#e9f1f6;border-radius:4px;color:#235e7f;font-size:23px;line-height:1}
.nsg-archive-chevron{font-size:26px;color:#315f7a;line-height:1}
.nsg-archive-footer{display:flex;flex-direction:column;align-items:center;gap:9px;padding:14px 8px 16px;background:#f7fafb}
.nsg-load-more{background:#fff!important;color:#214f66!important;border:1px solid #8296a2!important;border-radius:5px!important;box-shadow:none!important;cursor:pointer!important;padding:8px 18px!important;font:600 14px/1.4 Arial,Helvetica,sans-serif!important}
.nsg-load-more:hover,.nsg-load-more:focus-visible{background:#e4f1f8!important;border-color:#48758d!important}
.nsg-load-more[hidden]{display:none!important}
.nsg-showing-count{font-size:12px;color:#596b76}
@media(max-width:600px){
 .nsg-hub--archive .nsg-archive-item{grid-template-columns:28px minmax(0,1fr) auto 12px;gap:7px;padding:10px 8px}
 .nsg-hub--archive .nsg-archive-icon{width:26px;height:26px;font-size:18px}
 .nsg-hub--archive .nsg-archive-chevron{font-size:20px}
 .nsg-hub--archive .nsg-archive-item .nsg-archive-detail{display:none}
 .nsg-hub--archive .nsg-status{min-width:61px;font-size:11px}
}



/* v1.3.29 — Readable large/freeform grids with independent wheel zoom and pan.
   Resizing actual grid pixels keeps inputs sharp; no CSS transforms or page zoom. */
.nscp-game .nscp-grid-viewport{max-width:100%;min-width:0;position:relative}
.nscp-game .nscp-grid-zoom-controls[hidden]{display:none!important}
.nscp-game .nscp-grid-zoom-controls{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;margin:0 0 7px;font:13px/1.25 Arial,Helvetica,sans-serif!important;color:inherit}
.nscp-game .nscp-zoom-hint{flex:1 1 170px;opacity:.8;font-size:12px}
.nscp-game .nscp-grid-zoom-controls button{border:1px solid #9baeb7!important;border-radius:4px!important;background:transparent!important;color:inherit!important;font:600 13px/1.3 Arial,Helvetica,sans-serif!important;padding:4px 9px!important;min-width:30px;min-height:27px;margin:0!important;cursor:pointer!important;box-shadow:none!important}
.nscp-game .nscp-grid-zoom-controls button:hover{background:rgba(128,128,128,.17)!important}
.nscp-game .nscp-grid-zoom-controls button:focus-visible{outline:2px solid #c39d12!important;outline-offset:1px!important}
.nscp-game .nscp-grid-zoom-controls button:disabled{opacity:.4;cursor:not-allowed!important}
.nscp-game .nscp-grid-zoom-controls output{min-width:47px;text-align:center;font:600 13px/1.3 Arial,Helvetica,sans-serif!important;color:inherit}
.nscp-game.nscp-zoom-enabled .nscp-grid-viewport{width:100%;max-width:100%;min-width:0;max-height:min(65vh,660px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-x pan-y;cursor:grab;contain:layout paint}
.nscp-game.nscp-zoom-enabled .nscp-grid-viewport.nscp-is-panning,.nscp-game.nscp-zoom-enabled .nscp-grid-viewport.nscp-is-panning *{cursor:grabbing!important;user-select:none!important}
.nscp-game.nscp-zoom-enabled .nscp-grid-viewport:focus-visible{outline:2px solid #d6ad21;outline-offset:1px}
.nscp-game.nscp-zoom-enabled .nscp-grid{width:100%;max-width:none!important;min-width:0!important;margin:0!important;flex:none!important}
.nscp-game.nscp-zoom-enabled.nscp-freeform .nscp-grid{max-width:none!important}
.nscp-game.nscp-zoom-enabled .nscp-cell input{cursor:inherit!important}
@media(max-width:480px){.nscp-game .nscp-zoom-hint{flex-basis:100%;text-align:center}.nscp-game .nscp-grid-zoom-controls{justify-content:center;gap:4px}}
@media print{
 .nscp-game .nscp-grid-zoom-controls{display:none!important}
 .nscp-game .nscp-grid-viewport{overflow:visible!important;max-height:none!important;max-width:none!important}
 .nscp-game.nscp-zoom-enabled .nscp-grid{width:100%!important;max-width:100%!important}
}

/* v1.3.30: zoom applies to the inner crossword ONLY, not the toolbar or clue rail. */
.nscp-game .nscp-tool-icon{display:block;flex:none;width:18px;height:18px;margin-right:6px;pointer-events:none}
.nscp-game [data-nscp-toggle="assist"],.nscp-game [data-nscp-action="print"]{white-space:nowrap}
@media(max-width:480px){.nscp-game .nscp-tool-icon{width:16px;height:16px;margin-right:4px}}
@media print{.nscp-game.nscp-zoom-enabled .nscp-grid-viewport{contain:none!important;height:auto!important}}

/* v1.3.31: The hub supplies its own page/collection heading. Do not print the
   theme's page title above it (the source of duplicate Crossword headings). */
body.nsg-crossword-directory h1.wp-block-post-title,
body.nsg-crossword-directory h1.entry-title{display:none!important}

/* Archive metadata: date (Daily/Sunday only), dimensions, optional byline. */
.nsg-archive-name .nsg-archive-meta{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
/* Color is supplementary: the actual difficulty name remains visible. */
.nsg-archive-item .nsg-difficulty{
  display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;
  min-width:65px;padding:4px 8px;border-radius:4px;
  font:700 12px/1.25 Arial,Helvetica,sans-serif!important;
  border:1px solid transparent;
}
.nsg-archive-item .nsg-difficulty--easy{background:#dff2e5;color:#176337;border-color:#9cccac}
.nsg-archive-item .nsg-difficulty--medium{background:#fff0c2;color:#77500a;border-color:#e8ce78}
.nsg-archive-item .nsg-difficulty--hard{background:#fae0dd;color:#972c28;border-color:#ecada6}
@media(max-width:600px){
  /* Keep difficulty visible on small screens instead of hiding it with the
     old .nsg-archive-detail mobile rule. Retain completion status as row two. */
  .nsg-hub--archive .nsg-archive-item{grid-template-columns:28px minmax(0,1fr) auto 12px;row-gap:3px}
  .nsg-hub--archive .nsg-archive-item .nsg-archive-icon{grid-column:1;grid-row:1/span 2}
  .nsg-hub--archive .nsg-archive-item .nsg-archive-name{grid-column:2;grid-row:1/span 2}
  .nsg-hub--archive .nsg-archive-item .nsg-difficulty{display:inline-flex!important;grid-column:3;grid-row:1;justify-self:end;min-width:56px;padding:3px 5px}
  .nsg-hub--archive .nsg-archive-item .nsg-status{grid-column:3;grid-row:2;min-width:0;text-align:right}
  .nsg-hub--archive .nsg-archive-item .nsg-archive-chevron{grid-column:4;grid-row:1/span 2;align-self:center}
}

/* v1.3.75: Shared Word Library category shown as a column in Themed Puzzles. */
.nsg-archive--themed .nsg-archive-heading-row,
.nsg-archive--themed .nsg-archive-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.5fr) 88px 110px 12px;gap:10px;align-items:center}
.nsg-archive--themed .nsg-archive-heading-row{padding:9px 12px;background:#e3ebef;border:1px solid #d6e0e5;border-radius:4px 4px 0 0;color:#274252;font-size:12px;font-weight:600}
.nsg-archive--themed .nsg-archive-list{border-radius:0 0 4px 4px}
.nsg-archive--themed .nsg-archive-icon{display:none}
.nsg-archive-theme{min-width:0;overflow-wrap:anywhere;color:#315a70;font-size:13px}
@media(max-width:650px){
 .nsg-archive--themed .nsg-archive-item{grid-template-columns:minmax(0,1fr) minmax(74px,.5fr) 85px;gap:7px}
 .nsg-archive--themed .nsg-archive-heading-row{grid-template-columns:minmax(0,1fr) minmax(74px,.5fr) 85px;gap:7px}
 .nsg-archive--themed .nsg-archive-heading-row span:nth-child(3),
 .nsg-archive--themed .nsg-archive-heading-row span:nth-child(5),
 .nsg-archive--themed .nsg-archive-chevron{display:none}
 .nsg-archive--themed .nsg-archive-detail{display:none}
}

/* v1.3.102: Circled-square theme marks stay visible on highlight and input. */
.nscp-game .nscp-cell.nscp-circled::after{content:"";position:absolute;left:6%;top:6%;width:88%;height:88%;box-sizing:border-box;border:2.3px solid #ffffff;border-radius:50%;mix-blend-mode:difference;pointer-events:none;z-index:2}
.nscp-game .nscp-cell.nscp-circled .nscp-cell-number{z-index:3}

/* v1.3.104: Match the editor's 2px lower position for circled letters. */
.nscp-game .nscp-cell.nscp-circled::after{transform:translateY(2px)}


/* v1.3.115: independent appearance controls for the two hub shortcode landing views.
   The selected-puzzle UI and crossword player are deliberately unaffected. */
:is(.nsg-hub--games,.nsg-hub--crossword){
  background:var(--nsg-custom-background-color,#fff)!important;
  max-width:var(--nsg-custom-content-width,1100px)!important;
  font-family:var(--nsg-custom-font-family,Arial,Helvetica,sans-serif)!important;
}
:is(.nsg-hub--games,.nsg-hub--crossword) .nsg-hub-heading h2{
  color:var(--nsg-custom-heading-color,#192b34)!important;
  font-size:var(--nsg-custom-heading-size,28px)!important;
}
:is(.nsg-hub--games,.nsg-hub--crossword) .nsg-hub-heading p{
  color:var(--nsg-custom-intro-color,#51626d)!important;
}
:is(.nsg-hub--games,.nsg-hub--crossword) .nsg-collection-grid{
  gap:var(--nsg-custom-grid-gap,12px)!important;
}
:is(.nsg-hub--games,.nsg-hub--crossword) .nsg-collection-card{
  background:var(--nsg-custom-card-background,#f6f9fa)!important;
  border-color:var(--nsg-custom-card-border,#c8d5dc)!important;
  color:var(--nsg-custom-card-title-color,#172b35)!important;
  border-radius:var(--nsg-custom-card-radius,7px)!important;
  padding:var(--nsg-custom-card-padding,20px) var(--nsg-custom-card-padding-x,15px)!important;
}
:is(.nsg-hub--games,.nsg-hub--crossword) .nsg-collection-card:hover,
:is(.nsg-hub--games,.nsg-hub--crossword) .nsg-collection-card:focus-visible{
  background:var(--nsg-custom-card-hover,#e4f1f8)!important;
}
:is(.nsg-hub--games,.nsg-hub--crossword) .nsg-collection-card strong{
  color:var(--nsg-custom-card-title-color,#172b35)!important;
  font-size:var(--nsg-custom-card-title-size,18px)!important;
}
:is(.nsg-hub--games,.nsg-hub--crossword) .nsg-collection-card small{
  color:var(--nsg-custom-card-description-color,#4b5b64)!important;
  font-size:var(--nsg-custom-card-description-size,13px)!important;
}
:is(.nsg-hub--games,.nsg-hub--crossword) .nsg-card-icon{
  background:var(--nsg-custom-icon-background,#dcecf3)!important;
  color:var(--nsg-custom-icon-color,#235d7d)!important;
}
@media(max-width:520px){
  :is(.nsg-hub--games,.nsg-hub--crossword) .nsg-hub-heading h2{
    font-size:min(var(--nsg-custom-heading-size,28px),24px)!important;
  }
}
