/* Newton Games — shared system (games.css)
   Handle "ntc-games"; loaded on the board page and the lobby page.
   five.css / debug.css / admin.css build on this file.
   Namespaces: .ntc-games, .ntc-five, .ntc-games-lobby, .ntc-debug*.
   No bare element selector is styled outside those namespaces. */

/* Local tokens: the project's editorial system plus the site chrome tokens.
   --ntcg-radius and --ntcg-gap are overridden per breakpoint, so every
   component rescales from a single declaration. */
.ntc-games{--ntcg-navy:#15263a;--ntcg-navy-soft:#24445e;--ntcg-navy-deep:#101d2e;--ntcg-blue:#61b4ce;--ntcg-gold:#caa85e;--ntcg-gold-deep:#b4923f;--ntcg-cream:#f7f3ea;--ntcg-paper:#fff;--ntcg-ink:#202a31;--ntcg-muted:#5e6870;--ntcg-line:rgba(21,38,58,.13);--ntcg-shadow:0 18px 48px rgba(21,38,58,.09);--ntcg-radius:22px;--ntcg-radius-sm:16px;--ntcg-radius-key:8px;--ntcg-ease:cubic-bezier(.22,1,.36,1);--ntcg-ease-soft:cubic-bezier(.16,1,.3,1);--ntcg-board-max:480px;--ntcg-key-h:46px;--ntcg-gap:6px;--ntcg-target:44px;--ntcg-focus:#caa85e;--ntcg-link:#176b86;--ntcg-body:Arial,Helvetica,sans-serif;--ntcg-display:Georgia,"Times New Roman",serif;--ntcg-mono:ui-monospace,Consolas,"Courier New",monospace;
	width:min(100% - 32px,1120px);margin:clamp(30px,5vw,72px) auto 90px;color:var(--ntcg-ink);font-family:var(--ntcg-body);font-size:17px;line-height:1.78;overflow-wrap:anywhere;text-align:left}

.ntc-games,.ntc-games *,.ntc-games *::before,.ntc-games *::after{box-sizing:border-box}
.ntc-games h1,.ntc-games h2,.ntc-games h3,.ntc-games p,.ntc-games dl,.ntc-games dd{margin:0}
.ntc-games ul{margin:0;padding:0;list-style:none}
.ntc-games p,.ntc-games li,.ntc-games dd{max-width:76ch}
.ntc-games button,.ntc-games input{font:inherit;color:inherit}
.ntc-games [hidden]{display:none!important}
.ntc-games a{color:var(--ntcg-link);text-decoration-thickness:1px;text-underline-offset:3px}
.ntc-games a:hover{color:var(--ntcg-navy)}
.ntc-games :focus-visible{outline:3px solid var(--ntcg-focus);outline-offset:3px;border-radius:3px}

/* The markup uses the theme's own screen-reader class. */
.ntc-games .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.ntc-games .screen-reader-text:focus{position:static!important;width:auto;height:auto;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal}

/* The tile system lives here rather than in five.css because the lobby's mini
   preview renders .ntc-five__tile without loading five.css (board sizing is in
   five.css). correct=navy/white/solid diamond, present=gold/navy/hollow
   diamond, absent=cream/muted/dot; each state also changes its border. Glyphs
   are ::after content, i.e. decorative only — the tiles carry their accessible
   name in the markup. */
.ntc-five__tile{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:var(--ntcg-target);border:2px solid var(--ntcg-line);border-radius:var(--ntcg-radius-key);background:var(--ntcg-paper);color:var(--ntcg-ink);font-family:var(--ntcg-body);font-size:clamp(1rem,4.4vw,1.4rem);font-weight:800;line-height:1;text-align:center;text-transform:uppercase;letter-spacing:.02em}
.ntc-five__tile::after{content:"";position:absolute;right:.3em;bottom:.08em;font-size:.52em;font-weight:400;line-height:1;letter-spacing:0}
.ntc-five__tile--correct{background:var(--ntcg-navy);border-color:var(--ntcg-navy);border-style:solid;color:#fff}
.ntc-five__tile--correct::after{content:"◆";color:#fff}
.ntc-five__tile--present{background:var(--ntcg-gold);border-color:var(--ntcg-gold-deep);border-style:solid;color:var(--ntcg-navy)}
.ntc-five__tile--present::after{content:"◇";color:var(--ntcg-navy)}
.ntc-five__tile--absent{background:var(--ntcg-cream);border-color:rgba(94,104,112,.45);border-style:solid;border-width:1px;color:var(--ntcg-muted)}
.ntc-five__tile--absent::after{content:"·";bottom:.05em;font-size:.9em;font-weight:700;color:var(--ntcg-muted)}

.ntc-games__notice{max-width:44rem;margin:0 auto;padding:26px 30px;border:1px solid rgba(202,168,94,.5);border-left:6px solid var(--ntcg-gold);border-radius:var(--ntcg-radius-sm);background:#fffaf0;box-shadow:0 12px 30px rgba(78,59,23,.06)}
.ntc-games__notice p{margin:0 0 8px}
.ntc-games__notice p:last-child{margin-bottom:0}
.ntc-games__notice strong{color:var(--ntcg-navy)}

/* --- Lobby ------------------------------------------------------------- */
.ntc-games-lobby__intro{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.55fr);gap:26px;align-items:stretch;margin-bottom:34px}
.ntc-games-lobby__lede{padding:clamp(25px,4vw,46px);border-radius:var(--ntcg-radius);background:linear-gradient(135deg,var(--ntcg-navy),var(--ntcg-navy-soft));color:#fff;box-shadow:var(--ntcg-shadow)}
.ntc-games-lobby__eyebrow{display:block;margin-bottom:11px;color:#e4c77f;font-size:.76rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.ntc-games-lobby__title{margin:0;color:#fff;font-family:var(--ntcg-display);font-size:clamp(2rem,4.6vw,3rem);font-weight:400;line-height:1.1;letter-spacing:-.02em}
.ntc-games-lobby__sub{margin:14px 0 0;color:rgba(255,255,255,.86);font-size:1.05rem}
.ntc-games-lobby__aside{display:flex;flex-direction:column;justify-content:center;padding:24px;border:1px solid var(--ntcg-line);border-radius:var(--ntcg-radius);background:var(--ntcg-cream)}
.ntc-games-lobby__aside h2{margin:0 0 8px;color:var(--ntcg-navy);font-family:var(--ntcg-display);font-size:1.3rem;font-weight:400;line-height:1.25}
.ntc-games-lobby__aside p{margin:0;color:var(--ntcg-muted);font-size:.95rem}
/* One card flows to two with no media query; min() keeps the track inside a
   288px phone viewport. */
.ntc-games-lobby__list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:22px;margin:0 0 34px}
.ntc-games-card__body{min-width:0}
.ntc-games-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(16px,3vw,28px);align-items:center;padding:clamp(20px,3vw,30px);border:1px solid var(--ntcg-line);border-radius:var(--ntcg-radius);background:rgba(255,255,255,.94);box-shadow:var(--ntcg-shadow)}
.ntc-games-card__eyebrow{margin:0 0 8px;color:var(--ntcg-gold-deep);font-size:.74rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.ntc-games-card__title{margin:0 0 8px;color:var(--ntcg-navy);font-family:var(--ntcg-display);font-size:clamp(1.5rem,3vw,2rem);font-weight:400;line-height:1.15;letter-spacing:-.02em}
.ntc-games-card__tagline{margin:0 0 10px;font-size:1rem}
.ntc-games-card__meta{margin:0 0 18px;color:var(--ntcg-muted);font-size:.88rem}
.ntc-games-card__action{margin:0}
.ntc-games-card__button{display:inline-flex;min-height:var(--ntcg-target);align-items:center;justify-content:center;padding:10px 22px;border:1px solid var(--ntcg-navy);border-radius:999px;background:var(--ntcg-navy);color:#fff;font-weight:700;text-decoration:none;transition:background-color 220ms var(--ntcg-ease),border-color 220ms var(--ntcg-ease)}
.ntc-games-card__button:hover{background:var(--ntcg-navy-soft);border-color:var(--ntcg-navy-soft);color:#fff}
.ntc-games-card__streak{margin:12px 0 0;color:var(--ntcg-navy);font-size:.86rem;font-weight:700}
.ntc-games-card__preview{display:flex;align-items:center;justify-content:center}
.ntc-games-card__minirow{display:flex;gap:5px}
.ntc-games-card__minirow .ntc-five__tile{flex:0 0 auto;width:2.35rem;height:2.35rem;min-height:0;border-radius:6px;font-size:.9rem}
/* Three columns; stacks below 767px. */
.ntc-games-lobby__howto{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.4vw,26px);padding:clamp(22px,3vw,34px);border:1px solid var(--ntcg-line);border-radius:var(--ntcg-radius);background:var(--ntcg-cream)}
.ntc-games-lobby__howto h2{margin:0 0 8px;color:var(--ntcg-navy);font-size:1rem;font-weight:700;line-height:1.35}
.ntc-games-lobby__howto p{margin:0;color:var(--ntcg-muted);font-size:.94rem}

/* forced-colors: the three states differ by border-style/border-width alone. */
@media (forced-colors:active){
	.ntc-games :focus-visible{outline-color:Highlight}
	.ntc-games button,.ntc-games a,.ntc-games a.ntc-games-card__button{border-color:ButtonText;background:ButtonFace;color:ButtonText}
	.ntc-five__tile{background:Canvas;color:CanvasText;border-color:CanvasText}
	.ntc-five__tile--correct{background:Highlight;color:HighlightText;border-color:HighlightText;border-style:solid;border-width:3px}
	.ntc-five__tile--present{background:Canvas;color:CanvasText;border-color:CanvasText;border-style:dashed;border-width:3px}
	.ntc-five__tile--absent{background:Canvas;color:CanvasText;border-color:CanvasText;border-style:dotted;border-width:1px}
	.ntc-five__tile--correct::after{color:HighlightText}
	.ntc-five__tile--present::after,.ntc-five__tile--absent::after{color:CanvasText}
}

@media (prefers-reduced-motion:reduce){
	.ntc-games *,.ntc-games *::before,.ntc-games *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
	.ntc-modal__panel{transform:none!important}
}

/* 768+ is the desktop layout above. 375/390/430 land in the 460 tier. */
@media (max-width:767px){
	.ntc-games{--ntcg-radius:16px;--ntcg-radius-sm:16px;--ntcg-radius-key:6px;width:min(100% - 24px,1120px);margin-top:24px;font-size:16px}
	.ntc-games-lobby__intro{grid-template-columns:1fr;gap:14px}
	.ntc-games-lobby__howto{grid-template-columns:1fr;gap:18px}
	.ntc-games-card{grid-template-columns:1fr}
	.ntc-games-card__preview{justify-self:center;margin-top:6px}
}
@media (max-width:460px){
	.ntc-games{--ntcg-gap:5px}
	.ntc-games-lobby__list{gap:16px}
	.ntc-games-card__button{width:100%;justify-content:center}
	.ntc-games__notice{padding:20px 22px}
}
@media (max-width:360px){
	/* At 320px the surrounding page column leaves this component about 244px, which
	   squeezed each keyboard key down to 18px — under the 24px minimum target size.
	   Reclaim gutter from our own wrapper and tighten the gap, so every key stays a
	   comfortable tap target without pushing the page into horizontal overflow. */
	.ntc-games{--ntcg-gap:2px;width:min(100% + 36px,100vw - 16px);margin-left:-18px;margin-right:-18px}
	.ntc-games-lobby__lede,.ntc-games-lobby__aside,.ntc-games-card,.ntc-games-lobby__howto,.ntc-games__notice{padding:18px}
	.ntc-games-lobby__title{font-size:1.75rem}
	.ntc-games-card__minirow{gap:4px}
	.ntc-games-card__minirow .ntc-five__tile{width:2.1rem;height:2.1rem;font-size:.82rem}
}

/* =====================================================================
 * Compact play surface — final UI correction pass
 *
 * The game is the hero of its own page. The shell stays narrow (620px) so the
 * active game reads as a compact, deliberate panel rather than a full-width
 * widget, and the tile size is derived from the viewport so the whole game fits
 * a normal laptop viewport. Navy and gold stay accents; the surface stays white.
 * =================================================================== */

.ntc-games{
	--ntcg-shell-max:620px;
	--ntcg-keyboard-max:512px;
	--ntcg-gap:6px;
	--ntcg-tile:clamp(46px,6.2vh,58px);
	--ntcg-key-h:44px;
	--ntcg-target:44px;
	--ntcg-radius:12px;
	--ntcg-radius-sm:10px;
	--ntcg-radius-key:7px;
	--ntcg-shadow:0 1px 2px rgba(21,38,58,.04);
	/* A blank tile is white with a visible-but-quiet edge: readable on a bright
	   display without becoming heavy. */
	--ntcg-tile-line:rgba(21,38,58,.32);
}

/* The landing page may use the width for its card grid; the play surface may not. */
.ntc-games-lobby{max-width:900px;margin-inline:auto;padding:0}

/* The play-surface overrides for these tokens live in five.css, which loads last. */

@media (max-width:1023px){
	.ntc-games{--ntcg-tile:clamp(44px,6.4vw,54px);--ntcg-key-h:44px}
}

@media (max-width:460px){
	.ntc-games{--ntcg-gap:5px;--ntcg-tile:min(calc((100vw - 72px) / 5),54px);--ntcg-key-h:42px}
}

@media (max-width:360px){
	.ntc-games{--ntcg-gap:4px;--ntcg-tile:min(calc((100vw - 56px) / 5),50px);--ntcg-key-h:42px}
}

/* =====================================================================
 * Landing page — editorial, icon-driven
 *
 * One primary card carries the icon, the title, the puzzle line and one action;
 * the how-to section explains the game in three quiet columns.
 * =================================================================== */

.ntc-games-lobby{display:block}
.ntc-games-lobby__intro{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;align-items:end;padding:26px 0 22px;border-bottom:1px solid var(--ntcg-line)}
.ntc-games-lobby__lede{max-width:34rem}
.ntc-games-lobby__eyebrow{display:block;font-family:var(--ntcg-body);font-size:.7rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--ntcg-gold-deep)}
.ntc-games-lobby__title{font-family:var(--ntcg-display);font-size:clamp(2rem,4vw,2.75rem);line-height:1.05;letter-spacing:0;margin:8px 0 0}
.ntc-games-lobby__sub{margin:10px 0 0;font-family:var(--ntcg-body);font-size:1.02rem;line-height:1.55;color:var(--ntcg-muted)}
.ntc-games-lobby__aside{border-left:1px solid var(--ntcg-line);padding-left:24px}
.ntc-games-lobby__aside h2{font-family:var(--ntcg-display);font-size:1.15rem;margin:0}
.ntc-games-lobby__aside p{margin:6px 0 0;font-family:var(--ntcg-body);font-size:.9rem;line-height:1.5;color:var(--ntcg-muted)}
.ntc-games-lobby__list{margin:26px 0 0;display:grid;gap:18px}
.ntc-games-card{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:24px 26px;background:var(--ntcg-paper);border:1px solid var(--ntcg-line);border-radius:14px;box-shadow:0 1px 2px rgba(21,38,58,.04)}
.ntc-games-card__body{display:block}
.ntc-games-card__icon{display:block;width:64px;height:64px;margin-bottom:14px}
.ntc-games-card__icon svg{display:block;width:100%;height:100%}
.ntc-games-card__icon-frame{fill:var(--ntcg-paper);stroke:var(--ntcg-line);stroke-width:1.5}
.ntc-games-card__icon-tile{fill:var(--ntcg-navy)}
.ntc-games-card__icon-tile--gold{fill:var(--ntcg-gold)}
.ntc-games-card__icon-tile--quiet{fill:none;stroke:rgba(21,38,58,.28);stroke-width:1.5}
.ntc-games-card__eyebrow{margin:0;font-family:var(--ntcg-body);font-size:.7rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--ntcg-muted)}
.ntc-games-card__title{font-family:var(--ntcg-display);font-size:1.6rem;line-height:1.1;margin:6px 0 0;letter-spacing:0}
.ntc-games-card__tagline{margin:8px 0 0;font-family:var(--ntcg-body);font-size:.95rem;line-height:1.5;color:var(--ntcg-muted);max-width:32rem}
.ntc-games-card__meta{margin:10px 0 0;font-family:var(--ntcg-body);font-size:.76rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--ntcg-muted)}
.ntc-games-card__action{margin:16px 0 0}
.ntc-games-card__button{display:inline-block;min-height:44px;padding:11px 22px;border:1px solid var(--ntcg-navy);border-radius:var(--ntcg-radius-key);background:var(--ntcg-navy);color:#fff;font-family:var(--ntcg-body);font-size:.9rem;font-weight:700;text-decoration:none}
.ntc-games-card__button:hover,.ntc-games-card__button:focus-visible{background:var(--ntcg-navy-soft);color:#fff}
.ntc-games-card__streak{margin:10px 0 0;font-family:var(--ntcg-body);font-size:.82rem;color:var(--ntcg-muted)}
.ntc-games-card__preview{display:flex;align-items:center;justify-content:center;padding-left:24px;border-left:1px solid var(--ntcg-line)}
.ntc-games-card__minirow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.ntc-games-card__minirow .ntc-five__tile{width:2.5rem;height:2.5rem;font-size:.9rem;border-radius:7px}
.ntc-games-lobby__howto{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:30px 0 0;padding:24px 0 0;border-top:1px solid var(--ntcg-line)}
.ntc-games-lobby__howto h2{font-family:var(--ntcg-display);font-size:1.05rem;margin:0}
.ntc-games-lobby__howto p{margin:6px 0 0;font-family:var(--ntcg-body);font-size:.88rem;line-height:1.55;color:var(--ntcg-muted)}
.ntc-games__notice{padding:18px 20px;border:1px solid var(--ntcg-line);border-left:3px solid var(--ntcg-gold);border-radius:0 12px 12px 0;background:var(--ntcg-paper);font-family:var(--ntcg-body);font-size:.92rem}

@media (max-width:860px){
	.ntc-games-lobby__intro{grid-template-columns:1fr;gap:18px;align-items:start}
	.ntc-games-lobby__aside{border-left:0;padding-left:0;border-top:1px solid var(--ntcg-line);padding-top:16px}
	.ntc-games-card{grid-template-columns:1fr;gap:18px}
	.ntc-games-card__preview{padding-left:0;border-left:0;justify-content:flex-start}
	.ntc-games-lobby__howto{grid-template-columns:1fr;gap:16px}
}

/* =====================================================================
 * The game pages carry their own masthead.
 *
 * The shared Theme Builder page template prints a full-width scenic hero above
 * every singular page. On the game pages it repeats the title and pushes the
 * board far below the fold, so it is suppressed here. This is CSS scoped on the
 * body class the plugin adds, rather than a change to the template's element
 * data, because the template's rendered HTML is shared by every page through
 * Elementor's element cache — editing the data for one page would leak into the
 * others the next time that cache is rebuilt.
 * =================================================================== */

.ntc-games-page .newton-page-hero-widget,
.ntc-games-page .newton-page-hero-media{display:none!important}

/* With the hero gone its column and section keep their padding: reclaim it so
   the game starts directly under the breadcrumb. */
.ntc-games-page .elementor-section,
.ntc-games-page .elementor-column,
.ntc-games-page .elementor-widget-wrap{padding-top:0}
.ntc-games-page .newton-page-content-shell>.elementor-widget-container,
.ntc-games-page .elementor-widget-theme-post-content>.elementor-widget-container{padding-top:0}

/* The content widget was pulled up under the hero by a negative top margin, which
   only made sense while a full-bleed hero image sat behind the floating navbar.
   With the hero suppressed the same margin tucks the breadcrumb under the navbar,
   so the offset is replaced with deliberate spacing. */
.ntc-games-page .newton-page-content-shell{margin-top:0}
.ntc-games-page .ntc-games-breadcrumbs{margin:38px 0 0;padding:0}  /* clears the sticky navbar, which is 80-97px tall: the breadcrumb previously started within it */
.ntc-games-page .ntc-games{margin-top:12px}

/* ---------------------------------------------------------------------
 * Contrast on the navy masthead
 *
 * The lede is a navy surface, so text on it must be light. Two things fight
 * that: the earlier lobby rules here use --ntcg-muted (a light-surface colour),
 * and Elementor's generated per-element typography (post-<template>.css) loads
 * AFTER this file and sets the theme's dark body colours on descendants.
 * Matching specificity on the same descendants, from a later position in the
 * cascade than the muted rules, keeps the navy block readable.
 * ------------------------------------------------------------------- */

.ntc-games-page .ntc-games-lobby .ntc-games-lobby__lede .ntc-games-lobby__title,
.ntc-games-page .ntc-games-lobby .ntc-games-lobby__lede h1{color:#fff}
.ntc-games-page .ntc-games-lobby .ntc-games-lobby__lede .ntc-games-lobby__sub,
.ntc-games-page .ntc-games-lobby .ntc-games-lobby__lede p{color:rgba(255,255,255,.9)}
.ntc-games-page .ntc-games-lobby .ntc-games-lobby__lede .ntc-games-lobby__eyebrow{color:var(--ntcg-gold)}
.ntc-games-page .ntc-games-lobby a.ntc-games-card__button,
.ntc-games-page .ntc-games-lobby .ntc-games-card__button{background:var(--ntcg-navy);border-color:var(--ntcg-navy);color:#fff}
.ntc-games-page .ntc-games-lobby a.ntc-games-card__button:hover,
.ntc-games-page .ntc-games-lobby a.ntc-games-card__button:focus-visible{background:var(--ntcg-navy-soft);border-color:var(--ntcg-navy-soft);color:#fff}

/* The masthead reads as one band: title block and aside share a top edge. */
.ntc-games-page .ntc-games-lobby .ntc-games-lobby__intro{align-items:start}

/* The how-to strip is a cream band: it needs its own inner padding, otherwise
   the text sits against the edge of the colour. */
.ntc-games-page .ntc-games-lobby .ntc-games-lobby__howto{padding:26px 28px;border-radius:12px;background:var(--ntcg-cream)}

/* The card's mini board is a preview, not a solved word: the state glyphs that
   carry meaning on the real board read as specks at this size. */
.ntc-games-card__minirow .ntc-five__tile::after{display:none}

/* The tile state cue is the border style now, declared in five.css. The corner
   glyphs that used to carry it read as loose specks at tile size. */
.ntc-five__tile--correct::after,
.ntc-five__tile--present::after,
.ntc-five__tile--absent::after{content:none}

/* The preview strip: a deliberate, quiet marker on the shared preview link. It is
   not the debug banner (that one is a QA surface with an exit link) and it is not
   shown to readers. */
.ntc-preview-strip{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:0 0 16px;padding:10px 14px;border:1px solid var(--ntcg-line);border-left:3px solid var(--ntcg-gold);border-radius:0 10px 10px 0;background:var(--ntcg-cream);font-family:var(--ntcg-body);font-size:.82rem;color:var(--ntcg-ink)}
.ntc-preview-strip strong{font-size:.68rem;font-weight:700;letter-spacing:.1em;color:var(--ntcg-gold-deep)}
.ntc-preview-strip__meta{color:var(--ntcg-muted)}
.ntc-preview-strip__again{margin-left:auto;font-weight:700;color:var(--ntcg-navy);text-decoration:underline;text-underline-offset:3px}
.ntc-preview-strip__again:hover,.ntc-preview-strip__again:focus-visible{text-decoration:none}
.ntc-games-page .ntc-preview-strip .ntc-preview-strip__again{color:var(--ntcg-navy)}
@media (max-width:460px){.ntc-preview-strip__again{margin-left:0}}
.ntc-preview-strip__leave{font-size:.76rem;color:var(--ntcg-muted)}
.ntc-games-page .ntc-preview-strip .ntc-preview-strip__leave{color:var(--ntcg-muted)}

/* Practice is a secondary path beside the day's puzzle: same shape, less weight. */
.ntc-games-card__button--quiet{background:var(--ntcg-paper);border-color:var(--ntcg-line);color:var(--ntcg-navy);margin-left:8px}
.ntc-games-page .ntc-games-lobby a.ntc-games-card__button--quiet{background:var(--ntcg-paper);border-color:var(--ntcg-line);color:var(--ntcg-navy)}
.ntc-games-page .ntc-games-lobby a.ntc-games-card__button--quiet:hover,
.ntc-games-page .ntc-games-lobby a.ntc-games-card__button--quiet:focus-visible{background:var(--ntcg-cream);border-color:var(--ntcg-gold);color:var(--ntcg-navy)}
@media (max-width:460px){.ntc-games-card__button--quiet{margin-left:0;margin-top:8px}}

/* iOS zooms the page when it focuses a text field smaller than 16px, and tapping a
   key focuses the game's hidden input to raise the on-screen keyboard, so every tap
   zoomed the page in. A 16px field stops that; it stays visually hidden because the
   clip pattern in .screen-reader-text does not depend on the size of the text.
   touch-action stops the double-tap zoom on the board and the keys. */
.ntc-games input[type="text"],
.ntc-games textarea,
.ntc-games select{font-size:16px!important}

.ntc-games .ntc-five__keyboard,
.ntc-games .ntc-five__board,
.ntc-games .ntc-five__key,
.ntc-games .ntc-five__tile{touch-action:manipulation}

.ntc-games{-webkit-text-size-adjust:100%;text-size-adjust:100%}
