Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661@font-face { font-family: "Nordwand Mono"; src: url("../fonts/NordwandMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap;}
@font-face { font-family: "Nordwand Mono"; src: url("../fonts/NordwandMono-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap;}
:root { color-scheme: light dark;
--background-color: light-dark(#fbfaff, #0d0d0d); --text-color: light-dark(#17121f, white); --muted-text-color: light-dark(#4b4459, #a3a3a3); --link-color: light-dark(purple, #b794f6); --command-color: light-dark(#1d7a3c, #86e0a6);
--menu-bg-color: light-dark(#f3effa, rgb(26, 26, 26)); --menu-bg-color-translucent: light-dark(rgb(243 239 250 / 0.75), rgb(26 26 26 / 0.7)); --menu-border-color: light-dark(#d8cfe8, #404040); --alternative-bg-color-translucent: light-dark(rgb(230 223 243 / 0.75), rgb(38 38 38 / 0.7));
--radius: 8px; --radius-small: 5px;
--dots: radial-gradient(light-dark(rgb(90 60 140 / 0.13), rgb(255 255 255 / 0.04)) 1px, transparent 1.5px); --dots-size: 18px 18px;}
*,*::before,*::after { box-sizing: border-box;}
html { scrollbar-gutter: stable;}
body { margin: 0; min-height: 100vh; font-family: "Nordwand Mono", ui-monospace, monospace; color: var(--text-color); background-color: light-dark(#f4edf9, #121113);}
body::before { content: ""; position: fixed; inset: 0; z-index: -1;
background-image: var(--dots); background-size: var(--dots-size); pointer-events: none;}
input,button,code { font: inherit;}
a { color: var(--link-color); text-decoration: none;
&:hover { text-decoration: underline; }}
header { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: stretch; background-color: var(--menu-bg-color-translucent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--menu-border-color);
a { display: flex; align-items: center; padding: 11px 20px; color: var(--text-color);
&:hover { text-decoration: none; color: var(--link-color); background-color: var(--alternative-bg-color-translucent); } }
.brand { gap: 10px; font-size: 1.2em; font-weight: 600; }
nav { display: flex; }
.json { gap: 6px; margin-left: auto; font-size: 0.85em; color: var(--muted-text-color); }}
main { display: flex; flex-direction: column; gap: 20px; max-width: 1000px; margin: 0 auto; padding: 24px 20px 48px;}
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
h1 { margin: 0; font-size: 1.3em; font-weight: 600; }
.count { color: var(--muted-text-color); font-weight: 400; }
input[type="search"] { width: min(100%, 320px); min-height: 42px; padding: 10px 14px; border: 1px solid var(--menu-border-color); border-radius: var(--radius); background-color: var(--menu-bg-color-translucent); color: var(--text-color); font-size: 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
&:hover { border-color: var(--text-color); }
&:focus-visible { outline: none; border-color: var(--link-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link-color) 12%, transparent); } }}
.filters { display: flex; flex-wrap: wrap; gap: 8px;
.filter { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; font-size: 13px; color: var(--text-color); border: 1px solid var(--menu-border-color); border-radius: 999px; background-color: var(--menu-bg-color-translucent); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease;
&:hover { border-color: var(--text-color); }
&:focus-visible { outline: 2px solid var(--link-color); outline-offset: 2px; }
&[aria-pressed="true"] { border-color: var(--link-color); background-color: color-mix(in srgb, var(--link-color) 15%, transparent); }
.n { font-size: 11px; color: var(--muted-text-color); }
img { display: block; height: 16px; width: auto; max-width: 64px;
&.mono { height: 13px;
@media (prefers-color-scheme: dark) { filter: invert(1); } } } }}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none;}
.card { position: relative; isolation: isolate; aspect-ratio: 2 / 3; min-width: 0; overflow: hidden; border: 1px solid var(--menu-border-color); border-radius: var(--radius); background: linear-gradient(160deg, color-mix(in srgb, var(--link-color) 25%, transparent), transparent 70%), var(--menu-bg-color-translucent); transition: border-color 0.2s ease;
&[hidden] { display: none; }
&:hover, &:has(.open:focus-visible) { border-color: var(--text-color); }
.open { display: block; width: 100%; height: 100%; padding: 0; border: 0; color: inherit; font: inherit; text-align: inherit; background: none; cursor: pointer;
&:focus-visible { outline: 2px solid var(--link-color); outline-offset: -3px; border-radius: var(--radius); }
> img { display: block; width: 100%; height: 100%; object-fit: cover; } }
.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; padding: 16px; text-align: center; color: var(--muted-text-color);
.initial { font-size: 64px; font-weight: 600; line-height: 1; opacity: 0.5; }
.title { font-size: 13px; font-weight: 600; } }
.platform { position: absolute; top: 0; left: 0; z-index: 2; display: flex; align-items: center; padding: 9px 28px 28px 9px; font-size: 11px; font-weight: 600; color: white; text-shadow: 0 1px 2px rgb(0 0 0 / 0.6); background: radial-gradient( ellipse at top left, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.3) 40%, transparent 70% ); pointer-events: none;
img, .platform-name { pointer-events: auto; }
img { display: block; height: 18px; width: auto; max-width: 64px; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.6));
&.mono { height: 16px; max-width: 72px; filter: brightness(0) invert(1) drop-shadow(0 0 1px rgb(0 0 0 / 0.9)) drop-shadow(0 1px 2px rgb(0 0 0 / 0.6)); } } }
.caption { position: absolute; inset: auto 0 0; display: -webkit-box; overflow: hidden; padding: 28px 10px 9px; font-size: 12px; font-weight: 600; line-height: 1.35; color: white; text-shadow: 0 1px 2px rgb(0 0 0 / 0.6); background: linear-gradient(to top, rgb(0 0 0 / 0.85), rgb(0 0 0 / 0.55) 60%, transparent); pointer-events: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }}
.details { width: min(720px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; overflow: auto; color: var(--text-color); border: 1px solid var(--menu-border-color); border-radius: var(--radius); background-color: var(--menu-bg-color); background-image: var(--dots); background-size: var(--dots-size); box-shadow: 0 24px 48px -12px rgb(0 0 0 / 0.5);
&:focus { outline: none; }
&::backdrop { background-color: rgb(0 0 0 / 0.55); backdrop-filter: blur(4px); }
&[open] { animation: details-in 0.2s ease; }
.backdrop { position: absolute; inset: 0 0 auto; width: 100%; height: 260px; object-fit: cover; opacity: 0.45; mask-image: linear-gradient(to bottom, black 20%, transparent); pointer-events: none;
@media (prefers-color-scheme: light) { opacity: 0.3; } }
.sheet { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px; }
.art { align-self: start; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius-small); box-shadow: 0 12px 24px -8px rgb(0 0 0 / 0.5); background: linear-gradient(160deg, color-mix(in srgb, var(--link-color) 25%, transparent), transparent 70%), var(--alternative-bg-color-translucent);
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.placeholder { display: grid; place-items: center; height: 100%; font-size: 96px; font-weight: 600; color: var(--muted-text-color); opacity: 0.5; } }
.body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.meta { display: flex; align-items: center; gap: 8px; padding-right: 32px; font-size: 12px; font-weight: 600; color: var(--text-color); text-shadow: 0 1px 3px light-dark(rgb(255 255 255 / 0.8), rgb(0 0 0 / 0.8));
img { display: block; height: 16px; width: auto; max-width: 64px;
&.mono { height: 13px;
@media (prefers-color-scheme: dark) { filter: invert(1); } } } }
h2 { margin: 0; font-size: 1.4em; font-weight: 600; line-height: 1.25; }
p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-text-color); text-shadow: 0 1px 3px light-dark(rgb(255 255 255 / 0.8), rgb(0 0 0 / 0.8)); }
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px;
a { display: inline-flex; align-items: center; gap: 4px; } }
.close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; color: var(--text-color); border: 1px solid var(--menu-border-color); border-radius: 50%; background-color: var(--menu-bg-color-translucent); cursor: pointer;
&:hover { border-color: var(--text-color); }
&:focus-visible { outline: 2px solid var(--link-color); outline-offset: 2px; } }
.run { display: flex; align-items: flex-start; gap: 8px; margin-top: auto; padding: 8px 8px 8px 12px; border: 1px solid var(--menu-border-color); border-radius: var(--radius-small); background-color: var(--alternative-bg-color-translucent);
code { flex: 1; min-width: 0; padding-top: 5px; font-size: 12px; line-height: 1.5; overflow-wrap: break-word; color: var(--command-color); user-select: all;
&::before { content: "$ "; color: var(--muted-text-color); opacity: 0.7; } }
button { display: grid; flex-shrink: 0; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--menu-border-color); border-radius: var(--radius-small); background-color: var(--menu-bg-color); color: var(--text-color); cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease;
&:hover { border-color: var(--text-color); }
&:focus-visible { outline: 2px solid var(--link-color); outline-offset: 1px; }
.icon-check { display: none; }
&[data-copied] { color: var(--link-color); border-color: var(--link-color);
.icon-copy { display: none; }
.icon-check { display: block; } } } }}
@keyframes details-in { from { opacity: 0; transform: translateY(8px) scale(0.98); }}
@media (prefers-reduced-motion: reduce) { .details[open] { animation: none; }}
@media (max-width: 600px) { header { justify-content: center;
.brand { flex-basis: 100%; justify-content: center; }
.json { margin-left: 0; } }
.toolbar { flex-direction: column;
input[type="search"] { width: 100%; } }
main { padding-inline: 12px; }
.grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.details .sheet { grid-template-columns: 1fr; gap: 20px; padding: 20px;
.art { justify-self: center; width: 55%; } }}