:root {
  font-family:
    "Segoe UI",
    Arial,
    sans-serif;
  color-scheme: dark;
  --bg:#141716;
  --header:#181c1a;
  --surface:#1e2320;
  --surface2:#262c28;
  --surface3:#303831;
  --text:#efeee8;
  --secondary:#b8beb5;
  --muted:#929c91;
  --line:#343d34;
  --strong-line:#505c4e;
  --accent:#e4c77c;
  --accent-text:#292618;
  --soft:#303326;
  --error:#ffb5a8;
  --success:#a6d2a4;
  --input:#181d19;
  --shadow:0 14px 32px #0004;
  --mono:ui-monospace,Consolas,monospace;
  font-synthesis: none;
}
:root[data-theme=light] {
  color-scheme: light;
  --bg:#f5f4ee;
  --header:#f9f8f3;
  --surface:#fffefa;
  --surface2:#efeee5;
  --surface3:#e6e6da;
  --text:#282e27;
  --secondary:#555e50;
  --muted:#6b7565;
  --line:#d6d9cc;
  --strong-line:#afb6a3;
  --accent:#ead092;
  --accent-text:#342e1f;
  --soft:#eeead8;
  --error:#a53225;
  --success:#326c39;
  --input:#fafaf6;
  --shadow:0 14px 32px #39452b13;
}
* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  transition: background-color .2s, color .2s;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
button:disabled {
  cursor: default;
  opacity: .3;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  border-radius: 5px;
}
input,
select,
textarea {
  min-width: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -.7px;
  line-height: 1.35;
}
h2 {
  font-size: 22px;
  font-weight: 630;
  letter-spacing: -.4px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
[data-theme=light] :focus-visible {
  outline-color: #8b713b;
}
button,
a {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex: none;
}
.fine,
.muted {
  color: var(--muted);
}
.fine {
  font-size: 12px;
  line-height: 1.7;
}
.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 9px;
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.art-letter {
  display: grid;
  place-items: center;
  min-height: 100%;
  font-size: 40px;
  font-weight: 600;
  color: var(--secondary);
}
kbd {
  font: 10px var(--mono);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  min-height: 20px;
  padding: 1px 4px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 3px;
  color: var(--muted);
  background: var(--surface);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 9px 15px;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.3;
  transition:
    transform .13s,
    background .15s,
    border-color .15s;
  position: relative;
}
.button:hover {
  background: var(--surface3);
  border-color: var(--strong-line);
}
.button:active:not(:disabled) {
  transform: translateY(1px);
  border-bottom-width: 1px;
  margin-bottom: 1px;
}
.button.primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: #b49e65;
}
.button.primary:hover {
  filter: brightness(1.055);
}
.button.ghost {
  background: transparent;
}
.button.small {
  font-size: 11px;
  min-height: 33px;
  padding: 7px 11px;
}
.button.full-width {
  width: 100%;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.icon-button,
.promo-save {
  width: 37px;
  height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--secondary);
  transition:
    transform .16s,
    background .16s,
    color .16s;
}
.icon-button:hover,
.promo-save:hover {
  background: var(--surface3);
  color: var(--text);
}
.icon-button:active,
.promo-save:active {
  transform: scale(.91);
}
[data-save][aria-pressed=true] {
  color: var(--accent);
}
[data-theme=light] [data-save][aria-pressed=true] {
  color: #8b6624;
}
.text-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--secondary);
  font-size: 12px;
  padding: 4px 0;
}
.text-link:hover {
  color: var(--text);
}
.text-link .icon {
  width: 14px;
  height: 14px;
}
.badge {
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 2px 6px;
  line-height: 1.4;
  border-radius: 3px;
  color: var(--secondary);
}
.price-note {
  font-weight: 400;
  color: var(--muted);
  margin-left: 2px;
}
.loading-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
}
.loading-indicator::before {
  content: "";
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--accent);
  border: 2px solid var(--line);
  border-top-color: currentColor;
  border-right-color: currentColor;
  animation: loading-pixel-turn 1s steps(4, end) infinite;
}
[data-theme=light] .loading-indicator::before {
  color: #8b6624;
}
@keyframes loading-pixel-turn {
  to {
    transform: rotate(1turn);
  }
}
.site-header {
  background: var(--header);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.header-inner {
  max-width: 1392px;
  margin: auto;
  padding: 0 32px;
  min-height: 77px;
  display: flex;
  align-items: center;
  gap: 49px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  letter-spacing: -1.2px;
  font-size: 27px;
  font-weight: 730;
  line-height: 1;
}
.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid #92957765;
}
.brand-period {
  color: var(--accent);
}
[data-theme=light] .brand-period {
  color: #967734;
}
.main-nav {
  position: relative;
  display: flex;
  gap: 30px;
  align-self: stretch;
  align-items: stretch;
}
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  color: var(--muted);
}
.main-nav a:hover,
.main-nav a[aria-current=page] {
  color: var(--text);
}
#nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  pointer-events: none;
  transition:
    transform .36s cubic-bezier(.18, .85, .25, 1.1),
    width .36s cubic-bezier(.18, .85, .25, 1.1),
    opacity .18s;
  border-radius: 1px;
}
.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto;
}
.header-divider {
  height: 19px;
  border-left: 1px solid var(--line);
}
#account-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}
.login-link {
  font-size: 12px;
  color: var(--secondary);
  padding: 8px 0;
}
.login-link:hover {
  color: var(--text);
}
.signup-button {
  min-height: 36px;
  padding: 8px 14px;
}
.account-button {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
}
main {
  max-width: 1344px;
  padding: 32px 32px 44px;
  margin: auto;
  min-height: calc(100dvh - 182px);
}
main:focus {
  outline: none;
}
.page-intro,
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.page-intro > div > p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.section-head h1 {
  font-size: 26px;
}
.heading-count {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
  margin-left: 12px;
}
.compact-intro {
  margin-bottom: 22px;
}
.creator-panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 27px;
  margin-bottom: 30px;
  min-height: 89px;
}
.creator-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}
.creator-avatar {
  width: 51px;
  height: 51px;
  object-fit: cover;
  border-radius: 5px;
  flex: none;
}
.creator-identity h2 {
  font-size: 17px;
  letter-spacing: -.35px;
  margin-bottom: 2px;
}
.creator-identity span {
  font-size: 12px;
  color: var(--muted);
}
.social-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 23px;
  border-left: 1px solid var(--line);
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  color: var(--secondary);
  transition: background .14s, transform .14s;
}
.social-link .icon {
  width: 19px;
  height: 19px;
}
.social-link:hover {
  color: var(--text);
  background: var(--surface2);
  transform: translateY(-2px);
}
.community-actions {
  margin-left: auto;
  display: flex;
  gap: 27px;
  align-items: center;
}
.discord-button {
  background: var(--surface2);
  border-color: var(--strong-line);
  color: var(--text);
}
.community-actions .text-link {
  font-size: 11px;
}
.collection-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 19px;
}
.filter-pills {
  display: flex;
  align-items: center;
  gap: 4px;
}
.filter-pills button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  color: var(--muted);
  transition: background .15s, color .15s;
}
.filter-pills button .icon {
  height: 14px;
  width: 14px;
}
.filter-pills button:hover {
  color: var(--text);
  background: var(--surface);
}
.filter-pills button[aria-pressed=true] {
  background: var(--surface2);
  color: var(--text);
  border-color: var(--line);
}
.project-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 242px;
  height: 35px;
  color: var(--muted);
}
.project-search:focus-within {
  border-color: var(--strong-line);
}
.project-search > .icon {
  width: 15px;
  height: 15px;
}
.project-search input {
  border: 0;
  outline: 0;
  background: none;
  width: 100%;
  min-width: 0;
  font-size: 12px;
}
.project-search input::placeholder {
  color: var(--muted);
}
.project-search kbd {
  flex: none;
  min-width: 16px;
  min-height: 18px;
  font-size: 9px;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  perspective: 1200px;
}
.promo-card {
  min-width: 0;
  position: relative;
  padding: 9px;
  background: var(--surface);
  border: 1px solid var(--strong-line);
  border-bottom: 3px solid var(--line);
  border-radius: 9px;
  box-shadow: inset 0 1px 0 #ffffff06, 0 3px 0 #080c0730;
  transform: perspective(850px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));
  transition:
    transform .16s,
    border-color .2s,
    box-shadow .2s;
  isolation: isolate;
}
.promo-card:hover {
  border-color: var(--strong-line);
  box-shadow: inset 0 1px 0 #ffffff0b, 0 8px 20px #0002;
}
.promo-card::before,
.promo-card::after {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  pointer-events: none;
  z-index: 3;
  border: 2px solid var(--strong-line);
}
.promo-card::before {
  top: 5px;
  left: 5px;
  border-right: 0;
  border-bottom: 0;
}
.promo-card::after {
  bottom: 5px;
  right: 5px;
  border-top: 0;
  border-left: 0;
}
.card-head {
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 7px 7px;
}
.card-kind {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 10px var(--mono);
  color: var(--secondary);
}
.card-kind .icon {
  width: 12px;
  height: 12px;
  stroke-width: 1.6;
}
.card-head .sponsored {
  font: 9px var(--mono);
  padding: 2px 5px;
  border-color: var(--line);
  color: var(--muted);
}
.card-artwork {
  height: 211px;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #7f8b7b27;
  border-radius: 4px;
  background: color-mix(in srgb, var(--project-color) 55%, var(--surface));
  position: relative;
}
.card-artwork::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #b7c0a411;
  border-radius: 1px;
  pointer-events: none;
}
.card-artwork .item-art {
  width: 72%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 6px 2px #0002);
}
.card-artwork.has-scene > img.scene-art {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.card-artwork.has-scene::after {
  display: none;
}
.card-artwork .art-letter {
  height: 100%;
  width: 100%;
  background: var(--surface2);
}
.promo-body {
  padding: 13px 8px 0;
}
.promo-title {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.25px;
  font-weight: 600;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.promo-title a:hover {
  color: var(--accent);
}
[data-theme=light] .promo-title a:hover {
  color: #856528;
}
.promo-author {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 9px;
  overflow-wrap: anywhere;
}
.promo-summary {
  font-size: 12px;
  line-height: 1.65;
  color: var(--secondary);
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.promo-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 13px;
  padding: 5px 0 0;
  min-height: 39px;
}
.promo-bottom > span {
  display: flex;
  gap: 6px;
  align-items: center;
  font: 10px var(--mono);
  color: var(--muted);
}
.promo-bottom .icon {
  width: 14px;
  height: 14px;
}
.promo-save {
  width: 30px;
  height: 30px;
}
.promo-save .icon {
  width: 16px;
  height: 16px;
}
.home-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 29px;
}
.home-shortcuts > a {
  display: flex;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--line);
  padding: 19px 5px;
  font-size: 13px;
  color: var(--secondary);
}
.home-shortcuts > a .icon:first-child {
  color: var(--muted);
}
.home-shortcuts > a .icon:last-child {
  margin-left: auto;
  transition: transform .2s;
}
.home-shortcuts > a:hover {
  color: var(--text);
}
.home-shortcuts > a:hover .icon:last-child {
  transform: translateX(4px);
}
.empty-small {
  padding: 65px 20px;
  text-align: center;
  grid-column: 1/-1;
}
.empty-small h3 {
  margin-bottom: 14px;
}
.deck-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}
.deck-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}
.deck-filters select {
  background: var(--surface);
  border: 1px solid var(--line);
  height: 35px;
  padding: 6px 9px;
  font-size: 11px;
  max-width: 135px;
  color: var(--secondary);
}
.deck-filters .project-search {
  width: 187px;
}
.deck-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 284px;
  gap: 27px;
  margin-top: 25px;
}
.deck-browser {
  min-width: 0;
  position: relative;
  align-self: start;
}
.deck-stage {
  height: 470px;
  width: 100%;
  position: relative;
  overflow: hidden;
  perspective: 1300px;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  isolation: isolate;
  outline-offset: -5px !important;
  border-radius: 8px;
}
.deck-stage.dragging {
  cursor: grabbing;
}
.deck-card {
  position: absolute;
  width: 306px;
  height: 403px;
  top: 48%;
  left: 50%;
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
  perspective: 1000px;
  cursor: grab;
  will-change: transform;
  visibility: hidden;
}
.deck-card.is-active {
  cursor: grab;
}
.deck-card img {
  -webkit-user-drag: none;
  user-select: none;
}
.deck-card:not(.is-active) {
  cursor: pointer;
}
.deck-stage.dragging .deck-card {
  cursor: grabbing;
}
.card-turn {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.22, .75, .25, 1);
}
.deck-card.flipped .card-turn {
  transform: rotateY(180deg);
}
.deck-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background: var(--surface);
  border: 1px solid var(--strong-line);
  border-bottom: 4px solid var(--line);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 #ffffff15, 0 15px 25px #0005;
  padding: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.deck-card.is-active .deck-face {
  border-color: #9d9568;
  border-bottom-color: #797354;
  box-shadow:
    inset 0 0 0 3px var(--surface),
    inset 0 0 0 4px #8a845e45,
    0 20px 32px #0005;
}
.deck-face::before,
.deck-face::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid var(--strong-line);
  pointer-events: none;
  z-index: 2;
}
.deck-face::before {
  top: 5px;
  left: 5px;
  border-bottom: 0;
  border-right: 0;
}
.deck-face::after {
  bottom: 5px;
  right: 5px;
  border-top: 0;
  border-left: 0;
}
.deck-card.is-active .deck-face::before,
.deck-card.is-active .deck-face::after {
  border-color: var(--accent);
}
[data-theme=light] .deck-face {
  box-shadow: 0 16px 25px #3d492123;
}
[data-theme=light] .deck-card.is-active .deck-face {
  box-shadow:
    inset 0 0 0 3px var(--surface),
    inset 0 0 0 4px #8a845e55,
    0 18px 28px #3d492126;
}
.card-edition {
  font: 10px var(--mono);
  color: var(--muted);
}
.deck-card .card-head {
  height: 30px;
  flex: none;
  padding: 0 5px 8px;
}
.deck-card .card-artwork {
  height: 235px;
  flex: none;
}
.deck-card .card-artwork .item-art {
  width: 79%;
  height: 85%;
}
.deck-card-info {
  padding: 13px 7px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.deck-card-info h2 {
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.45px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.deck-card-info > p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.deck-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 5px;
  font: 9px var(--mono);
  color: var(--secondary);
  white-space: nowrap;
  min-height: 30px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #8eaf81;
  flex: none;
}
.status-dot.is-upcoming {
  background: var(--accent);
}
.flip-button {
  height: 25px;
  width: 27px;
  margin-left: auto;
}
.flip-button .icon {
  height: 13px;
  width: 13px;
}
.deck-back {
  transform: rotateY(180deg);
  padding: 15px 19px;
}
.deck-back .card-head {
  padding: 0;
  margin-bottom: 15px;
}
.back-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.back-identity img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 3px;
}
.back-identity h2 {
  font-size: 18px;
  line-height: 1.25;
}
.back-summary {
  font-size: 12px;
  line-height: 1.75;
  color: var(--secondary);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-facts {
  margin: 14px 0 auto;
  font-size: 11px;
}
.card-facts > div {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.card-facts dt {
  color: var(--muted);
}
.card-facts dd {
  margin: 0;
  text-align: right;
  max-width: 160px;
}
.deck-back .button {
  width: 100%;
  min-height: 35px;
  font-size: 11px;
  margin-top: 9px;
}
.deck-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: -2px;
  padding: 0 13px 13px;
  color: var(--muted);
}
.deck-hint {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.deck-hint > span {
  margin: 0 2px;
  color: var(--strong-line);
}
.deck-navigation > .text-link {
  font-size: 10px;
  gap: 5px;
}
.deck-navigation > .text-link .icon {
  width: 13px;
  height: 13px;
}
.deck-navigation kbd {
  font-size: 9px;
  min-width: 16px;
  min-height: 17px;
}
.deck-stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}
.deck-stepper .icon-button {
  background: var(--surface);
  border: 1px solid var(--line);
  width: 33px;
  height: 33px;
  border-bottom-width: 2px;
}
.deck-stepper .icon-button:hover:not(:disabled) {
  background: var(--surface3);
}
#deck-counter {
  font: 11px var(--mono);
  min-width: 56px;
  text-align: center;
  color: var(--secondary);
}
.deck-inspector {
  border-left: 1px solid var(--line);
  padding: 22px 0 0 27px;
  align-self: start;
  min-width: 0;
  min-height: 420px;
}
.inspector-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 10px var(--mono);
  color: var(--muted);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.date-detail {
  margin-left: auto;
  white-space: nowrap;
}
.inspector-content > h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.65px;
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}
.inspector-author {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.inspector-summary {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.tag-row > span {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 6px;
  color: var(--secondary);
  text-transform: capitalize;
}
.inspector-facts {
  font-size: 11px;
  margin-bottom: 21px;
}
.inspector-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.inspector-facts span {
  color: var(--muted);
}
.inspector-facts strong {
  font-weight: 450;
  text-align: right;
  max-width: 162px;
}
.inspector-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.inspector-actions > .button {
  flex: 1;
}
.inspector-save {
  border: 1px solid var(--line);
  height: 39px;
  width: 39px;
  background: var(--surface);
}
.inspector-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 0 16px;
}
.inspector-secondary .text-link {
  font-size: 11px;
}
.inspector-secondary .icon-button {
  width: 29px;
  height: 29px;
}
.inspector-note {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.export-single {
  font-size: 10px;
  margin-top: 9px;
}
.inspector-preview {
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 17px;
  border-radius: 4px;
  overflow: hidden;
  text-align: left;
  width: 100%;
}
.inspector-preview img {
  aspect-ratio: 16/8;
  width: 100%;
  object-fit: cover;
}
.inspector-preview > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  padding: 8px 10px;
  color: var(--muted);
}
.inspector-preview .icon {
  width: 12px;
  height: 12px;
}
.deck-index {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 17px;
}
.index-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--secondary);
  margin-bottom: 12px;
}
.index-heading .text-link {
  font-size: 10px;
  color: var(--muted);
}
.deck-hotbar {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--strong-line) transparent;
  padding: 5px 3px 13px;
  scroll-padding-inline: 10px;
}
.hotbar-item {
  flex: 0 0 72px;
  padding: 5px 5px 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  transition: transform .18s, border-color .18s;
}
.hotbar-art {
  width: 60px;
  height: 54px;
  background: var(--surface2);
  padding: 5px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff08;
  border-radius: 2px;
  overflow: hidden;
}
.hotbar-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hotbar-art .art-letter {
  font-size: 20px;
}
.hotbar-item > span:last-child {
  display: block;
  text-align: center;
  font: 9px var(--mono);
  color: var(--muted);
  padding-top: 7px;
}
.hotbar-item:hover {
  transform: translateY(-3px);
  border-color: var(--strong-line);
}
.hotbar-item[aria-pressed=true] {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.hotbar-item[aria-pressed=true] > span:last-child {
  color: var(--text);
}
[data-theme=light] .hotbar-item[aria-pressed=true] {
  border-color: #9b8145;
  box-shadow: 0 0 0 1px #9b8145;
}
.deck-empty {
  padding: 65px 20px 85px;
  text-align: center;
}
.deck-empty h2 {
  font-size: 22px;
  margin: 26px 0 10px;
}
.deck-empty p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.empty-card-stack {
  width: 110px;
  height: 125px;
  position: relative;
  margin: auto;
}
.empty-card-stack i {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  transform: rotate(-12deg) translateX(-18px);
}
.empty-card-stack i:nth-child(2) {
  transform: rotate(12deg) translateX(18px);
}
.empty-card-stack i:last-child {
  transform: none;
  background: var(--surface2);
}
.empty-card-stack .icon {
  width: 31px;
  height: 31px;
  color: var(--muted);
}
.commissions-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  margin-top: 34px;
  align-items: start;
}
.commission-intro {
  padding: 10px 0;
}
.commission-intro > h2 {
  font-size: 24px;
  letter-spacing: -.6px;
  margin-bottom: 15px;
}
.commission-intro > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--secondary);
  max-width: 420px;
}
.service-list {
  margin-top: 27px;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 5px;
  flex: none;
  color: var(--secondary);
}
.service-item h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.service-item p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.process-line {
  display: flex;
  margin-top: 31px;
  gap: 16px;
}
.process-step {
  flex: 1;
}
.process-step strong {
  display: grid;
  place-items: center;
  height: 26px;
  width: 26px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: 10px var(--mono);
  color: var(--muted);
  margin-bottom: 9px;
}
.process-step span {
  font-size: 11px;
  color: var(--secondary);
}
.commission-contact {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 29px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.commission-contact .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.quote-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 27px 29px;
  border-radius: 7px;
}
.form-heading {
  margin-bottom: 26px;
}
.form-heading h2 {
  font-size: 21px;
  letter-spacing: -.5px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin-bottom: 18px;
}
.form-field label {
  font-size: 12px;
  font-weight: 500;
}
.form-field label .muted {
  font-size: 10px;
  font-weight: 400;
}
.form-field input,
.form-field select,
.form-field textarea,
.copy-link-input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: var(--input);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--strong-line);
}
.form-field small {
  font-size: 10px;
  color: var(--muted);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 23px;
}
.form-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 15px;
}
.form-feedback {
  font-size: 12px;
  line-height: 1.7;
  color: var(--error);
  margin: 12px 0;
}
.form-feedback.success {
  color: var(--success);
}
.honeypot {
  position: absolute;
  left: -10000px;
}
.field-password {
  position: relative;
  min-width: 0;
}
.auth-main .form-field input:not([type=checkbox]):not([type=radio]) {
  min-height: 52px;
}
.form-field .field-password input {
  display: block;
  min-height: 52px;
  padding-inline-end: 58px;
}
.password-toggle {
  position: absolute;
  inset-inline-end: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--secondary);
  box-shadow: none;
  appearance: none;
  cursor: pointer;
  transition: color .15s, background .15s;
}
.password-toggle .icon {
  width: 20px;
  height: 20px;
}
.password-toggle:hover {
  background: var(--surface2);
  color: var(--text);
}
.password-toggle:active {
  background: var(--soft);
}
.password-toggle:focus-visible {
  outline-offset: -2px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 27px;
}
.breadcrumbs .icon {
  width: 13px;
  height: 13px;
}
.breadcrumbs a:hover {
  color: var(--text);
}
.detail-header {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 31px;
}
.detail-icon {
  width: 88px;
  height: 88px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--surface);
  flex: none;
}
.detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-heading {
  min-width: 0;
}
.detail-heading h1 {
  font-size: 29px;
  line-height: 1.25;
  margin: 4px 0 6px;
}
.detail-heading > p {
  font-size: 12px;
  color: var(--muted);
}
.detail-heading .eyebrow {
  margin: 0;
  font-size: 10px;
}
.detail-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.detail-actions > .icon-button {
  border: 1px solid var(--line);
  height: 39px;
  width: 39px;
}
.detail-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 29px;
}
.detail-tabs button {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0 15px;
  position: relative;
}
.detail-tabs button[aria-selected=true] {
  color: var(--text);
}
.detail-tabs button[aria-selected=true]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 48px;
}
.detail-main {
  min-width: 0;
}
.detail-main > h2 {
  font-size: 25px;
  margin-bottom: 15px;
}
.detail-main > .summary {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 20px;
  color: var(--secondary);
}
.detail-main > .fine {
  font-size: 13px;
  max-width: 690px;
}
.detail-aside {
  padding-left: 25px;
  border-left: 1px solid var(--line);
}
.detail-aside h3 {
  font-size: 13px;
  margin-bottom: 18px;
}
.fact {
  display: flex;
  justify-content: space-between;
  gap: 13px;
  font-size: 12px;
  margin-bottom: 13px;
}
.fact > span {
  color: var(--muted);
}
.fact strong {
  font-weight: 450;
  text-align: right;
  max-width: 150px;
}
.feature-gallery {
  width: 100%;
  padding: 0;
  margin-bottom: 28px;
  border-radius: 5px;
  overflow: hidden;
}
.feature-gallery img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}
.detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.gallery-button {
  padding: 0;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.gallery-button img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.gallery-button span {
  display: block;
  padding: 11px 14px;
  font-size: 12px;
  color: var(--secondary);
}
.version-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.version-row > div {
  flex: 1;
}
.version-row h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.version-row p {
  font-size: 11px;
  color: var(--muted);
}
.readme {
  font-size: 14px;
  line-height: 1.85;
  color: var(--secondary);
  overflow-wrap: anywhere;
}
.readme h2 {
  font-size: 21px;
  color: var(--text);
  margin: 24px 0 14px;
}
.readme p {
  margin-bottom: 18px;
}
.readme a {
  color: var(--accent);
  text-decoration: underline;
}
[data-theme=light] .readme a {
  color: #83601c;
}
.readme-image {
  max-width: 100%;
  height: auto;
}
.readme code {
  font: 12px var(--mono);
  background: var(--surface2);
  padding: 2px 4px;
  border-radius: 3px;
}
.saved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.search-result > img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.search-result > div {
  flex: 1;
  min-width: 0;
}
.search-result strong {
  font-size: 14px;
  display: block;
}
.search-result span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.search-result > .icon {
  color: var(--muted);
}
.empty-state {
  text-align: center;
  padding: 45px 20px;
  grid-column: 1/-1;
}
.empty-state h2 {
  font-size: 21px;
  margin-bottom: 13px;
}
.empty-state p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 22px;
}
.initial-loading {
  padding: 70px 20px;
  text-align: center;
  color: var(--muted);
}
.dialog {
  max-height: calc(100dvh - 40px);
  width: min(650px, calc(100vw - 30px));
  border: 1px solid var(--strong-line);
  background: var(--surface);
  color: var(--text);
  padding: 0;
  border-radius: 9px;
  overflow: auto;
  box-shadow: 0 20px 90px #0005;
}
.dialog::backdrop {
  background: #090d0aca;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 11px;
  top: 11px;
  z-index: 5;
}
.dialog-content {
  padding: 33px;
}
.dialog h2 {
  font-size: 25px;
  letter-spacing: -.6px;
  margin: 0 30px 13px 0;
  line-height: 1.3;
}
.dialog p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--secondary);
  margin-bottom: 17px;
}
.dialog p.form-feedback {
  color: var(--error);
}
.dialog p.form-feedback.success {
  color: var(--success);
}
.dialog p.form-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 17px;
  margin-bottom: 0;
}
.auth-dialog {
  width: min(440px, calc(100vw - 30px));
}
.auth-main {
  padding: 35px;
}
.auth-main > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
}
.auth-main h2 {
  margin-bottom: 8px;
}
.auth-help {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 18px;
}
.auth-help .text-link {
  font-size: 11px;
}
.auth-switch {
  text-align: center;
  font-size: 12px !important;
  margin: 21px 0 0 !important;
}
.auth-switch button {
  padding: 0 4px;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin: 21px 0 0 !important;
  font-size: 10px !important;
}
.auth-note .icon {
  width: 12px;
  height: 12px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 18px;
}
.plan-option {
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 5px;
  padding: 19px 12px;
  min-width: 0;
}
.plan-option[aria-pressed=true] {
  border-color: var(--accent);
  background: var(--soft);
}
.plan-option > strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.plan-price {
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -1px;
}
.plan-price small {
  display: block;
  font:
    10px "Segoe UI",
    Arial,
    sans-serif;
  color: var(--muted);
  margin-top: 7px;
}
.plan-option p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin: 14px 0 0;
}
.selected-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.selected-dot .icon {
  height: 11px;
  width: 11px;
}
.placement-recap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 17px;
  margin-bottom: 23px;
}
.placement-recap span {
  color: var(--secondary);
}
.source-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  font-size: 13px;
}
.image-dialog {
  width: min(1100px, calc(100vw - 30px));
}
.image-dialog img {
  width: 100%;
  max-height: 70dvh;
  object-fit: contain;
}
.image-dialog .dialog-content {
  padding: 27px;
}
.shortcut-list {
  font-size: 13px;
  margin: 24px 0 0;
}
.shortcut-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.shortcut-list dt {
  color: var(--secondary);
}
.shortcut-list dd {
  margin: 0;
}
.copy-link-input {
  margin-bottom: 15px;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 0 27px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
}
.footer-brand {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.75px;
  color: var(--secondary);
}
.footer-links {
  margin-left: auto;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links button {
  color: var(--muted);
  font-size: 10px;
  padding: 3px 0;
}
.footer-links a:hover,
.footer-links button:hover {
  color: var(--text);
}
#toast {
  position: fixed;
  bottom: 23px;
  left: 50%;
  transform: translate(-50%, 10px);
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--strong-line);
  border-bottom-width: 3px;
  padding: 11px 17px;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  max-width: calc(100vw - 30px);
  box-shadow: var(--shadow);
  transition: opacity .18s, transform .18s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.click-pixel {
  position: fixed;
  height: 4px;
  width: 4px;
  background: var(--accent);
  z-index: 1000;
  pointer-events: none;
  will-change: transform, opacity;
  border-radius: 0;
}
.noscript {
  text-align: center;
  padding: 30px;
}
@media (min-width: 1550px) {
  .deck-stage {
    height: 500px;
  }
  .deck-card {
    width: 324px;
    height: 426px;
  }
  .deck-card .card-artwork {
    height: 249px;
  }
  .deck-card-info {
    padding-top: 15px;
  }
}
@media (max-width: 1343px) {
  .site-footer {
    margin-left: 32px;
    margin-right: 32px;
  }
  .header-inner {
    gap: 37px;
  }
  .main-nav {
    gap: 26px;
  }
  .deck-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
  }
  .deck-inspector {
    padding-left: 20px;
  }
  .deck-filters .project-search {
    width: 170px;
  }
}
@media (max-width: 1100px) {
  .promo-grid {
    gap: 18px;
  }
  .card-artwork {
    height: 183px;
  }
  .promo-title {
    font-size: 14px;
  }
  .promo-summary {
    font-size: 11px;
    line-height: 1.75;
    height: 39px;
  }
  .card-head {
    padding: 0 4px 7px;
  }
  .card-head .sponsored {
    font-size: 8px;
  }
  .header-inner {
    gap: 25px;
    padding: 0 25px;
  }
  .main-nav {
    gap: 24px;
  }
  .brand {
    font-size: 25px;
  }
  .header-actions {
    gap: 11px;
  }
  .main-nav a {
    font-size: 12px;
  }
  #account-actions {
    gap: 17px;
  }
  .creator-panel {
    gap: 22px;
  }
  .community-actions {
    gap: 17px;
  }
  .deck-toolbar {
    flex-wrap: wrap;
    gap: 14px;
  }
  .deck-filters {
    margin-left: auto;
  }
  .deck-stage {
    height: 450px;
  }
  .deck-card {
    width: 284px;
    height: 383px;
  }
  .deck-card .card-artwork {
    height: 219px;
  }
  .deck-card-info h2 {
    font-size: 18px;
  }
  .deck-layout {
    grid-template-columns: minmax(0, 1fr) 241px;
    gap: 14px;
  }
  .deck-inspector {
    padding-left: 20px;
    padding-top: 14px;
  }
  .inspector-content > h2 {
    font-size: 23px;
  }
  .inspector-summary {
    font-size: 12px;
  }
  .deck-navigation {
    padding-left: 3px;
    padding-right: 3px;
  }
  .deck-hint {
    font-size: 9px;
  }
  .deck-hint > span,
  .deck-hint kbd {
    display: none;
  }
  .deck-navigation > .text-link kbd {
    display: none;
  }
  .deck-stepper {
    gap: 9px;
  }
  .deck-navigation > .text-link {
    font-size: 9px;
  }
  .commissions-layout {
    gap: 45px;
  }
  .quote-form {
    padding: 24px;
  }
  .form-actions {
    gap: 12px;
  }
  .detail-layout {
    gap: 30px;
  }
  .site-footer {
    gap: 16px;
  }
  .footer-links {
    gap: 15px;
  }
}
@media (max-width: 860px) {
  .header-inner {
    min-height: 69px;
    gap: 25px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-divider {
    display: none;
  }
  .brand {
    font-size: 24px;
  }
  .brand-avatar {
    height: 33px;
    width: 33px;
  }
  .main-nav {
    gap: 20px;
  }
  .main-nav a {
    font-size: 12px;
  }
  #account-actions {
    gap: 15px;
  }
  .signup-button {
    font-size: 11px;
    padding: 7px 11px;
  }
  .login-link {
    font-size: 11px;
  }
  .header-actions > .icon-button {
    width: 30px;
  }
  .creator-panel {
    padding: 16px;
    gap: 18px;
  }
  .creator-identity h2 {
    font-size: 15px;
  }
  .social-row {
    padding-left: 15px;
    gap: 2px;
  }
  .social-link {
    width: 30px;
    height: 30px;
  }
  .community-actions > .text-link {
    display: none;
  }
  .community-actions {
    gap: 0;
  }
  .creator-avatar {
    width: 45px;
    height: 45px;
  }
  .promo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
  }
  .card-artwork {
    height: 199px;
  }
  .promo-title {
    font-size: 15px;
  }
  .promo-summary {
    font-size: 12px;
    line-height: 1.65;
  }
  .promo-grid .promo-card:last-child {
    grid-column: auto;
  }
  .deck-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .deck-stage {
    height: 444px;
  }
  .deck-card {
    width: 304px;
    height: 398px;
    top: 49%;
  }
  .deck-card .card-artwork {
    height: 231px;
  }
  .deck-inspector {
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    padding: 23px;
    min-height: 0;
  }
  .inspector-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    gap: 0 25px;
  }
  .inspector-status {
    grid-column: 1;
    margin-bottom: 13px;
    justify-content: flex-start;
    gap: 7px;
  }
  .date-detail {
    margin-left: 6px;
  }
  .inspector-content > h2 {
    grid-column: 1;
    font-size: 24px;
  }
  .inspector-author {
    grid-column: 1;
    margin-bottom: 15px;
  }
  .inspector-summary {
    grid-column: 1;
    grid-row: 4/7;
    font-size: 13px;
    margin-bottom: 12px;
  }
  .tag-row {
    grid-column: 1;
    margin: 0;
  }
  .inspector-facts {
    grid-column: 2;
    grid-row: 1/4;
    margin-bottom: 15px;
  }
  .inspector-actions {
    grid-column: 2;
    grid-row: 4;
    align-self: start;
  }
  .inspector-secondary {
    grid-column: 2;
    grid-row: 5;
    margin: 8px 0;
  }
  .inspector-note {
    grid-column: 2;
    grid-row: 6;
  }
  .export-single {
    grid-column: 2;
    grid-row: 7;
  }
  .inspector-preview {
    display: none;
  }
  .deck-navigation {
    padding: 9px 18px;
  }
  .deck-hint {
    font-size: 10px;
  }
  .deck-hint > span,
  .deck-hint kbd {
    display: inline-flex;
  }
  .deck-navigation > .text-link {
    font-size: 10px;
  }
  .deck-index {
    margin-top: 24px;
  }
  .deck-toolbar {
    gap: 14px;
  }
  .deck-toolbar > .filter-pills {
    width: auto;
  }
  .deck-filters {
    width: 100%;
    margin-left: 0;
  }
  .deck-filters .project-search {
    flex: 1;
    width: auto;
  }
  .commissions-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .commission-intro {
    padding: 0;
  }
  .commission-intro > p {
    max-width: 550px;
  }
  .service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 23px;
  }
  .service-item {
    display: block;
    padding: 15px 0;
  }
  .service-item .service-icon {
    margin-bottom: 12px;
  }
  .service-item h3 {
    font-size: 13px;
  }
  .service-item p {
    font-size: 11px;
  }
  .process-line {
    max-width: 400px;
  }
  .commission-contact {
    margin-top: 22px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 217px;
    gap: 23px;
  }
  .detail-heading h1 {
    font-size: 26px;
  }
  .detail-aside {
    padding-left: 20px;
  }
  .detail-actions > .button {
    font-size: 11px;
  }
  .site-footer {
    align-items: flex-start;
  }
  .footer-links {
    justify-content: flex-end;
    gap: 9px 17px;
  }
  .saved-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 660px) {
  .header-inner {
    padding: 13px 20px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 15px;
    min-height: 109px;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    font-size: 25px;
  }
  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }
  .main-nav {
    grid-row: 2;
    grid-column: 1/-1;
    height: 46px;
    gap: 29px;
    margin-top: 4px;
    align-self: end;
  }
  .main-nav a {
    font-size: 12px;
  }
  main {
    padding: 22px 20px 32px;
  }
  .page-intro,
  .section-head {
    gap: 14px;
    margin-bottom: 18px;
  }
  .page-intro h1,
  .section-head h1 {
    font-size: 24px;
  }
  .heading-count {
    font-size: 10px;
    margin-left: 7px;
  }
  .compact-intro > .button {
    font-size: 10px;
    padding: 7px 10px;
    min-height: 34px;
  }
  .compact-intro > .button .icon {
    height: 13px;
    width: 13px;
  }
  .creator-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px 10px;
    margin-bottom: 27px;
    padding: 16px;
  }
  .creator-identity {
    gap: 11px;
    grid-column: 1;
    grid-row: 1;
  }
  .creator-avatar {
    width: 43px;
    height: 43px;
  }
  .creator-identity h2 {
    font-size: 15px;
  }
  .creator-identity span {
    font-size: 11px;
  }
  .social-row {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    border: 0;
    gap: 8px;
  }
  .social-link {
    width: 29px;
    height: 29px;
  }
  .social-link .icon {
    height: 17px;
    width: 17px;
  }
  .community-actions {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
  }
  .discord-button {
    font-size: 11px;
    padding: 9px 12px;
  }
  .discord-button .icon:last-child {
    display: none;
  }
  .section-head > .button {
    font-size: 10px;
    padding: 7px 10px;
    min-height: 34px;
  }
  .price-note {
    display: none;
  }
  .section-head > .button .icon {
    height: 13px;
    width: 13px;
  }
  .collection-tools {
    gap: 12px;
    margin-bottom: 17px;
  }
  .project-search {
    width: 182px;
    height: 34px;
  }
  .project-search input {
    font-size: 11px;
  }
  .project-search kbd {
    display: none;
  }
  .filter-pills {
    gap: 2px;
  }
  .filter-pills button {
    font-size: 11px;
    padding: 7px 11px;
  }
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 16px;
  }
  .promo-card {
    padding: 8px;
  }
  .card-artwork {
    height: 200px;
  }
  .card-head .sponsored {
    font-size: 8px;
  }
  .card-kind {
    font-size: 9px;
  }
  .card-kind .icon {
    width: 10px;
    height: 10px;
  }
  .promo-body {
    padding: 12px 6px 0;
  }
  .promo-summary {
    font-size: 11px;
    height: 39px;
  }
  .promo-author {
    font-size: 10px;
  }
  .promo-title {
    font-size: 14px;
  }
  .promo-bottom {
    margin-top: 12px;
  }
  .home-shortcuts {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 23px;
  }
  .home-shortcuts > a {
    padding: 16px 3px;
    font-size: 12px;
  }
  .deck-toolbar {
    padding-bottom: 16px;
    gap: 15px;
  }
  .deck-toolbar > .filter-pills {
    width: 100%;
    gap: 5px;
  }
  .deck-toolbar > .filter-pills button {
    font-size: 11px;
    padding: 7px 11px;
  }
  .deck-filters {
    gap: 7px;
    flex-wrap: wrap;
  }
  .deck-filters select {
    font-size: 10px;
    max-width: 120px;
    height: 34px;
  }
  .deck-filters .project-search {
    flex: 1;
    min-width: 112px;
  }
  .deck-filters .project-search .icon {
    width: 13px;
    height: 13px;
  }
  .deck-layout {
    margin-top: 15px;
  }
  .deck-stage {
    height: 421px;
    width: calc(100% + 40px);
    margin-left: -20px;
    border-radius: 0;
  }
  .deck-card {
    width: 284px;
    height: 376px;
    top: 49.5%;
  }
  .deck-card .card-artwork {
    height: 213px;
  }
  .deck-card-info {
    padding-top: 12px;
  }
  .deck-card-info h2 {
    font-size: 18px;
  }
  .deck-card-info > p {
    font-size: 10px;
  }
  .deck-card-date {
    font-size: 9px;
    gap: 5px;
  }
  .deck-card .card-kind {
    font-size: 10px;
  }
  .deck-navigation {
    padding: 5px 0 12px;
    gap: 7px;
  }
  .deck-hint {
    font-size: 9px;
  }
  .deck-hint > span,
  .deck-hint kbd {
    display: none;
  }
  .deck-stepper {
    gap: 10px;
  }
  .deck-stepper .icon-button {
    width: 33px;
    height: 33px;
  }
  #deck-counter {
    font-size: 10px;
    min-width: 49px;
  }
  .deck-navigation > .text-link {
    font-size: 9px;
  }
  .deck-inspector {
    padding: 21px;
  }
  .inspector-content {
    display: block;
  }
  .inspector-content > h2 {
    font-size: 24px;
    max-width: 100%;
  }
  .inspector-status {
    margin-bottom: 13px;
  }
  .date-detail {
    margin-left: auto;
  }
  .inspector-author {
    margin-bottom: 15px;
  }
  .inspector-summary {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 15px;
  }
  .tag-row {
    margin-bottom: 19px;
  }
  .inspector-facts {
    display: flex;
    gap: 20px;
    font-size: 11px;
    margin-bottom: 14px;
  }
  .inspector-facts > div {
    flex: 1;
    display: block;
  }
  .inspector-facts strong {
    display: block;
    text-align: left;
    margin-top: 6px;
    font-size: 12px;
  }
  .inspector-actions > .button {
    flex: 1;
  }
  .inspector-secondary {
    margin-bottom: 12px;
  }
  .inspector-note {
    font-size: 10px;
  }
  .export-single {
    font-size: 10px;
  }
  .deck-index {
    margin-top: 21px;
    padding-top: 15px;
  }
  .hotbar-item {
    flex-basis: 65px;
  }
  .hotbar-art {
    width: 53px;
    height: 49px;
  }
  .hotbar-item > span:last-child {
    font-size: 8px;
  }
  .deck-hotbar {
    gap: 8px;
  }
  .index-heading {
    font-size: 11px;
    margin-bottom: 9px;
  }
  .deck-empty {
    padding: 46px 10px 60px;
  }
  .deck-empty h2 {
    font-size: 21px;
  }
  .deck-empty p {
    font-size: 12px;
  }
  .empty-card-stack {
    width: 87px;
    height: 102px;
  }
  .commissions-layout {
    margin-top: 22px;
  }
  .commission-intro > h2 {
    font-size: 23px;
  }
  .commission-intro > p {
    font-size: 13px;
  }
  .service-list {
    display: block;
    margin-top: 16px;
  }
  .service-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
  }
  .service-item .service-icon {
    margin: 0;
  }
  .service-item h3 {
    font-size: 13px;
  }
  .service-item p {
    font-size: 11px;
  }
  .process-line {
    gap: 13px;
    margin-top: 24px;
  }
  .process-step span {
    font-size: 10px;
  }
  .quote-form {
    padding: 23px 20px;
  }
  .form-heading {
    margin-bottom: 22px;
  }
  .form-field label {
    font-size: 11px;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 12px;
    padding: 10px;
  }
  .form-field label .muted {
    font-size: 9px;
  }
  .form-row {
    gap: 13px;
  }
  .form-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
  .form-actions .button {
    font-size: 11px;
  }
  .form-note {
    font-size: 10px;
  }
  .detail-header {
    flex-wrap: wrap;
    gap: 15px;
  }
  .detail-icon {
    width: 67px;
    height: 67px;
  }
  .detail-heading {
    flex: 1;
  }
  .detail-heading h1 {
    font-size: 24px;
  }
  .detail-actions {
    margin: 2px 0 0;
    width: 100%;
  }
  .detail-layout {
    display: block;
  }
  .detail-aside {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 30px;
  }
  .detail-main > .summary {
    font-size: 14px;
  }
  .detail-main > h2 {
    font-size: 23px;
  }
  .detail-main > .fine {
    font-size: 12px;
  }
  .detail-gallery {
    grid-template-columns: 1fr;
  }
  .version-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .version-row > .fine {
    font-size: 10px;
  }
  .version-row h3 {
    font-size: 12px;
  }
  .breadcrumbs {
    font-size: 11px;
    margin-bottom: 23px;
    flex-wrap: wrap;
  }
  .readme {
    font-size: 13px;
  }
  .saved-grid {
    grid-template-columns: 1fr;
  }
  .dialog-content {
    padding: 29px 23px;
  }
  .dialog h2 {
    font-size: 24px;
  }
  .dialog p {
    font-size: 12px;
  }
  .dialog .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .auth-main {
    padding: 33px 25px;
  }
  .plan-grid {
    gap: 8px;
  }
  .plan-option {
    padding: 18px 10px 14px;
  }
  .plan-option > strong {
    font-size: 11px;
    line-height: 1.4;
  }
  .plan-option p {
    font-size: 9px;
  }
  .plan-price {
    font-size: 26px;
  }
  .plan-price small {
    font-size: 9px;
  }
  .dialog .form-actions .button {
    font-size: 11px;
  }
  .image-dialog .dialog-content {
    padding: 23px 16px;
  }
  .site-footer {
    margin: 0 20px;
    padding: 21px 0;
    flex-wrap: wrap;
    gap: 15px;
  }
  .footer-links {
    margin-left: 0;
    justify-content: flex-start;
    gap: 10px 18px;
  }
  .footer-brand {
    font-size: 17px;
  }
  .footer-links button,
  .footer-links a {
    font-size: 9px;
  }
}
@media (max-width: 400px) {
  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand {
    font-size: 23px;
    gap: 9px;
  }
  .brand-avatar {
    height: 31px;
    width: 31px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions > .icon-button {
    width: 27px;
  }
  .signup-button {
    padding: 7px 9px;
  }
  #account-actions {
    gap: 11px;
  }
  .main-nav {
    gap: 27px;
  }
  main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .creator-panel {
    padding: 14px;
    gap: 12px 8px;
  }
  .creator-identity h2 {
    font-size: 14px;
  }
  .creator-identity span {
    font-size: 10px;
  }
  .creator-avatar {
    height: 39px;
    width: 39px;
  }
  .discord-button {
    padding: 8px 10px;
    font-size: 10px;
  }
  .social-row {
    gap: 6px;
  }
  .section-head h1 {
    font-size: 22px;
  }
  .section-head > .button {
    font-size: 9px;
    padding: 7px 9px;
  }
  .promo-grid {
    gap: 15px 12px;
  }
  .promo-card {
    padding: 7px;
  }
  .card-artwork {
    height: 164px;
  }
  .card-head {
    height: 27px;
    padding: 0 3px 6px;
  }
  .card-head .sponsored {
    font-size: 7px;
    padding: 1px 3px;
  }
  .card-kind {
    font-size: 8px;
    gap: 4px;
  }
  .promo-title {
    font-size: 13px;
  }
  .promo-author {
    font-size: 9px;
  }
  .promo-summary {
    font-size: 10px;
    height: 34px;
  }
  .promo-body {
    padding: 10px 5px 0;
  }
  .promo-bottom > span {
    font-size: 9px;
  }
  .collection-tools .project-search {
    width: 160px;
  }
  .collection-tools .filter-pills button {
    padding: 7px 9px;
    font-size: 10px;
  }
  .deck-stage {
    width: calc(100% + 32px);
    margin-left: -16px;
    height: 397px;
  }
  .deck-card {
    width: 266px;
    height: 357px;
  }
  .deck-card .card-artwork {
    height: 198px;
  }
  .deck-card-info h2 {
    font-size: 17px;
  }
  .deck-card-info {
    padding-left: 5px;
    padding-right: 5px;
  }
  .deck-card-date {
    font-size: 8px;
  }
  .deck-toolbar > .filter-pills button {
    font-size: 10px;
    padding: 7px 10px;
  }
  .deck-filters select {
    padding: 6px 7px;
    max-width: 107px;
  }
  .deck-filters .project-search {
    min-width: 0;
  }
  .deck-filters .project-search input {
    font-size: 10px;
  }
  .deck-hint {
    font-size: 8px;
  }
  .deck-navigation > .text-link {
    font-size: 8px;
  }
  .deck-stepper {
    gap: 7px;
  }
  .heading-count {
    font-size: 9px;
    margin-left: 6px;
  }
  .compact-intro > .button {
    font-size: 9px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .plan-option > strong {
    font-size: 10px;
  }
  .plan-price {
    font-size: 24px;
  }
  .site-footer {
    margin-left: 16px;
    margin-right: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  :root:not([data-motion=full]) *,
  :root:not([data-motion=full]) *::before,
  :root:not([data-motion=full]) *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
:root[data-motion=reduced] *,
:root[data-motion=reduced] *::before,
:root[data-motion=reduced] *::after {
  scroll-behavior: auto !important;
  transition: none !important;
  animation: none !important;
}
:root[data-motion=reduced] .promo-card {
  transform: none !important;
}
:root[data-motion=reduced] .deck-card.flipped .card-turn {
  transform: none;
}
:root[data-motion=reduced] .deck-front[aria-hidden=true],
:root[data-motion=reduced] .deck-back[aria-hidden=true] {
  visibility: hidden;
}
:root[data-motion=reduced] .deck-back[aria-hidden=false] {
  transform: none;
}
@media (max-width: 860px) {
  .deck-browser {
    width: 100%;
    align-self: stretch;
  }
}
.card-kind {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text);
}
.card-kind .icon {
  width: 16px;
  height: 16px;
}
.card-head {
  min-height: 35px;
}
.deck-stage {
  height: 520px;
}
.deck-card {
  width: 318px;
  height: 449px;
  top: 49%;
}
.deck-card .card-head {
  height: 35px;
}
.deck-card .card-artwork {
  height: 215px;
}
.deck-card-info {
  padding-top: 14px;
}
.deck-card-info h2 {
  font-size: 20px;
  line-height: 1.25;
}
.deck-card-info > p {
  font-size: 12px;
}
.deck-card-date {
  min-height: 70px;
  gap: 10px;
  margin-top: auto;
  padding: 9px 0 2px;
}
.deck-card-date > .status-dot {
  display: none;
}
.date-stamp {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: inherit;
}
.date-stamp strong {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1.12;
  color: var(--text);
}
.date-stamp > span {
  font-size: 11px;
  color: var(--secondary);
  font-family: var(--mono);
}
.flip-button {
  width: 59px;
  min-width: 59px;
  height: 49px;
  margin-left: auto;
  border: 1px solid var(--accent);
  border-bottom-width: 3px;
  background: var(--soft);
  color: var(--text);
  display: flex;
  gap: 3px;
  flex-direction: column;
  border-radius: 6px;
}
.flip-button .icon {
  width: 21px;
  height: 21px;
}
.flip-button > span {
  font:
    600 10px Arial,
    Helvetica,
    sans-serif;
}
.deck-navigation .deck-flip-control {
  min-height: 43px;
  font-size: 12px;
  border-color: var(--strong-line);
  padding: 8px 12px;
  color: var(--text);
  gap: 8px;
}
.deck-flip-control .icon {
  width: 20px;
  height: 20px;
}
.deck-card.is-active:not([data-flip-seen]) .flip-cue,
.deck-flip-control:not(.flip-seen) {
  animation: flip-invite 2.8s ease-in-out 4;
}
@keyframes flip-invite {
  0%, 100% {
    box-shadow: 0 0 0 0 #dcc37900;
    transform: scale(1);
  }
  45% {
    box-shadow: 0 0 0 5px #dcc37921;
    transform: scale(1.035);
  }
  70% {
    box-shadow: 0 0 0 9px #dcc37900;
    transform: scale(1);
  }
}
.flip-cue:hover,
.flip-cue:focus-visible {
  animation: none !important;
}
.inspector-status {
  font-family: inherit;
  font-size: 12px;
  gap: 8px;
}
.inspector-status .date-detail {
  display: block;
  font-size: 17px;
  font-weight: 650;
  color: var(--text);
  letter-spacing: -.3px;
}
.tag-row > span:first-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 4px 9px;
}
.inspector-note:empty {
  display: none;
}
.deck-inspector {
  min-height: 0;
}
.project-preview {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 25px 0 10px;
  scroll-margin-top: 24px;
}
.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 23px;
}
.preview-identity {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
}
.preview-identity > img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 4px;
}
.preview-identity h2 {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.4px;
  margin: 0 0 3px;
  overflow-wrap: anywhere;
}
.preview-identity > div > span {
  font-size: 12px;
  color: var(--muted);
}
.preview-heading-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
.local-draft {
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid var(--strong-line);
  color: var(--text);
  margin-left: 7px;
  white-space: nowrap;
}
.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  gap: 35px;
  align-items: start;
}
.preview-media-panel {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  border-radius: 8px;
}
.preview-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--surface2);
  cursor: zoom-in;
  border-radius: 0;
  isolation: isolate;
}
.preview-main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.preview-image.is-artwork .preview-main-image {
  object-fit: contain;
  padding: 30px;
  background: var(--surface2);
}
.preview-image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--surface2);
}
.preview-image-fallback > img {
  object-fit: contain;
  width: 60%;
  height: 75%;
  max-height: 270px;
}
.preview-image:not(.media-failed) .preview-image-fallback {
  visibility: hidden;
}
.enlarge-mark {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #121713bf;
  color: white;
  width: 33px;
  height: 33px;
  border: 1px solid #ffffff55;
  border-radius: 4px;
  display: grid;
  place-items: center;
  z-index: 2;
}
.enlarge-mark .icon {
  width: 16px;
  height: 16px;
}
.preview-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  font-size: 12px;
  min-height: 51px;
  color: var(--secondary);
}
.preview-gallery-controls > div {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font: 11px var(--mono);
}
.preview-gallery-controls .icon-button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
}
.preview-trailer {
  margin: 0 13px 13px;
  min-height: 37px;
}
.preview-about {
  min-width: 0;
  padding: 2px 0;
}
.preview-about h3 {
  font-size: 16px;
  font-weight: 650;
  margin: 0 0 13px;
}
.preview-description {
  font-size: 14px;
  line-height: 1.85;
  color: var(--secondary);
  overflow-wrap: anywhere;
}
.preview-description p {
  margin: 0 0 16px;
}
.preview-highlights {
  display: grid;
  gap: 10px;
  margin: 21px 0 24px;
}
.preview-highlights > span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--text);
}
.preview-highlights .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--accent);
  flex-shrink: 0;
}
.preview-compatibility {
  margin: 20px 0;
  font-size: 12px;
}
.preview-compatibility > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.preview-compatibility dt {
  color: var(--muted);
}
.preview-compatibility dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.preview-links {
  display: flex;
  gap: 21px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.expanded-preview-image {
  max-height: 72dvh;
  width: 100%;
  object-fit: contain;
  margin: 16px 0;
}
.community-feature {
  display: grid;
  grid-template-columns: 325px minmax(0, 1fr);
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 33px;
  align-items: start;
}
.community-feature .creator-panel {
  display: block;
  padding: 23px;
  margin: 5px 0 0;
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  min-height: 364px;
}
.creator-identity {
  gap: 15px;
  margin-bottom: 25px;
}
.creator-avatar {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 7px;
}
.creator-identity h2 {
  font-size: 23px;
  letter-spacing: -.7px;
  line-height: 1.2;
}
.creator-identity span {
  font-size: 12px;
  display: block;
  margin-top: 7px;
}
.social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 0;
  border: 0;
}
.social-link {
  display: flex;
  justify-content: flex-start;
  width: auto;
  height: auto;
  min-height: 61px;
  padding: 12px 9px;
  gap: 9px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--surface2);
  color: var(--text);
}
.social-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  flex-shrink: 0;
}
.social-symbol > .icon {
  width: 25px;
  height: 25px;
}
.social-link > span:nth-child(2) {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.social-link small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
  white-space: nowrap;
}
.social-link > .icon:last-child {
  width: 12px;
  height: 12px;
  margin-left: auto;
  opacity: .55;
  display: none;
}
.community-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.community-actions .discord-button {
  flex: 1;
  font-size: 13px;
  min-height: 45px;
  justify-content: center;
}
.community-actions .discord-button > .icon:first-child {
  width: 22px;
  height: 22px;
}
.community-actions .text-link {
  font-size: 11px;
  white-space: nowrap;
}
.featured-videos {
  min-width: 0;
  overflow: hidden;
}
.video-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 7px 0;
  margin: 0;
}
.video-heading h2 {
  font-size: 18px;
  letter-spacing: -.3px;
}
.video-stage {
  height: 351px;
  overflow: hidden;
  outline-offset: -4px !important;
}
.video-stage .video-card {
  width: 357px;
  height: 297px;
  top: 48%;
}
.video-card .deck-face {
  padding: 10px;
  border-radius: 9px;
}
.video-card .card-head {
  height: 30px;
  padding: 0 5px 7px;
}
.video-card .card-kind {
  font-size: 12px;
}
.video-channel {
  font-size: 10px;
  color: var(--muted);
}
.video-artwork {
  position: relative;
  height: 165px;
  flex: none;
  background: var(--surface2);
  overflow: hidden;
  border-radius: 4px;
  isolation: isolate;
}
.video-artwork > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.video-image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--surface2);
  color: var(--muted);
}
.video-image-fallback > .icon {
  width: 82px;
  height: 82px;
  opacity: .22;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 55px;
  height: 43px;
  background: #141914e6;
  color: #f5f1e3;
  border: 1px solid #f3e4b38a;
  border-bottom-width: 3px;
  border-radius: 6px;
  z-index: 2;
}
.video-play:hover {
  background: var(--accent);
  color: var(--accent-text);
}
.video-play .icon {
  width: 24px;
  height: 24px;
}
.video-card-body {
  padding: 12px 5px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.video-card-body h3 {
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 5px;
  font-size: 9px;
  color: var(--muted);
}
.video-caption .text-link {
  font-size: 10px;
}
.video-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 8px;
  margin-top: -1px;
}
#video-counter {
  font: 11px var(--mono);
  min-width: 52px;
  text-align: center;
  color: var(--secondary);
}
.video-provider {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
}
.video-provider > .icon {
  width: 18px;
  height: 18px;
}
.video-dialog {
  width: min(990px, calc(100vw - 30px));
}
.video-dialog h2 {
  font-size: 23px;
  margin-right: 25px;
}
.video-player-slot {
  aspect-ratio: 16/9;
  background: #111;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 20px;
}
.video-player-slot iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-consent {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #edeae0;
  background: #141915;
}
.video-consent > .icon {
  width: 45px;
  height: 45px;
  color: #e7c873;
}
.video-consent strong {
  font-size: 17px;
}
.video-consent span {
  font-size: 12px;
  color: #abb0a9;
}
.video-player-footer {
  margin-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.preview-editor {
  width: min(1100px, calc(100vw - 32px));
}
.preview-editor-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.preview-editor-content > p {
  margin-bottom: 26px;
}
.editor-live {
  position: sticky;
  top: 0;
  padding: 17px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 0;
  max-height: 70dvh;
  overflow: auto;
}
.editor-live-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 10px;
}
.editor-live-title h3 {
  margin: 0;
  font-size: 14px;
}
#preview-draft-status {
  font-size: 10px;
  color: var(--muted);
}
.editor-live .preview-layout {
  display: block;
}
.editor-live .preview-media-panel {
  margin-bottom: 19px;
}
.editor-live .preview-image {
  aspect-ratio: 16/9;
}
.editor-live .preview-about h3 {
  font-size: 14px;
  margin-top: 14px;
}
.editor-live .preview-description {
  font-size: 12px;
}
.editor-live .preview-highlights {
  margin: 16px 0;
}
.editor-live .preview-compatibility {
  font-size: 11px;
}
.editor-live .preview-image,
.editor-live .preview-gallery-controls,
.editor-live .preview-trailer,
.editor-live .preview-links {
  pointer-events: none;
}
.editor-permission {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 17px;
}
.editor-permission input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  margin: 2px 0 0;
  flex-shrink: 0;
}
.editor-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  flex-wrap: wrap;
}
.editor-actions .button:first-child {
  margin-right: auto;
}
@media (min-width: 1550px) {
  .deck-card {
    width: 334px;
    height: 467px;
  }
  .deck-card .card-artwork {
    height: 230px;
  }
  .deck-stage {
    height: 540px;
  }
  .video-stage {
    height: 351px;
  }
  .video-stage .video-card {
    width: 365px;
    height: 304px;
  }
}
@media (max-width: 1100px) {
  .community-feature {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 15px;
  }
  .community-feature .creator-panel {
    padding: 18px;
  }
  .creator-identity h2 {
    font-size: 21px;
  }
  .creator-avatar {
    width: 63px;
    height: 63px;
  }
  .video-stage .video-card {
    width: 324px;
    height: 293px;
  }
  .video-card .card-head {
    min-height: 30px;
  }
  .card-kind {
    font-size: 13px;
  }
  .deck-card .card-kind {
    font-size: 14px;
  }
  .preview-layout {
    gap: 25px;
  }
}
@media (max-width: 860px) {
  .community-feature {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .community-feature .creator-panel {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px 26px;
  }
  .creator-identity {
    margin: 0;
  }
  .social-row {
    grid-column: 2;
    grid-row: 1/3;
  }
  .community-actions {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }
  .creator-avatar {
    width: 65px;
    height: 65px;
  }
  .video-stage {
    height: 358px;
  }
  .video-stage .video-card {
    width: 355px;
    height: 298px;
  }
  .preview-layout {
    grid-template-columns: 1fr 1fr;
    gap: 23px;
  }
  .deck-card {
    width: 318px;
    height: 449px;
  }
  .deck-stage {
    height: 520px;
  }
  .video-stage {
    height: 350px;
  }
  .preview-editor-columns {
    grid-template-columns: 1fr;
  }
  .editor-live {
    position: relative;
    top: auto;
    max-height: none;
  }
  .preview-editor .editor-live {
    display: none;
  }
  .preview-heading-actions {
    gap: 10px;
  }
  .deck-navigation .deck-flip-control {
    font-size: 12px;
  }
}
@media (max-width: 660px) {
  .community-feature {
    padding-bottom: 25px;
    margin-bottom: 26px;
  }
  .community-feature .creator-panel {
    display: block;
    padding: 20px;
    margin-top: 0;
  }
  .creator-avatar {
    width: 67px;
    height: 67px;
  }
  .creator-identity {
    margin-bottom: 19px;
  }
  .creator-identity h2 {
    font-size: 23px;
  }
  .creator-identity span {
    font-size: 12px;
  }
  .social-row {
    gap: 10px;
  }
  .social-link {
    min-height: 63px;
    padding: 12px;
    gap: 12px;
  }
  .social-symbol > .icon {
    width: 26px;
    height: 26px;
  }
  .social-link > span:nth-child(2) {
    font-size: 14px;
  }
  .social-link small {
    font-size: 10px;
  }
  .social-link > .icon:last-child {
    display: block;
  }
  .community-actions {
    margin-top: 17px;
  }
  .community-actions .discord-button {
    min-height: 45px;
    font-size: 14px;
  }
  .video-heading {
    padding-left: 0;
    padding-right: 0;
  }
  .video-stage {
    height: 318px;
    width: calc(100% + 40px);
    margin-left: -20px;
  }
  .video-stage .video-card {
    width: 294px;
    height: 277px;
    top: 48%;
  }
  .video-artwork {
    height: 149px;
  }
  .video-card .card-head {
    min-height: 30px;
    height: 30px;
  }
  .video-card .card-kind {
    font-size: 12px;
  }
  .video-card-body h3 {
    font-size: 14px;
  }
  .video-caption {
    font-size: 9px;
  }
  .video-navigation {
    padding: 0;
  }
  .video-provider {
    font-size: 9px;
  }
  .video-navigation .deck-hint {
    font-size: 10px;
  }
  .card-kind {
    font-size: 12px;
  }
  .promo-card .card-head {
    height: 34px;
  }
  .card-kind .icon {
    width: 13px;
    height: 13px;
  }
  .promo-card .card-head .sponsored {
    font-size: 8px;
    padding: 2px 4px;
  }
  .deck-stage:not(.video-stage) {
    height: 473px;
  }
  .deck-card {
    width: 284px;
    height: 418px;
  }
  .deck-card .card-artwork {
    height: 185px;
  }
  .deck-card .card-head {
    height: 35px;
  }
  .deck-card .card-kind {
    font-size: 14px;
  }
  .deck-card-info h2 {
    font-size: 18px;
  }
  .deck-card-info > p {
    font-size: 11px;
  }
  .deck-card-date {
    min-height: 70px;
  }
  .date-stamp strong {
    font-size: 25px;
  }
  .date-stamp > span {
    font-size: 11px;
  }
  .flip-button {
    width: 56px;
    min-width: 56px;
    height: 49px;
  }
  .deck-navigation {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 0 16px;
  }
  .deck-hint {
    grid-row: 2;
    grid-column: 1/-1;
    justify-content: center;
    font-size: 10px;
  }
  .deck-stepper {
    grid-row: 1;
    grid-column: 1;
    justify-self: start;
  }
  .deck-flip-control {
    grid-row: 1;
    grid-column: 2;
  }
  .deck-navigation .deck-flip-control {
    font-size: 12px;
    min-height: 43px;
    padding: 8px 12px;
  }
  .deck-stepper .icon-button {
    width: 39px;
    height: 39px;
  }
  .inspector-status .date-detail {
    font-size: 17px;
  }
  .project-preview {
    padding-top: 21px;
    margin-top: 24px;
  }
  .preview-heading {
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 20px;
  }
  .preview-identity > img {
    width: 37px;
    height: 37px;
  }
  .preview-identity {
    gap: 10px;
  }
  .preview-identity h2 {
    font-size: 18px;
  }
  .preview-identity > div > span {
    font-size: 11px;
  }
  .preview-heading-actions {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 8px;
  }
  .preview-heading-actions .button {
    font-size: 11px;
    padding: 8px 10px;
    min-height: 37px;
  }
  .preview-heading-actions .button .icon {
    width: 14px;
    height: 14px;
  }
  .preview-heading-actions .text-link {
    font-size: 10px;
  }
  .preview-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .preview-image {
    aspect-ratio: 16/10;
  }
  .preview-description {
    font-size: 13px;
  }
  .preview-about h3 {
    font-size: 16px;
  }
  .preview-compatibility {
    font-size: 12px;
  }
  .preview-highlights > span {
    font-size: 12px;
  }
  .preview-links {
    gap: 16px;
  }
  .preview-editor-content {
    padding: 25px 19px;
  }
  .preview-editor-content > p {
    font-size: 12px;
  }
  .editor-actions {
    gap: 10px;
  }
  .editor-actions .button {
    flex: 1;
    font-size: 11px;
  }
  .editor-actions .button:first-child {
    flex-basis: 100%;
    margin-right: 0;
  }
  .video-dialog h2 {
    font-size: 20px;
  }
  .video-player-footer .fine {
    font-size: 10px;
  }
  .local-draft {
    display: inline-block;
    margin: 5px 0 0;
  }
}
@media (max-width: 400px) {
  .creator-identity h2 {
    font-size: 21px;
  }
  .creator-avatar {
    width: 60px;
    height: 60px;
  }
  .social-link {
    padding: 10px;
    gap: 9px;
  }
  .social-link > span:nth-child(2) {
    font-size: 12px;
  }
  .social-symbol {
    width: 22px;
  }
  .social-symbol > .icon {
    width: 23px;
    height: 23px;
  }
  .social-link small {
    font-size: 9px;
  }
  .social-link > .icon:last-child {
    display: none;
  }
  .community-feature .creator-panel {
    padding: 16px;
  }
  .deck-card {
    width: 266px;
    height: 408px;
  }
  .deck-card .card-artwork {
    height: 176px;
  }
  .deck-card .card-kind {
    font-size: 14px;
  }
  .card-kind {
    font-size: 11px;
  }
  .promo-card .card-head {
    height: auto;
    min-height: 36px;
    flex-wrap: wrap;
    gap: 3px;
  }
  .card-kind .icon {
    display: none;
  }
  .deck-card .card-kind .icon {
    display: block;
  }
  .deck-card-info h2 {
    font-size: 18px;
  }
  .deck-stage:not(.video-stage) {
    height: 458px;
  }
  .date-stamp strong {
    font-size: 23px;
  }
  .flip-button {
    width: 53px;
    min-width: 53px;
  }
  .deck-navigation .deck-flip-control {
    font-size: 11px;
  }
  .preview-identity h2 {
    font-size: 16px;
  }
  .video-stage {
    width: calc(100% + 32px);
    margin-left: -16px;
    height: 314px;
  }
  .video-stage .video-card {
    width: 272px;
    height: 275px;
  }
  .video-artwork {
    height: 144px;
  }
  .video-card-body h3 {
    font-size: 13px;
  }
  .video-card .card-kind {
    font-size: 12px;
  }
  .video-navigation .deck-hint {
    display: none;
  }
  .video-navigation {
    justify-content: space-between;
  }
  .preview-gallery-controls {
    font-size: 11px;
  }
}
.card-artwork .scene-fallback {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 65%;
  max-height: 75%;
  width: auto;
  height: auto;
  object-fit: contain;
  z-index: 0;
}
.card-artwork .scene-art {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card-artwork.media-failed .scene-fallback {
  display: block !important;
}
html {
  scrollbar-gutter: stable;
}
.reader-open {
  overflow: hidden;
}
.deck-layout {
  display: block;
}
.deck-browser {
  min-width: 0;
  width: 100%;
}
#deck-stage {
  height: 520px;
  max-width: none;
}
#deck-stage .deck-card {
  width: 342px;
  height: 453px;
  top: 47%;
}
#deck-stage .deck-card .card-artwork {
  height: 217px;
}
#deck-stage .deck-card .card-kind {
  font-size: 15px;
  letter-spacing: 0;
}
#deck-stage .deck-card-info h2 {
  font-size: 23px;
  line-height: 1.18;
}
#deck-stage .date-stamp strong {
  font-size: 25px;
  line-height: 1.08;
}
#deck-stage .date-stamp span {
  font:
    11px/1.4 "Segoe UI",
    Arial,
    sans-serif;
  letter-spacing: 0;
}
.deck-navigation {
  gap: 20px;
  padding: 0 12px 12px;
  margin-top: -12px;
}
.deck-divider {
  height: 18px;
  border-left: 1px solid var(--line);
  margin: 0 3px;
}
.deck-stepper {
  gap: 12px;
}
.deck-stepper .icon-button {
  width: 41px;
  height: 39px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
}
.deck-flip-control {
  font-size: 13px;
  min-height: 44px;
}
.deck-card .flip-button {
  min-width: 70px;
  min-height: 45px;
  font-size: 12px;
}
.flip-cue {
  animation: flip-invite 2.4s ease-in-out 4;
}
@keyframes flip-invite {
  0%, 100% {
    box-shadow: 0 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent);
  }
}
.flip-seen,
[data-flip-seen=true] .flip-cue {
  animation: none !important;
}
.promo-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.promo-flip {
  font-size: 12px;
  min-height: 38px;
  padding: 8px 10px;
}
.promo-card .promo-art-link {
  padding: 0;
  display: block;
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
}
.promo-title button {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font: inherit;
  color: inherit;
  padding: 0;
  text-align: left;
  line-height: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-title button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.promo-card .promo-bottom {
  flex-wrap: wrap;
  gap: 8px;
}
.promo-save {
  width: 36px;
  height: 38px;
}
.project-preview {
  margin-top: 26px;
  padding: 27px 0 12px;
  border-top: 1px solid var(--line);
}
.preview-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.preview-identity {
  display: flex;
  gap: 15px;
  align-items: center;
  min-width: 0;
}
.preview-logo {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface2);
  flex: none;
}
.preview-identity h2 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -.6px;
  margin: 3px 0;
}
.preview-identity > div > span {
  font-size: 12px;
  color: var(--muted);
}
.preview-identity .preview-type {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
}
.preview-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.preview-heading-actions .icon-button {
  border: 1px solid var(--line);
  background: var(--surface);
}
.preview-metadata {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  padding: 0 0 21px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
}
.preview-metadata > span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.preview-metadata .icon {
  width: 15px;
  height: 15px;
}
.preview-date strong {
  color: var(--text);
  font-weight: 600;
}
.preview-metadata > .text-link {
  margin-left: auto;
  font-size: 11px;
}
.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.preview-media-panel {
  background: none;
  border: 0;
  min-width: 0;
}
.preview-media-view {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface2);
}
.preview-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  border: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--surface2);
  cursor: zoom-in;
  padding: 0;
}
.preview-image .preview-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.preview-image.is-artwork .preview-main-image {
  object-fit: contain;
  padding: 45px;
}
.preview-image-fallback {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  background: var(--surface2);
}
.preview-image-fallback > img {
  width: 50%;
  height: 68%;
  object-fit: contain;
  max-height: 240px;
}
.preview-image:not(.media-failed) .preview-image-fallback {
  visibility: hidden;
}
.enlarge-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: auto;
  border: 1px solid #ffffff45;
  border-radius: 4px;
  background: #161b16ce;
  color: white;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  z-index: 2;
}
.media-arrows {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.media-arrows .icon-button {
  width: 36px;
  height: 35px;
  border: 1px solid #ffffff60;
  background: #161b16db;
  color: #fff;
}
.media-arrows .icon-button:disabled {
  opacity: .38;
}
.preview-trailer {
  margin: 14px 0 0;
  min-height: 38px;
}
.preview-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 20px;
  margin: 24px 0;
}
.preview-highlights > span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--secondary);
}
.preview-highlights .icon {
  height: 15px;
  width: 15px;
  margin-top: 2px;
  color: var(--accent);
  flex: none;
}
[data-theme=light] .preview-highlights .icon {
  color: #8b723b;
}
.preview-compatibility {
  margin: 24px 0;
  font-size: 12px;
}
.preview-compatibility:empty {
  display: none;
}
.preview-compatibility > div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.preview-compatibility dt {
  color: var(--muted);
}
.preview-compatibility dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.preview-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.publisher-description {
  border-top: 1px solid var(--line);
  margin-top: 29px;
  padding-top: 18px;
}
.publisher-description > summary {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  color: var(--secondary);
  list-style: none;
}
.publisher-description[open] > summary .icon {
  transform: rotate(90deg);
}
.publisher-description .readme {
  max-width: 86ch;
  margin: 25px auto 0;
}
.readme {
  display: block;
  font-size: 14px;
  line-height: 1.85;
  color: var(--secondary);
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
}
.readme > :first-child {
  margin-top: 0 !important;
}
.readme > :last-child {
  margin-bottom: 0 !important;
}
.readme h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.45px;
  color: var(--text);
  margin: 32px 0 13px;
  scroll-margin-top: 16px;
}
.readme h3 {
  font-size: 18px;
  color: var(--text);
  margin: 26px 0 10px;
  line-height: 1.4;
  scroll-margin-top: 16px;
}
.readme h4,
.readme h5,
.readme h6 {
  font-size: 15px;
  color: var(--text);
  margin: 22px 0 9px;
  line-height: 1.4;
}
.readme p {
  margin: 0 0 17px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}
.readme strong,
.readme b {
  color: var(--text);
  font-weight: 650;
}
.readme ul,
.readme ol {
  margin: 13px 0 21px;
  padding: 0 0 0 24px;
  border: 0;
  background: none;
}
.readme li {
  padding-left: 3px;
  margin: 5px 0;
}
.readme li > ul,
.readme li > ol {
  margin: 7px 0 9px;
}
.readme li > p {
  margin: 7px 0;
}
.readme li::marker {
  color: var(--muted);
}
.readme blockquote {
  margin: 21px 0;
  padding: 11px 18px;
  border: 0;
  border-left: 3px solid var(--strong-line);
  background: var(--surface2);
  color: var(--secondary);
  border-radius: 0 5px 5px 0;
}
.readme blockquote > p:last-child {
  margin: 0;
}
.readme hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 26px 0;
}
.readme a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
[data-theme=light] .readme a {
  color: #765a17;
}
.readme .readme-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
  margin: 18px auto;
  border-radius: 4px;
}
.readme pre {
  position: relative;
  overflow: auto;
  white-space: pre;
  font: 12px/1.7 var(--mono);
  border: 1px solid var(--line);
  background: var(--input);
  padding: 43px 17px 18px;
  border-radius: 6px;
  margin: 19px 0;
  max-width: 100%;
}
.readme code {
  font: 12px/1.7 var(--mono);
  background: var(--surface2);
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--text);
}
.readme pre code {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--secondary);
}
.code-copy {
  position: absolute;
  right: 8px;
  top: 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 8px;
  font: 11px/1.3 "Segoe UI", sans-serif;
  background: var(--surface2);
  color: var(--secondary);
}
.code-copy:hover {
  background: var(--surface3);
  color: var(--text);
}
.readme-table {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 20px 0;
}
.readme table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}
.readme th {
  background: var(--surface2);
  font-weight: 600;
  color: var(--text);
  padding: 10px 13px;
  white-space: nowrap;
}
.readme td {
  padding: 10px 13px;
  border-top: 1px solid var(--line);
  min-width: 100px;
}
.readme tr:nth-child(even) td {
  background: color-mix(in srgb, var(--surface2) 40%, transparent);
}
.readme details {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 14px;
  margin: 15px 0;
}
.readme summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}
.quick-dialog {
  padding: 0;
  margin: auto;
  width: min(1020px, calc(100vw - 48px));
  height: min(820px, calc(100dvh - 70px));
  max-height: calc(100dvh - 32px);
  border: 1px solid var(--strong-line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 28px 90px #0005;
}
.quick-dialog[open] {
  display: flex;
  flex-direction: column;
}
.quick-dialog::backdrop {
  background: #101611a6;
  backdrop-filter: blur(4px);
}
.quick-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 25px 17px;
  flex-shrink: 0;
}
.quick-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.quick-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface2);
}
.quick-identity > div {
  min-width: 0;
}
.quick-identity > div > span {
  font-size: 11px;
  color: var(--muted);
}
.quick-identity h2 {
  font-size: 23px;
  letter-spacing: -.5px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  margin: 2px 0 3px;
}
.quick-identity p {
  font-size: 11px;
  color: var(--muted);
}
.quick-close {
  border: 1px solid var(--line);
  background: var(--surface2);
  width: 41px;
  height: 41px;
  flex: none;
}
.quick-tabs {
  display: flex;
  gap: 25px;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  padding: 0 25px;
  flex-shrink: 0;
  min-height: 46px;
}
.quick-tabs > [role=tab] {
  padding: 0 0 11px;
  position: relative;
  font-size: 12px;
  color: var(--muted);
  border-radius: 0;
  white-space: nowrap;
}
.quick-tabs > [aria-selected=true] {
  color: var(--text);
  font-weight: 600;
}
.quick-tabs > [aria-selected=true]:after {
  position: absolute;
  content: "";
  height: 2px;
  background: var(--accent);
  bottom: 0;
  left: 0;
  right: 0;
}
.quick-date {
  margin-left: auto;
  align-self: flex-start;
  padding-top: 4px;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 7px;
}
.quick-date strong {
  font-size: 11px;
  font-weight: 500;
  color: var(--secondary);
}
.quick-progress {
  height: 2px;
  background: transparent;
  flex-shrink: 0;
  position: relative;
}
.quick-progress i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
.quick-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--strong-line) transparent;
  scroll-behavior: smooth;
}
.quick-scroll:focus-visible {
  outline-offset: -3px;
}
#quick-panel {
  padding: 25px;
}
.quick-overview {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 27px;
  align-items: start;
}
.quick-overview .preview-media-panel {
  position: sticky;
  top: 25px;
}
.quick-summary {
  min-width: 0;
}
.quick-summary > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 22px;
}
.quick-summary .preview-highlights {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}
.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.quick-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  font-size: 12px;
}
.quick-facts dt {
  color: var(--muted);
}
.quick-facts dd {
  margin: 0;
  text-align: right;
  color: var(--secondary);
}
.quick-readme {
  max-width: 76ch;
  margin: 0 auto;
  font-size: 15px;
}
.quick-gallery {
  max-width: 820px;
  margin: 0 auto;
}
.quick-gallery .preview-image {
  aspect-ratio: 16/9;
}
.gallery-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}
.gallery-dots button {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1px solid var(--strong-line);
  padding: 0;
  background: var(--surface2);
}
.gallery-dots button[aria-pressed=true] {
  background: var(--accent);
}
.quick-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 25px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  flex-shrink: 0;
}
.quick-footer-spacer {
  flex: 1;
}
.quick-footer > .icon-button {
  border: 1px solid var(--line);
  background: var(--surface2);
}
.quick-footer .button {
  min-height: 38px;
  font-size: 12px;
}
.commission-page {
  max-width: 800px;
  margin: 2px auto 25px;
}
.commission-title {
  margin-bottom: 27px;
  text-align: left;
}
.commission-title h1 {
  font-size: 30px;
  letter-spacing: -.8px;
}
.commission-title p {
  font-size: 15px;
  color: var(--secondary);
  margin-top: 8px;
}
.commission-page .quote-form {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.video-heading {
  padding-bottom: 8px;
}
.video-card .card-head {
  justify-content: flex-start;
}
.video-card .card-kind {
  font-size: 13px;
  letter-spacing: 0;
}
.video-artwork.no-thumbnail .video-image-fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
  gap: 8px;
  background: var(--surface2);
}
.video-image-fallback > span:last-child {
  max-width: 190px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.3px;
  color: var(--secondary);
}
.video-image-fallback .post-symbol .icon {
  width: 25px;
  height: 25px;
  color: var(--muted);
}
.video-artwork.no-thumbnail .video-play {
  left: auto;
  top: auto;
  right: 16px;
  bottom: 16px;
  transform: none;
}
.video-empty {
  min-height: 290px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.video-navigation {
  padding: 0 7px;
}
.video-stage.single-post {
  height: 360px;
}
.video-stage.single-post .video-card {
  width: 390px;
  height: 315px;
}
.single-post .video-artwork {
  height: 179px;
}
.community-actions .discord-button > .icon:first-child {
  width: 24px;
  height: 22px;
}
.video-dialog .dialog-content {
  width: 100%;
}
.portrait-dialog {
  width: min(540px, calc(100vw - 30px));
}
.vertical-player {
  aspect-ratio: 9/16;
  max-height: 60dvh;
  width: auto;
  margin-inline: auto;
}
.video-player-footer {
  font-size: 11px;
}
.video-player-footer .fine {
  font-size: 11px;
}
@media (min-width: 1600px) {
  #deck-stage {
    height: 545px;
  }
  #deck-stage .deck-card {
    width: 357px;
    height: 480px;
  }
  #deck-stage .deck-card .card-artwork {
    height: 239px;
  }
}
@media (max-width: 1000px) {
  .preview-layout {
    gap: 26px;
  }
  .preview-heading-actions > .button {
    padding: 8px 10px;
  }
  .preview-highlights {
    grid-template-columns: 1fr;
  }
  .quick-overview {
    gap: 22px;
  }
}
@media (max-width: 760px) {
  #deck-stage {
    height: 494px;
  }
  #deck-stage .deck-card {
    width: 307px;
    height: 432px;
  }
  #deck-stage .deck-card .card-artwork {
    height: 204px;
  }
  #deck-stage .deck-card-info h2 {
    font-size: 21px;
  }
  .deck-navigation {
    padding-inline: 0;
    gap: 12px;
  }
  .deck-hint kbd {
    display: none;
  }
  .preview-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .preview-heading {
    flex-wrap: wrap;
  }
  .preview-heading-actions {
    margin-left: auto;
  }
  .preview-identity h2 {
    font-size: 24px;
  }
  .preview-metadata {
    gap: 13px;
  }
  .preview-metadata > .text-link {
    margin-left: 0;
  }
  .preview-highlights {
    grid-template-columns: 1fr 1fr;
  }
  .preview-image {
    aspect-ratio: 16/9;
  }
  .quick-overview {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .quick-overview .preview-media-panel {
    position: static;
  }
  .quick-overview .preview-image {
    aspect-ratio: 16/8;
  }
  .quick-overview .preview-highlights {
    grid-template-columns: 1fr 1fr;
  }
  .quick-date {
    display: none;
  }
  .quick-dialog {
    height: calc(100dvh - 40px);
    width: calc(100vw - 28px);
  }
  .quick-top {
    padding: 17px 19px;
  }
  .quick-tabs {
    padding: 0 19px;
  }
  #quick-panel {
    padding: 20px;
  }
  .quick-footer {
    padding: 12px 19px;
    gap: 12px;
  }
  .quick-identity h2 {
    font-size: 21px;
  }
  .quick-logo {
    width: 47px;
    height: 47px;
  }
  .quick-close {
    width: 39px;
    height: 39px;
  }
  .quick-scroll {
    scroll-behavior: auto;
  }
  .quick-readme {
    font-size: 14px;
  }
  .commission-page .quote-form {
    padding: 22px;
  }
}
@media (max-width: 460px) {
  #deck-stage {
    height: 465px;
  }
  #deck-stage .deck-card {
    width: min(282px, calc(100vw - 63px));
    height: 407px;
  }
  #deck-stage .deck-card .card-artwork {
    height: 180px;
  }
  #deck-stage .deck-card-info h2 {
    font-size: 20px;
  }
  #deck-stage .date-stamp strong {
    font-size: 23px;
  }
  .deck-card .flip-button {
    min-width: 62px;
    min-height: 44px;
  }
  .deck-navigation {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .deck-navigation .deck-hint {
    flex-basis: 100%;
    text-align: center;
    order: 3;
    font-size: 10px;
    margin-top: 5px;
  }
  .deck-flip-control {
    min-height: 40px;
    font-size: 12px;
    padding: 8px 12px;
  }
  .deck-flip-control kbd {
    display: none;
  }
  .deck-stepper {
    gap: 8px;
  }
  .deck-stepper .icon-button {
    width: 37px;
    height: 37px;
  }
  .project-preview {
    padding-top: 23px;
    margin-top: 19px;
  }
  .preview-heading-actions {
    margin-left: 0;
  }
  .preview-logo {
    height: 49px !important;
    width: 49px !important;
  }
  .preview-highlights {
    grid-template-columns: 1fr;
  }
  .quick-overview .preview-highlights {
    grid-template-columns: 1fr;
  }
  .quick-facts {
    grid-template-columns: 1fr;
  }
  .preview-metadata {
    font-size: 11px;
  }
  .preview-identity h2 {
    font-size: 22px;
  }
  .quick-footer {
    gap: 7px;
    padding: 11px 13px;
  }
  .quick-footer .text-link {
    font-size: 10px;
    gap: 4px;
  }
  .quick-footer > .icon-button {
    width: 33px;
    height: 35px;
  }
  .quick-footer .button {
    font-size: 11px;
    padding: 8px 9px;
  }
  .quick-identity h2 {
    font-size: 19px;
  }
  .quick-top {
    gap: 10px;
  }
  .quick-dialog {
    width: calc(100vw - 20px);
    border-radius: 9px;
    height: calc(100dvh - 26px);
  }
  .quick-logo {
    width: 39px;
    height: 39px;
  }
  .quick-identity {
    gap: 10px;
  }
  .quick-tabs {
    gap: 23px;
  }
  .quick-tabs > [role=tab] {
    font-size: 11px;
  }
  .promo-actions {
    gap: 2px;
  }
  .promo-flip {
    font-size: 11px;
    padding: 6px 8px;
    min-height: 34px;
  }
  .promo-save {
    width: 30px;
    height: 34px;
  }
  .promo-card .promo-bottom > span {
    font-size: 10px;
  }
  .promo-card .promo-bottom {
    gap: 6px;
  }
  .promo-bottom .icon {
    width: 13px;
    height: 13px;
  }
  .commission-title h1 {
    font-size: 26px;
  }
  .commission-page .quote-form {
    padding: 19px;
  }
  .commission-page .form-row {
    grid-template-columns: 1fr;
  }
  .video-stage.single-post .video-card {
    width: min(315px, calc(100vw - 65px));
    height: 306px;
  }
  .single-post .video-artwork {
    height: 169px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flip-cue {
    animation: none !important;
  }
  .quick-dialog::backdrop {
    backdrop-filter: none;
  }
}
[data-motion=reduced] .flip-cue {
  animation: none !important;
}
.quick-dialog {
  height: auto;
  max-height: min(820px, calc(100dvh - 70px));
}
.quick-scroll {
  max-height: calc(100dvh - 282px);
}
@media (max-width: 760px) {
  .quick-dialog {
    height: auto;
    max-height: calc(100dvh - 30px);
  }
  .quick-scroll {
    max-height: calc(100dvh - 248px);
  }
}
@media (max-width: 460px) {
  .quick-dialog {
    max-height: calc(100dvh - 22px);
  }
  .quick-scroll {
    max-height: calc(100dvh - 239px);
  }
}
.quick-dialog {
  max-width: calc(100vw - 28px);
}
@media (max-width: 360px) {
  .quick-footer {
    flex-wrap: wrap;
    gap: 8px;
  }
  .quick-footer-spacer {
    display: none;
  }
  .quick-footer > .button {
    margin-right: auto;
  }
  .quick-footer > a.text-link {
    flex-basis: 100%;
    order: 5;
    justify-content: center;
    font-size: 11px;
  }
}
.preview-heading-actions {
  flex-wrap: wrap;
  max-width: 100%;
}
.quick-dialog {
  height: min(720px, calc(100dvh - 70px));
}
@media (max-width: 760px) {
  .quick-dialog {
    height: calc(100dvh - 30px);
  }
}
@media (max-width: 460px) {
  .quick-dialog {
    height: calc(100dvh - 22px);
  }
}
.promo-card[data-card-preview] {
  cursor: pointer;
  isolation: isolate;
}
.promo-card .promo-art-link {
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
}
.promo-card .card-open {
  font: inherit;
  text-align: left;
  padding: 0;
  color: inherit;
  position: static;
}
.promo-card .card-open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.promo-card .card-open:focus-visible {
  outline: none;
}
.promo-card:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.promo-card .promo-save {
  position: relative;
  z-index: 2;
}
.promo-card .card-open-hint {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  transition: transform .2s, color .2s;
}
.promo-card:hover .card-open-hint {
  color: var(--text);
  transform: translateX(4px);
}
.promo-card .promo-actions {
  margin: 0;
  gap: 13px;
}
.deck-navigation {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0 9px;
}
.deck-stepper {
  margin: 0;
}
.project-preview {
  padding: 0;
  max-width: 1200px;
  margin: 30px auto 0;
  overflow: hidden;
}
.project-document {
  padding: 32px 38px;
  min-width: 0;
}
.document-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}
.document-identity {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
}
.document-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: none;
  border-radius: 7px;
  background: var(--surface2);
  border: 1px solid var(--line);
}
.document-kind {
  color: var(--muted);
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
}
.document-identity h1 {
  font-size: 31px;
  line-height: 1.2;
  margin: 0 0 4px;
  letter-spacing: -.8px;
  overflow-wrap: anywhere;
}
.document-identity p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.document-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.document-actions > .button {
  min-height: 40px;
}
.document-actions > .icon-button {
  border: 1px solid var(--line);
  height: 40px;
  width: 40px;
}
.document-summary {
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.85;
  max-width: 86ch;
  margin: 0 0 20px;
}
.document-meta {
  display: flex;
  gap: 18px 27px;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
}
.document-meta > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.document-meta .icon {
  width: 15px;
  height: 15px;
}
.document-meta strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.document-jumps {
  display: flex;
  gap: 25px;
  align-items: center;
  border-block: 1px solid var(--line);
  margin: 0 0 27px;
  padding: 0;
}
.document-jumps button {
  font-size: 13px;
  padding: 15px 0;
  color: var(--secondary);
}
.document-jumps button:hover {
  color: var(--text);
}
.document-description {
  scroll-margin-top: 30px;
}
.document-description .readme {
  max-width: 86ch;
}
.readme {
  display: block;
  font-size: 14px;
  line-height: 1.9;
  color: var(--secondary);
}
.readme > p {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}
.readme h1,
.readme h2 {
  font-size: 23px;
  line-height: 1.35;
  margin: 30px 0 14px;
  padding: 0;
  color: var(--text);
  letter-spacing: -.3px;
}
.readme h3 {
  font-size: 18px;
  margin: 26px 0 12px;
  line-height: 1.4;
  color: var(--text);
}
.readme h4,
.readme h5,
.readme h6 {
  font-size: 15px;
  color: var(--text);
  margin: 24px 0 10px;
}
.readme > :first-child {
  margin-top: 0;
}
.readme ul,
.readme ol {
  border: 0;
  background: none;
  border-radius: 0;
  margin: 0 0 20px;
  padding: 0 0 0 24px;
}
.readme li {
  padding-left: 4px;
}
.readme li + li {
  margin-top: 6px;
}
.readme li > ul,
.readme li > ol {
  margin-top: 8px;
}
.readme img {
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  margin: 22px auto;
  max-height: 720px;
}
.readme a {
  color: var(--text);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.readme blockquote {
  padding: 14px 18px;
  border: 0;
  border-left: 3px solid var(--accent);
  background: var(--surface2);
  border-radius: 0;
  margin: 22px 0;
}
.readme blockquote p {
  margin: 0;
}
.readme pre {
  position: relative;
  margin: 20px 0;
  padding: 22px 18px;
  overflow: auto;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 6px;
  line-height: 1.7;
}
.readme pre code {
  background: none;
  padding: 0;
  font: 12px/1.7 var(--mono);
  white-space: pre;
}
.readme table {
  border-collapse: collapse;
  border: 1px solid var(--line);
  display: block;
  max-width: 100%;
  width: fit-content;
  overflow-x: auto;
  margin: 22px 0;
}
.readme th,
.readme td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  min-width: 95px;
}
.readme th {
  background: var(--surface2);
  color: var(--text);
}
.document-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  padding: 0;
  list-style: none;
  margin: 23px 0;
}
.document-highlights li {
  display: flex;
  align-items: start;
  gap: 9px;
  color: var(--secondary);
  font-size: 13px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface2);
}
.document-highlights .icon {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}
.document-trailer {
  margin: 0 0 20px;
}
.document-gallery-section {
  padding: 27px 0 0;
  scroll-margin-top: 20px;
}
.document-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.document-section-heading h2,
.document-versions h2 {
  font-size: 21px;
  margin: 0;
}
.document-section-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.document-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px;
}
.document-gallery figure {
  margin: 0;
  min-width: 0;
}
.document-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface2);
  color: var(--secondary);
  text-align: center;
  cursor: zoom-in;
}
.document-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.document-image:hover img {
  transform: scale(1.035);
}
.document-image .image-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: #171919c9;
  color: #fff;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff33;
  border-radius: 4px;
  opacity: 0;
  transition: opacity .2s;
}
.document-image:hover .image-open,
.document-image:focus-visible .image-open {
  opacity: 1;
}
.document-image.media-failed::after {
  content: attr(aria-label);
  display: block;
  font-size: 12px;
  padding: 30px;
  opacity: .6;
}
.document-image.media-failed .art-letter {
  display: none;
}
.document-gallery figcaption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  padding: 9px 1px 0;
}
.document-versions {
  margin-top: 30px;
  scroll-margin-top: 20px;
}
.document-versions > h2 {
  margin-bottom: 17px;
}
.document-version {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.document-version > div {
  flex: 1;
  min-width: 0;
}
.document-version strong {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.document-version span,
.document-version time {
  font-size: 11px;
  color: var(--muted);
}
.document-version span {
  display: block;
  margin-top: 6px;
}
.document-official-links {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 28px;
}
.document-foot {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 10px;
}
.full-project-shell {
  max-width: 1200px;
  margin: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.quick-dialog {
  grid-template-rows: auto 2px minmax(0, 1fr) auto;
  width: min(1080px, calc(100vw - 48px));
  max-height: min(900px, calc(100dvh - 50px));
  height: calc(100dvh - 65px);
  padding: 0;
  overflow: hidden;
  transform-origin: center;
  border-radius: 12px;
}
.quick-dialog[open] {
  display: grid;
}
.quick-top {
  padding: 17px 24px;
  gap: 20px;
  min-height: 73px;
}
.quick-identity h2 {
  font-size: 19px;
  margin: 0;
  line-height: 1.25;
}
.quick-identity span {
  font-size: 10px;
}
.quick-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.quick-scroll {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--strong-line) transparent;
}
.quick-scroll .project-document {
  padding: 27px 34px;
}
.quick-scroll .document-header {
  display: none;
}
.quick-scroll .document-summary {
  font-size: 14px;
}
.quick-footer {
  padding: 15px 24px;
  gap: 12px;
  min-height: 71px;
  align-items: center;
  background: var(--surface);
}
.reader-footnote {
  font-size: 11px;
  color: var(--muted);
}
.quick-scroll .document-meta .document-date strong {
  font-size: 13px;
}
.quick-progress {
  height: 2px;
  margin: 0;
}
.quick-scroll .document-jumps {
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 3;
}
.skin-heading,
.brand-game,
.nav-game {
  display: none;
}
@media (max-width: 850px) {
  .document-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .document-actions {
    justify-content: flex-start;
  }
  .document-identity h1 {
    font-size: 27px;
  }
  .project-document {
    padding: 26px;
  }
  .document-version {
    gap: 10px;
    flex-wrap: wrap;
  }
  .quick-dialog {
    width: calc(100vw - 30px);
  }
  .quick-scroll .project-document {
    padding: 24px;
  }
  .document-gallery {
    gap: 16px;
  }
  .document-meta {
    gap: 12px 18px;
  }
  .deck-navigation {
    padding: 0;
  }
}
@media (max-width: 550px) {
  .project-document,
  .quick-scroll .project-document {
    padding: 21px 18px;
  }
  .document-identity {
    gap: 12px;
  }
  .document-icon {
    width: 52px;
    height: 52px;
  }
  .document-identity h1 {
    font-size: 24px;
    letter-spacing: -.5px;
  }
  .document-summary {
    font-size: 13px;
  }
  .document-gallery {
    grid-template-columns: 1fr;
  }
  .document-highlights {
    grid-template-columns: 1fr;
  }
  .document-actions .button {
    font-size: 11px;
    padding: 8px 10px;
    min-height: 39px;
  }
  .document-actions > .icon-button {
    width: 37px;
    height: 39px;
  }
  .document-jumps {
    gap: 20px;
  }
  .document-jumps button {
    font-size: 12px;
  }
  .quick-dialog {
    width: calc(100vw - 16px);
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 9px;
  }
  .quick-top {
    padding: 14px 16px;
    min-height: 65px;
  }
  .quick-footer {
    padding: 12px 14px;
    min-height: 65px;
  }
  .quick-footer .reader-footnote {
    display: none;
  }
  .quick-footer-spacer {
    display: none;
  }
  .quick-footer > .primary {
    margin-left: auto;
  }
  .document-foot {
    align-items: flex-start;
  }
  .document-version > time {
    font-size: 10px;
  }
  .document-meta .document-date {
    width: 100%;
  }
  .readme {
    font-size: 13px;
  }
  .readme h2 {
    font-size: 21px;
  }
  .readme h3 {
    font-size: 17px;
  }
}
.media-mode {
  display: flex;
  gap: 5px;
  font-size: 11px;
}
.media-mode button {
  padding: 7px 9px;
  border: 1px solid transparent;
  color: var(--secondary);
  border-radius: 4px;
}
.media-mode [aria-pressed=true] {
  background: var(--surface2);
  border-color: var(--line);
  color: var(--text);
}
.roman-feed {
  min-height: 345px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.native-feed-slot {
  width: 100%;
  min-height: 265px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--surface2);
  border-radius: 5px;
}
.native-feed-slot .tiktok-embed {
  width: 100%;
  margin: 0 !important;
}
.native-feed-slot iframe {
  width: 100% !important;
  border: 0;
  max-width: 100% !important;
}
.native-feed-slot > blockquote > section {
  display: none;
}
.native-feed-status {
  padding: 20px;
  line-height: 1.7;
  font-size: 12px;
  color: var(--secondary);
  margin-top: -235px;
  min-height: 235px;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.native-feed-status[hidden] {
  display: none;
}
.native-feed-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 2px 2px;
  gap: 15px;
  margin-top: auto;
}
.native-feed-actions .text-link {
  font-size: 11px;
}
.video-heading {
  gap: 10px;
  flex-wrap: wrap;
}
.document-gallery .art-letter {
  display: none;
}
@media (max-width: 550px) {
  .native-feed-slot {
    min-height: 250px;
  }
  .native-feed-status {
    min-height: 220px;
    margin-top: -220px;
  }
  .roman-feed {
    padding: 8px;
  }
  .media-mode {
    font-size: 10px;
  }
  .video-heading h2 {
    font-size: 16px;
  }
}
.native-feed-actions.tiktok-only-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  padding: 10px 0;
}
.native-feed-actions.tiktok-only-actions .native-feed-open {
  margin-left: auto;
  white-space: nowrap;
}
#native-feed-slot[data-provider=tiktok] {
  padding: 0;
  min-height: 0;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}
#native-feed-slot[data-provider=tiktok] .creator-widget-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
}
.form-field,
.form-row > *,
.auth-main,
.dialog-content,
.document-identity > div {
  min-width: 0;
}
.back-identity {
  min-width: 0;
}
.back-identity img {
  flex: none;
}
.back-identity h2,
.card-facts dd {
  min-width: 0;
  overflow-wrap: anywhere;
}
.deck-back > * {
  flex-shrink: 0;
}
.site-header .account-button {
  max-width: 190px;
  min-width: 0;
  white-space: nowrap;
}
.account-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dialog-content,
.auth-main {
  overflow-wrap: anywhere;
}
.account-dialog .account-links {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.account-dialog .account-links > .button,
.account-dialog .account-links > .search-result {
  width: 100%;
  min-width: 0;
  min-height: 44px;
}
.document-jumps {
  flex-wrap: wrap;
  gap: 0 20px;
}
.document-jumps button {
  min-height: 44px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.document-actions,
.document-meta > span,
.document-version > div {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.plan-option > strong,
.plan-option p {
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  .document-version > div {
    flex-basis: 220px;
  }
}
@media (max-width: 700px) {
  .button,
  .text-link {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .button,
  .login-link,
  .form-actions > .text-link {
    min-height: 44px;
  }
  .header-actions > .icon-button {
    min-height: 44px;
  }
  .login-link,
  .signup-button {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .section-head,
  .compact-intro {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }
  .section-head > h1,
  .compact-intro > div {
    flex: 1 1 230px;
    min-width: 0;
  }
  .section-head > .button,
  .compact-intro > .button {
    min-height: 44px;
  }
  .form-actions {
    flex-wrap: wrap;
    gap: 12px;
  }
  .form-actions > .button {
    flex: 1 1 190px;
  }
  .form-field input:not([type=checkbox]):not([type=radio]),
  .form-field select,
  .form-field textarea {
    font-size: 16px;
    max-width: 100%;
  }
  .form-field input[type=date] {
    min-height: 46px;
    width: 100%;
  }
  .field-password {
    min-width: 0;
  }
  .field-password input {
    min-width: 0;
    width: 100%;
  }
  .site-header .account-button {
    min-height: 44px;
  }
  .auth-help .text-link,
  .auth-switch button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    vertical-align: middle;
  }
  .quick-footer {
    flex-wrap: wrap;
  }
  .quick-footer > .button {
    min-height: 44px;
  }
  .dialog-close,
  .quick-close,
  .quick-footer > .icon-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  .document-jumps {
    gap: 0 16px;
  }
  .document-foot {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 550px) {
  .site-header .account-button {
    max-width: min(190px, 40vw);
  }
  .section-head > .button,
  .compact-intro > .button {
    width: 100%;
  }
  .plan-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .plan-option {
    padding: 18px;
    min-height: 120px;
  }
  .plan-option > strong {
    font-size: 13px;
    margin-right: 28px;
    margin-bottom: 10px;
  }
  .plan-option p {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 12px;
  }
  .plan-price {
    font-size: 28px;
    letter-spacing: 0;
  }
  .plan-price small {
    display: inline-block;
    margin: 0 0 0 10px;
    font-size: 11px;
    letter-spacing: 0;
  }
  .placement-recap {
    flex-wrap: wrap;
    gap: 10px;
    overflow-wrap: anywhere;
  }
  .form-actions > .button {
    flex-basis: 100%;
  }
}
