@import url("fonts/inter.css");
:root {
  color-scheme: dark;
  --bg: #111315;
  --sidebar: #151719;
  --surface: #1b1e20;
  --raised: #23272a;
  --line: #303436;
  --strong: #f4f5f2;
  --muted: #a5aaa9;
  --faint: #909795;
  --accent: #c3f879;
  --accent-text: #1d3014;
  --selected: #283021;
  --chip: #24282a;
  --sidebar-w: 214px;
  --panel: 16px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7f4;
  --sidebar: #fafbf8;
  --surface: #fff;
  --raised: #f0f2ee;
  --line: #d9ddd5;
  --strong: #20251e;
  --muted: #515b53;
  --faint: #646e67;
  --accent: #c3f879;
  --accent-text: #203719;
  --selected: #e5f0d7;
  --chip: #edf0e9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--strong);
  font:
    14px/1.5 Inter,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #83ba4e;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.ico {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.skip {
  position: fixed;
  z-index: 20;
  left: 10px;
  top: -80px;
  padding: 10px;
  background: var(--accent);
  color: var(--accent-text);
}
.skip:focus {
  top: 6px;
}
.side {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 8;
}
.brand,
.mobile-brand {
  font-weight: 770;
  letter-spacing: -1.35px;
}
.brand {
  height: 75px;
  padding: 0 21px;
  display: flex;
  align-items: center;
  font-size: 25px;
  flex-shrink: 0;
}
.brandmark {
  display: block;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  flex: none;
}
.mobile-brand .brandmark {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}
.side nav {
  padding: 11px 13px;
  overflow: auto;
}
.navgroup {
  margin-bottom: 25px;
}
.label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.45px;
  color: var(--faint);
  font-weight: 720;
  margin: 0 12px 9px;
}
.nav {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  padding: 9px 12px;
  min-height: 39px;
  font-size: 13px;
  border-radius: 7px;
  font-weight: 520;
  text-align: left;
}
.nav:hover,
.iconbtn:hover,
.action:hover,
.secondary:hover,
.filter-btn:hover {
  background: var(--raised);
  color: var(--strong);
}
.nav.active {
  background: var(--selected);
  color: #c5ee99;
}
.nav.active .ico {
  stroke-width: 2;
}
[data-theme="light"] .nav.active,
[data-theme="light"] .is-on {
  color: #426827;
}
.topic {
  font-size: 12px;
  min-height: 33px;
}
.topic-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.nav .topic-dot {
  margin: 0 6px;
}
.mint {
  background: #86cba4;
}
.lilac {
  background: #b69aea;
}
.pink {
  background: #e99ac6;
}
.blue {
  background: #82aee5;
}
.orange {
  background: #eaa778;
}
.side-end {
  margin-top: auto;
  padding: 10px 13px 18px;
  border-top: 1px solid var(--line);
}
.shell {
  margin-left: var(--sidebar-w);
}
.bar {
  height: 66px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 clamp(20px, 2.8vw, 54px);
  background: var(--bg);
}
.crumb,
.byline,
.back {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}
.crumb > .ico {
  width: 16px;
}
.crumb span {
  color: var(--faint);
  padding: 0 2px;
}
.crumb b {
  color: var(--strong);
  font-weight: 560;
}
.search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  max-width: 290px;
  width: 28vw;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  color: var(--muted);
}
.search input {
  width: 100%;
  min-width: 0;
  background: none;
  padding: 0;
  border: 0;
  outline: none;
  font-size: 12px;
}
.search:focus-within {
  outline: 2px solid #83ba4e;
}
.search input:focus-visible {
  outline: 0;
}
.search > .ico {
  width: 15px;
}
kbd {
  border: 1px solid var(--line);
  padding: 0 5px;
  border-radius: 4px;
  font-size: 10px;
}
.iconbtn {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-radius: 7px;
}
.signin,
.user-pill {
  color: var(--strong);
  font-size: 12px;
  font-weight: 650;
}
.user-pill {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: #43533a;
  color: #e0f8c6;
}
.hamburger,
.mobile-brand,
.shade {
  display: none;
}
main {
  max-width: 1680px;
  margin: 0 auto;
  padding: 32px clamp(20px, 2.8vw, 54px) 72px;
}
.pagehead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 23px;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -1.65px;
  font-weight: 710;
}
.pagehead p,
.muted {
  color: var(--muted);
}
.pagehead p {
  margin-top: 7px;
  font-size: 13px;
}
.primary,
.secondary,
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 13px;
  white-space: nowrap;
  min-height: 37px;
  padding: 8px 14px;
}
.primary {
  background: var(--accent);
  color: var(--accent-text);
  border: 1px solid transparent;
}
.primary:hover {
  background: #d4ff99;
}
.primary .ico {
  width: 16px;
}
.secondary,
.filter-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--strong);
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 8px;
}
.tabs {
  display: flex;
  gap: 25px;
  min-width: 0;
}
.tabs > a,
.tabs > span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 12px 0 15px;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 2px solid transparent;
  font-weight: 550;
}
.tabs .ico {
  width: 16px;
  height: 16px;
}
.tabs .chosen {
  color: var(--strong);
  border-color: var(--accent);
}
.tabs .chosen .ico {
  color: #addf73;
}
[data-theme="light"] .tabs .chosen .ico {
  color: #436622;
}
.filter-btn {
  font-size: 12px;
  min-height: 30px;
  padding: 4px 9px;
  margin-bottom: 4px;
}
.filter-btn .ico {
  width: 14px;
}
.filter-panel {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.filter-panel > a {
  padding: 8px;
  text-decoration: underline;
}
.chips {
  display: flex;
  gap: 7px;
  overflow: auto;
  scrollbar-width: thin;
  padding: 17px 0 18px;
}
.chips > a {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 550;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 11px;
  background: var(--surface);
  color: var(--muted);
}
.chips a:hover {
  border-color: var(--muted);
}
.chips .chip-on {
  color: var(--bg);
  background: var(--strong);
  border-color: var(--strong);
}
.chips .topic-dot {
  width: 6px;
  height: 6px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.15s;
  min-width: 0;
}
.card:hover {
  border-color: var(--faint);
}
.cardtop {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 11px;
}
.avatar {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: none;
  font-weight: 750;
  font-size: 12px;
}
.av-agent {
  background: #4c435e;
  color: #e8d5ff;
}
.av-design {
  background: #5e3e4d;
  color: #ffcadf;
}
.av-game {
  background: #674e36;
  color: #ffdbad;
}
.av-tools {
  background: #344e5f;
  color: #c2e7ff;
}
.av-code {
  background: #405443;
  color: #d6f2c9;
}
.author {
  font-weight: 600;
  color: var(--strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cardtop time {
  white-space: nowrap;
}
.dotsep {
  opacity: 0.65;
}
.card-type {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.cover {
  display: block;
  margin: 0 9px;
  overflow: hidden;
  border-radius: 7px;
  aspect-ratio: 2 / 1;
  background: var(--raised);
}
.cover img,
.detail-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fallback {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 26px;
  padding: 12px;
  overflow: hidden;
  color: #182226;
  background: #a9cfc8;
}
.art-agent {
  background: #c5b4df;
}
.art-design {
  background: #e5b5cc;
}
.art-game {
  background: #e0bd9c;
}
.cardtext {
  padding: 13px 15px 10px;
  flex: 1;
}
.metadata,
.detailtop {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
}
.topic-tag {
  font-size: 10px;
  font-weight: 620;
  line-height: 1.6;
  padding: 1px 7px;
  border-radius: 4px;
}
.t-agent {
  background: #332d43;
  color: #d6b8ff;
}
.t-design {
  background: #3c2934;
  color: #f3b3d2;
}
.t-tools {
  background: #283743;
  color: #adcef4;
}
.t-code {
  background: #24392f;
  color: #a4ddbd;
}
.t-game {
  background: #3b3027;
  color: #efbf96;
}
.card h2 {
  font-size: clamp(17px, 1.45vw, 23px);
  line-height: 1.32;
  letter-spacing: -0.6px;
  font-weight: 650;
  margin: 7px 0 5px;
}
.cardtext p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cardfoot,
.detailactions {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 8px;
}
.push {
  flex: 1;
}
.action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  min-height: 32px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.action .ico {
  width: 17px;
  height: 17px;
}
.signal {
  display: inline-flex;
  margin: 0;
}
.is-on {
  color: var(--accent);
  background: var(--selected);
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
}
.empty > .ico {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}
.empty h2 {
  color: var(--strong);
}
.empty .secondary {
  margin-top: 15px;
}
.pager {
  margin: 25px auto;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.pager a,
.authbox p a,
.affiliate {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reading {
  max-width: 810px;
  margin: auto;
}
.back {
  margin: 0 0 20px;
}
.detailtop {
  margin-bottom: 12px;
}
.byline {
  margin: 15px 0;
  flex-wrap: wrap;
}
.detail-art {
  aspect-ratio: 2.6;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--raised);
}
.bodycopy {
  white-space: normal;
  margin: 22px 0;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.facts,
.detailactions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.facts > span,
.status,
.sponsor {
  font-size: 12px;
  color: var(--muted);
  background: var(--raised);
  border-radius: 5px;
  padding: 4px 8px;
}
.facts .primary {
  margin-left: auto;
}
.detailactions {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 19px 0;
  padding: 6px 0;
}
.video {
  border: 0;
  width: 100%;
  aspect-ratio: 16/9;
}
.block,
.panel,
.authbox {
  margin: 16px 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.block h2 {
  font-size: 20px;
  margin-bottom: 12px;
}
.block h2 small,
.response small {
  color: var(--muted);
}
.response {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.response p {
  margin: 6px 0;
}
.response a,
.affiliate {
  color: var(--strong);
  font-weight: 600;
}
.response form .secondary {
  margin-top: 8px;
}
summary {
  font-weight: 600;
}
details .stack {
  margin-top: 15px;
}
.stack {
  display: grid;
  gap: 15px;
}
.stack > button {
  justify-self: start;
}
.stack label,
.filter-panel label,
.response form label {
  display: block;
  font-size: 13px;
  color: var(--strong);
  font-weight: 550;
}
input:not([type="hidden"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 9px 11px;
  color: var(--strong);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 400;
}
.search input {
  background: none;
  border: 0;
  padding: 0;
}
.stack label + input,
.stack label + select,
.stack label + textarea,
.stack label input,
.stack label textarea,
.filter-panel select,
.response input {
  margin-top: 5px;
}
.helptext,
.stack .helptext ul {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0;
}
.stack ul {
  padding-left: 18px;
}
.errorlist {
  color: #f39c9c;
}
.authbox {
  max-width: 470px;
  margin: 30px auto;
}
.authbox h1 {
  font-size: 30px;
  margin: 15px 0 5px;
}
.authbox .stack {
  margin: 22px 0;
}
.message {
  border: 1px solid var(--line);
  border-left: 3px solid #87ad63;
  padding: 10px 13px;
  margin-bottom: 12px;
  border-radius: 5px;
  background: var(--surface);
}
.affiliate {
  display: inline-block;
  margin-top: 15px;
  font-size: 12px;
}
@media (min-width: 1750px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1180px) and (min-width: 901px) {
  :root {
    --sidebar-w: 190px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .shell {
    margin: 0;
  }
  .side {
    transform: translateX(-100%);
    visibility: hidden;
    width: 235px;
  }
  .menu-open .side {
    transform: none;
    visibility: visible;
  }
  .menu-open .shade {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 7;
    background: #0009;
  }
  .menu-open body {
    overflow: hidden;
  }
  .hamburger,
  .mobile-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-brand {
    font-size: 20px;
  }
  .bar {
    gap: 8px;
  }
  .crumb {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search {
    width: 34vw;
  }
  .card h2 {
    font-size: 19px;
  }
}
@media (max-width: 580px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .bar {
    padding: 0 10px;
    height: 53px;
    gap: 5px;
  }
  .bar .iconbtn {
    width: 30px;
  }
  .mobile-brand {
    font-size: 17px;
    letter-spacing: -1px;
  }
  .signin {
    font-size: 11px;
  }
  .search {
    width: auto;
    min-width: 0;
    flex: 1;
    max-width: 240px;
    margin-left: 4px;
    gap: 4px;
    padding: 0 6px;
    height: 30px;
  }
  .search input {
    font-size: 11px;
  }
  .search kbd {
    display: none;
  }
  main {
    padding: 23px 13px 55px;
  }
  .pagehead {
    align-items: start;
    gap: 8px;
    margin-bottom: 13px;
  }
  .pagehead p {
    font-size: 12px;
    max-width: 31ch;
  }
  .pagehead .primary {
    font-size: 12px;
    min-height: 33px;
    padding: 6px 10px;
  }
  .tabs {
    gap: 12px;
  }
  .tabs > a,
  .tabs > span {
    font-size: 11.5px;
    gap: 4px;
  }
  .tabs .ico {
    width: 13px;
  }
  .filter-btn {
    min-width: 31px;
  }
  .filter-btn span {
    display: none;
  }
  .chips {
    padding: 13px 0;
    scrollbar-width: none;
  }
  .cardtext {
    padding: 14px 15px 9px;
  }
  .card h2 {
    font-size: 21px;
  }
  .cardtop {
    padding: 11px 14px;
  }
  .cover {
    margin: 0 8px;
  }
  .authbox,
  .block,
  .panel {
    padding: 15px;
  }
  .detail-art {
    aspect-ratio: 2;
  }
  .facts .primary {
    margin-left: 0;
  }
  .user-pill {
    width: 26px;
    height: 26px;
  }
  .reading h1 {
    font-size: 29px;
  }
  .filter-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.work-filter {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.work-filter label {font-weight:600}.work-filter label .ico {width:16px;margin-right:4px}
.work-filter select {width:auto;flex:1;max-width:340px}
.metric-scroll {overflow-x:auto;margin-top:1rem}.metric-scroll table{border-collapse:collapse;width:100%;text-align:left}.metric-scroll td,.metric-scroll th{padding:10px;border-bottom:1px solid var(--line)}
@media(max-width:580px){.work-filter {gap:8px}.work-filter label {width:100%}.work-filter button{font-size:11px;padding:6px}.work-filter select{width:50%;font-size:12px}}

.thread-reply{margin-inline-start:clamp(12px,4vw,40px);border-inline-start:2px solid currentColor;padding-inline-start:12px}.comment-tools details{margin-block:.4rem}.response:target{outline:2px solid currentColor;outline-offset:3px}.response{overflow-wrap:anywhere}

.week-metrics{display:grid;gap:1rem}.week-metrics dt{font-weight:600}.week-metrics dd{margin:.3rem 0;font-size:1.2rem}.week-metrics small{display:block}

.thread-reply.nested-reply{margin-inline-start:clamp(20px,7vw,68px)}
