/* home-list.css: the flat list of all games (home-list.js). Colours follow the shared tokens (--bg --card --ink --soft --line --tint --acc --ok --swoff --knob --r) of index.css / store.css,
   so the dark theme, high contrast and the lively themes come for free. Text >= 15px, targets >= 44px, a play row >= 64px. No animation. */
.hl{display:flex;flex-direction:column;min-height:0;color:var(--ink,#2b3140);font-family:"Rubik","Varela Round","Arial Rounded MT Bold","Segoe UI",Arial,sans-serif;font-size:17px;line-height:1.3;text-align:start;-webkit-user-select:none;user-select:none}
.hl *,.hl *::before,.hl *::after{box-sizing:border-box}
.hl button{font:inherit;color:inherit;border:0;background:none;padding:0;margin:0;cursor:pointer;touch-action:manipulation}
.hl a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.hl :focus-visible{outline:3px solid var(--acc,#34639f);outline-offset:2px;border-radius:12px}
.hl h2,.hl h3,.hl p,.hl ul{margin:0;padding:0}
.hl ul{list-style:none}
/* as the home's full-screen page */
.hl-over{position:fixed;inset:0;z-index:45;background:var(--bg,#f5f2ec);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.hl-over .hl-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.hl-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 16px 8px;border-bottom:1px solid var(--line,#e3ded4);flex:none}
.hl-back,.hl-arr{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:48px;min-height:48px;padding:0 14px;border-radius:24px;background:var(--card,#fff);border:1.5px solid var(--line,#e3ded4);font-weight:700;font-size:16px;white-space:nowrap;flex:none}
.hl-arr[aria-pressed=true]{background:var(--tint,#e8eef7);border-color:var(--acc,#34639f)}
.hl-back:active,.hl-arr:active{background:var(--tint,#e8eef7)}
.hl-t{flex:1 1 80px;min-width:0;font-size:20px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.hl-jump{flex:1 1 100%;display:flex;gap:6px;justify-content:space-between}
.hl-chip{flex:1 1 0;min-width:44px;max-width:72px;height:46px;border-radius:14px;background:var(--card,#fff);border:1.5px solid var(--line,#e3ded4);display:flex;align-items:center;justify-content:center}
.hl-chip span{font-size:22px;line-height:1}
.hl-chip:active{background:var(--tint,#e8eef7)}
.hl-body{width:100%;max-width:1180px;margin:0 auto;padding:6px 16px 28px}
.hl-hint{margin:10px 2px 0;font-size:15px;color:var(--soft,#5a6272)}
.hl-h{margin:20px 2px 8px;font-size:17px;font-weight:700;color:var(--soft,#5a6272);scroll-margin-top:4px}
.hl-ul{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.hl-r{display:flex;align-items:center;gap:12px;min-height:64px;padding:7px 12px;border-radius:var(--r,16px);background:var(--card,#fff);border:1px solid var(--line,#e3ded4);color:var(--ink,#2b3140);text-decoration:none;text-align:start;width:100%}
a.hl-r:active{background:var(--tint,#e8eef7)}
.hl-ic{width:50px;height:50px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:28px;line-height:1;flex:none;border:2px solid #ffffff66;box-shadow:0 1px 3px #0003;background:linear-gradient(135deg,#7c5cff,#2a8fd0)}
.hl-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.hl-nm{font-weight:700;font-size:17px;line-height:1.25;overflow-wrap:break-word}
.hl-mt{font-size:15px;color:var(--soft,#5a6272);line-height:1.3;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px}
.hl-ds{display:none;font-size:15px;color:var(--soft,#5a6272);line-height:1.3}
.hl-pill{display:inline-block;padding:0 8px;border-radius:10px;background:var(--tint,#e8eef7);color:var(--ink,#2b3140);font-weight:700;font-size:15px;line-height:1.35}
.hl-go{font-style:normal;font-size:24px;color:var(--soft,#5a6272);flex:none;line-height:1}
.hl-r.is-last .hl-ic{box-shadow:0 0 0 3px var(--acc,#34639f)}
/* arrange mode: the game itself = "about the game"; switch and arrows sit at the end (on their own line on a narrow phone) */
.hl-ar{flex-wrap:wrap;gap:6px 10px;padding:8px}
.hl-ab{flex:1 1 180px;min-width:0;min-height:56px;display:flex;align-items:center;gap:12px;text-align:start;border-radius:12px}
.hl-ab:active{background:var(--tint,#e8eef7)}
.hl-ab[disabled]{cursor:default}
.hl-ct{display:flex;align-items:center;gap:8px;margin-inline-start:auto}
.hl-mini{width:44px;height:44px;border-radius:12px;background:var(--bg,#f5f2ec);border:1px solid var(--line,#e3ded4);font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.hl-mini:active{background:var(--tint,#e8eef7)}
.hl-mini[disabled]{opacity:.3;cursor:default}
.hl-sw{width:64px;height:44px;border-radius:999px;background:var(--swoff,#c9c3b7);position:relative;flex:none;padding:0}
.hl-sw::after{content:"";position:absolute;top:5px;inset-inline-start:5px;width:34px;height:34px;border-radius:50%;background:var(--knob,#fff);box-shadow:0 1px 2px #0003}
.hl-sw[aria-checked=true]{background:var(--ok,#2c6e52)}
.hl-sw[aria-checked=true]::after{inset-inline-start:25px}
.hl-ar.is-off{border-style:dashed}
.hl-ar.is-off .hl-ic,.hl-ar.is-off .hl-nm{opacity:.5}
.hl-none{margin:18px 2px 10px;font-size:17px}
.hl-btn{display:flex;align-items:center;justify-content:center;min-height:52px;margin:14px 0 0;padding:8px 18px;border-radius:var(--r,16px);background:var(--card,#fff);border:1.5px solid var(--line,#e3ded4);font-weight:700;font-size:17px}
.hl-btn:active{background:var(--tint,#e8eef7)}
.hl-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:379px){.hl-top{padding-inline:12px}.hl-body{padding-inline:12px}.hl-back,.hl-arr{padding:0 10px}}
/* wider screens (a phone held sideways, a tablet, a computer): two or three columns, the one-line description appears */
@media (min-width:700px){
 .hl-ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hl-jump{flex:0 0 auto;justify-content:flex-start}
 .hl-chip{flex:none;width:48px}
 .hl-t{flex:1 1 120px}
}
@media (min-width:700px) and (min-height:520px){.hl-ds{display:block}.hl-r{min-height:76px}}
@media (min-width:1100px){.hl-ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-height:520px) and (orientation:landscape){.hl-top{padding-block:6px}.hl-back,.hl-arr{min-height:46px}}
html[data-an-contrast=high] .hl-r,html[data-an-contrast=high] .hl-chip,html[data-an-contrast=high] .hl-back,html[data-an-contrast=high] .hl-arr{border-color:currentColor}
/* on store.html (Arrange page): the page has its own title; the list keeps only the shortcut chips, which stay in reach while the page scrolls */
.hl-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hl-fixed .hl-top{position:sticky;top:0;z-index:3;background:var(--bg,#f5f2ec);border:0;padding:6px 0 8px}
.hl-fixed .hl-body{padding:0;max-width:none}
.hl-fixed .hl-jump{justify-content:space-between}
@media (min-width:700px){.hl-fixed .hl-jump{justify-content:flex-start}}
@media (max-width:459px){.hl-ab{flex-basis:100%}.hl-ct{margin-inline-start:0;width:100%;padding-inline-start:4px}}
.hl-fixed .hl-h{scroll-margin-top:84px}
