/* letter-clicker.css -- the Letter Clicker page's own parts (/letter-clicker/, live 2026-11-13; /preview/ keeps its own copy; 2026-11-10). The rest is shop.css (the
   storefront's frame, cards, segments, pills, .sw swatches), griptok.css (buttons, help lines, the view switch),
   bubble.css (the stage element, the test box) and tabien.css (the text field), shared by id and class. */

/* the name: one field, the note under it */
#nameIn{text-transform:none;letter-spacing:.02em}
#nameMsg{margin:-4px 2px 0;font-size:12px;line-height:1.55;color:var(--ink3)}
#nameMsg:empty{display:none}
#nameMsg.warn{color:#b45309}

/* A-Z: nine to a row on a phone, thirteen from 520px */
.lcletters{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:5px}
@media (min-width:520px){.lcletters{grid-template-columns:repeat(13,minmax(0,1fr))}}
.lcl{min-height:40px;padding:0;border:0;border-radius:10px;background:#0f172a0a;color:var(--ink2);
  font:800 17px/1 'IBM Plex Sans Thai',sans-serif}
.lcl[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 0 0 2px var(--blue)}
#letterAuto{align-self:flex-start;min-height:32px;padding:0;border:0;background:none;color:var(--green-ink);
  font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
#letterAuto[hidden]{display:none}

/* the cap's colours and the cord's (shop.css .sw) */
.lccaps{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:2px}
.lccaps .sw[hidden],.tbcords .sw[hidden]{display:none}
.tbcords{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px}
.tbcords[hidden]{display:none}
#inkCard .segs button,#cordCard .segs button{font-size:13px}

/* press it: under the 3D, beside the view switch */
.viewbar{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
#clickBtn{min-height:36px;padding:0 14px;border:0;border-radius:999px;background:var(--ink);color:#fff;font-size:13px;font-weight:700;
  display:inline-flex;align-items:center;gap:6px}
#clickBtn:active{transform:translateY(1px)}
#clickBtn svg{width:16px;height:16px}

/* the test print's two files side by side: the keycap, the base */
.lcdl{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lcdl .gtghost{min-height:46px;margin:0;font-size:14px}
