@font-face {
  font-family: 'Outfit Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/outfit-latin-ext.woff2') format('woff2-variations');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/outfit-latin.woff2') format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-1);
  font:
    14px/1.5 var(--font-sans),
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:has(.pay) {
  background: #171719;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--text-1);
  outline-offset: 3px;
}

.icon {
  flex: none;
}

.page {
  width: min(680px, 100% - 40px);
  margin: 0 auto;
  padding: 72px 0 24px;
}

.profile {
  display: grid;
  justify-items: center;
  text-align: center;
}

.avatar {
  --ring-width: calc(var(--size) * 0.055);
  --gap: calc(var(--size) * 0.035);
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--size);
  height: var(--size);
}

.avatar.large {
  --size: 112px;
}

.avatar.small {
  --size: 38px;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--hairline);
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - var(--ring-width) - 0.5px),
    #000 calc(100% - var(--ring-width))
  );
}

.ring[data-border='white'] {
  background: conic-gradient(#ffffff, #e4e4e1, #ffffff, #d6d6d2, #fafaf8, #ffffff);
}
.ring[data-border='golden'] {
  background: conic-gradient(#f9e7a6, #d2a33a, #fff3c4, #b7862a, #f0cf72, #f9e7a6);
}
.ring[data-border='silver'] {
  background: conic-gradient(#f4f6f8, #b5bcc4, #ffffff, #8c949d, #dde1e5, #f4f6f8);
}
.ring[data-border='blue'] {
  background: conic-gradient(#a7dbff, #2f7df6, #c4e7ff, #1c4fd6, #6fb6ff, #a7dbff);
}
.ring[data-border='green'] {
  background: conic-gradient(#bdf5cb, #2fb46d, #dcfbe4, #1d8a51, #7ddf9f, #bdf5cb);
}

:root[data-theme='light'] .ring[data-border='white'] {
  filter: drop-shadow(0 0 0.6px rgba(30, 30, 20, 0.55))
    drop-shadow(0 1px 1.5px rgba(30, 30, 20, 0.16));
}

.photo {
  position: absolute;
  inset: calc(var(--ring-width) + var(--gap));
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--text-2);
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: calc(var(--size) * 0.3);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar[data-cosmetic='none'] .ring {
  display: none;
}

.avatar[data-cosmetic='none'] .photo {
  inset: 0;
}

.avatar[data-cosmetic='star'] .ring {
  border-radius: 0;
  background: var(--premium-fill);
  mask: none;
  filter: none;
  clip-path: var(--star-ring);
}

.avatar[data-cosmetic='star'] .photo {
  inset: 0;
  border-radius: 0;
  clip-path: var(--photo-star);
}

.avatar[data-cosmetic='pumpkin'] .ring {
  display: none;
}

.avatar[data-cosmetic='pumpkin'] .photo {
  inset: var(--hole-pumpkin);
}

.avatar[data-cosmetic='pumpkin']::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--art-pumpkin) center / 100% 100% no-repeat;
  pointer-events: none;
}

.name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 18px;
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.badge .rosette {
  fill: var(--verified-badge);
}

.name .badge,
.name .premium-badge {
  flex: none;
}

.premium-badge {
  position: relative;
  display: inline-grid;
  flex: none;
}

.premium-badge::before {
  content: '';
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: var(--premium-badge);
}

.premium-badge svg {
  position: relative;
  fill: #fff;
  filter: drop-shadow(0 0.5px 0.6px rgba(80, 40, 110, 0.35));
}

.handle {
  margin-top: 4px;
  color: var(--text-3);
  font-size: 15px;
}

.bio {
  max-width: 460px;
  margin-top: 14px;
  font-size: 15px;
  white-space: pre-line;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 13px;
}

.facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.links {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: 15px;
  font-weight: 500;
  transition:
    background-color var(--dur-fast),
    scale var(--dur-spring) var(--spring);
}

.link:hover {
  background: var(--surface-2);
}

.link:active {
  scale: 0.985;
}

.link > .icon:first-child {
  color: var(--text-2);
}

.link-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.go {
  color: var(--text-4);
  transition: color var(--dur-fast);
}

.link:hover .go {
  color: var(--text-2);
}

.section {
  margin-top: 52px;
}

.section h2 {
  margin-bottom: 16px;
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.empty {
  color: var(--text-3);
}

.posts {
  display: grid;
  gap: 12px;
}

.post {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.post-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.who {
  display: grid;
  flex: 1;
  min-width: 0;
}

.who-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-weight: 600;
}

.who-name > span:first-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.when {
  color: var(--text-3);
  font-size: 12.5px;
}

.pinned {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  color: var(--text-3);
  font-size: 12.5px;
}

.post-text {
  margin-top: 10px;
  font-size: 15px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.post-image {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 12px;
  background: #1b1b1b;
}

.post-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(440px, 70vh);
}

.counts {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  color: var(--text-3);
  font-size: 13px;
}

.count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.more {
  justify-self: center;
  margin-top: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 500;
  transition:
    background-color var(--dur-fast),
    color var(--dur-fast);
}

.more:hover {
  background: var(--surface-2);
  color: var(--text-1);
}

.more[aria-busy='true'] {
  opacity: 0.6;
  pointer-events: none;
}

.works {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  display: block;
  aspect-ratio: 296 / 380;
  overflow: hidden;
  border-radius: 15px;
  background: #1b1b1b;
  isolation: isolate;
  container-type: inline-size;
  transition: scale var(--dur-spring) var(--spring);
}

.card:active {
  scale: 0.985;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--spring-soft);
}

.card:hover img {
  transform: scale(1.03);
}

.card-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18% 8% 7%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.18) 70%, transparent);
  backdrop-filter: blur(10px) saturate(1.3);
  mask-image: linear-gradient(to top, #000 62%, transparent);
}

.card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: max(15px, 9.4cqi);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.viewer {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 24px;
  border: 0;
  background: transparent;
  color: #fff;
}

.viewer[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 14px;
  animation: viewer-in var(--dur) var(--ease-out);
}

.viewer::backdrop {
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(18px);
}

.viewer img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.viewer-title {
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.viewer-close {
  position: fixed;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.viewer-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@keyframes viewer-in {
  from {
    opacity: 0;
  }
}

body:has(> .pay) {
  min-height: 0;
}

html:has(> body > .pay):not([data-capped]) {
  scrollbar-width: none;
}

.pay {
  width: 460px;
  max-width: 100%;
  margin: 0 auto;
  padding: 26px 28px 24px;
  color: var(--text-1);
}

.pay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pay-head h1 {
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pay-shop {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-2);
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pay-product {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}

.pay-art {
  display: block;
  width: 40px;
  height: 40px;
}

.pay-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.pay-plan {
  margin-top: 2px;
  color: var(--text-3);
  font-size: 13.5px;
}

.pay-total {
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.pay-form {
  margin-top: 20px;
}

.pay-error {
  margin-top: 12px;
  color: var(--danger);
  font-size: 13px;
}

.pay-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-top: 24px;
}

.pay-back,
.pay-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  font: 600 15px/1 var(--font-sans);
  cursor: pointer;
  transition: background-color 120ms ease;
}

.pay-back {
  padding: 0 22px;
  background: var(--surface-2);
  color: var(--text-1);
}

.pay-back:hover {
  background: var(--surface-3);
}

.pay-back[aria-disabled] {
  pointer-events: none;
  opacity: 0.5;
}

.pay-submit {
  padding: 0 24px;
  background: #fff;
  color: #18181b;
}

.pay-submit:hover:not(:disabled) {
  background: #ececef;
}

.pay-submit:disabled {
  cursor: default;
  background: #d9d9de;
}

.pay-back:focus-visible,
.pay-submit:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.pay-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(24, 24, 27, 0.2);
  border-top-color: #18181b;
  border-radius: 50%;
  animation: pay-spin 700ms linear infinite;
}

@keyframes pay-spin {
  to {
    rotate: 360deg;
  }
}

.pay-problem {
  margin-top: 24px;
  color: var(--text-2);
  font-size: 14px;
  text-align: center;
}

.note .pay-shop {
  font-size: 17px;
}

.note {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(460px, 100% - 40px);
  margin: 0 auto;
  padding: 22vh 0 40px;
  text-align: center;
}

.note h1 {
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.note p {
  color: var(--text-2);
  font-size: 15px;
}

.button {
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  transition: scale var(--dur-spring) var(--spring);
}

.button:active {
  scale: 0.97;
}

.footer {
  padding: 56px 0 48px;
  text-align: center;
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

.footer a {
  color: var(--text-4);
  transition: color var(--dur-fast);
}

.footer a:hover {
  color: var(--text-2);
}

.gate {
  padding-top: 16vh;
}

.gate h1 {
  font-size: 24px;
  line-height: 1.25;
}

.gate h1 .badge,
.gate h1 .premium-badge {
  display: inline-block;
  margin: 0 2px 0 6px;
  vertical-align: -0.1em;
}

.form {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  text-align: left;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}

.field input {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  outline: none;
  background: var(--surface-1);
  color: var(--text-1);
  font: inherit;
  font-size: 15px;
  transition: border-color var(--dur-fast);
}

.field input:focus {
  border-color: var(--text-3);
}

.form-error,
.note .form-error {
  color: var(--danger);
  font-size: 13px;
}

button.button {
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.form .button {
  margin-top: 4px;
}

.button:disabled {
  opacity: 0.5;
  cursor: default;
}

.button.small {
  margin: 0;
  padding: 7px 14px;
  font-size: 13px;
}

.button[aria-pressed='true'] {
  background: var(--text-1);
  color: var(--bg);
}

.quiet {
  padding: 6px 10px;
  border: 0;
  border-radius: var(--r-pill);
  background: none;
  color: var(--text-3);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color var(--dur-fast),
    color var(--dur-fast);
}

.quiet:hover {
  background: var(--surface-2);
  color: var(--text-1);
}

.share {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
}

.share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 12px 22px;
  border-bottom: 1px solid var(--hairline);
}

.share-file {
  min-width: 0;
}

.share-file h1 {
  overflow: hidden;
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.share-by,
.share-viewer {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-3);
  font-size: 13px;
}

.share-by .avatar,
.share-viewer .avatar {
  --size: 22px;
}

.share-version {
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}

.share-me {
  display: flex;
  flex: none;
  align-items: center;
  gap: 6px;
}

.share-viewer {
  color: var(--text-2);
  font-weight: 500;
}

.initial {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--text-1);
  font-size: 11px;
  font-weight: 600;
}

.share-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 0;
}

.share-stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 28px;
  overflow: hidden;
  background: var(--surface-1);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.share-frame {
  position: relative;
  max-width: 100%;
}

.share-frame canvas {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 134px);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  opacity: 0;
  transition:
    opacity var(--dur-slow) var(--ease-out),
    filter var(--dur) var(--ease-out);
}

.share-frame[data-ready] canvas {
  opacity: 1;
}

.share-frame[data-placing] {
  cursor: crosshair;
}

.share-shield,
.pins {
  position: absolute;
  inset: 0;
}

.pins {
  pointer-events: none;
}

.pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50% 50% 50% 4px;
  background: var(--bg);
  box-shadow: var(--shadow-2);
  translate: 0 -100%;
  transform-origin: 0 100%;
  pointer-events: auto;
  cursor: pointer;
  transition:
    scale var(--dur-spring) var(--spring),
    background-color var(--dur-fast);
}

.pin:hover,
.pin.selected {
  scale: 1.12;
}

.pin.selected,
.pin.draft {
  background: var(--brand);
}

.pin.older {
  opacity: 0.6;
}

.face {
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--text-1);
  font-size: 11px;
  font-weight: 600;
}

.face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-away] .share-frame canvas {
  filter: blur(36px) saturate(0.7);
}

body[data-away] .pins {
  opacity: 0;
}

.share-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--hairline);
}

.share-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
}

.share-side-head h2 {
  font-family: 'Outfit Variable', 'Outfit', var(--font-sans);
  font-size: 15px;
  font-weight: 600;
}

.share-side .empty {
  padding: 4px 20px;
}

.compose {
  display: grid;
  gap: 8px;
  margin: 0 20px 12px;
  padding: 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-lg);
}

.compose textarea,
.reply textarea {
  width: 100%;
  border: 0;
  outline: none;
  resize: none;
  background: none;
  color: var(--text-1);
  font: inherit;
  font-size: 14px;
}

.compose-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.threads {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 0 20px 24px;
  overflow-y: auto;
  list-style: none;
}

.thread {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--hairline);
  cursor: pointer;
  transition: box-shadow var(--dur-fast);
}

.thread.selected {
  box-shadow: inset 0 0 0 1.5px var(--brand);
}

.comment {
  display: grid;
  gap: 5px;
}

.comment.answer {
  padding-left: 12px;
  border-left: 2px solid var(--hairline-strong);
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
}

.comment-head .face {
  width: 22px;
  height: 22px;
}

.comment-who {
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.comment-tag,
.comment-version {
  flex: none;
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
}

.comment-version {
  justify-self: start;
}

.comment-when {
  flex: none;
  margin-left: auto;
  color: var(--text-4);
  font-size: 12px;
}

.comment-text {
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.reply {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  cursor: auto;
}

.reply textarea {
  flex: 1;
  min-width: 0;
  padding: 6px 0;
}

.reply .form-error {
  flex-basis: 100%;
}

@media print {
  .share-stage {
    visibility: hidden;
  }
}

@media (max-width: 860px) {
  .share {
    height: auto;
  }

  .share-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .share-stage {
    padding: 16px;
  }

  .share-frame canvas {
    max-height: 70vh;
  }

  .share-side {
    border-top: 1px solid var(--hairline);
    border-left: 0;
  }

  .threads {
    overflow: visible;
  }
}

@media (max-width: 480px) {
  .page {
    padding-top: 48px;
  }

  .share-bar {
    padding-left: 16px;
  }

  .share-viewer > span:last-child {
    display: none;
  }

  .works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
