/* /deviantart-alternative: a dark art-community gallery with a bright green accent, masonry and favorite stars. */
:root {
  --bg: #06070d;
  --panel: #12141c;
  --panel-2: #1a1d28;
  --line: #262a38;
  --ink: #f2f3f7;
  --soft: #a3a8b8;
  --green: #00e59b;
  --green-dark: #00c585;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.65 var(--font); overflow-x: hidden; }
a { color: var(--green); }
img { display: block; max-width: 100%; height: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; height: 58px; padding: 0 24px; background: rgba(6, 7, 13, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font: 800 22px var(--head); color: var(--ink); text-decoration: none; letter-spacing: -.5px; }
.brand span { color: var(--green); }
.top-nav { display: flex; gap: 2px; }
.top-nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 6px 12px; border-radius: 6px; }
.top-nav a:hover { color: var(--ink); background: var(--panel-2); }
.create { margin-left: auto; background: var(--green); color: #00140d; font-weight: 800; font-size: 14.5px; text-decoration: none; padding: 8px 18px; border-radius: 999px; }
.create span { font-size: 18px; line-height: 0; }
.create:hover { background: #4cffc1; }

.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 7, 13, .92) 0%, rgba(6, 7, 13, .6) 45%, rgba(6, 7, 13, 0) 75%), linear-gradient(0deg, var(--bg) 0%, rgba(6, 7, 13, 0) 30%); }
.hero-copy { position: relative; z-index: 1; max-width: 640px; padding: 70px 24px 56px max(24px, calc((100vw - 1180px) / 2 + 24px)); }
.kicker { display: inline-block; margin: 0 0 14px; font: 700 13px var(--font); color: var(--green); text-transform: uppercase; letter-spacing: 2px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; }
h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; margin: 0 0 18px; letter-spacing: -1px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin: 0 0 18px; letter-spacing: -.5px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.lead { font-size: 18px; color: #d3d6e0; margin: 0 0 26px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.btn { display: inline-block; background: var(--green); color: #00140d; font-weight: 800; text-decoration: none; padding: 14px 28px; border-radius: 999px; }
.btn:hover { background: #4cffc1; }
.note { font: 600 24px var(--hand); color: var(--green); transform: rotate(-4deg); }

main { max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; }
.block { padding: 50px 0; }
.head-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.head-row p, .sub { margin: -8px 0 20px; color: var(--soft); }
.head-row p { margin: 0 0 18px; }

.masonry { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 14px; }
.masonry li { break-inside: avoid; margin-bottom: 14px; position: relative; border-radius: 8px; overflow: hidden; background: var(--panel); }
.masonry img { width: 100%; transition: transform .4s; }
.masonry li:hover img { transform: scale(1.03); }
.cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 26px 12px 10px; background: linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0)); opacity: 0; transition: opacity .25s; }
.masonry li:hover .cap, .masonry li:focus-within .cap { opacity: 1; }
.cap b { font: 700 15px var(--head); }
.fave { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; padding: 0; flex: none; }
.fave::before { content: "☆"; font-size: 18px; line-height: 32px; }
.fave[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #00140d; }
.fave[aria-pressed="true"]::before { content: "★"; }

.sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.sheet article { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.sheet article:hover { border-color: var(--green); transform: translateY(-3px); }
.sheet p { margin: 0 0 14px; color: var(--soft); font-size: 15px; flex: 1; }
.ready { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--green); background: rgba(0, 229, 155, .1); padding: 3px 10px; border-radius: 999px; }
.shp { display: block; border: 2px solid var(--green); border-radius: 4px; margin-bottom: 14px; height: 30px; }
.shp.sq { width: 30px; border-radius: 50%; }
.shp.half { width: 26px; border-radius: 13px 13px 4px 4px; }
.shp.full { width: 18px; }
.shp.ref { width: 46px; background: linear-gradient(90deg, transparent 31%, var(--green) 31% 36%, transparent 36% 64%, var(--green) 64% 69%, transparent 69%); }
.shp.wide { width: 52px; }
.shp.alt { width: 30px; border-style: dashed; }
.shp.loop { width: 30px; border-radius: 50%; border-right-color: transparent; animation: turn 2.4s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.split p { color: #d3d6e0; }
.mini { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: 8px; }
.mini li { counter-increment: m; background: var(--panel); border-radius: 10px; padding: 11px 14px 11px 48px; position: relative; color: var(--soft); font-size: 15px; }
.mini li::before { content: counter(m); position: absolute; left: 14px; top: 10px; font: 800 18px var(--head); color: var(--green); }
.wipe { position: relative; margin: 0; max-width: 360px; justify-self: center; width: 100%; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.wipe img { width: 100%; }
.wipe .color { position: absolute; inset: 0; height: 100%; clip-path: inset(0 100% 0 0); animation: wipe 6s ease-in-out infinite; }
@keyframes wipe { 0%, 15% { clip-path: inset(0 100% 0 0); } 50%, 80% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
.wipe .hand { position: absolute; left: 14px; bottom: 10px; font: 600 26px var(--hand); color: #3b3a40; background: rgba(255, 255, 255, .7); padding: 0 10px; border-radius: 6px; transform: rotate(-3deg); }

.refsheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: #f7f4ec; border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.refsheet figure { margin: 0; }
.refsheet img { border-radius: 8px; }
.refsheet figcaption { font: 600 24px var(--hand); color: #3b3a40; text-align: center; margin-top: 6px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cols article { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.cols p { margin: 0; color: var(--soft); font-size: 15px; }

.move { text-align: center; background: radial-gradient(circle at 50% 0, rgba(0, 229, 155, .16), transparent 60%), var(--panel); border-radius: 20px; padding: 50px 24px; margin: 30px 0; }
.wide { max-width: 44em; margin: 0 auto 24px; color: #d3d6e0; }

.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin-bottom: 8px; max-width: 54em; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.faq details p { margin: 0 0 16px; color: var(--soft); }
.more-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more-list a { display: inline-block; background: var(--panel-2); color: var(--ink); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.more-list a:hover { background: var(--green); color: #00140d; }

.site-foot { border-top: 1px solid var(--line); padding: 24px; text-align: center; font-size: 14px; color: var(--soft); }
.site-foot p { margin: 2px 0; }
.site-foot a { color: var(--soft); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .top-nav { display: none; }
  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(6, 7, 13, .75) 55%, rgba(6, 7, 13, .35)); }
  .hero-copy { padding: 140px 16px 40px; }
}
@media (max-width: 560px) {
  .top { padding: 0 16px; }
  main { padding: 0 16px 30px; }
  .refsheet { gap: 8px; padding: 10px; }
  .refsheet figcaption { font-size: 19px; }
  .cap { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wipe .color { animation: none; clip-path: inset(0 0 0 50%); }
  .shp.loop { animation: none; }
  .masonry img, .sheet article { transition: none; }
}
