/* Name That Town -- the daily letter game.
   VERSION: 20261117-1640

   Leans on base.css for the page frame and .muted; everything here is the
   board, the gauge and the keyboard. Built phone-first: this is a game people
   play standing up, and the keyboard is the whole interface. */

.ntwrap{max-width:760px;margin:0 auto;padding:12px 14px 56px}

/* --- the heading ------------------------------------------------------- */
/* "Name That Town", the same words as the tab, the menu and the URL. It was
   "Name This Town" here from 2026-10-25, the instruction rather than the
   series, and Bryce reversed that on 2026-11-07 once the game went public
   and both spellings were on screen at once. The state is named directly
   underneath, by .ntstateone or by the picker. */
.nttitle{font-size:26px;font-weight:700;margin:2px 0 14px;text-align:center;
         letter-spacing:.3px}

/* --- the picture ------------------------------------------------------- */
.ntpic{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;
       background:#1b1f24;display:block}
/* WHEN THE NEXT ONE IS, over the photograph. Bryce, 2026-11-11. The wrapper
   exists only to be what this is positioned against -- it adds no box of its
   own, so the picture's own margins and rounding are untouched.

   OVER THE BOTTOM OF THE PICTURE rather than the middle: the photographs are
   streets and skylines, and the bottom strip is road. It is laid over the
   image instead of placed under it because by the time it appears the page
   is long -- board, keyboard, end panel, leaderboard -- and a line after all
   of that is a line nobody scrolls back up to.

   NOT A COLOUR OF ITS OWN. Near-black at 82% over whatever the photograph is
   doing, with a hairline of the page's own off-white: a tint strong enough
   to read white text against a bright sky, and no accent colour competing
   with the points bars or the red instruction line.

   EMPTY UNTIL THE GAME IS OVER, so :empty is what hides it -- nametown.js
   sets textContent and nothing else, and a hidden attribute the page had to
   remember to toggle is one more thing to get out of step. */
.ntpicwrap{position:relative}
.ntnext{position:absolute;left:10px;right:10px;bottom:10px;margin:0;
        padding:8px 12px;border-radius:8px;
        background:rgba(16,19,23,.82);
        border:1px solid rgba(245,241,232,.18);
        color:var(--offwhite,#F5F1E8);
        font-size:14px;font-weight:600;line-height:1.3;text-align:center;
        /* It became two lines on a phone the day the time was added
           (2026-11-12), and the default break fell inside the clock --
           "... at 6:00" / "PM EST". `balance` evens the two lines instead,
           which puts the break between the date and the time. Ignored by
           anything that does not know it, where the only cost is the ragged
           break that was there before. */
        text-wrap:balance}
.ntnext:empty{display:none}
.ntfact{margin:14px 0 4px;font-size:17px;line-height:1.5}
/* The two labels are underlined, Bryce's call on 2026-11-08, so "Clue 1:"
   and "Instructions:" read as the headings of their lines rather than as
   bold words inside them. app.css strips underlines from every <a> on the
   site, so an underline here has to be asked for explicitly -- it is not
   inherited from anything. */
.ntfact b,.ntinstr b{text-decoration:underline;text-underline-offset:2px}
/* RED, Bryce's call on 2026-11-11. It was deliberately quiet before -- grey,
   on the reasoning that how-to-play is read once and must not compete with
   the clue above it. Red inverts that: a first-time visitor who does not
   realise the board is typeable never plays at all, so the line is worth
   more than the quiet.
   Still smaller than the clue, so it reads as the aside it is rather than as
   a second clue.
   #e8594c is --orange (#e8913c) turned red: the same saturation and weight,
   so it belongs to this palette rather than arriving from a default error
   stylesheet. The site's existing #dda9a9 and #f0a184 both read pink on this
   background, which is not what was asked for. About 5.2:1 against the page,
   so it clears AA for body text instead of merely being visible. */
.ntinstr{margin:0 0 4px;font-size:14.5px;line-height:1.5;color:#e8594c}

/* --- the board --------------------------------------------------------- */
/* Spaces and punctuation show from the start -- Bryce's call -- so the shape
   of the name is part of the puzzle rather than a secret. */
.ntboard{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;
         margin:22px 0 20px}
/* An empty slot is the whole game before the first guess, so it is given a
   faint face rather than being a bare rule under a void -- 42px of nothing
   above a hairline reads as a gap in the page, not as a letter to come. */
.ntslot{width:30px;height:42px;display:flex;align-items:center;
        justify-content:center;font-size:24px;font-weight:700;
        border-bottom:3px solid #4a5560;text-transform:uppercase;
        background:rgba(255,255,255,.03);border-radius:4px 4px 0 0}
/* NUDGED DOWN. A full stop or an apostrophe sits on the same baseline as
   the letters beside it -- both slots centre the same line box -- and still
   reads as floating, because it is a small mark being compared to the mass
   of a capital and to the underline it does not touch. Bryce: "move the
   period down a bit. It looks a little high." Tried at 0, 2, 3, 4 and 6px
   against ST. JOHNS; 4px is where the dot lands at the letters' bottom edge.
   In em, so it stays 4px at this size and comes down with the font on a
   phone rather than needing a second number in the mobile block. */
.ntslot.fixed{border-bottom-color:transparent;width:auto;min-width:12px;
              color:#8a8f98;background:none;
              position:relative;top:.17em}
.ntslot.got{border-bottom-color:var(--ok,#5fbf7f)}
/* Filled in for you after you ran out, rather than guessed. Shown in the
   losing colour so a finished board still says which letters you had. */
.ntslot.missed{border-bottom-color:#d6543c;color:#e8a08e}
/* A space is a gap, not a slot: a run of underscores with a hole in it reads
   as two words without needing to be told. */
.ntslot.gap{width:16px;border-bottom-color:transparent;background:none}

/* --- the points ---------------------------------------------------------
   Not a gallows. It was drawn as a fuel gauge first -- a van driving between
   small towns, running out of fuel -- and it is still bars rather than a
   number, because a row of bars going out is something you watch happen --
   nametown.js draws one per point, so how many there are is not this
   file's to know. What changed on 2026-10-25 is what they are called:
   they are the score, and a clue that says "Costs 1 Point" should
   visibly take one of these. */
.ntpoints{display:flex;align-items:center;gap:10px;margin:14px 0}
.ntbars{display:flex;gap:4px;flex:1}
.ntbar{height:12px;flex:1;border-radius:3px;background:#2b3139}
.ntbar.on{background:linear-gradient(90deg,#5fbf7f,#8fd4a3)}
.ntbar.low.on{background:linear-gradient(90deg,#d7a13b,#e8c073)}
.ntbar.last.on{background:linear-gradient(90deg,#d6543c,#e89080)}
.ntpoints .lab{font-size:12px;color:#8a8f98;white-space:nowrap}
/* The number on its own, and bigger than the words beside it, because it is
   the thing being read. tabular-nums so it does not jostle its neighbours on
   the way from 10 to 9. */
.ntpoints .ptval{display:inline-block;font-size:17px;font-weight:800;
  color:var(--offwhite,#F5F1E8);min-width:1.1em;text-align:right;
  font-variant-numeric:tabular-nums}
/* Half a second, up and back. Scale rather than a colour change alone: the
   bars beside it are already carrying colour, and a number that briefly gets
   BIGGER is visible out of the corner of an eye aimed at the keyboard, which
   is where the eye is when a point goes. */
@keyframes ntptdrop {
  0%   {transform:scale(1);   color:var(--offwhite,#F5F1E8)}
  22%  {transform:scale(1.5); color:var(--orange,#e8913c)}
  100% {transform:scale(1);   color:var(--offwhite,#F5F1E8)}
}
.ntpoints .ptval.drop{animation:ntptdrop .55s ease-out}
/* Somebody who has asked their machine to stop moving things gets the colour
   and not the jump. */
@media (prefers-reduced-motion:reduce){
  @keyframes ntptdrop {
    0%   {color:var(--offwhite,#F5F1E8)}
    22%  {color:var(--orange,#e8913c)}
    100% {color:var(--offwhite,#F5F1E8)}
  }
}

/* --- the keyboard ------------------------------------------------------ */
/* QWERTY, in three rows of 10, 9 and 7. Not a grid: a grid would make the
   columns line up down the keyboard, and a real one is offset -- the short
   rows are CENTRED and the keys keep the width they would have had in the
   top row, which is what makes it read as a keyboard rather than as three
   lists. The 10-key top row sets that width, so every key is sized from it
   with the same flex-basis and the shorter rows simply do not fill their
   line. */
.ntkeys{display:flex;flex-direction:column;gap:6px;margin:16px 0}
.ntkrow{display:flex;gap:6px;justify-content:center}
.ntkrow button{flex:0 1 calc((100% - 9 * 6px) / 10);min-width:0}
/* The border is what separates one key from the next -- the fill is only a
   shade off the page behind it -- so it was carrying the whole shape of the
   keyboard at #39424c, which is barely a step up from the #232a31 inside it.
   Lifted on 2026-11-07 so each key reads as a key. The untouched ones are
   what this is for: a hit or a miss brings its own colour and has never
   needed the outline to be found. */
.ntkeys button{padding:14px 0;font-size:17px;font-weight:600;border-radius:8px;
               border:1px solid #5b6775;background:#232a31;color:#e8ecf1;
               cursor:pointer;text-transform:uppercase}
.ntkeys button:hover:not(:disabled){background:#2d353d}
.ntkeys button:disabled{cursor:default;opacity:.45}
.ntkeys button.hit{background:#2f6b45;border-color:#3d8657;opacity:1}
.ntkeys button.miss{background:#5a2b22;border-color:#7a3a2e;opacity:.8}

/* --- clues ------------------------------------------------------------- */
.ntclues{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.ntclues button{padding:9px 12px;font-size:13px;border-radius:8px;
                border:1px solid #39424c;background:#232a31;color:#e8ecf1;
                cursor:pointer}
.ntclues button:disabled{opacity:.45;cursor:default}
.ntclue{margin:10px 0;padding:10px 12px;border:1px solid #39424c;
        border-radius:8px;background:#1d2228}
/* Fixed, not driveable -- drawCircle() turns every Leaflet handler off, and
   this is the half of that the eye sees. Leaflet only adds its grab cursor
   when the drag handler is on, so this is belt and braces rather than a
   fix: a box that looks draggable invites the drag that loses the clue. */
#nt-map{height:220px;border-radius:8px;margin-top:8px;background:#1b1f24;
  cursor:default}
/* OpenStreetMap's own tiles are bright, and this page is not. Dimmed in CSS
   rather than swapped for a dark provider: the site already credits this one
   on the map page, and one tile source is one licence to keep track of. The
   circle is drawn as SVG on top and is not filtered with it. */
#nt-map .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.85)
                                  contrast(.9) saturate(.5)}
#nt-map .leaflet-control-attribution{background:rgba(20,24,28,.75);
                                     color:#8a8f98;font-size:9px}
#nt-map .leaflet-control-attribution a{color:#8a8f98}
.ntpop{font-size:22px;font-weight:700}

/* --- the end ----------------------------------------------------------- */
.ntend{margin-top:18px;padding:14px;border-radius:10px;background:#1d2228;
       border:1px solid #39424c}
.ntend h2{margin:0 0 6px;font-size:22px}
.ntend .score{font-size:14px;color:#8a8f98}
/* The sign-in nudge, directly under the heading. A text link and not another
   button: there is already an orange button a few lines down on this card,
   and two of them compete for the same tap. */
.ntsave{margin:0 0 9px}
.ntsave button.plain{font:inherit;font-size:14px;font-weight:700;
  background:none;border:0;padding:0;cursor:pointer;
  color:var(--orange,#e8913c);text-decoration:underline;
  text-underline-offset:2px;text-align:left}
.ntsave button.plain:hover{color:#f5a85c}
.ntvids{display:flex;flex-direction:column;gap:6px;margin-top:10px}
/* Underlined for the same reason the map popup's are (map.css says it at
   length): app.css takes the underline off every link on the site, and a
   list of orange sentences under a result card does not look clickable. */
.ntvids a{color:var(--orange,#e8913c);text-decoration:underline;
  text-underline-offset:2px}

/* --- slot 5, the state card (docs/advertising.md §3) ---------------------
   Lives in .ntsponsorbar, the same box a sponsor would, because it IS the
   same slot -- whoever is presenting this state, and a book when nobody is.
   Built to the sponsor block's proportions above so the bar does not change
   shape depending on which one is in it today, which it will once a state
   has town sponsors and this rotates between them.

   THE PHOTOGRAPH IS ON THE LEFT where a sponsor's artwork is on the right,
   and that is deliberate rather than an inconsistency. A sponsor's card is
   the thing being paid for and was given the edge for that reason -- Bryce,
   2026-11-07. A book cover is not being paid for; it is illustrating the
   words beside it, which is the ordinary reading order. */
/* THE SAME TREATMENT AS THE MAP CARD, 2026-11-15 -- taller, with the cover
   taking nearly all of it, "Title:" in front of the name and the item's own
   sentence under it. The map footer got it first and Bryce asked for it
   here; the reasoning is in map.css and is the same reasoning.

   min-height not height, so a long title grows the card rather than spilling
   out of it, and align-items:stretch makes the cover as tall as the row
   turns out to be without this file knowing the number. */
.ntslotcard{display:flex;align-items:stretch;gap:11px;padding:6px 8px;
  min-height:114px;border:1px solid var(--line);border-radius:9px;
  background:#1E2730;text-decoration:none;color:var(--offwhite)}
a.ntslotcard:hover{border-color:var(--orange);text-decoration:none}
/* 3:4, the ratio tools/trim_gift_photos.py pads every cover to. The width is
   fixed and the height comes from the row -- the cover sets the card's
   proportions rather than sitting beside the words as a thumbnail. */
.ntslotpic{flex:0 0 auto;width:78px;align-self:stretch;height:auto;
  object-fit:cover;border-radius:5px;background:#243039}
.ntslottext{display:flex;flex-direction:column;justify-content:center;
  gap:3px;min-width:0}
.ntslotname{font-size:13px;font-weight:500;line-height:1.3;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ntslotname b{font-weight:700}
a.ntslotcard:hover .ntslotname{color:var(--orange)}
/* Clamped, so a long `why` cannot push this card down the page -- it sits
   directly above the puzzle image and the photograph is what a player came
   for. */
.ntslotwhy{font-size:11px;line-height:1.35;color:rgba(245,241,232,.62);
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;
  -webkit-box-orient:vertical}
/* The disclosure, and on this page it is the second of two -- slot 9 at the
   foot of the results box carries its own. Both are required: each sits with
   the link it discloses, and a player may well see only one of them. */
.ntslotnote{font-size:10.5px;line-height:1.3;color:rgba(245,241,232,.48)}

/* --- slot 9, the product line (docs/advertising.md §3) -------------------
   One line under the three video links. `:not(:empty)` carries the spacing,
   the same trick .ntendsponsor uses below: the element is always in the
   markup and usually has nothing in it, and a margin on an empty div is a
   gap under the videos that nobody can see the reason for.

   UNDERLINED LIKE THE VIDEO LINKS ABOVE IT, because it is the same kind of
   thing in the same list and app.css takes the underline off every link on
   the site. NOT the same colour: the videos are the channel's own and this
   one leaves for Amazon, and a visitor is entitled to see that difference
   before clicking rather than after. Quieter, not hidden -- a disclosed
   affiliate link that is styled to disappear is worse than an undisclosed
   one, because the styling is the part that looks deliberate. */
.ntproductwrap:not(:empty){margin-top:14px;padding-top:12px;
  border-top:1px solid var(--line,#2a3540)}
.ntproduct{display:block;color:var(--offwhite,#f5f1e8);
  text-decoration:underline;text-underline-offset:2px;font-size:15px}
.ntproduct:hover{color:var(--orange,#e8913c)}
/* The disclosure sits UNDER the link it discloses and is never collapsed
   into it. §5 wants the visible half of the disclosure beside the thing it
   describes; the footer's formal Amazon sentence is a page away. */
.ntproductnote{display:block;margin-top:3px;font-size:12.5px;
  color:rgba(245,241,232,.5)}

@media (max-width:420px){
  .ntslot{width:26px;height:38px;font-size:20px}
  .ntkeys{gap:5px}
  .ntkrow{gap:5px}
  .ntkrow button{flex-basis:calc((100% - 9 * 5px) / 10);padding:13px 0;
    font-size:16px}
}

/* --- who is playing ----------------------------------------------------
   UNDER the game and quieter than it. Signing in buys a name on a board,
   not the right to play, so this is an offer at the foot of the page rather
   than a wall in front of it -- and it has to look like one, or the first
   thing a new visitor meets is a form. */
.ntwho{margin:26px auto 0;max-width:520px;padding:14px 16px;
  border:1px solid var(--line,#26323c);border-radius:12px;
  background:rgba(255,255,255,.02)}
/* The offer, read on its own. Bigger and in the page's own white against
   the muted paragraph under it, because it is the line that has to be worth
   stopping for -- the paragraph below only matters to somebody who already
   decided to read on. */
.ntwhohook{margin:0 0 9px;font-size:15.5px;line-height:1.4;font-weight:700;
  color:var(--offwhite,#F5F1E8)}
.ntwhoq{margin:0 0 10px;font-size:13px;line-height:1.6;color:var(--muted,#8a8f98)}
/* --offwhite, NOT --ink. app.css defines --ink as #1E2730, which is the
   charcoal this page is printed ON -- so a player's own name came out
   invisible against the card. The var exists and resolves, so the fallback
   never fired and nothing looked broken until it was on screen. */
.ntwhoq b{color:var(--offwhite,#F5F1E8)}
.ntwhorow{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.ntwhorow input{flex:1 1 180px;min-width:0;font:inherit;font-size:14px;
  padding:8px 10px;border-radius:8px;border:1px solid var(--line,#26323c);
  background:#0f161c;color:var(--offwhite,#F5F1E8)}
/* The surname is one letter, so the box is one letter wide. A full-width
   field asking for "M" invites a surname, and the check in 0028 would then
   refuse the row with nothing on screen explaining why. */
.ntwhorow input.tiny{flex:0 0 46px;text-align:center;text-transform:uppercase}
.ntwhorow input#nt-code{flex:0 0 120px;letter-spacing:.22em;text-align:center;
  font-size:17px}
.ntwhorow button{font:inherit;font-size:14px;padding:8px 14px;border-radius:8px;
  border:1px solid var(--orange,#e08a2b);background:var(--orange,#e08a2b);
  color:#1a1005;font-weight:600;cursor:pointer}
.ntwhorow button:hover{filter:brightness(1.08)}
.ntwho button.plain{background:none;border:0;padding:0 2px;font-weight:400;
  font-size:12px;color:var(--muted,#8a8f98);text-decoration:underline;
  cursor:pointer}
.ntwho button.plain:hover{color:var(--orange,#e08a2b)}
.ntnote{margin:9px 0 0;font-size:11.5px;line-height:1.6;
  color:var(--muted,#8a8f98)}

/* The new-puzzle email switch. Between the name line and the delete link,
   because it is a setting rather than an action -- and a checkbox beside two
   plain buttons needs the label to be the hit area, not the 13px box. */
.ntmail{margin:10px 0 0;font-size:12px;color:var(--muted,#8a8f98)}
.ntmail label{display:inline-flex;align-items:center;gap:7px;cursor:pointer}
.ntmail input{accent-color:var(--orange,#e08a2b);margin:0}
/* TWO BUGS IN ONE LINE, both found by Eva on an iPhone, 2026-11-08.
   She ticked the box and the words "Email me when a new puzzle is up"
   vanished -- box still there, still ticked, wording gone, and gone still
   after unticking and after rotating the phone. Only a reload brought it
   back. It never happened on Bryce's desktop Chrome.

   ONE: this said var(--ink), and app.css defines --ink as #1E2730 -- the
   charcoal this card is printed ON. The text was not removed, it was painted
   in the background colour. The note 30 lines above this one says exactly
   that, having been written the last time it happened to a player's own
   name, and I wrote the same line again anyway. The var exists and resolves,
   so the fallback never fires and nothing looks wrong until it is on a
   screen.

   TWO: a hover effect at all. iOS Safari leaves :hover STUCK on whatever was
   last tapped until something else is tapped, so even with a readable colour
   this would have flickered oddly on every phone. Behind (hover:hover) it
   simply does not exist on a touch screen, which is the honest version of
   what the rule was for. */
@media (hover:hover){
  .ntmail label:hover{color:var(--offwhite,#F5F1E8)}
}
.ntmailnote{margin-left:8px;color:var(--orange,#e08a2b)}

/* The delete link: last, quiet, and separated from Sign out by a rule, so
   the two are not neighbours a thumb can confuse. */
.ntgone{margin:12px 0 0;padding-top:10px;
  border-top:1px solid var(--line,#26323c)}
.ntgone button.plain{font-size:11px;opacity:.75}
.ntgone button.plain:hover{opacity:1;color:#ff9b8a}
.ntwhoq a{color:var(--orange,#e8913c)}

/* --- the leaderboard ---------------------------------------------------
   Under the game and above the sign-in strip, closed by default. Most
   visits never open it; the one time it opens itself is when a game ends,
   which is the one time anybody wants it. */
/* The state picker (Phase 5). Drawn only when there are two or more states,
   so these rules are dormant until the day Ohio has a live puzzle. A row of
   links rather than tabs: it has to survive five or six states on a phone,
   and wrapping text does that where a tab strip does not. */
/* THE FIRST-RUN CHOOSER. Bigger than the picker, because it is the page
   rather than a line on it: this is the only thing a first-time visitor sees
   until they answer, so the states are targets rather than tabs. It reuses
   .ntstates so the two can never drift into looking like different
   mechanisms -- it is the same list, asked once rather than offered always. */
.ntpick{margin:18px 0 14px;text-align:center;font-size:16px;
  color:var(--offwhite,#F5F1E8)}
.ntpicklist{gap:9px}
.ntpicklist a{font-size:15px;padding:11px 20px}
.ntpicknote{max-width:360px;margin:18px auto 0;text-align:center;
  font-size:12.5px;line-height:1.5}

/* ONE STATE: a label, not a chooser. It sits where the picker sits and reads
   as the same line of the page, so the day a second state arrives the line
   turns into the chooser and nothing moves around it. Quiet, because it is
   naming the game rather than offering anything. */
.ntstateone{margin:-8px 0 14px;text-align:center;font-size:13px;
  letter-spacing:.06em;text-transform:uppercase;
  color:var(--orange,#e8913c);font-weight:600}

.ntstates{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;
  margin:-4px 0 14px}
/* SWITCHED ON, for the same reason as the archive dates -- Bryce,
   2026-11-16. These were var(--muted) in a --line border, and grey on a dark
   page reads as DISABLED rather than as quiet: the state you were not playing
   looked like a state you could not play. Offwhite in a border that can be
   seen, over a faint lift, so the chip is a button by its shape.

   This rule is also the first-run chooser (.ntpicklist only resizes it), so
   the very first thing a new visitor is asked -- which state would you like
   to play? -- now offers two things that look pressable instead of two that
   look greyed out. That screen has nothing else on it. */
.ntstates a{font-size:12.5px;padding:4px 11px;border-radius:999px;
  text-decoration:none;color:var(--offwhite,#F5F1E8);
  border:1px solid rgba(245,241,232,.22);background:rgba(245,241,232,.04);
  transition:color .12s,border-color .12s,background .12s}
/* The text is already offwhite, so hover lights the border and deepens the
   lift rather than changing the colour -- nothing left to brighten. */
.ntstates a:hover{border-color:var(--orange,#e8913c);
  background:rgba(232,118,44,.10)}
/* THE ONE YOU ARE PLAYING keeps the orange, and now carries the same tint as
   the archive's current date. Colour says "this is the important one here";
   the border every chip shares says "all of these are clickable". */
.ntstates a.on{color:var(--orange,#e8913c);border-color:var(--orange,#e8913c);
  background:rgba(232,118,44,.12)}

/* .ntbtog was the "See the board" / "Hide the board" toggle, removed on
   2026-11-07 along with the hiding. Kept for a release in case something
   else borrowed `button.plain` inside it -- nothing does, so it can go. */
.ntbtog{margin:18px 0 0;text-align:center}
.ntbtog button.plain{background:none;border:0;font:inherit;font-size:12px;
  color:var(--muted,#8a8f98);text-decoration:underline;cursor:pointer;
  padding:4px}
.ntbtog button.plain:hover{color:var(--orange,#e8913c)}
/* --- the archive ------------------------------------------------------------
   Reuses .ntbwrap from board.css, so it sits in the same panel as the
   leaderboard directly above it rather than inventing a second card shape.
   A column of dates, wrapped, because they are short and a vertical list of
   150 of them would be a scrollbar. */
.ntarchw{margin-top:14px}
/* ORANGE, UNLIKE THE LEADERBOARD'S TITLE ABOVE IT -- Bryce, 2026-11-16. That
   one names a panel you are already looking at; this one is asking for a
   click, and it sits at the bottom of a long page after the board, the end
   card and the sign-in. Orange is the site's "this does something" colour --
   the same one on .ntarchback and on a hovered date -- so the heading now
   matches what it is asking for. The state span inside the leaderboard title
   is board.css's .ntbst and is unaffected: this rule is scoped to .ntarchw,
   which only the archive panel carries. */
.ntarchw .ntbtitle{color:var(--orange,#e8913c)}
.ntarchnote{margin:0 0 10px;font-size:11.5px;line-height:1.5}
/* THE BOLD HALF GOES OFFWHITE -- Bryce, 2026-11-16. .ntnote is muted, so
   bold inside it was only a brighter grey: emphasis you had to look for. The
   reason to click ("add to your leaderboard score!") is worth the full text
   colour, while the instruction before it stays quiet. Offwhite and not
   orange, deliberately -- orange is the heading above it and the date you are
   on, and a third orange thing in a panel this small would flatten all
   three. */
.ntarchnote b{color:var(--offwhite,#F5F1E8)}
.ntarchlist{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;
  gap:6px}
.ntarchlist li{margin:0}
.ntarchlist a,.ntarchlist span.on{display:block;padding:5px 9px;
  border-radius:8px;font-size:12.5px;border:1px solid var(--line,#26323c);
  text-decoration:none;white-space:nowrap}
/* THEY HAVE TO LOOK SWITCHED ON -- Bryce, 2026-11-16: "make it more obvious
   they're clickable". They were var(--muted), and grey text on a dark panel
   does not read as "a quiet link", it reads as DISABLED -- the same grey this
   stylesheet uses for a spent clue and for text nobody is meant to act on. So
   a row of playable puzzles looked like a row of greyed-out ones.

   Offwhite text in a border that can actually be seen, over a faint lift, so
   the chip reads as a button from its SHAPE rather than from its colour. That
   is the whole reason this is not orange: orange is doing emphasis on this
   page now (the heading above, the state in the leaderboard title), and if
   the things you click were orange too there would be nothing left to tell a
   label from a target. Shape says clickable, colour says important. */
.ntarchlist a{color:var(--offwhite,#F5F1E8);
  border-color:rgba(245,241,232,.22);background:rgba(245,241,232,.04)}
/* Hover only where hovering is a real thing -- iOS leaves :hover stuck on
   whatever was last tapped, which on a list of dates would leave a
   permanently highlighted one. Same lesson as .ntmail label, 2026-11-08. */
@media (hover:hover){
  .ntarchlist a:hover{border-color:var(--orange,#e8913c);
    background:rgba(232,118,44,.10)}
}
/* The one you are on: named rather than merely styled, so it does not read
   as a link that does nothing. */
.ntarchlist span.on{color:var(--offwhite,#F5F1E8);
  border-color:var(--orange,#e8913c);background:rgba(232,118,44,.12)}
/* PLAYED: struck through, and still a button -- Bryce, 2026-11-17, "so the
   player knows which ones they've played and which are available".

   The border and the lift stay exactly as they are, because a finished
   puzzle is still worth opening: it shows the town and how it went. What
   changes is the text, which goes dim and gets a line through it -- the two
   together, since a line alone on full-brightness text reads as a mistake
   and dimming alone is the greyed-out look the chips were just rescued from.

   The strike is drawn in orange at full opacity over the dimmed text, so the
   mark stays legible at the size these sit at; line-through inherits the
   text colour otherwise and would fade with it into something you have to
   hunt for on a phone. */
.ntarchlist a.done,.ntarchlist span.on.done{
  color:rgba(245,241,232,.45);
  text-decoration:line-through;
  text-decoration-color:var(--orange,#e8913c);
  text-decoration-thickness:1.5px}
/* The one you are ON and have played keeps its orange text -- it is still
   where you are, which outranks being done with. */
.ntarchlist span.on.done{color:var(--orange,#e8913c);opacity:.75}
@media (hover:hover){
  /* Hovering a played one brings the text back up: you can still open it,
     and the chip should say so under the pointer. */
  .ntarchlist a.done:hover{color:rgba(245,241,232,.75)}
}

.ntarchmore{margin:10px 0 0}
.ntarchmore button.plain{background:none;border:0;font:inherit;font-size:12px;
  color:var(--muted,#8a8f98);text-decoration:underline;cursor:pointer;
  padding:4px 0}
@media (hover:hover){
  .ntarchmore button.plain:hover{color:var(--orange,#e8913c)}
}
.ntarchback{margin:10px 0 0;font-size:12.5px}
.ntarchback a{color:var(--orange,#e8913c)}

/* The share button, on the end card. */
.ntshare{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}
.ntshare button{font:inherit;font-size:13px;padding:7px 13px;border-radius:8px;
  border:1px solid var(--orange,#e08a2b);background:var(--orange,#e08a2b);
  color:#1a1005;font-weight:600;cursor:pointer}
.ntshare button:hover{filter:brightness(1.08)}
.ntshare .ntnote{margin:0}
/* Shown only when the clipboard refuses -- an http:// page on a phone has no
   clipboard API, and a Copy button that does nothing is the worst outcome. */
.ntsharetx{width:100%;margin-top:9px;font:inherit;font-size:13px;
  line-height:1.5;padding:8px 10px;border-radius:8px;
  border:1px solid var(--line,#26323c);background:#0f161c;
  color:var(--offwhite,#F5F1E8);resize:vertical}

/* A move that did not land. Hidden until there is something to say. */
.ntmsg{max-width:520px;margin:10px auto 0;padding:8px 11px;border-radius:9px;
  border:1px solid #6b4a1c;background:#241a0c;color:#e8c98a;
  font-size:12.5px;line-height:1.5;text-align:center}
.ntmsg[hidden]{display:none}

/* --- sponsorship (Phase 6b) -----------------------------------------------
   The game page is dark, unlike the map popup -- the colours here are the
   page's own. Quiet in both places: a sponsor is a line on the page, not the
   reason anyone opened it. */
/* A BLOCK, NOT A ROW OF THREE. The label used to be a caption sitting
   between the card and the name; it is the section's heading now and sits
   over both. Under it one row: the words on the left, and the business's own
   artwork hard right and as tall as the row is. Bryce, 2026-11-07 -- the
   card is the thing being paid for, so it gets the space and the edge. */
.ntsponsorbar{margin:0 0 14px}
/* THE SPONSOR AND THE BOOK ARE THE SAME HEIGHT IN THIS BAR, 2026-11-15, and
   that matters more here than on the map. This slot rotates between the two
   kinds day by day on a state that has town sponsors, and the bar sits
   directly ABOVE the puzzle photograph -- so a 17px difference would move
   the picture down the page from one day to the next, on the one element a
   player actually came for. Scoped to the bar: .ntendsponsor at the foot of
   the results box is a different slot with its own proportions. */
.ntsponsorbar .ntsponsor{min-height:118px;justify-content:center}
.ntsponsor{display:flex;flex-direction:column;gap:7px;padding:9px 11px;
  border:1px solid var(--line);border-radius:9px;background:#1E2730;
  text-decoration:none;color:var(--offwhite)}
a.ntsponsor:hover{border-color:var(--orange);text-decoration:none}
/* Its own line, so it reads as the heading of the box rather than a word in
   it. Left-aligned: it introduces the line underneath, where the
   Leaderboard's heading titles a panel from above its rows and is centred. */
.ntsponsor .ntslabel{display:block;font-size:10px;font-weight:700;
  letter-spacing:.05em;text-transform:uppercase;color:rgba(245,241,232,.5)}
/* `stretch` is what makes the card as tall as the words beside it, whether
   that is one line or three. min-height stops it collapsing to nothing for a
   sponsor with a short name and no phrase. */
.ntsbody{display:flex;align-items:stretch;gap:12px;min-height:46px}
.ntsponsor .ntscard{flex:0 0 auto;align-self:stretch;width:62px;height:auto;
  object-fit:contain;border-radius:6px;background:#243039}
.ntsponsor .ntstext{display:flex;flex-direction:column;justify-content:center;
  gap:2px;flex:1 1 auto;min-width:0}
/* BIGGER -- Bryce, 2026-11-08. At 14.5px the business's name was the
   smallest confident thing in the box and read as a caption for the artwork
   beside it, which has the opposite of the intended effect: the name is what
   the sponsor is paying to have remembered. It is now the largest text in
   the block, above its own phrase and well above the label over it. */
.ntsponsor .ntsname{font-size:17px;font-weight:700;text-align:left;
  line-height:1.2}
a.ntsponsor:hover .ntsname{color:var(--orange)}
/* 0051 records it, 0052 publishes it. Quiet, and not orange on hover: the
   name is the link, the phrase is what the business says about itself. */
.ntsponsor .ntsphrase{font-size:12px;line-height:1.35;text-align:left;
  color:rgba(245,241,232,.55);overflow-wrap:anywhere}
/* The end card has the room, so the artwork and the name get more of it
   there -- and that is also the one a player is reading rather than
   glancing past on the way to the puzzle. */
.ntendsponsor .ntsbody{min-height:62px}
.ntendsponsor .ntscard{width:84px}
.ntendsponsor .ntsname{font-size:19px}
.ntendsponsor:not(:empty){margin-top:14px}


/* --- COMING BACK TO A ZOOMED PAGE (2026-11-06) ----------------------------
   The same fix the public map got today, for the same two reasons, applied
   here because this page has MORE of the trigger and not less.

   iOS Safari zooms the whole page when you focus a text input whose font is
   under 16px. `.ntwhorow input` is 14px, and these are not an incidental
   search box -- they are the fields a player actually types in: email, first
   name, home town. (#nt-code is already 17px and was never affected; its own
   rule is more specific and still wins.) Once the page is at that scale iOS
   restores it with the tab, and the player comes back to a magnified board.

   This page is in less of a trap than the map is: #nt-map is a 220px panel
   rather than the whole viewport, so there is page left over to pinch and a
   stuck scale can be undone by hand. The trigger is likelier, the dead end is
   not as dead. Both halves are still worth having -- nametown.js does the
   reset on return.

   ON THE POINTER, NOT ON THE WIDTH: a phone in landscape is wider than any
   sensible phone breakpoint -- 932px on an iPhone 14 Pro Max -- so a
   width-based rule would quietly stop applying when the phone is turned, and
   the auto-zoom would come back with it. What matters is whether a finger is
   doing the tapping. */
@media (pointer:coarse){
  .ntwhorow input{font-size:16px}
}

/* No double-tap-to-zoom on the board, the keyboard or the clue buttons --
   the other way this page can end up at a scale nobody chose. `manipulation`
   still ALLOWS pinch-zoom, so nothing is taken away from a player who wants
   to magnify the page; it only drops the double-tap. Leaflet sets its own
   touch-action on .leaflet-container, so the clue map's gestures are
   untouched by this. */
html,body{touch-action:manipulation}
