/* Number 10's typewriter lettering, served from this plugin so no request goes to Google. */
@font-face { font-family: 'Courier Prime'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/courier-prime-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/courier-prime-400.woff2) format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/courier-prime-700.woff2) format('woff2'); }
/* The Plumbline daily games. Uses the site's fonts and colours (site.css) where they are loaded, with fallbacks. */
.plg {
	--g-ink: var(--pl-ink, #121212); --g-muted: var(--pl-muted, #5c5662); --g-line: var(--pl-line, #e3e0e5); --g-soft: var(--pl-soft, #f5f4f6); --g-act: var(--pl-act, #c8102e);
	--g-head: var(--pl-head, Georgia, serif); --g-ui: var(--pl-ui, "Helvetica Neue", Arial, sans-serif);
	/* Broadsheet look: white page, black lines, soft colour. Every colour comes from two theme inks, --t1 and --t2
	   (see the themes at the end of this file); the site's red stays for actions and mistakes. */
	--t1: #00703c; --t2: #b50938;
	--w-mix: #fff; --w-bg: #fff; --w-on-ink: #fff; --w-sel-ink: #fff;
	--w-paper: #ffffff; --w-tile: #efefef; --w-tile-hover: #e3e3e3; --w-sel: #121212;
	--w-entry: color-mix(in srgb, var(--t1) 88%, #000); --w-hi: color-mix(in srgb, var(--t2) 26%, var(--w-mix)); --w-hi-edge: var(--t2);
	--w-peer: color-mix(in srgb, var(--t1) 7%, var(--w-mix)); --w-same: color-mix(in srgb, var(--t1) 18%, var(--w-mix));
	--l0: color-mix(in srgb, var(--t1) 26%, var(--w-mix)); --l1: color-mix(in srgb, var(--t2) 26%, var(--w-mix));
	--l2: color-mix(in srgb, var(--t1) 46%, var(--w-mix)); --l3: color-mix(in srgb, var(--t2) 46%, var(--w-mix));
	--r0: color-mix(in srgb, var(--t1) 20%, var(--w-mix)); --r1: color-mix(in srgb, var(--t2) 20%, var(--w-mix)); --r2: color-mix(in srgb, var(--t1) 40%, var(--w-mix));
	--r3: color-mix(in srgb, var(--t2) 40%, var(--w-mix)); --r4: color-mix(in srgb, var(--g-ink) 8%, var(--w-mix)); --r5: color-mix(in srgb, var(--t1) 9%, var(--w-mix)); --r6: color-mix(in srgb, var(--t2) 9%, var(--w-mix));
	--r7: color-mix(in srgb, var(--t1) 58%, var(--w-mix)); --r8: color-mix(in srgb, var(--t2) 58%, var(--w-mix));
	max-width: 620px; margin: 0 auto 40px; color: var(--g-ink); font-family: var(--g-ui);
}
.plg *, .plg *::before, .plg *::after { box-sizing: border-box; }
.plg button { font-family: var(--g-ui); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.plg [hidden] { display: none !important; }
.plg-head { border-top: 2px solid var(--g-ink); padding-top: 12px; margin-bottom: 18px; }
.plg-head h2 { font-family: var(--g-head); font-size: clamp(30px, 6vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 0 0 6px; }
.plg-head h2 span { color: var(--g-muted); font-weight: 600; font-size: .6em; letter-spacing: 0; }
.plg-crumb { margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.plg-crumb a, .plg-more a { color: var(--g-ink); }
.plg-date { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--g-muted); text-transform: uppercase; letter-spacing: .06em; }
.plg-rules { margin: 0; font-family: var(--pl-body, Georgia, serif); font-size: 16.5px; line-height: 1.5; color: #3d3842; }
.plg-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.plg .plg-ghost { background: var(--w-bg); color: var(--g-ink); border: 1.5px solid var(--g-ink); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 700; }
.plg .pl-btn-act { background: var(--g-act); color: #fff; border: 1.5px solid var(--g-act); border-radius: 999px; padding: 10px 22px; font-size: 14px; font-weight: 700; }
.plg button:disabled { opacity: .45; cursor: default; }
.plg-msg { min-height: 1.4em; margin: 12px 0 6px; text-align: center; font-weight: 700; font-size: 15px; }

/* Common Ground */
.plg-found { display: grid; gap: 8px; margin-bottom: 8px; }
.plg-group { border-radius: 6px; padding: 12px 10px; text-align: center; animation: plg-pop .3s ease-out; }
.plg-group b { display: block; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plg-group span { display: block; font-size: 15px; margin-top: 3px; }
.plg-l0 { background: var(--l0); } .plg-l1 { background: var(--l1); } .plg-l2 { background: var(--l2); } .plg-l3 { background: var(--l3); }
.plg-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.plg .plg-tile { aspect-ratio: 5 / 4; min-height: 64px; border: 0; border-radius: 6px; background: var(--w-tile); color: var(--g-ink); font-weight: 800; font-size: clamp(12px, 3.4vw, 17px); letter-spacing: .02em; padding: 4px; line-height: 1.1; overflow-wrap: anywhere; transition: transform .1s, background .1s; }
.plg .plg-tile.is-long { font-size: clamp(10px, 2.5vw, 14px); letter-spacing: 0; }
.plg .plg-tile:hover { background: var(--w-tile-hover); }
.plg .plg-tile.is-on { background: var(--w-sel); color: var(--w-sel-ink); transform: scale(.97); }
.plg-tiles.is-shake { animation: plg-shake .35s; }
.plg-lives { text-align: center; font-size: 14px; color: var(--g-muted); margin: 0 0 14px; }
.plg-lives i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--g-line); margin: 0 3px; vertical-align: -1px; }
.plg-lives i.is-left { background: #3d3842; }
@keyframes plg-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes plg-pop { from { transform: scale(.96); opacity: .4; } }

/* Seating Plan */
.plg-sp-top { justify-content: flex-end; margin-bottom: 8px; }
.plg-timer { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 16px; }
.plg-board { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); max-width: 480px; margin: 0 auto; border: 2px solid var(--g-ink); background: var(--g-ink); gap: 0; }
.plg .plg-cell { aspect-ratio: 1; border: 0; padding: 0; margin: 0; display: grid; place-items: center; color: var(--g-ink); box-shadow: inset 0 0 0 .5px rgba(18,18,18,.25); }
.plg-board .plg-cell { border: 0 solid var(--g-ink); }
.plg-board .plg-cell.bt { border-top-width: 1.5px; } .plg-board .plg-cell.bb { border-bottom-width: 1.5px; }
.plg-board .plg-cell.bl { border-left-width: 1.5px; } .plg-board .plg-cell.br { border-right-width: 1.5px; }
.plg-b0 { background: var(--r0); } .plg-b1 { background: var(--r1); } .plg-b2 { background: var(--r2); } .plg-b3 { background: var(--r3); }
.plg-b4 { background: var(--r4); } .plg-b5 { background: var(--r5); } .plg-b6 { background: var(--r6); } .plg-b7 { background: var(--r7); } .plg-b8 { background: var(--r8); }
.plg .plg-cell { min-width: 0; color: var(--g-ink); }
.plg-cell svg { width: 88%; height: auto; aspect-ratio: 1; display: block; }
/* The Commons chamber: green benches in a dark oak frame, the Speaker's chair at one end and the Bar at the other. */
.plg-chamber, .plg-frame { max-width: 500px; margin: 0 auto; padding: 0; background: none; }
.plg-frame { max-width: 520px; width: 100%; }
.plg-chair, .plg-frame-top { margin: 0; padding: 0 0 6px; text-align: center; }
.plg-chair span, .plg-frame-top span { display: inline-block; color: var(--g-muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.plg-bar, .plg-frame-foot { margin: 8px 0 0; text-align: center; color: var(--g-muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.plg-chamber .plg-board { border-color: var(--g-ink); }
.plg-sitting { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--g-muted); }
.plg-x { font-size: clamp(16px, 4vw, 24px); font-weight: 400; color: rgba(18,18,18,.55); line-height: 1; }
.plg-cell.is-bad { color: var(--g-act); background-image: repeating-linear-gradient(45deg, rgba(200,16,46,.18) 0 4px, transparent 4px 8px); }
.plg-sp .plg-controls { margin-top: 4px; }

/* End of game */
.plg-end { margin-top: 22px; border-top: 2px solid var(--g-ink); padding-top: 14px; text-align: center; }
.plg-end h3 { font-family: var(--g-head); font-size: 26px; margin: 0 0 12px; }
.plg-stats { display: flex; justify-content: center; gap: 22px; margin: 0 0 16px; }
.plg-stats div { min-width: 56px; }
.plg-stats dd { margin: 0; font-family: var(--g-head); font-size: 30px; font-weight: 800; line-height: 1; order: -1; }
.plg-stats dt { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--g-muted); margin-top: 4px; }
.plg-stats div { display: flex; flex-direction: column; }
.plg-next { font-size: 14px; color: var(--g-muted); }
.plg-shared { min-height: 1.2em; font-size: 14px; white-space: pre-line; margin: 8px 0; }
.plg-story { margin: 14px 0 0; padding: 14px; background: var(--g-soft); text-align: left; }
.plg-story span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.plg-story a { font-family: var(--g-head); font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--g-ink); text-decoration: none; }
.plg-story a:hover { text-decoration: underline; }
.plg-more { margin: 14px 0 0; font-weight: 700; }

/* Games page cards */
.plg-cards { display: grid; gap: 14px; }
.plg-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border: 1.5px solid var(--g-ink); border-radius: 8px; color: var(--g-ink); text-decoration: none; transition: background .15s; }
.plg-card:hover { background: var(--g-soft); color: var(--g-ink); }
.plg-card-art { width: 96px; height: 96px; border-radius: 6px; display: grid; place-items: center; }
.plg-card-common-ground .plg-card-art { grid-template-columns: 1fr 1fr; gap: 6px; padding: 14px; background: var(--w-bg); border: 1.5px solid var(--g-ink); }
.plg-card-common-ground .plg-card-art i { width: 100%; height: 100%; border-radius: 4px; background: var(--l0); }
.plg-card-common-ground .plg-card-art i:nth-child(2) { background: var(--l1); } .plg-card-common-ground .plg-card-art i:nth-child(3) { background: var(--l2); } .plg-card-common-ground .plg-card-art i:nth-child(4) { background: var(--l3); }
.plg-card-seating-plan .plg-card-art { background: linear-gradient(90deg, var(--r0) 50%, var(--r1) 50%); border: 1.5px solid var(--g-ink); color: #121212; }
.plg-card-seating-plan .plg-card-art svg { width: 44px; height: 44px; }
.plg-card-seating-plan .plg-card-art circle[fill="#fff"] { fill: var(--t2); }
.plg-card-text b { display: block; font-family: var(--g-head); font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.plg-card-text span { display: block; font-family: var(--pl-body, Georgia, serif); font-size: 16px; color: #3d3842; margin: 4px 0 6px; }
.plg-card-text em { font-style: normal; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--g-act); }
.plg-news { max-width: 620px; margin: 0 auto 40px; }
@media (max-width: 480px) {
	.plg-card { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.plg-card-art { width: 72px; height: 72px; }
	.plg-card-common-ground .plg-card-art { padding: 10px; gap: 5px; }
	.plg-stats { gap: 12px; }
	.plg-tiles { gap: 6px; }
}
.plg .plg-cell:disabled { opacity: 1; cursor: default; }
.plg-house { margin: 14px 0 0; font-size: 14px; line-height: 1.6; }
.plg-house-h { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--g-muted); }
.plg-house span:not(.plg-house-h) { white-space: nowrap; margin: 0 7px; }
.plg-house i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }

/* Reshuffle (sudoku) */
.plg-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.plg .plg-levels button { border: 1.5px solid var(--g-ink); border-radius: 6px; background: var(--w-bg); color: var(--g-ink); padding: 8px 4px; display: grid; gap: 2px; }
.plg .plg-levels button[aria-selected="true"] { box-shadow: inset 0 -4px 0 var(--t2); }
.plg-levels b { font-size: 15px; font-weight: 800; }
.plg-levels span { font-size: 11.5px; font-weight: 600; color: var(--g-muted); letter-spacing: .02em; }
.plg .plg-levels button[aria-selected="true"] { background: var(--g-ink); color: var(--w-on-ink); }
.plg .plg-levels button[aria-selected="true"] span { color: inherit; opacity: .75; }
.plg-su-top { justify-content: space-between; margin-bottom: 8px; }
.plg .plg-gear { background: none; border: 0; font-size: 13px; font-weight: 700; text-decoration: underline; color: var(--g-ink); padding: 4px; }
.plg-su-set { display: grid; gap: 8px; padding: 12px 14px; margin: 0 0 12px; background: var(--g-soft); font-size: 14px; }
.plg-su-set label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.plg-su-set input { margin-top: 3px; accent-color: var(--g-ink); }
.plg-su-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 480px; margin: 0 auto; border: 2.5px solid var(--g-ink); background: var(--g-ink); gap: 2.5px; }
.plg-dept { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; min-width: 0; }
.plg .plg-sc { aspect-ratio: 1; min-width: 0; border: 0; padding: 0; margin: 0; background: var(--w-paper); color: var(--w-entry); font-family: var(--g-ui); font-size: clamp(17px, 5vw, 26px); font-weight: 600; display: grid; place-items: center; position: relative; }
.plg .plg-sc.is-given { color: var(--g-ink); font-weight: 800; }
.plg .plg-sc.is-peer { background: var(--w-peer); }
.plg .plg-sc.is-same { background: var(--w-same); }
.plg .plg-sc.is-sel { background: var(--w-hi); box-shadow: inset 0 0 0 2px var(--w-hi-edge); }
.plg .plg-sc.is-bad { color: var(--g-act); background-image: repeating-linear-gradient(45deg, rgba(200,16,46,.14) 0 4px, transparent 4px 8px); }
.plg .plg-sc.is-wrong { color: var(--g-act); text-decoration: line-through; text-decoration-thickness: 2px; }
.plg .plg-sc:disabled { opacity: 1; cursor: default; }
.plg-notes { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; height: 100%; padding: 2px; }
.plg-notes i { font-style: normal; font-size: clamp(7.5px, 2.1vw, 11px); font-weight: 600; color: var(--g-muted); line-height: 1; display: grid; place-items: center; }
.plg-su-main { display: grid; gap: 14px; }
.plg-su-side { display: grid; gap: 10px; align-content: start; max-width: 480px; width: 100%; margin: 0 auto; }
.plg-mode { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--g-ink); border-radius: 6px; overflow: hidden; }
.plg .plg-mode button { border: 0; background: var(--w-bg); color: var(--g-ink); padding: 10px 6px; font-size: 15px; font-weight: 700; }
.plg .plg-mode button[aria-checked="true"] { background: var(--g-ink); color: var(--w-on-ink); }
.plg-pad { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px; }
.plg .plg-pad button { aspect-ratio: 3 / 4; border: 1px solid rgba(18,18,18,.18); border-radius: 6px; background: var(--w-tile); color: var(--g-ink); font-size: clamp(17px, 5vw, 24px); font-weight: 800; padding: 6px; display: grid; place-items: center; }
.plg .plg-pad button:hover { background: var(--w-tile-hover); }
.plg .plg-pad button.is-used { opacity: .3; }
/* In candidate mode each key shows its number where it will sit as a pencil mark, as on the grid. */
.plg .plg-pad.is-cand button { font-size: clamp(12px, 3.2vw, 16px); }
.plg-pad-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plg .plg-pad-tools button { border: 1px solid rgba(18,18,18,.18); border-radius: 6px; background: var(--w-tile); color: var(--g-ink); padding: 10px; font-size: 16px; font-weight: 800; }
.plg .plg-pad-tools button span { font-size: 24px; line-height: .8; font-weight: 400; }
.plg-auto { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.plg-auto input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--g-ink); flex: none; }
.plg-auto small, .plg-hint small { display: block; font-size: 12.5px; color: var(--g-muted); font-weight: 500; line-height: 1.35; margin-top: 2px; }
.plg .plg-hint { text-align: left; border: 1.5px solid var(--g-ink); border-radius: 6px; background: var(--w-bg); color: var(--g-ink); padding: 9px 12px; font-size: 15px; }
.plg .plg-hint:hover { background: var(--g-soft); }
.plg.plg-wide { max-width: 900px; }
@media (min-width: 760px) {
	.plg-su-main { grid-template-columns: minmax(0, 1fr) 240px; align-items: start; }
	.plg-su-side { margin: 0; }
	.plg-pad { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.plg .plg-pad button, .plg .plg-pad.is-cand button { aspect-ratio: 1; font-size: 22px; }
	.plg .plg-pad.is-cand button { font-size: 17px; }
	.plg .plg-pad.is-cand .p0, .plg .plg-pad.is-cand .p3, .plg .plg-pad.is-cand .p6 { justify-items: start; }
	.plg .plg-pad.is-cand .p2, .plg .plg-pad.is-cand .p5, .plg .plg-pad.is-cand .p8 { justify-items: end; }
	.plg .plg-pad.is-cand .p0, .plg .plg-pad.is-cand .p1, .plg .plg-pad.is-cand .p2 { align-items: start; }
	.plg .plg-pad.is-cand .p6, .plg .plg-pad.is-cand .p7, .plg .plg-pad.is-cand .p8 { align-items: end; }
}
.plg .plg-ghost[aria-pressed="true"] { background: var(--g-ink); color: var(--w-on-ink); }
.plg-card-reshuffle .plg-card-art { display: grid; place-items: stretch; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 2px; padding: 8px; background: #121212; }
.plg-card-reshuffle .plg-card-art i { display: grid; place-items: center; background: var(--w-paper); font-style: normal; font-weight: 800; font-size: 18px; color: #121212; border-radius: 2px; }
.plg-card-reshuffle .plg-card-art i:nth-child(even) { background: var(--l0); }
@media (max-width: 480px) { .plg-card-reshuffle .plg-card-art i { font-size: 13px; } .plg-card-reshuffle .plg-card-art { padding: 6px; } }

/* Paper Trail */
.plg-pt { --pt-word: color-mix(in srgb, var(--t1) 30%, var(--w-mix)); --pt-word-line: color-mix(in srgb, var(--t1) 45%, var(--w-mix));
	--pt-head: color-mix(in srgb, var(--t2) 38%, var(--w-mix)); --pt-head-line: color-mix(in srgb, var(--t2) 55%, var(--w-mix)); }
.plg-pt-clue { max-width: 420px; margin: 0 auto 6px; padding: 10px 14px 12px; border: 1.5px solid var(--g-ink); border-radius: 8px; text-align: center; background: var(--w-bg); }
.plg-pt-clue span { display: block; color: var(--g-muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.plg-pt-clue b { display: block; font-family: var(--g-head); font-size: clamp(22px, 5vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 4px 0; }
.plg-pt-clue em { display: block; font-style: normal; font-size: 13px; color: var(--g-muted); }
.plg-pt-word { min-height: 1.3em; margin: 8px 0; text-align: center; font-size: 22px; font-weight: 800; letter-spacing: .12em; }
.plg-pt-board { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(8, minmax(0, 1fr)); aspect-ratio: 3 / 4; max-width: 360px; margin: 0 auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.plg-pt-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.plg-pt-lines polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: .3; }
.plg-pt-lines .is-word { stroke: var(--pt-word-line); }
.plg-pt-lines .is-head { stroke: var(--pt-head-line); }
.plg-pt-lines .is-sel { stroke: var(--w-sel); stroke-width: .22; }
.plg-pt-lines .is-hint { stroke: var(--t2); stroke-width: .06; stroke-dasharray: .12 .1; }
.plg .plg-pt-cell { position: relative; z-index: 1; display: grid; place-items: center; border: 0; padding: 0; margin: 0; background: none; color: var(--g-ink); min-width: 0; touch-action: none; }
.plg-pt-cell span { display: grid; place-items: center; width: 78%; aspect-ratio: 1; border-radius: 50%; font-size: clamp(18px, 5.4vw, 25px); font-weight: 800; line-height: 1; transition: background .1s, color .1s, transform .1s; }
.plg .plg-pt-cell:hover span { background: var(--w-tile); }
.plg .plg-pt-cell.is-sel span { background: var(--w-sel); color: var(--w-sel-ink); transform: scale(1.04); }
.plg .plg-pt-cell.is-word span { background: var(--pt-word); }
.plg .plg-pt-cell.is-head span { background: var(--pt-head); }
.plg .plg-pt-cell.is-hint span { box-shadow: 0 0 0 2px var(--t2); }
.plg .plg-pt-cell:disabled { opacity: 1; cursor: default; }
.plg-pt-meter { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 10px auto 0; max-width: 420px; font-size: 13.5px; color: var(--g-muted); text-align: left; }
.plg-pt-pips { display: inline-flex; gap: 4px; flex: none; }
.plg-pt-pips i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--g-ink); }
.plg-pt-pips i.is-on { background: var(--t2); border-color: var(--t2); }
.plg-pt-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 14px 0 4px; }
.plg-pt-list li { padding: 5px 12px; border-radius: 999px; background: var(--pt-word); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.plg-pt-list li.is-head { background: var(--pt-head); }
.plg-pt-list li span { font-weight: 600; text-transform: uppercase; font-size: 10.5px; letter-spacing: .1em; color: var(--g-muted); }
.plg-card-paper-trail .plg-card-art { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); place-items: stretch; gap: 3px; padding: 12px 8px; background: var(--w-bg); border: 1.5px solid var(--g-ink); }
.plg-card-paper-trail .plg-card-art i { display: grid; place-items: center; border-radius: 50%; font-style: normal; font-weight: 800; font-size: 13px; color: var(--g-ink); }
.plg-card-paper-trail .plg-card-art i.w { background: color-mix(in srgb, var(--t1) 30%, var(--w-mix)); }
.plg-card-paper-trail .plg-card-art i.h { background: color-mix(in srgb, var(--t2) 38%, var(--w-mix)); }
@media (max-width: 480px) { .plg-card-paper-trail .plg-card-art { padding: 8px 4px; gap: 2px; } .plg-card-paper-trail .plg-card-art i { font-size: 10px; } }
.plg .pl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Colour themes: two inks each, all from Westminster rather than any one party. Readers pick one; the site sets the default. */
/* Campaign Trail */
.plg-ct-board { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); max-width: 440px; margin: 0 auto; border: 2px solid var(--g-ink); background: var(--w-bg); touch-action: none; user-select: none; -webkit-user-select: none; }
.plg-ct-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.plg-ct-line polyline { fill: none; stroke: color-mix(in srgb, var(--t1) min(92%, calc(55% * var(--v, 1))), var(--w-mix)); stroke-width: .42; stroke-linecap: round; stroke-linejoin: round; }
.plg .plg-ct-cell { position: relative; aspect-ratio: 1; border: 0; padding: 0; margin: 0; background: none; box-shadow: inset 0 0 0 .5px color-mix(in srgb, var(--g-ink) 22%, transparent); display: grid; place-items: center; touch-action: none; min-width: 0; }
.plg .plg-ct-cell.is-on { background: color-mix(in srgb, var(--t1) 12%, var(--w-mix)); }
.plg-ct-cell b { position: relative; z-index: 2; display: grid; place-items: center; width: 64%; aspect-ratio: 1; border-radius: 50%; background: var(--g-ink); color: var(--w-bg); font-size: clamp(14px, 4.4vw, 20px); font-weight: 800; }
.plg .plg-ct-cell.is-end::after { content: ""; position: absolute; z-index: 2; width: 62%; aspect-ratio: 1; background: var(--t2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h14a3 3 0 0 1 3 3v9h-2a2 2 0 0 0-4 0H9a2 2 0 0 0-4 0H3V5a1 1 0 0 1 1-1zm1 3v4h4V7zm6 0v4h4V7zm6 0v4h3V8a1 1 0 0 0-1-1z'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h14a3 3 0 0 1 3 3v9h-2a2 2 0 0 0-4 0H9a2 2 0 0 0-4 0H3V5a1 1 0 0 1 1-1zm1 3v4h4V7zm6 0v4h4V7zm6 0v4h3V8a1 1 0 0 0-1-1z'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.plg-ct-next { min-height: 1.4em; margin: 0 0 8px; text-align: center; font-family: var(--g-head); font-size: 19px; font-weight: 800; }
.plg-ct-next span { font-family: var(--g-ui); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--g-muted); vertical-align: 2px; }
.plg-ct-next b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--g-ink); color: var(--w-bg); font-family: var(--g-ui); font-size: 13px; vertical-align: 2px; }
.plg-ct-tour { font-size: 13.5px; line-height: 1.5; color: var(--g-muted); margin: 12px 0 0; }
/* Stops look like rosettes pinned to the map. */
.plg-ct-cell.is-stop b { box-shadow: 0 0 0 2.5px var(--w-bg), 0 0 0 5px color-mix(in srgb, var(--t2) 70%, var(--w-mix)); }
.plg .plg-ct-cell.is-end.is-stop::after { display: none; }
.plg .plg-ct-cell.is-end.is-stop b { outline: 3px solid var(--t2); outline-offset: 5px; }
.plg .plg-ct-cell:disabled { opacity: 1; cursor: default; }
.plg-card-campaign-trail .plg-card-art { background: var(--w-bg); border: 1.5px solid var(--g-ink); color: color-mix(in srgb, var(--t1) 70%, var(--w-mix)); }
.plg-card-campaign-trail .plg-card-art svg { width: 60%; height: 60%; }
.plg-card-campaign-trail .plg-card-art circle { fill: var(--g-ink); }

/* Who Leaked It? Laid out like Murdoku: a floor plan with the rooms named on it, and a card for each person carrying their clues. */
.plg-wl-main { display: grid; gap: 16px; }
.plg-wl-plan { max-width: 460px; width: 100%; margin: 0 auto; }
.plg-wl-case { margin: 0 0 8px; font-family: var(--g-head); font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.plg-wl-case span { display: block; font-family: var(--g-ui); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--g-act); }
.plg-wl-map { position: relative; border: 6px solid #2a241e; background: #2a241e; border-radius: 4px; }
.plg-wl-floor { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.plg-wl-compass { position: absolute; z-index: 3; top: -15px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--w-bg); border: 2px solid var(--g-ink); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.plg-wl-board { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--wl-n, 6), minmax(0, 1fr)); }
.plg .plg-wl-board .plg-cell { position: relative; border: 0; background: transparent; box-shadow: none; }
.plg .plg-wl-board .plg-x { color: #fff; text-shadow: 0 0 3px #000, 0 0 2px #000; font-size: clamp(22px, 6vw, 32px); }
.plg-wl-label { position: absolute; z-index: 2; padding: 3px 4px 0; pointer-events: none; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; color: #fff; text-align: center; text-shadow: 0 0 2px rgba(0,0,0,.9), 0 0 4px rgba(0,0,0,.7); }
.plg-wl-cell .plg-wl-tok { position: relative; z-index: 1; width: 92%; height: 92%; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }
.plg .plg-wl-cell.is-furn { cursor: default; }
.plg .plg-wl-board .plg-wl-cell.is-hint { box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px #121212; }
.plg .plg-wl-board .plg-wl-cell.is-leaker { box-shadow: inset 0 0 0 4px #c8102e; }
.plg .plg-wl-board .plg-wl-cell.is-bad { background: rgba(200,16,46,.35); }
.plg-wl-tok { color: var(--g-ink); display: block; }
.plg-wl-cross { font-size: 14px; display: flex; gap: 8px; align-items: center; cursor: pointer; margin-top: 10px; }
.plg-wl-cross input, .plg-wl-card input { accent-color: var(--g-ink); }
.plg-wl-cards { display: grid; gap: 8px; align-content: start; max-width: 460px; width: 100%; margin: 0 auto; }
.plg-wl-card { border: 1.5px solid var(--g-line); border-radius: 8px; background: var(--w-bg); padding: 8px 10px 10px; transition: border-color .15s; }
.plg-wl-card.is-on { border-color: var(--g-ink); box-shadow: inset 0 0 0 1px var(--g-ink); }
.plg-wl-card.is-memo { background: color-mix(in srgb, var(--t2) 10%, var(--w-mix)); }
.plg-wl-card.is-leaker { border-color: var(--g-act); box-shadow: inset 0 0 0 1px var(--g-act); }
.plg .plg-wl-who { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 0; border: 0; background: none; color: var(--g-ink); text-align: left; }
.plg-wl-who .plg-wl-tok { width: 36px; height: 36px; }
.plg-wl-who b { font-family: var(--g-head); font-size: 17px; font-weight: 800; line-height: 1.1; }
.plg-wl-who b small { display: block; font-family: var(--g-ui); font-size: 11.5px; font-weight: 600; color: var(--g-muted); }
.plg-wl-who .plg-wl-tok { border-radius: 50%; }
.plg-wl-who em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g-muted); }
.plg-wl-card.is-placed .plg-wl-who .plg-wl-tok { opacity: .4; }
.plg-wl-card ul { list-style: none; margin: 6px 0 0 46px; padding: 0; display: grid; gap: 4px; font-family: var(--pl-body, Georgia, serif); font-size: 15px; line-height: 1.35; }
.plg-wl-card label { cursor: pointer; display: flex; gap: 6px; align-items: baseline; }
.plg-wl-card input:checked + span { text-decoration: line-through; color: var(--g-muted); }
.plg-wl-none { margin: 6px 0 0 46px; font-size: 13.5px; font-style: italic; color: var(--g-muted); font-family: var(--pl-body, Georgia, serif); }
.plg-wl-verdict { font-size: 14px; color: var(--g-muted); margin: 10px 0 0; }
.plg-card-who-leaked-it .plg-card-art { background: color-mix(in srgb, var(--t2) 22%, var(--w-mix)); border: 1.5px solid var(--g-ink); color: var(--g-ink); }
.plg-card-who-leaked-it .plg-card-art svg { width: 58%; height: 58%; }
/* Phones: a strip of faces under the plan; only the chosen suspect's card shows. */
.plg-wl-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 2px; }
.plg .plg-wl-strip button { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; position: relative; }
.plg-wl-strip .plg-wl-tok { width: 100%; height: 100%; }
.plg-wl-strip button.is-on { box-shadow: 0 0 0 3px var(--w-bg), 0 0 0 5.5px var(--g-act); }
.plg-wl-strip button.is-placed .plg-wl-tok { opacity: .35; }
.plg-wl-strip button.is-placed::after { content: "\2713"; position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%; background: var(--g-ink); color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 800; }
@container plg (max-width: 759px) {
	.plg-wl-cards .plg-wl-card:not(.is-shown) { display: none; }
	.plg-wl-cards .plg-wl-card.is-shown { border: 2px solid var(--g-ink); }
	.plg-wl-cards .plg-wl-who em { display: none; }
}
/* Who Leaked It? sets plan and clues side by side by the width of the games box, not the window: the site's column can be narrow on a wide screen. */
.plg { container: plg / inline-size; }
.plg-end .plg-row + :not(.plg-shared):not(.plg-wl-splash) { margin-top: 18px; }
/* The site theme sets buttons to nowrap; inside the games, text in a button wraps like anything else. */
.plg button { white-space: normal; }
.plg .plg-wl-who { grid-template-columns: 36px minmax(0, 1fr) auto; }
/* Clue cards always wrap inside their column, whatever the site's own styles do to labels and lists. */
.plg-wl-cards { min-width: 0; }
.plg-wl-card, .plg-wl-card ul, .plg-wl-card li, .plg-wl-card label, .plg-wl-card label > span, .plg-wl-ev, .plg-wl-who b { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; box-sizing: border-box; }
.plg-wl-card label { display: flex; line-height: inherit; vertical-align: baseline; margin: 0; font-size: inherit; font-weight: inherit; }
.plg-wl-card label > span { flex: 1 1 auto; }
.plg-wl-card input[type=checkbox] { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; }
.plg .plg-wl-who em { white-space: normal; text-align: right; max-width: 90px; line-height: 1.2; }
/* Computers: plan on the left, clue cards scrolling in their own column on the right, never taller than the plan. */
@container plg (min-width: 760px) {
	.plg-wl-strip { display: none; }
	.plg-wl-main { grid-template-columns: minmax(0, 460px) minmax(300px, 1fr); gap: 28px; align-items: start; }
	.plg-wl-plan { margin: 0; }
	.plg-wl-cards { margin: 0; max-width: none; max-height: var(--wl-plan-h, none); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; }
}

/* Vivid themes: --v strengthens every tint. Only where the browser can do sums inside color-mix; elsewhere the tints stay soft. */
@supports (color: color-mix(in srgb, red calc(10% * 2), white)) {
	.plg { --w-hi: color-mix(in srgb, var(--t2) min(92%, calc(26% * var(--v, 1))), var(--w-mix)); --w-peer: color-mix(in srgb, var(--t1) min(92%, calc(7% * var(--v, 1))), var(--w-mix)); --w-same: color-mix(in srgb, var(--t1) min(92%, calc(18% * var(--v, 1))), var(--w-mix)); --l0: color-mix(in srgb, var(--t1) min(92%, calc(26% * var(--v, 1))), var(--w-mix)); --l1: color-mix(in srgb, var(--t2) min(92%, calc(26% * var(--v, 1))), var(--w-mix)); --l2: color-mix(in srgb, var(--t1) min(92%, calc(46% * var(--v, 1))), var(--w-mix)); --l3: color-mix(in srgb, var(--t2) min(92%, calc(46% * var(--v, 1))), var(--w-mix)); --r0: color-mix(in srgb, var(--t1) min(92%, calc(20% * var(--v, 1))), var(--w-mix)); --r1: color-mix(in srgb, var(--t2) min(92%, calc(20% * var(--v, 1))), var(--w-mix)); --r2: color-mix(in srgb, var(--t1) min(92%, calc(40% * var(--v, 1))), var(--w-mix)); --r3: color-mix(in srgb, var(--t2) min(92%, calc(40% * var(--v, 1))), var(--w-mix)); --r5: color-mix(in srgb, var(--t1) min(92%, calc(9% * var(--v, 1))), var(--w-mix)); --r6: color-mix(in srgb, var(--t2) min(92%, calc(9% * var(--v, 1))), var(--w-mix)); --r7: color-mix(in srgb, var(--t1) min(92%, calc(58% * var(--v, 1))), var(--w-mix)); --r8: color-mix(in srgb, var(--t2) min(92%, calc(58% * var(--v, 1))), var(--w-mix)); }
	.plg-pt { --pt-word: color-mix(in srgb, var(--t1) min(92%, calc(30% * var(--v, 1))), var(--w-mix)); --pt-word-line: color-mix(in srgb, var(--t1) min(92%, calc(45% * var(--v, 1))), var(--w-mix)); --pt-head: color-mix(in srgb, var(--t2) min(92%, calc(38% * var(--v, 1))), var(--w-mix)); --pt-head-line: color-mix(in srgb, var(--t2) min(92%, calc(55% * var(--v, 1))), var(--w-mix)); }
}
.plg-theme-commons { --t1: #00703c; --t2: #b50938; }
.plg-theme-swing { --t1: #e4003b; --t2: #0087dc; }
.plg-theme-state { --t1: #6a2c9e; --t2: #e0a800; }
.plg-theme-union { --t1: #c8102e; --t2: #012169; }
.plg-theme-redbox { --t1: #a3141c; --t2: #8a5a33; }
.plg-theme-hung { --t1: #e4003b; --t2: #0087dc;
	--l0: #ffd9a8; --l1: #c9e9d6; --l2: #f9c6d1; --l3: #c6dff6;
	--r0: #f9c6d1; --r1: #c6dff6; --r2: #ffdcae; --r3: #cdebd8; --r4: #f6f0a8; --r5: #d7f1f5; --r6: #e7dcf0; --r7: #fde2c4; --r8: #e6e6e6; }
.plg-themes { position: relative; display: inline-block; }
.plg .plg-theme-btn { background: none; border: 1.5px solid var(--g-ink); border-radius: 999px; padding: 5px 12px 5px 8px; font-size: 12.5px; font-weight: 700; color: var(--g-ink); display: inline-flex; gap: 6px; align-items: center; }
.plg-theme-btn i, .plg-theme-list i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.plg-theme-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--w-bg); border: 1.5px solid var(--g-ink); max-height: min(70vh, 520px); overflow-y: auto; border-radius: 8px; padding: 6px; display: grid; gap: 2px; min-width: 230px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.plg .plg-theme-list button { display: flex; gap: 8px; align-items: center; background: none; border: 0; border-radius: 5px; padding: 8px 10px; text-align: left; font-size: 14px; font-weight: 600; color: var(--g-ink); }
.plg .plg-theme-list button:hover { background: var(--g-soft); }
.plg .plg-theme-list button[aria-checked="true"] { background: var(--g-soft); font-weight: 800; }
.plg-theme-list span.d { display: inline-flex; gap: 3px; }
.plg-theme-list .plg-theme-h { margin: 6px 10px 2px; padding-top: 8px; border-top: 1px solid var(--g-line); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--g-muted); }
.plg-head-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 8px; }
.plg-head-row .plg-crumb { margin: 0; }

.plg-theme-blackrod { --t1: #1f1f1f; --t2: #c9a227; }
.plg-theme-downing { --t1: #1f1f1f; --t2: #7c8590; } /* the black brick and door of No 10, with white */
.plg-theme-assent { --t1: #4a3524; --t2: #b89a5a; --w-hi-edge: #b33a2b; --l3: color-mix(in srgb, #b33a2b 32%, #fffaf0); --w-mix: #fffaf0; --w-paper: #fffaf0; --w-tile: #f1e8d4; --w-tile-hover: #e8dcc2; } /* parchment and iron-gall ink, with a touch of seal red */
.plg-theme-hansard { --t1: #1d4a33; --t2: #8c6d3f; --w-mix: #fdfaf3; --w-paper: #fdfaf3; --w-tile: #ece7da; --w-tile-hover: #e2dccc; }
.plg-theme-crossbench { --t1: #5f5f5f; --t2: #a59d8c; }
.plg-theme-holyrood { --t1: #0065bd; --t2: #8e44ad; }
.plg-theme-senedd { --t1: #d4112f; --t2: #00a651; } /* the dragon red and green of the Welsh flag */
.plg-theme-stormont { --t1: #2e7d32; --t2: #a89a78; }
.plg-theme-remembrance { --t1: #d0021b; --t2: #1f1f1f; }
.plg-theme-pumpkin { --t1: #e8711c; --t2: #8a4b23; --w-mix: #fffaf3; --w-paper: #fffaf3; --w-tile: #f4ebe0; --w-tile-hover: #ebdfd0; }
.plg-theme-bonfire { --t1: #ff6a13; --t2: #2b2d6e; }
.plg-theme-christmas { --t1: #1b7f44; --t2: #d2102f; }
/* Late sitting: a dark mode. The game area gets its own night-time background, with light lines and text. */
/* Late sitting: a dark mode with soft contrast (warm grey text on slate, muted gold), easy on the eyes at night.
   games.js also marks the page itself, so the white around the games turns dark too. */
.plg-theme-swing, .plg-theme-union, .plg-theme-state, .plg-theme-holyrood, .plg-theme-christmas, .plg-theme-bonfire { --v: 1.55; }
.plg-theme-senedd, .plg-theme-pumpkin, .plg-theme-commons { --v: 1.3; }

.plg.plg-theme-late { --t1: #cfae62; --t2: #7d97c9;
	--g-ink: #d8d3c8; --g-muted: #9aa2b1; --g-line: #3a4559; --g-soft: #283246;
	--w-mix: #1f2735; --w-bg: #252e3f; --w-on-ink: #1a212d; --w-sel: #cfae62; --w-sel-ink: #1a212d;
	--w-paper: #1f2735; --w-tile: #2c3648; --w-tile-hover: #354157; --w-entry: #cfae62; --w-hi: #3b4862; --w-hi-edge: #cfae62; --g-act: #d9576a; }
.plg-theme-late .plg-rules, .plg-theme-late .plg-card-text span, .plg-theme-late .plg-head h2 { color: var(--g-ink); }
.plg-theme-late .plg-crumb a, .plg-theme-late .plg-more a, .plg-theme-late .plg-story a, .plg-theme-late .plg-card, .plg-theme-late .plg-card:hover, .plg-theme-late .plg-gear { color: var(--g-ink); }
.plg-theme-late .plg-card:hover { background: var(--g-soft); }
.plg-theme-late .plg-lives i { background: var(--g-line); } .plg-theme-late .plg-lives i.is-left { background: var(--g-ink); }
.plg-theme-late .plg-x { color: rgba(216,211,200,.55); }
.plg-theme-late .plg-cell { box-shadow: inset 0 0 0 .5px rgba(216,211,200,.16); }
.plg-theme-late .plg-group, .plg-theme-late .plg-tile { color: var(--g-ink); }
.plg-theme-late .plg-card-seating-plan .plg-card-art, .plg-theme-late .plg-card-reshuffle .plg-card-art i { color: var(--g-ink); }
.plg-theme-late .plg-su-board, .plg-theme-late .plg-chamber .plg-board { border-color: #59657c; background: #59657c; }
.plg-theme-late .plg-board { background: #59657c; }
.plg-theme-late .plg-dept { background: #3a4559; }
/* The page around the games, while Late sitting is on. */
body.plg-dark-page { background: #1a212d !important; color: #d8d3c8; }
body.plg-dark-page .plg-news, body.plg-dark-page .plg-news h2, body.plg-dark-page .plg-news p, body.plg-dark-page .plg-news label { color: #d8d3c8; }
body.plg-dark-page .plg-news .pl-eyebrow { color: #9aa2b1; }
body.plg-dark-page .plg-news input[type="email"] { background: #252e3f; color: #d8d3c8; border-color: #3a4559; }
body.plg-dark-page .plg-news a { color: #cfae62; }

.plg-theme-late .plg-ct-cell b { color: #1f2735; }

/* Number 10 */
.plg-card-number-10 .plg-card-art { position: relative; background: var(--r5); border: 1.5px solid var(--g-ink); }
.plg-card-number-10 .plg-card-art i { position: absolute; width: 46%; height: 62%; border-radius: 5px; background: var(--w-bg); border: 1.5px solid var(--g-ink); font-style: normal; }
.plg-card-number-10 .plg-card-art i:nth-child(1) { transform: rotate(-14deg) translateX(-14%); background: var(--l0); }
.plg-card-number-10 .plg-card-art i:nth-child(2) { transform: rotate(9deg) translateX(14%); background: var(--l1); }
.plg-card-number-10 .plg-card-art i:nth-child(3) { display: grid; place-items: center; background: #121212; color: #fff; font-family: var(--g-head); font-weight: 800; font-size: 22px; }
/* Number 10, after Reigns: a dark table, a deck of illustrated cards, the words above and the name below. One muted palette throughout. */
/* Reigns-style: a faceted landscape fills the frame, the dark play column stands in front of it. */
.plg-n10-world { --n10-ink: #e9dcc0; --n10-dim: #a39a86; --n10-gold: #c9a227; --n10-mono: "Courier Prime", "Courier New", ui-monospace, monospace; position: relative; width: var(--plg-vw, 100vw); max-width: none; margin: 0 0 0 calc(50% - var(--plg-vw, 100vw) / 2); padding: 40px 16px; border-radius: 0; overflow: hidden; background: #8c8468; }
.plg-n10-sky { position: absolute; inset: 0; }
.plg-n10-sky svg { display: block; width: 100%; height: 100%; }
.plg-n10 { position: relative; max-width: 420px; margin: 0 auto; display: grid; grid-template-rows: auto 1fr auto auto auto; min-height: min(800px, max(640px, calc(100svh - 110px))); background: rgba(24,23,20,.94); color: var(--n10-ink); border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 2px #121212, 0 14px 30px rgba(0,0,0,.18); }
.plg-n10-meters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; background: rgba(36,34,30,.9); border-bottom: 1px solid #3a362e; padding: 14px 8px 10px; }
.plg-n10-m { display: grid; justify-items: center; gap: 4px; }
.plg-n10-m small { font-family: var(--g-ui); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--n10-dim); }
.plg-n10-dot { width: 12px; height: 12px; display: grid; place-items: center; }
.plg-n10-dot::after { content: ""; border-radius: 50%; background: var(--n10-ink); width: 0; height: 0; transition: width .12s, height .12s; }
.plg-n10-dot.is-small::after { width: 6px; height: 6px; }
.plg-n10-dot.is-big::after { width: 11px; height: 11px; }
.plg-n10-ico { position: relative; width: 38px; height: 38px; display: block; }
.plg-n10-ico svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; }
.plg-n10-ico .bg { color: #3d3a33; }
.plg-n10-ico .fg { color: var(--n10-ink); transition: clip-path .45s ease; }
.plg-n10-m.is-risk .fg { color: #e0604e; }
.plg-n10-m.is-up .plg-n10-ico { animation: plg-n10-up .5s ease-out; }
.plg-n10-m.is-down .plg-n10-ico { animation: plg-n10-down .5s ease-out; }
@keyframes plg-n10-up { 40% { transform: translateY(-4px) scale(1.12); } }
@keyframes plg-n10-down { 40% { transform: translateY(3px) scale(.9); } }
.plg-n10-strip { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 2px 18px 16px; font-family: var(--n10-mono); font-size: 14px; font-weight: 700; color: var(--n10-dim); }
.plg-n10-week { color: var(--n10-gold); }
.plg-n10-strip p { margin: 0; }
.plg-n10-pm { color: var(--n10-dim); }
.plg-n10-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; overflow: hidden; padding: 6px 18px 10px; perspective: 1200px; }
.plg-n10-say { margin: 0; min-height: 4.2em; display: grid; place-items: center; width: 100%; max-width: 330px; text-align: center; font-family: var(--n10-mono); font-size: 17px; font-weight: 400; line-height: 1.35; color: #f3ecdc; text-wrap: balance; }
/* The deck: a pile of card backs, the live card on top. */
.plg-n10-table { position: relative; width: min(100%, 272px); flex: none; }
.plg-n10-pile { position: absolute; inset: 0; border-radius: 12px; background: #5a1c1f; box-shadow: 0 0 0 5px #d9cba9; transform: translateY(10px) rotate(-2.4deg); }
.plg-n10-pile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #5a1c1f; box-shadow: 0 0 0 5px #cdbf9c, 0 18px 28px rgba(0,0,0,.6); transform: translateY(6px) rotate(4deg); z-index: -1; }
.plg-n10-card { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 12px; touch-action: pan-y; user-select: none; cursor: grab; transform-style: preserve-3d; transition: transform .3s ease, opacity .3s ease; animation: plg-n10-flip .55s cubic-bezier(.3,.7,.3,1); }
.plg-n10-face, .plg-n10-cb { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 0 0 5px var(--n10-ink), 0 0 0 6px #8a7d62, 0 14px 26px rgba(0,0,0,.55); background: #2a2823; }
.plg-n10-cb { transform: rotateY(180deg); }
.plg-n10-face svg, .plg-n10-cb svg { display: block; width: 100%; height: 100%; }
.plg-n10-card.is-drag { transition: none; cursor: grabbing; }
.plg-n10-card.is-gone { opacity: 0; }
@keyframes plg-n10-flip { from { transform: translateY(14px) rotateY(180deg); } 60% { transform: translateY(-2px) rotateY(-6deg); } }
@media (prefers-reduced-motion: reduce) { .plg-n10-card { animation: none; } }
.plg-n10-name { margin: 18px 0 0; text-align: center; font-family: var(--g-ui); font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--n10-ink); line-height: 1.35; }
.plg-n10-name span { display: block; font-family: var(--g-head); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 13.5px; color: var(--n10-dim); }
/* Lean the card and your answer appears across its top. */
/* The answer: a dark banner that slides across the card and past its edges. */
.plg-n10-ans { position: absolute; left: -14px; right: -14px; top: 9%; z-index: 4; padding: 10px 18px; background: #121110; box-shadow: 0 6px 14px rgba(0,0,0,.45); color: #f3ecdc; font-family: var(--n10-mono); font-size: 16px; font-weight: 700; line-height: 1.25; opacity: 0; pointer-events: none; transform: translateZ(2px) translateX(-30px); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: opacity .14s, transform .18s ease-out; }
.plg-n10-ans.l { text-align: left; } .plg-n10-ans.r { text-align: right; transform: translateZ(2px) translateX(30px); }
.plg-n10-card.lean-l .plg-n10-ans.l, .plg-n10-card.lean-r .plg-n10-ans.r { opacity: 1; transform: translateZ(2px); }
/* Set pieces: PMQs against the clock, and election night. */
.plg-n10-kick { margin: 0; font-family: var(--g-ui); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--n10-gold); text-align: center; }
.plg-n10-qart { position: relative; width: 100%; max-width: 360px; aspect-ratio: 16 / 7; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 3px var(--n10-ink), 0 10px 20px rgba(0,0,0,.45); flex: none; }
.plg-n10-qart svg { display: block; width: 100%; height: 100%; }
.plg-n10-qart span { position: absolute; left: 0; bottom: 0; padding: 5px 10px; background: #121110; color: #f3ecdc; font-family: var(--g-ui); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plg-n10-say.plg-n10-q { min-height: 0; }
.plg-n10-clock { width: 100%; max-width: 360px; height: 8px; border-radius: 99px; background: #3a362e; overflow: hidden; flex: none; }
.plg-n10-clock i { display: block; height: 100%; background: var(--n10-gold); transform-origin: left; animation: plg-n10-tick linear forwards; }
.plg-n10-clock.is-stopped i { animation-play-state: paused; }
@keyframes plg-n10-tick { from { transform: scaleX(1); } 70% { background: var(--n10-gold); } to { transform: scaleX(0); background: #e0604e; } }
.plg-n10-rets { display: grid; gap: 8px; width: 100%; max-width: 360px; }
.plg .plg-n10-ret { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 8px 12px !important; border-radius: 12px !important; background: #1d1b18; color: var(--n10-ink); border: 1.5px solid #4a453b !important; font-family: var(--g-ui); font-size: 14.5px; font-weight: 700; line-height: 1.25; text-align: left; cursor: pointer; }
.plg .plg-n10-ret b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #3a362e; color: var(--n10-gold); font-family: var(--n10-mono); font-size: 13px; }
.plg .plg-n10-ret:hover:not([disabled]), .plg .plg-n10-ret:focus-visible { background: #2c2a25; border-color: var(--n10-ink) !important; }
.plg .plg-n10-ret.is-grace { justify-content: center; border-color: var(--n10-gold) !important; color: var(--n10-gold); font-size: 16px; animation: plg-n10-pulse .8s ease-in-out infinite alternate; }
@keyframes plg-n10-pulse { to { background: #2c2a25; } }
.plg .plg-n10-ret[disabled] { cursor: default; opacity: .45; animation: none; }
.plg .plg-n10-ret.is-k0 { border-color: #6fa86a !important; }
.plg .plg-n10-ret.is-k2 { border-color: #b8564a !important; }
.plg .plg-n10-ret.is-picked { opacity: 1; background: #2c2a25; box-shadow: 0 0 0 2px var(--n10-ink); }
.plg-n10-stage.is-choice .plg-n10-table { width: min(100%, 190px); }
.plg-n10-stage.is-choice .plg-n10-name { margin-top: 10px; }
.plg-n10-stage.is-great .plg-n10-heard { font-size: 16px; color: #f4dc8a; animation: plg-n10-cheer .7s ease-out; }
.plg-n10-stage.is-great .plg-n10-qart { animation: plg-n10-shake .5s; }
@keyframes plg-n10-cheer { from { transform: scale(.8); opacity: 0; } 60% { transform: scale(1.08); } }
@keyframes plg-n10-shake { 20%, 60% { transform: translateX(-4px) rotate(-.6deg); } 40%, 80% { transform: translateX(4px) rotate(.6deg); } }
.plg-n10-score { margin: 0; width: 100%; max-width: 360px; display: flex; justify-content: space-between; font-family: var(--n10-mono); font-size: 14px; color: var(--n10-dim); }
.plg-n10-score b { color: var(--n10-ink); font-size: 18px; }
.plg .plg-n10-ret.is-next { justify-content: center; border-color: var(--n10-gold) !important; color: var(--n10-gold); }
.plg .plg-n10-ret.is-skip { justify-content: center; min-height: 40px; font-size: 13px; color: var(--n10-dim); border-color: transparent !important; background: transparent; }
@media (prefers-reduced-motion: reduce) { .plg-n10-stage.is-great .plg-n10-heard, .plg-n10-stage.is-great .plg-n10-qart { animation: none; } }
.plg-n10-heard { margin: 0; min-height: 1.4em; text-align: center; font-family: var(--n10-mono); font-size: 14px; font-weight: 700; color: var(--n10-gold); }
@media (prefers-reduced-motion: reduce) { .plg .plg-n10-ret.is-grace { animation: none; } }
.plg-n10-deck { margin: 0; padding: 0 16px 10px; text-align: center; color: var(--n10-dim); font-family: var(--g-ui); font-size: 12.5px; }
.plg-n10-deck b { color: var(--n10-ink); }
.plg-n10-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 14px 12px; }
.plg .plg-n10-btns button.is-leave { grid-column: 1 / -1; text-align: center !important; border-color: var(--n10-gold) !important; color: var(--n10-gold); }
.plg .plg-n10-btns button { min-height: 52px; line-height: 1.25; border-radius: 12px !important; padding: 8px 12px !important; background: transparent; color: var(--n10-ink); border: 1.5px solid #4a453b !important; font-family: var(--g-ui); font-weight: 700; }
.plg .plg-n10-btns button[data-side="l"] { text-align: left; } .plg .plg-n10-btns button[data-side="r"] { text-align: right; }
.plg .plg-n10-btns button:hover, .plg .plg-n10-btns button:focus-visible { background: #2c2a25; border-color: var(--n10-ink) !important; }
.plg-n10-again { display: grid; justify-items: center; gap: 6px; margin: 14px 0 0; text-align: center; }
.plg-n10-again span { font-size: 13px; color: var(--g-muted); }
.plg-n10-best { text-align: center; font-size: 14px; margin: 10px 0 0; }
@media (max-width: 420px) {
	.plg-n10 { border-radius: 16px; }
	.plg-n10-ico { width: 34px; height: 34px; }
	.plg-n10-m small { font-size: 9.5px; letter-spacing: .03em; }
	.plg-n10-stage { padding: 12px 14px 8px; }
	.plg-n10-say { font-size: 16px; }
}

/* The fall: the famous staircase at No 10. Yellow wall, black banister, predecessors climbing the stairs in black frames, you on the landing in gold. */
.plg-n10.is-over { background: #f0c53f; color: #2a1d0e; grid-template-rows: auto auto auto; min-height: 0; }
.plg-n10.is-over .plg-n10-strip { background: #2a1d0e; color: #f4e3a6; }
.plg-n10.is-over .plg-n10-pm { color: #f4e3a6; }
.plg-n10.is-over .plg-n10-stage { display: block; padding: 0; overflow: hidden; background: radial-gradient(70% 50% at 50% 18%, #f7d866, #f0c53f 70%, #e2b22e); }
.plg-n10-wall { position: relative; width: 100%; height: 470px; }
.plg-n10-stairs { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; }
.plg-n10-frame { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 4px; }
.plg-n10-past figcaption { white-space: nowrap; }
.plg-n10-frame svg { display: block; width: 100%; height: auto; border-radius: 50% / 50%; }
.plg-n10-frame figcaption { font-family: var(--g-ui); font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: center; line-height: 1.2; }
.plg-n10-frame figcaption span { display: block; font-weight: 600; letter-spacing: .02em; text-transform: none; }
/* Past premierships hang in a rising line, following the banister. */
.plg-n10-past .plg-n10-frame { position: absolute; width: 14%; left: calc(3% + var(--i) * 19.4%); bottom: calc(21% + var(--i) * 5.4%); }
.plg-n10-past .plg-n10-frame svg { border: 4px solid #141414; box-shadow: 0 3px 0 rgba(0,0,0,.2); filter: grayscale(1) contrast(1.05); background: #e9e1cc; }
.plg-n10-frame.is-you { position: absolute; left: 7%; top: 20px; width: 136px; z-index: 2; animation: plg-n10-hang .7s cubic-bezier(.3,1.4,.5,1) both; }
.plg-n10-frame.is-you svg { border: 9px solid #c9a227; box-shadow: 0 0 0 2px #6a4a10, inset 0 0 0 2px #f4dc8a, 0 12px 22px rgba(0,0,0,.3); }
.plg-n10-frame.is-you figcaption { font-size: 13px; background: #2a1d0e; color: #f4e3a6; padding: 4px 12px; border-radius: 999px; }
@keyframes plg-n10-hang { from { transform: translateY(-30px) rotate(-6deg); opacity: 0; } }
@media (max-width: 420px) { .plg-n10-wall { height: 420px; } .plg-n10-frame.is-you { width: 118px; } .plg-n10-frame figcaption { font-size: 8.5px; } }
.plg-n10-plaque { margin: 0; background: linear-gradient(#3a2414, #2a180c); color: #f4e3a6; padding: 16px 18px 20px; text-align: center; border-top: 3px solid #c9a227; display: grid; gap: 6px; }
.plg-n10-plaque small { font-family: var(--g-ui); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #e0b43a; }
.plg-n10-plaque p { margin: 0; font-family: var(--g-head); font-size: 18px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.plg-n10-plaque b { font-family: var(--g-ui); font-size: 12.5px; color: #e0c27a; }

/* Boundary Review: a town of houses, coloured in seat by seat. Oak is green, Rose is plum; seats are pale tints with heavy borders between them. */
.plg-br { --br-oak: #2f6b48; --br-rose: #a3305f; --br-ink: var(--g-ink, #121212); display: grid; gap: 12px; max-width: 460px; margin: 0 auto; }
.plg-br-oak { color: var(--br-oak); } .plg-br-rose { color: var(--br-rose); }
.plg-br-pens { display: flex; flex-wrap: wrap; gap: 6px; }
.plg-br-pens button { min-width: 40px; height: 36px; font-family: var(--g-ui); font-size: 14px; font-weight: 800; border: 2px solid var(--br-ink); border-radius: 999px; background: var(--c); color: #121212; cursor: pointer; }
.plg-br-pens button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--g-bg, #fff), 0 0 0 5px var(--br-ink); }
.plg-br-map { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); border: 3px solid var(--br-ink); border-radius: 6px; overflow: hidden; touch-action: none; user-select: none; background: #ece8dd; }
.plg-br-cell { position: relative; aspect-ratio: 1; border: 0; margin: 0; padding: 0; background: var(--c, #f4f1e8); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.14); cursor: pointer; display: grid; place-items: center; }
.plg-br-cell::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.plg-br-cell.bt::before { border-top: 3px solid var(--br-ink); }
.plg-br-cell.bl::before { border-left: 3px solid var(--br-ink); }
.plg-br-river { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.plg-br-river path { fill: none; stroke: #3c86c4; stroke-width: 7px; stroke-linecap: square; vector-effect: non-scaling-stroke; }
.plg-br-cell svg { width: 58%; height: 58%; }
.plg-br-cell path.o { fill: var(--br-oak); } .plg-br-cell path.r { fill: var(--br-rose); }
.plg-br-cell svg path.o, .plg-br-cell svg path.r { stroke: #121212; stroke-width: 1.2; stroke-linejoin: round; }
.plg-br-cell .plg-br-st { position: absolute; right: 2px; top: 2px; width: 38%; height: 38%; }
.plg-br-cell:focus-visible { outline: 3px solid var(--br-ink); outline-offset: -3px; }
.plg-br-tally { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--g-ui); font-size: 12px; }
.plg-br-tally span { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--g-line, #ccc); border-radius: 999px; padding: 3px 10px 3px 3px; background: var(--g-bg, #fff); }
.plg-br-tally i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #121212; font-style: normal; font-weight: 800; font-size: 11px; border: 1.5px solid var(--br-ink); }
.plg-br-paper { display: grid; gap: 6px; padding: 14px 16px; background: #f6f1e4; color: #121212; border: 2px solid #121212; text-align: left; }
.plg-br-paper small { font-family: var(--g-head); font-style: italic; font-size: 13px; border-bottom: 1px solid #121212; padding-bottom: 4px; }
.plg-br-paper b { font-family: var(--g-head); font-weight: 800; font-size: 22px; line-height: 1.05; letter-spacing: -.01em; }
.plg-br-paper span { font-size: 13.5px; line-height: 1.4; }
.plg-card-boundary-review .plg-card-art { border: 1.5px solid var(--g-ink); overflow: hidden; }
.plg-card-boundary-review .plg-card-art svg { width: 100%; height: 100%; display: block; }
.plg-br-cell:disabled { opacity: 1; cursor: default; color: inherit; }

@media (max-width: 560px) {
	.plg-n10-world { padding: 0; }
	.plg-n10 { border-radius: 0; box-shadow: none; background: transparent; }
	.plg-n10-stage { background: linear-gradient(rgba(24,23,20,.96) 0, rgba(24,23,20,.9) 24%, rgba(24,23,20,.25) 46%, rgba(24,23,20,.35) 78%, rgba(24,23,20,.9) 100%); }
	.plg-n10-btns, .plg-n10-strip, .plg-n10-deck { background: rgba(24,23,20,.92); }
	.plg-n10-deck { margin: 0; padding-top: 4px; }
	.plg-n10-ans { left: -10px; right: -10px; }
	.plg-n10-stage:has(.plg-n10-rets) { background: rgba(24,23,20,.95); }
}
.plg-n10.is-over .plg-n10-week { color: #f4e3a6; }

/* ---- Spin Room: seven letters in a hive, the middle one in the theme's ink. */
.plg-msg.is-ok { color: var(--t1); }
.plg-msg.is-bad { color: var(--g-act); }
.plg-sr { max-width: 460px; margin: 0 auto; display: grid; gap: 10px; }
.plg-sr-rank p { margin: 0 0 6px; display: flex; gap: 8px; align-items: baseline; font-family: var(--g-ui); font-size: 14px; }
.plg-sr-rank p span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--g-muted); }
.plg-sr-rank p b { font-family: var(--g-head); font-size: 19px; }
.plg-sr-rank p em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--g-muted); }
.plg-sr-track { position: relative; height: 8px; border-radius: 4px; background: var(--w-tile); }
.plg-sr-track span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--t1); transition: width .35s; }
.plg-sr-track i { position: absolute; top: -3px; width: 2px; height: 14px; margin-left: -1px; background: var(--g-ink); z-index: 1; }
.plg-sr-word { min-height: 44px; display: flex; justify-content: center; align-items: center; font-family: var(--g-ui); font-size: 30px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plg-sr-word .c { color: var(--t2); }
.plg-sr-word .x { color: var(--g-line); }
.plg-sr-word i { width: 2px; height: 30px; background: var(--g-ink); margin-left: 3px; animation: plg-sr-blink 1s steps(1) infinite; }
@keyframes plg-sr-blink { 50% { opacity: 0; } }
.plg-sr-hive { --s: min(84px, 24vw); position: relative; width: calc(var(--s) * 2.6); height: calc(var(--s) * 2.66); margin: 0 auto; }
.plg .plg-sr-hive button { position: absolute; width: var(--s); height: calc(var(--s) * .88); padding: 0; border: 0; border-radius: 0; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: var(--w-tile); color: var(--g-ink); font-family: var(--g-ui); font-size: calc(var(--s) * .34); font-weight: 800; cursor: pointer; transition: transform .08s; }
.plg .plg-sr-hive button:hover { background: var(--w-tile-hover); }
.plg .plg-sr-hive button:active { transform: scale(.92); }
.plg .plg-sr-hive button.c { background: var(--t2); color: #fff; }
.plg-sr-hive button[style*="--i:0"] { left: calc(var(--s) * .8); top: calc(var(--s) * .89); }
.plg-sr-hive button[style*="--i:1"] { left: calc(var(--s) * .8); top: 0; }
.plg-sr-hive button[style*="--i:2"] { left: calc(var(--s) * 1.6); top: calc(var(--s) * .445); }
.plg-sr-hive button[style*="--i:3"] { left: calc(var(--s) * 1.6); top: calc(var(--s) * 1.335); }
.plg-sr-hive button[style*="--i:4"] { left: calc(var(--s) * .8); top: calc(var(--s) * 1.78); }
.plg-sr-hive button[style*="--i:5"] { left: 0; top: calc(var(--s) * 1.335); }
.plg-sr-hive button[style*="--i:6"] { left: 0; top: calc(var(--s) * .445); }
.plg-sr-btns { justify-content: center; }
.plg-sr-found, .plg-sr-yday { border: 1.5px solid var(--g-line); border-radius: 8px; padding: 10px 12px; font-family: var(--g-ui); font-size: 14px; }
.plg-sr-found summary, .plg-sr-yday summary { cursor: pointer; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.plg-sr-found div { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; text-transform: capitalize; }
.plg-sr-found .p { color: var(--t2); font-weight: 800; }
.plg-sr-found .none { color: var(--g-muted); text-transform: none; }
.plg-sr-yday p { margin: 8px 0 0; line-height: 1.5; color: var(--g-muted); }
.plg-sr-yday b { color: var(--g-ink); text-transform: uppercase; letter-spacing: .04em; }
.plg-sr-more { text-align: center; font-size: 14px; color: var(--g-muted); margin: 8px 0 0; }
.plg-card-spin-room .plg-card-art, .plg-card-filibuster .plg-card-art { display: grid; place-items: center; border: 1.5px solid var(--g-ink); background: var(--l1); }
.plg-card-spin-room .plg-card-art svg, .plg-card-filibuster .plg-card-art svg { width: 62%; height: 62%; }
.plg-card-filibuster .plg-card-art { background: var(--l0); }

/* ---- Filibuster: the clock, the Speaker's patience and the Hansard column. */
.plg-fb { max-width: 560px; margin: 0 auto; display: grid; gap: 10px; }
.plg-fb-bench { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; border-top: 3px solid var(--g-ink); border-bottom: 1px solid var(--g-ink); padding: 12px 2px; }
.plg-fb-clock { grid-row: span 2; width: 64px; height: 64px; color: var(--g-ink); }
.plg-fb-time { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-family: var(--g-ui); }
.plg-fb-time b { font-family: var(--g-head); font-size: 30px; font-variant-numeric: tabular-nums; }
.plg-fb-time span { font-size: 13px; font-weight: 700; color: var(--g-muted); }
.plg-fb-pat span { display: block; font-family: var(--g-ui); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--g-muted); margin-bottom: 4px; }
.plg-fb-pat div { height: 10px; border-radius: 5px; background: var(--w-tile); overflow: hidden; }
.plg-fb-pat i { display: block; height: 100%; background: var(--t1); transition: width .25s linear; }
.plg-fb-pat.is-low i { background: var(--g-act); }
.plg-fb-hansard { max-height: 230px; min-height: 110px; overflow: auto; background: var(--w-paper); border: 1px solid var(--g-line); border-radius: 4px; padding: 10px 14px; font-family: var(--g-head); font-size: 15.5px; line-height: 1.55; }
.plg-fb-hansard p { margin: 0 0 8px; }
.plg-fb-hansard .sp { font-style: italic; color: var(--g-muted); }
.plg-fb-hansard b { font-style: normal; color: var(--g-ink); font-family: var(--g-ui); font-size: 13px; }
.plg-fb-hansard .th { color: var(--t1); font-weight: 700; }
.plg-fb-next { margin: 0; text-align: center; font-family: var(--g-ui); font-size: 14px; color: var(--g-muted); min-height: 1.4em; }
.plg-fb-next b { color: var(--g-ink); font-size: 18px; }
.plg-fb-say { display: flex; gap: 8px; }
.plg .plg-fb-say input { flex: 1; min-width: 0; font: 700 19px var(--g-ui); border: 2px solid var(--g-ink); border-radius: 8px; padding: 9px 12px; text-transform: lowercase; background: var(--w-bg); color: var(--g-ink); }
.plg .plg-fb-say input:disabled { opacity: .45; }
.plg-fb-say button { flex: none; }
.plg-fb-again { text-align: center; margin: 10px 0 0; }

/* ---- Reshuffle, Irregular: one 9 by 9 grid, departments marked by thick lines and a soft colour each. */
/* Reshuffle: a Classic / Irregular switch above the three levels. */
.plg-su-shape { display: inline-grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin: 0 auto 10px; border: 1.5px solid var(--g-ink); border-radius: 999px; padding: 3px; width: min(100%, 440px); }
.plg-su .plg-su-shape { display: grid; }
.plg .plg-su-shape button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; border: 0; border-radius: 999px; background: transparent; color: var(--g-ink); font-family: var(--g-ui); font-size: 14px; font-weight: 800; padding: 4px 12px; cursor: pointer; }
.plg .plg-su-shape button[aria-pressed="true"] { background: var(--g-ink); color: var(--w-on-ink); }
.plg-su-shape small { font-size: 11px; font-weight: 700; opacity: .7; }
.plg-su-shape svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.plg-su-board.is-jigsaw { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 1px; }
.plg .plg-su-board.is-jigsaw .plg-sc { box-shadow: inset var(--bl, 0) 0 0 var(--g-ink), inset calc(-1 * var(--br, 0px)) 0 0 var(--g-ink), inset 0 var(--bt, 0) 0 var(--g-ink), inset 0 calc(-1 * var(--bb, 0px)) 0 var(--g-ink); }
.plg .plg-su-board.is-jigsaw .plg-sc.is-sel { box-shadow: inset 0 0 0 2px var(--w-hi-edge); }
.plg-su-board.is-jigsaw .plg-sc::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
/* Each irregular department has its own colour. */
.plg-su-board.is-jigsaw .plg-sc.dept0::before { background: color-mix(in srgb, #e8a33d 26%, transparent); }
.plg-su-board.is-jigsaw .plg-sc.dept1::before { background: color-mix(in srgb, #5a9bd4 26%, transparent); }
.plg-su-board.is-jigsaw .plg-sc.dept2::before { background: color-mix(in srgb, #d36b8c 26%, transparent); }
.plg-su-board.is-jigsaw .plg-sc.dept3::before { background: color-mix(in srgb, #5fb08a 26%, transparent); }
.plg-su-board.is-jigsaw .plg-sc.dept4::before { background: color-mix(in srgb, #9a7fd1 26%, transparent); }
.plg-su-board.is-jigsaw .plg-sc.dept5::before { background: color-mix(in srgb, #e07a5f 26%, transparent); }
.plg-su-board.is-jigsaw .plg-sc.dept6::before { background: color-mix(in srgb, #4fb3b8 26%, transparent); }
.plg-su-board.is-jigsaw .plg-sc.dept7::before { background: color-mix(in srgb, #c9b23a 26%, transparent); }
.plg-su-board.is-jigsaw .plg-sc.dept8::before { background: color-mix(in srgb, #8a9aa8 26%, transparent); }

/* ---- Snap Election: a ward of terraced houses on a street map. Knocked houses become front gardens with a number on the doormat. */
.plg-se { max-width: 540px; margin: 0 auto; display: grid; gap: 10px; }
.plg-se .plg-levels { margin-bottom: 2px; }
.plg-se-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: end; gap: 14px; padding: 10px 14px; border: 1.5px solid var(--g-ink); border-radius: 10px; background: var(--w-paper); font-family: var(--g-ui); }
.plg-se-bar small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--g-muted); }
.plg-se-bar b { font-size: 17px; font-weight: 800; line-height: 1.2; }
.plg-se-ward b { font-family: var(--g-head); font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.plg-se-stat { text-align: center; min-width: 38px; }
.plg-se-stat .plg-timer { font-variant-numeric: tabular-nums; }
.plg-se-vols { display: flex; gap: 2px; align-self: center; }
.plg-se-vol svg { display: block; width: 20px; height: 24px; fill: var(--g-ink); }
.plg-se-vol.is-gone svg { fill: color-mix(in srgb, var(--g-ink) 22%, transparent); }
@media (max-width: 420px) { .plg-se-bar { gap: 10px; padding: 8px 10px; } .plg-se-ward b { font-size: 16px; } .plg-se-vol svg { width: 16px; height: 20px; } }
.plg-se-board { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 5px; padding: 8px; border-radius: 12px; background: var(--w-paper, #fff); box-shadow: 0 0 0 1.5px var(--g-ink); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.plg .plg-se-c { position: relative; aspect-ratio: 1; min-width: 0; padding: 0 !important; border: 0 !important; border-radius: 3px !important; background: transparent; color: var(--g-ink); font-family: var(--g-ui); font-size: clamp(13px, 3.8vw, 19px); font-weight: 800; line-height: 1; display: grid; place-items: center; cursor: pointer; overflow: visible; }
.plg .plg-se-c.is-house:hover .plg-se-house { transform: translateY(-2px); }
.plg .plg-se-c:focus-visible { outline: 3px solid #f0c53f; outline-offset: 1px; z-index: 2; }
.plg .plg-se-c.is-open { cursor: default; }
.plg .plg-se-c.is-open:not(.v0) { cursor: pointer; }
.plg .plg-se-c.is-tip::after { content: ""; position: absolute; inset: -2px; border: 2.5px solid #7fc6a4; border-radius: 5px; z-index: 2; }
.plg-se-tips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-family: var(--g-ui); }
.plg-se-tips small { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--g-muted); margin-right: 2px; }
.plg .plg-se-tips button { min-height: 36px; padding: 4px 12px !important; border-radius: 999px !important; border: 1.5px solid var(--g-ink) !important; background: transparent; color: var(--g-ink); font-family: var(--g-ui); font-size: 14px; font-weight: 700; cursor: pointer; }
.plg .plg-se-tips button:disabled { cursor: default; opacity: .4; }
.plg .plg-se-tips button.is-used { text-decoration: line-through; }
.plg .plg-se-tips button.is-gone { text-decoration: line-through; }
.plg-se-sign, .plg-se-pup { position: absolute; z-index: 1; display: grid; place-items: center; }
.plg .plg-se-c.is-bite::after { content: ""; position: absolute; inset: -2px; border: 2.5px solid #e0604e; border-radius: 5px; }
.plg .plg-se-c.is-nb::after { content: ""; position: absolute; inset: -2px; border: 2.5px solid #f0c53f; border-radius: 5px; z-index: 2; }
.plg .plg-se-c.is-shake { animation: plg-se-shake .35s; }
@keyframes plg-se-shake { 25% { transform: translateX(-3px) rotate(-3deg); } 75% { transform: translateX(3px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .plg .plg-se-c.is-shake { animation: none; } .plg .plg-se-c.is-house:hover .plg-se-house { transform: none; } }
.plg-se-modes { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--g-ink); border-radius: 999px; padding: 3px; }
.plg .plg-se-modes button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--g-ink); font-family: var(--g-ui); font-size: 15px; font-weight: 800; cursor: pointer; }
.plg .plg-se-modes button svg { width: 20px; height: 20px; }
.plg-se-knock { width: 14px; height: 18px; border-radius: 7px 7px 0 0; background: currentColor; position: relative; }
.plg-se-knock::after { content: ""; position: absolute; right: 2.5px; top: 9px; width: 3px; height: 3px; border-radius: 50%; background: #f0c53f; }
.plg .plg-se-modes button[aria-pressed="true"] { background: var(--g-ink); color: var(--w-on-ink); }
.plg-se .plg-msg { min-height: 1.4em; margin: 0; text-align: center; }
.plg-card-snap-election .plg-card-art { border: 1.5px solid var(--g-ink); overflow: hidden; background: #fff; }
.plg-card-snap-election .plg-card-art svg { display: block; width: 100%; height: 100%; }

/* Election night, at your own pace */
.plg-n10-map { width: 100%; max-width: 380px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.plg .plg-n10-seat { min-height: 46px; padding: 4px !important; border-radius: 6px !important; background: #23211d; color: var(--n10-ink); border: 1.5px solid #3a362e !important; font-family: var(--g-ui); font-size: 11px; font-weight: 700; line-height: 1.15; cursor: pointer; transition: background .3s, color .3s; }
.plg .plg-n10-seat:hover, .plg .plg-n10-seat:focus-visible { border-color: var(--n10-ink) !important; }
.plg .plg-n10-seat.is-y { background: var(--n10-gold); color: #1d1b18; border-style: solid !important; border-color: var(--n10-gold) !important; cursor: default; }
.plg .plg-n10-seat.is-o { background: #5d6b7a; color: #f3ecdc; border-style: solid !important; border-color: #5d6b7a !important; cursor: default; }
.plg-n10-lectern { width: 100%; max-width: 380px; min-height: 120px; display: grid; place-items: center; padding: 16px 18px 26px; border-radius: 10px 10px 4px 4px; background: linear-gradient(#4a3a2a, #34281d); border-bottom: 8px solid #241a12; text-align: center; }
.plg-n10-lectern p { margin: 0; font-family: Georgia, serif; font-size: 15.5px; line-height: 1.45; color: #f3ecdc; }
.plg-n10-lectern em { color: #c9b89a; }
@media (max-width: 420px) { .plg-n10-map { grid-template-columns: repeat(3, 1fr); } }

/* Snap Election: one-colour terrace on tiles, in the reader's theme colour. */
.plg-se-house .t { fill: color-mix(in srgb, var(--t1) 12%, #fff); }
.plg-se-house .h { fill: var(--t1); }
.plg-se-house .d { fill: #fff; opacity: .9; }
.plg-se-house.is-o .t { fill: #fff; }
.plg-se-house.is-o .h { fill: color-mix(in srgb, var(--t1) 12%, #fff); }
.plg-se-house .m { fill: none; stroke: var(--t1); stroke-width: 2; stroke-linejoin: round; }
.plg-se-house .f { fill: var(--t1); }
.plg-se-board .plg-se-house.is-o .t { stroke: color-mix(in srgb, var(--t1) 16%, #fff); stroke-width: 1.5; }
.plg .plg-se-c .plg-se-house { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform .1s; }
.plg .plg-se-c { color: var(--g-ink); }
.plg .plg-se-c.is-open span { position: absolute; left: 20%; right: 20%; top: 42%; bottom: 12%; display: grid; place-items: center; font-family: var(--g-head); font-size: clamp(12px, 3.6vw, 20px); font-weight: 800; color: var(--g-ink); }
.plg .plg-se-c.is-mark span { left: auto; top: auto; right: 4%; bottom: 4%; width: 40%; height: 40%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--t1); font-size: clamp(9px, 2.4vw, 13px); }
.plg-se-sign, .plg-se-pup { position: absolute; z-index: 1; left: 26%; right: 26%; top: 38%; bottom: 12%; display: grid; place-items: center; color: #f0c53f; }
.plg-se-sign svg, .plg-se-pup svg { width: 100%; height: 100%; }
.plg-se-pup { color: #fff; }
.plg .plg-se-c.is-bite .plg-se-house .h { fill: #c8102e; }
.plg .plg-se-c.is-dog .plg-se-house .h { fill: color-mix(in srgb, var(--t1) 45%, #fff); }
.plg-card-art .plg-se-art { background: #fff; }

/* Who Leaked It? clues, each told as a piece of evidence. */
.plg-wl-ev { display: block; border-radius: 8px; padding: 7px 10px; font-size: 14px; line-height: 1.38; color: #1d1d1d; }
.plg-wl-ev small { display: block; font-family: var(--g-ui); font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; opacity: .75; }
.plg-wl-ev.is-quote { background: #f7f2e6; border-left: 4px solid #121212; border-radius: 2px 8px 8px 2px; font-family: Georgia, serif; font-style: italic; }
.plg-wl-ev.is-me { background: #eef1f6; border-left: 4px solid #1f5fa8; border-radius: 14px 14px 14px 2px; font-family: Georgia, serif; font-style: italic; }
.plg-wl-ev.is-cctv { background: #23262b; color: #d9f0d0; font-family: "Courier New", monospace; font-size: 13px; }
.plg-wl-ev.is-cctv small { color: #9fd08f; opacity: 1; }
.plg-wl-ev.is-wa { background: #e7f6dc; }
.plg-wl-ev.is-wa span { display: inline-block; background: #fff; border-radius: 10px 10px 10px 2px; padding: 4px 9px; box-shadow: 0 1px 0 rgba(0,0,0,.1); }
.plg-wl-ev.is-log { background: #fffbe8; border: 1px solid #e3d9a8; font-family: "Courier New", monospace; font-size: 13px; background-image: repeating-linear-gradient(transparent 0 19px, #e9e1bc 19px 20px); }
.plg-wl-ev.is-paw { background: #f3ede4; border: 1.5px dashed #8a7458; font-family: Georgia, serif; font-style: italic; }
.plg-wl-ev.is-book { background: #f6efdc; border: 1px solid #b8a27a; box-shadow: inset 0 0 0 3px #f6efdc, inset 0 0 0 4px #d9c49a; font-family: Georgia, serif; }
.plg-wl-ev.is-book small { color: #8a2a2a; opacity: 1; }
.plg-wl-ev.is-book em { font-family: Caveat, "Comic Sans MS", cursive; font-style: normal; font-size: 17px; color: #1f3a6a; }
.plg-wl-ev.is-feet { background: #eef3e6; border-left: 4px solid #6a4a2a; border-radius: 2px 8px 8px 2px; }
.plg-wl-ev.is-feet small::before { content: "👣 "; }
.plg-wl-card input:checked + span .plg-wl-ev { opacity: .5; }
.plg-wl-splash { max-width: 340px; margin: 28px auto 18px; border: 2px solid #121212; background: #fff; text-align: center; color: #121212; }
.plg-wl-splash small { display: block; background: #b8302a; color: #fff; padding: 4px; font-family: var(--g-ui); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.plg-wl-splash b { display: block; padding: 8px 10px 4px; font-family: Impact, "Arial Narrow Bold", "Arial Narrow", sans-serif; font-size: 28px; line-height: 1.02; }
.plg-wl-splash span { display: block; padding: 0 10px 10px; font-family: Georgia, serif; font-style: italic; font-size: 14px; }

/* Leaderboard under each ending, when the reader has an account. */
.plg-lb { margin: 18px auto 6px; max-width: 460px; border-top: 1.5px solid var(--g-ink); padding-top: 12px; text-align: left; font-family: var(--g-ui); }
.plg-lb h4 { margin: 0; font-family: var(--g-head); font-size: 20px; }
.plg-lb p { margin: 6px 0; font-size: 14.5px; line-height: 1.45; }
.plg-lb-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.plg-lb-tabs { display: flex; border: 1.5px solid var(--g-ink); border-radius: 999px; padding: 2px; }
.plg .plg-lb-tabs button { border: 0; border-radius: 999px; background: transparent; color: var(--g-ink); font: 700 13px var(--g-ui); padding: 5px 12px; cursor: pointer; }
.plg .plg-lb-tabs button[aria-selected="true"] { background: var(--g-ink); color: var(--w-on-ink, #fff); }
.plg-lb-list, .plg-lb-me { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.plg-lb-me { margin-top: 6px; border-top: 1px dashed var(--g-muted); padding-top: 6px; }
.plg-lb li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 6px 8px; border-radius: 6px; font-size: 14.5px; }
.plg-lb li:nth-child(odd) { background: color-mix(in srgb, var(--t1) 6%, transparent); }
.plg-lb li.is-me { background: color-mix(in srgb, var(--t1) 18%, transparent); font-weight: 700; }
.plg-lb li b { font-variant-numeric: tabular-nums; }
.plg-lb li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plg-lb li small { color: var(--g-muted); font-weight: 500; }
.plg-lb li em { font-style: normal; font-variant-numeric: tabular-nums; font-weight: 700; }
.plg-lb li i { font-style: normal; color: var(--t1); }
.plg-lb-foot { color: var(--g-muted); font-size: 13px !important; }
.plg-lb-msg { color: var(--g-muted); }

/* Who Leaked It? 0.1.6: Place / Pencil / Cross out, pencil marks, the day's excuse and the leaked item itself. */
.plg-wl-mode { display: inline-flex; gap: 0; margin-top: 10px; border: 1.5px solid var(--g-ink); border-radius: 999px; overflow: hidden; }
.plg .plg-wl-mode button { border: 0; border-radius: 0; background: var(--w-bg); color: var(--g-ink); font: 700 13px/1 var(--g-ui); padding: 8px 14px; cursor: pointer; white-space: nowrap; }
.plg .plg-wl-mode button + button { border-left: 1.5px solid var(--g-ink); }
.plg .plg-wl-mode button[aria-checked="true"] { background: var(--g-ink); color: var(--w-bg); }
.plg-wl-pen { position: absolute; inset: 2px; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 1px; pointer-events: none; }
.plg-wl-pen .plg-wl-tok { width: 100%; height: auto; opacity: .7; filter: none; }
/* One pencil mark shows the whole portrait, faded; two to four share the square in a 2 by 2. */
.plg-wl-pen.is-1 { grid-template-columns: 1fr; place-items: center; align-content: center; }
.plg-wl-pen.is-1 .plg-wl-tok { width: 92%; opacity: .42; }
.plg-wl-pen.is-2, .plg-wl-pen.is-3, .plg-wl-pen.is-4 { grid-template-columns: repeat(2, 1fr); align-content: center; }
.plg-wl-pen.is-2 .plg-wl-tok, .plg-wl-pen.is-3 .plg-wl-tok, .plg-wl-pen.is-4 .plg-wl-tok { opacity: .5; }
.plg-wl-case .plg-wl-excuse { display: block; margin-top: 4px; font-family: var(--pl-body, Georgia, serif); font-size: 13.5px; font-weight: 400; font-style: italic; letter-spacing: 0; color: var(--g-muted); }
.plg-wl-exhibit { max-width: 340px; margin: 0 auto 14px; padding: 10px 14px; background: #fffbe8; border: 1px solid #e3d9a8; font-family: "Courier Prime", "Courier New", monospace; color: #1d1d1d; text-align: left; }
.plg-wl-exhibit small { display: block; font-family: var(--g-ui); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8a2a2a; margin-bottom: 4px; }
.plg-wl-exhibit p { margin: 0; font-size: 14px; line-height: 1.4; }
.plg-wl-tools { flex-wrap: wrap; gap: 8px; }
.plg .plg-wl-tools small { font-weight: 600; opacity: .7; }
.plg .plg-wl-tools button:disabled { opacity: .45; cursor: default; }

/* ---------------------------------------------------------------- 0.2.0: the new look
   Hub: shelves with a big serif heading, colour-panel tiles side by side, cut-out icons in the reader's theme.
   Games: a black plate under the masthead, and the board on a light wash of the theme colour. */
.plg.plg-hub { max-width: 1120px; }
.plg-hub .plg-head h2 { font-size: clamp(36px, 6vw, 58px); font-weight: 900; }
.plg-run { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; border-top: 1px solid var(--g-ink); border-bottom: 1px solid var(--g-ink); padding: 12px 0; margin: 0 0 8px; }
.plg-run p { margin: 0; }
.plg-run-n { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.plg-run-n b { font-size: 40px; line-height: 1; font-weight: 900; font-stretch: 75%; letter-spacing: 0; color: var(--t1); }
.plg-run-week { display: flex; gap: 6px; }
.plg-run-day { width: 30px; height: 30px; border-radius: 50%; border: 1.5px dashed var(--g-muted); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--g-muted); }
.plg-run-day.is-done { background: var(--t1); border: 2px solid var(--g-ink); color: #fff; }
.plg-run-day.is-done.is-b { background: var(--t2); }
.plg-run-day.is-today { border: 2.5px solid var(--t1); color: var(--g-ink); }
.plg-run-day.is-later { opacity: .5; }
.plg-run-best { font-family: var(--pl-body, Georgia, serif); font-style: italic; font-size: 15px; color: var(--g-muted); }
.plg-carry { margin-left: auto !important; font-size: 14px; }
.plg-carry b { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-right: 6px; }
.plg-carry a { font-family: var(--g-head); font-weight: 800; color: var(--g-ink); margin-right: 10px; }
.plg-shelf { margin-top: 34px; }
.plg .plg-shelf-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 16px; font-family: var(--g-head); font-size: clamp(26px, 4vw, 34px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; color: var(--g-ink); }
.plg-shelf-h span { font-family: var(--pl-body, Georgia, serif); font-style: italic; font-weight: 400; font-size: 16px; letter-spacing: 0; color: var(--g-muted); }
.plg-shelf-chip { width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--g-ink); background: var(--t1); flex: none; }
.plg-shelf-chip-1 { background: var(--t2); }
.plg-shelf-chip-2 { background: color-mix(in srgb, var(--t1) 50%, var(--w-mix)); }
.plg-gts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 236px), 1fr)); gap: 20px; }
.plg a.plg-gt, .plg a.plg-gt:hover, .plg a.plg-gt:focus { display: flex; flex-direction: column; border: 1.5px solid var(--g-ink); border-radius: 8px; overflow: hidden; background: var(--w-bg); color: var(--g-ink); text-decoration: none !important; }
.plg a.plg-gt * { text-decoration: none !important; }
.plg a.plg-gt:hover .plg-gt-name, .plg a.plg-gt:focus-visible .plg-gt-name { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
.plg-gt { --ic-a: var(--t2); --ic-b: color-mix(in srgb, var(--t1) 55%, #fff); --ic-paper: #fff; --ic-ink: #121212; --panel: var(--l0); }
.plg-gt-1 { --ic-a: var(--t1); --ic-b: color-mix(in srgb, var(--t2) 55%, #fff); --panel: var(--l1); }
.plg-gt-2 { --panel: color-mix(in srgb, var(--t1) min(92%, calc(14% * var(--v, 1))), var(--w-mix)); }
.plg-gt-3 { --ic-a: var(--t1); --ic-b: color-mix(in srgb, var(--t2) 55%, #fff); --panel: color-mix(in srgb, var(--t2) min(92%, calc(14% * var(--v, 1))), var(--w-mix)); }
.plg-gt-art { position: relative; height: 140px; background: var(--panel); border-bottom: 1.5px solid var(--g-ink); display: flex; align-items: center; justify-content: center; }
.plg-icon { width: 76px; height: 76px; overflow: visible; filter: drop-shadow(3px 3px 0 #121212); }
.plg-pill { position: absolute; top: 10px; left: 10px; background: #fff; color: #121212; border: 1.5px solid #121212; border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.plg-gt-text { display: flex; flex-direction: column; flex: 1; padding: 13px 15px 12px; }
.plg-gt-name { font-family: var(--g-head); font-size: 23px; font-weight: 800; letter-spacing: -.015em; line-height: 1.1; }
.plg-gt-dek { font-family: var(--pl-body, Georgia, serif); font-size: 15px; font-weight: 400; line-height: 1.4; color: var(--g-muted); margin-top: 5px; flex: 1; }
.plg-chip { align-self: flex-start; margin-top: 10px; background: var(--t1); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plg-gt-note { margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g-muted); }
.plg-gt-foot { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--g-line); margin-top: 10px; padding-top: 9px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plg-clock { width: 16px; height: 16px; flex: none; }
.plg-clock circle { fill: color-mix(in srgb, var(--t1) 45%, #fff); stroke: var(--g-ink); stroke-width: 1.8; }
.plg-clock path { fill: none; stroke: var(--g-ink); stroke-width: 1.8; stroke-linecap: round; }
@container plg (max-width: 520px) {
	.plg-gts { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.plg a.plg-gt, .plg a.plg-gt:hover { flex-direction: row; align-items: center; border: 0; border-bottom: 1px solid var(--g-line); border-radius: 0; padding: 12px 0; }
	.plg-gt-art { width: 72px; height: 72px; flex: none; border: 1.5px solid var(--g-ink); border-radius: 6px; }
	.plg-icon { width: 46px; height: 46px; filter: drop-shadow(2px 2px 0 #121212); }
	.plg-pill, .plg-gt-dek { display: none; }
	.plg-gt-text { padding: 0 0 0 12px; }
	.plg-gt-name { font-size: 20px; }
	.plg-chip, .plg-gt-note { margin-top: 5px; }
	.plg-gt-foot { border: 0; margin-top: 4px; padding-top: 0; }
	.plg-carry { margin-left: 0 !important; }
}
.plg-theme-late .plg-chip, .plg-theme-late .plg-run-day.is-done { color: #1a212d; }
.plg-theme-late .plg-gt { --ic-paper: #e8e2d4; }

/* The black plate on every game */
.plg.plg-game { background: color-mix(in srgb, var(--t1) min(92%, calc(7% * var(--v, 1))), var(--w-mix)); padding: 0 16px 24px; border-radius: 0 0 10px 10px; }
.plg-plate { border-top: 0; padding-top: 0; margin: 0 -16px 18px; }
.plg-plate-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; background: #121212; color: #fff; padding: 12px 16px; }
.plg-plate .plg-crumb { margin: 0; }
.plg-plate .plg-crumb a, .plg-theme-late .plg-plate .plg-crumb a { color: #fff; text-decoration: none; font-weight: 800; font-size: 14px; }
.plg-plate-title { text-align: center; }
.plg-plate .plg-plate-title h2 { color: #fff; font-size: clamp(22px, 4.5vw, 30px); font-weight: 900; margin: 0; }
.plg-plate .plg-date { margin: 2px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: color-mix(in srgb, var(--t2) 45%, #fff); }
.plg-plate .plg-themes { justify-self: end; }
.plg-plate .plg-theme-btn { color: #fff; border-color: #fff; }
.plg-plate .plg-theme-list { color: var(--g-ink); }
.plg-plate .plg-rules { padding: 16px 16px 0; }
@container plg (max-width: 480px) {
	.plg-plate-bar { grid-template-columns: minmax(0, 1fr) auto; }
	.plg-plate-title { grid-column: 1 / -1; grid-row: 2; }
}
.plg-theme-late .pl-eyebrow { color: var(--g-muted); }

/* ---------------------------------------------------------------- 0.3.0: results panel, colour league table, the archive */
.plg .plg-end { background: var(--w-bg); border: 1.5px solid var(--g-ink); border-radius: 10px; padding: 18px 20px 20px; }
.plg-end .plg-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 460px; margin: 0 auto 18px; text-align: left; }
.plg-end .plg-stats div { min-width: 0; }
.plg-end .plg-stats dd { font-family: var(--g-ui); font-size: 40px; font-weight: 900; font-stretch: 75%; line-height: 1; }
.plg-end .plg-stats dt { order: 1; margin-top: 0; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--g-ink); }
.plg-end .plg-stats dt::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--t1); margin: 6px 0 5px; }
.plg-end .plg-stats div:nth-child(2) dt::before { background: var(--t2); }
.plg-end .plg-stats div:nth-child(3) dt::before { background: color-mix(in srgb, var(--t1) 50%, var(--w-mix)); }
.plg-end .plg-stats div:nth-child(4) dt::before { background: color-mix(in srgb, var(--t2) 50%, var(--w-mix)); }
.plg-more-arch { display: block; margin-top: 6px; font-weight: 600; font-size: 14px; }
/* League table: the top three get theme-colour rank discs, and the reader's own row stands out. */
.plg-lb li { grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid var(--g-line); border-radius: 0; }
.plg-lb li:nth-child(odd) { background: transparent; }
.plg-lb li b { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 900; border: 1.5px solid var(--g-ink); box-sizing: border-box; }
.plg-lb-list li:nth-child(1) b { background: var(--t1); color: #fff; }
.plg-lb-list li:nth-child(2) b { background: var(--t2); color: #fff; }
.plg-lb-list li:nth-child(3) b { background: color-mix(in srgb, var(--t1) 45%, var(--w-mix)); }
.plg-lb li em { font-family: var(--g-ui); font-size: 18px; font-weight: 900; font-stretch: 75%; }
.plg .plg-lb li.is-me { background: color-mix(in srgb, var(--t1) min(92%, calc(18% * var(--v, 1))), var(--w-mix)); border: 1.5px solid var(--g-ink); border-radius: 6px; }
.plg-theme-late .plg-lb-list li:nth-child(-n+2) b { color: #1a212d; }
/* Playing an old puzzle */
.plg-arch-play .plg-plate .plg-date::before { content: "◷ "; }
/* The archive page */
.plg.plg-arch { max-width: 1120px; }
.plg-arch-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
.plg-arch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.plg a.plg-arch-chip { border: 1.5px solid var(--g-ink); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; background: var(--w-bg); color: var(--g-ink); text-decoration: none !important; }
.plg a.plg-arch-chip.is-on { background: var(--g-ink); color: var(--w-bg); border-color: var(--g-ink); }
.plg-cal-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; border-top: 3px solid var(--g-ink); padding-top: 14px; }
.plg .plg-cal-nav h3 { margin: 0; min-width: 9em; text-align: center; font-family: var(--g-head); font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -.02em; color: var(--g-ink); }
.plg .plg-cal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--g-ink); background: var(--w-bg); color: var(--g-ink); font: 800 20px var(--g-ui); cursor: pointer; }
.plg .plg-cal-nav button:disabled { opacity: .3; cursor: default; }
.plg-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.plg-cal-wd { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.plg .plg-cal-day { min-height: 84px; box-sizing: border-box; border-radius: 8px; padding: 8px 9px; display: flex; flex-direction: column; text-decoration: none !important; color: var(--g-ink); background: var(--w-bg); border: 1.5px solid var(--g-ink); }
.plg-cal-day b { font-family: var(--g-ui); font-size: 27px; font-weight: 900; font-stretch: 75%; line-height: 1; }
.plg-cal-day span { margin-top: auto; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plg .plg-cal-day.is-blank { visibility: hidden; }
.plg .plg-cal-day.is-off { border: 1.5px dashed var(--g-line); color: var(--g-muted); background: transparent; opacity: .55; }
.plg .plg-cal-day.is-done { background: var(--t1); color: #fff; }
.plg .plg-cal-day.is-done.is-b { background: var(--t2); }
.plg .plg-cal-day.is-started { background: color-mix(in srgb, var(--t1) min(92%, calc(25% * var(--v, 1))), var(--w-mix)); }
.plg .plg-cal-day.is-today { box-shadow: 0 0 0 3px var(--w-bg), 0 0 0 5px var(--g-ink); }
.plg a.plg-cal-day:hover b { text-decoration: underline; text-decoration-thickness: 2px; }
.plg-theme-late .plg-cal-day.is-done { color: #1a212d !important; }
.plg-cal-key { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0 0; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plg-cal-key span { display: flex; align-items: center; gap: 6px; }
.plg-cal-key i { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--g-ink); box-sizing: border-box; background: var(--w-bg); }
.plg-cal-key i.is-done { background: var(--t1); }
.plg-cal-key i.is-started { background: color-mix(in srgb, var(--t1) min(92%, calc(25% * var(--v, 1))), var(--w-mix)); }
.plg-arch-side { padding-top: 4px; }
.plg-rec { border: 1.5px solid var(--g-ink); border-radius: 10px; padding: 16px 18px; background: var(--w-bg); }
.plg .plg-rec h4 { margin: 0; color: var(--g-ink); font-family: var(--g-ui); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.plg-rec dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 12px 0 0; }
.plg-rec dl div { display: flex; flex-direction: column; }
.plg-rec dd { order: -1; margin: 0; font-family: var(--g-ui); font-size: 38px; font-weight: 900; font-stretch: 75%; line-height: 1; }
.plg-rec dt { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.plg-rec dt::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--t1); margin: 6px 0 5px; }
.plg-rec-1 dt::before { background: var(--t2); }
.plg-rec-2 dt::before { background: color-mix(in srgb, var(--t1) 50%, var(--w-mix)); }
.plg-rec-3 dt::before { background: color-mix(in srgb, var(--t2) 50%, var(--w-mix)); }
.plg-arch-note { font-family: var(--pl-body, Georgia, serif); font-size: 15px; line-height: 1.5; color: var(--g-muted); margin: 14px 0 0; }
.plg-arch-link { color: inherit; font-weight: 800; }
@container plg (max-width: 760px) {
	.plg-arch-body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.plg-cal { gap: 4px; }
	.plg .plg-cal-day { min-height: 54px; padding: 5px; border-radius: 6px; }
	.plg-cal-day b { font-size: 19px; }
	.plg-cal-day span { font-size: 8px; letter-spacing: .02em; }
	.plg-cal-wd { font-size: 9.5px; letter-spacing: .04em; }
	.plg-arch-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.plg a.plg-arch-chip { flex: none; }
}
.plg .plg-end h3, .plg .plg-lb h4 { color: var(--g-ink); }
.plg .plg-lb-foot a { color: var(--g-ink); }
@container plg (max-width: 520px) {
	.plg .plg-end { padding: 16px 14px 18px; }
	.plg-end .plg-stats { gap: 8px; }
	.plg-end .plg-stats dd { font-size: 30px; }
	.plg-end .plg-stats dt { font-size: 9.5px; letter-spacing: .1em; }
	.plg-end .plg-stats dt::before { width: 30px; }
}

/* ---------------------------------------------------------------- Red Box (codeword) */
.plg-rb { max-width: 560px; margin: 0 auto; display: grid; gap: 10px; }
.plg-rb-bar { grid-template-columns: minmax(0, 1fr) auto auto; }
.plg-rb-doc { position: relative; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--t1) 16%, var(--w-paper, #fff)); box-shadow: 0 0 0 1.5px var(--g-ink); }
.plg-rb-stamp { position: absolute; z-index: 3; top: -12px; right: 14px; padding: 2px 10px; border: 2.5px solid var(--t2); border-radius: 4px; background: var(--w-paper, #fff); color: var(--t2); font-family: var(--g-ui); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; transform: rotate(3deg); pointer-events: none; }
.plg-rb-doc.is-done .plg-rb-stamp { top: 50%; left: 50%; right: auto; padding: 6px 18px; font-size: clamp(22px, 7vw, 38px); border-width: 4px; background: color-mix(in srgb, var(--w-paper, #fff) 82%, transparent); transform: translate(-50%, -50%) rotate(-12deg); animation: plg-rb-stamp .45s cubic-bezier(.2, 1.6, .5, 1) both; }
@keyframes plg-rb-stamp { from { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(1.8); } }
@media (prefers-reduced-motion: reduce) { .plg-rb-doc.is-done .plg-rb-stamp { animation: none; } }
.plg-rb-board { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.plg .plg-rb-c { position: relative; aspect-ratio: 1; min-width: 0; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: inset 0 0 0 .75px var(--g-ink); background: var(--w-paper, #fff); color: var(--g-ink); font-family: var(--g-head); line-height: 1; display: grid; place-items: center; cursor: pointer; white-space: normal !important; }
.plg .plg-rb-c.is-block { background: transparent; box-shadow: none; cursor: default; }
.plg .plg-rb-c small { position: absolute; top: 1px; left: 2px; font-family: var(--g-ui); font-size: clamp(6.5px, 1.7vw, 9.5px); font-weight: 700; color: var(--g-muted); letter-spacing: 0; }
.plg .plg-rb-c b { font-size: clamp(11px, 4.6vw, 24px); font-weight: 800; padding-top: 12%; }
.plg-rb-board[style*="--n:13"] .plg-rb-c b { font-size: clamp(10px, 3.6vw, 20px); }
.plg .plg-rb-c.is-same { background: color-mix(in srgb, var(--t1) 22%, var(--w-paper, #fff)); }
.plg .plg-rb-c.is-sel { background: color-mix(in srgb, var(--t1) 48%, var(--w-paper, #fff)); z-index: 1; }
.plg .plg-rb-c.is-given b { color: var(--t1); }
.plg .plg-rb-c.is-wrong b { color: var(--t2); text-decoration: line-through; text-decoration-thickness: 2px; }
.plg .plg-rb-c:focus-visible { outline: 3px solid var(--t2); outline-offset: -1px; z-index: 2; }
.plg-rb-key { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 3px; }
.plg .plg-rb-key button { position: relative; min-width: 0; height: 40px; margin: 0; padding: 0 !important; border: 1.5px solid var(--g-ink) !important; border-radius: 4px !important; background: var(--w-paper, #fff); color: var(--g-ink); display: grid; place-items: end center; cursor: pointer; white-space: normal !important; }
.plg .plg-rb-key small { position: absolute; top: 1px; left: 0; right: 0; text-align: center; font-family: var(--g-ui); font-size: 9px; font-weight: 700; color: var(--g-muted); }
.plg .plg-rb-key b { font-family: var(--g-head); font-size: 17px; font-weight: 800; padding-bottom: 2px; min-height: 20px; }
.plg .plg-rb-key button.is-sel { background: color-mix(in srgb, var(--t1) 48%, var(--w-paper, #fff)); }
.plg .plg-rb-key button.is-given b { color: var(--t1); }
.plg .plg-rb-key button.is-wrong b { color: var(--t2); text-decoration: line-through; }
.plg-rb-play { display: grid; gap: 10px; }
/* Phones: one alphabet strip under the grid, two rows of 13. A placed letter shows its number in the corner, so the strip is the code key too. */
.plg-rb-key { display: none; }
.plg-rb-az { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 3px; }
.plg .plg-rb-az button { position: relative; min-width: 0; height: 46px; margin: 0; padding: 0 !important; border: 1.5px solid var(--g-ink) !important; border-radius: 5px !important; background: color-mix(in srgb, var(--t1) 20%, var(--w-paper, #fff)); color: var(--g-ink); display: grid; place-items: center; cursor: pointer; white-space: normal !important; }
.plg .plg-rb-az b { font-family: var(--g-head); font-size: 18px; font-weight: 800; padding-top: 4px; }
.plg .plg-rb-az small { position: absolute; top: 1px; right: 3px; font-family: var(--g-ui); font-size: 9px; font-weight: 700; color: var(--g-muted); }
.plg .plg-rb-az button.is-used { background: var(--w-paper, #fff); }
.plg .plg-rb-az button.is-used b { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--g-muted); }
.plg .plg-rb-az button.is-mine { background: color-mix(in srgb, var(--t1) 48%, var(--w-paper, #fff)); }
.plg .plg-rb-az button.is-mine b { text-decoration: none; }
.plg .plg-rb-az button.is-no { background: transparent; border-color: color-mix(in srgb, var(--g-ink) 18%, transparent) !important; color: color-mix(in srgb, var(--g-ink) 32%, transparent); cursor: default; }
/* Wide screens: grid, then the alphabet down the side, then the code key in two columns, as on a newspaper puzzle page. */
@container plg (min-width: 640px) {
	.plg-rb { max-width: 860px; }
	.plg-rb-play { grid-template-columns: minmax(0, 1fr) 76px 112px; align-items: stretch; gap: 12px; }
	.plg-rb-az { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(13, minmax(0, 1fr)); grid-auto-flow: column; gap: 3px; }
	.plg .plg-rb-az button { height: auto; min-height: 0; }
	.plg .plg-rb-az b { font-size: 16px; padding-top: 2px; }
	.plg .plg-rb-az small { font-size: 8px; right: 2px; }
	.plg-rb-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 13), minmax(0, 1fr)); grid-auto-flow: column; gap: 0; }
	.plg .plg-rb-key button { height: auto; min-height: 0; border-radius: 0 !important; border-width: 1px !important; margin: 0 -1px -1px 0; }
	.plg .plg-rb-key b { font-size: 16px; }
	.plg-rb-az[hidden] + .plg-rb-key { grid-column: 2 / 4; }
}
.plg-rb-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
@media (max-width: 420px) { .plg-rb-doc { padding: 6px; } .plg .plg-rb-key button { height: 36px; } .plg .plg-rb-key b { font-size: 15px; } .plg .plg-rb-az button { height: 42px; } .plg .plg-rb-az b { font-size: 16px; } }

/* Reshuffle: Killer cages */
.plg-su-board.is-killer { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 1px; }
.plg .plg-su-board.is-killer .plg-sc { box-shadow: inset var(--bl, 0) 0 0 var(--g-ink), inset calc(-1 * var(--br, 0px)) 0 0 var(--g-ink), inset 0 var(--bt, 0) 0 var(--g-ink), inset 0 calc(-1 * var(--bb, 0px)) 0 var(--g-ink); }
.plg .plg-su-board.is-killer .plg-sc.is-sel { box-shadow: inset 0 0 0 2px var(--w-hi-edge); }
.plg-su-board.is-killer .plg-cage { position: absolute; border: 0 dashed color-mix(in srgb, var(--g-ink) 70%, transparent); pointer-events: none; }
.plg-su-board.is-killer .plg-cage-sum { position: absolute; top: 1px; left: 2px; z-index: 1; padding: 0 2px; background: inherit; font-family: var(--g-ui); font-size: clamp(8px, 2.2vw, 11px); font-weight: 800; line-height: 1.1; color: var(--g-ink); pointer-events: none; }
.plg-su-board.is-killer .plg-sc .plg-notes { padding-top: 6px; }
@media (max-width: 420px) { .plg .plg-su-shape button { padding: 4px 6px; gap: 5px; font-size: 13px; } }
