/* browser/app.css */
@font-face {
  font-family: "Gochi Hand";
  src: url(/assets/fonts/GochiHand-400.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url(/assets/fonts/Nunito-500.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url(/assets/fonts/Nunito-600.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url(/assets/fonts/Nunito-700.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url(/assets/fonts/Nunito-800.woff2) format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --dw-ink: #232027;
  --dw-ink-2: #3A3640;
  --dw-muted: #6A6570;
  --dw-faint: #8B8590;
  --dw-paper: #FBFAF5;
  --dw-line: #E6E2D8;
  --dw-line-soft: #ECE8DF;
  --dw-hover: #F2F0EA;
  --dw-accent: #2F5BEA;
  --dw-soft: #E2E8FC;
  --dw-danger: #C2272D;
  --dw-hand:
    "Gochi Hand",
    "Comic Sans MS",
    cursive;
  --dw-font:
    "Nunito",
    system-ui,
    -apple-system,
    sans-serif;
  --dw-grid-line: rgba(47, 91, 234, .07);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  overflow: hidden;
  background: var(--dw-paper);
  color: var(--dw-ink);
  font-family: var(--dw-font);
  -webkit-text-size-adjust: 100%;
}
h1,
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--dw-ink);
  outline-offset: 2px;
}
.dw-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.dw-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dw-contents {
  display: contents;
}
.dw-hand {
  font-family: var(--dw-hand);
}
.dw-multiply {
  mix-blend-mode: multiply;
}
@keyframes dw-pop {
  0% {
    transform: scale(.78) rotate(-10deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}
@keyframes dw-rise {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(.97);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.dw-rise {
  animation: dw-rise .16s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .dw-rise,
  .dw-tb.is-on {
    animation: none !important;
  }
}
.dw-app {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.dw-loading {
  padding: 24px;
  font-weight: 700;
  color: var(--dw-muted);
}
.dw {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--dw-paper);
}
.dw-paper {
  position: absolute;
  inset: 0;
  touch-action: none;
  overscroll-behavior: none;
  cursor: var(--dw-cursor, crosshair);
  background-color: var(--dw-paper);
  background-image:
    linear-gradient(rgba(47, 91, 234, .16) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(47, 91, 234, .16) 1px,
      transparent 1px),
    linear-gradient(var(--dw-minor, rgba(47, 91, 234, .075)) 1px, transparent 1px),
    linear-gradient(
      90deg,
      var(--dw-minor, rgba(47, 91, 234, .075)) 1px,
      transparent 1px);
  background-size: var(--dw-grid, 120px 120px, 120px 120px, 24px 24px, 24px 24px);
  background-position: var(--dw-grid-at, 0 0);
}
.dw-canvas {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}
.dw-canvas path,
.dw-thumb path,
.dw-preview path {
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dw-laser {
  filter: drop-shadow(0 0 4px currentColor);
}
.dw-laser line {
  stroke-linecap: round;
}
.dw-thumb {
  display: block;
  overflow: visible;
}
.dw-cursors {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.dw-cursor {
  position: absolute;
  left: 0;
  top: 0;
  translate: var(--dw-x) var(--dw-y);
  display: flex;
  align-items: flex-start;
}
.dw-cursor svg {
  display: block;
  overflow: visible;
  filter: drop-shadow(0 1px 2px rgba(35, 32, 39, .3));
}
.dw-cursor__tag {
  margin: 15px 0 0 -5px;
  padding: 3px 8px;
  border-radius: 3px 10px 10px 10px;
  background: var(--dw-c);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.dw-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 3px var(--dw-c);
}
.dw-empty {
  position: absolute;
  left: 50%;
  top: 44%;
  width: max-content;
  max-width: calc(100% - 32px);
  transform: translate(-50%, -50%) rotate(-3deg);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #B4AEA4;
  font-family: var(--dw-hand);
  text-align: center;
}
.dw-empty__big {
  font-size: 44px;
  line-height: 1;
}
.dw-empty__small {
  font-size: 22px;
}
.dw-pop {
  background: #FFFFFF;
  border: 1px solid var(--dw-line);
}
.dw-tb {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dw-ink-2);
  transition: background .12s, transform .12s;
}
.dw-tb:hover {
  background: var(--dw-hover);
}
.dw-tb:active {
  transform: scale(.9);
}
.dw-tb.is-on {
  animation: dw-pop .3s cubic-bezier(.3, 1.7, .5, 1);
}
.dw-tb[aria-pressed=true],
.dw-tb.is-on {
  color: var(--dw-accent);
  background: var(--dw-soft);
}
.dw-tb:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
}
.dw-lb {
  height: 40px;
  padding: 0 12px 0 8px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--dw-ink-2);
}
.dw-lb:hover,
.dw-lb.is-open {
  background: var(--dw-hover);
}
.dw-vr {
  flex: none;
  width: 1px;
  height: 26px;
  background: var(--dw-line);
}
.dw-hr {
  flex: none;
  width: 28px;
  height: 1px;
  margin: 4px 0;
  background: var(--dw-line-soft);
}
.dw-vsep {
  width: 1px;
  align-self: stretch;
  margin: 6px 4px;
  background: var(--dw-line-soft);
}
.dw-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dw-muted);
}
.dw-title {
  font-family: var(--dw-hand);
  font-size: 28px;
  line-height: 1;
}
.dw-primary {
  height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  background: var(--dw-accent);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(35, 32, 39, .16);
}
.dw-primary--new {
  padding: 0 20px 0 16px;
}
.dw-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.dw-top > * {
  pointer-events: auto;
}
.dw-topleft {
  flex-shrink: 1000000;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px 4px 4px;
  background: #FFFFFF;
  border: 1px solid var(--dw-line);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(35, 32, 39, .06);
}
.dw-nbname {
  max-width: 180px;
  padding: 0 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dw-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dw-slash {
  padding-left: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #B4AEA4;
}
.dw-ttl {
  flex: 0 1 170px;
  min-width: 64px;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  color: var(--dw-ink);
  -webkit-user-select: text;
  user-select: text;
}
.dw-ttl::placeholder {
  color: var(--dw-faint);
}
.dw-save {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--dw-muted);
  white-space: nowrap;
}
.dw-save__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1F9D55;
}
.dw-save__dot[data-state=saving] {
  background: #F08C00;
}
.dw-save__dot[data-state=off] {
  background: #B4AEA4;
}
.dw-tools {
  position: absolute;
  left: 16px;
  top: 50%;
  translate: 0 -50%;
  max-height: calc(100% - 160px);
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid var(--dw-line);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(35, 32, 39, .08);
}
.dw-tools::-webkit-scrollbar {
  display: none;
}
.dw-chipbtn {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dw-chipbtn[aria-expanded=true] {
  background: var(--dw-hover);
}
.dw-chip {
  width: var(--dw-d, 14px);
  height: var(--dw-d, 14px);
  border-radius: 50%;
  background: var(--dw-c, #232027);
  opacity: var(--dw-op, 1);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px #DCD7CC;
}
.dw-shapes {
  position: absolute;
  left: 84px;
  top: calc(50% + 98px);
  translate: 0 -50%;
  display: flex;
  gap: 2px;
  padding: 6px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(35, 32, 39, .1);
}
.dw-panel {
  position: absolute;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(35, 32, 39, .12);
  transition: opacity .15s;
}
.dw-panel.is-faded {
  opacity: .35;
}
.dw-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dw-panel__head--top {
  align-items: flex-start;
  padding: 12px 6px 0 16px;
}
.dw-panel__titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dw-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--dw-muted);
}
.dw-macros {
  left: 84px;
  top: 50%;
  translate: 0 -50%;
  width: 412px;
  max-width: calc(100% - 100px);
  max-height: calc(100% - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dw-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px 14px;
}
.dw-cat {
  height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  background: #F4F2EC;
  color: var(--dw-ink-2);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .12s;
}
.dw-cat:hover {
  background: #ECE9E2;
}
.dw-cat[aria-selected=true] {
  background: var(--dw-soft);
  color: var(--dw-accent);
}
.dw-cards {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}
.dw-mcard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--dw-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--dw-paper);
  touch-action: pan-y;
  cursor: grab;
  transition: transform .12s, border-color .12s;
}
.dw-mcard:hover {
  border-color: #CFC9BC;
  transform: translateY(-2px);
}
.dw-mcard:active {
  cursor: grabbing;
}
.dw-mcard__art,
.dw-card__art {
  display: block;
  background-image:
    linear-gradient(var(--dw-grid-line) 1px, transparent 1px),
    linear-gradient(
      90deg,
      var(--dw-grid-line) 1px,
      transparent 1px);
  background-size: 12px 12px;
}
.dw-mcard__art {
  height: 86px;
  padding: 10px;
}
.dw-mcard__name {
  display: block;
  padding: 6px 8px 8px;
  background: #FFFFFF;
  border-top: 1px solid #EFEBE3;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dw-ink);
  text-align: left;
}
.dw-brush {
  left: 84px;
  top: 50%;
  translate: 0 -50%;
  width: 288px;
  max-height: calc(100% - 32px);
  overflow-y: auto;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dw-brush .dw-title {
  font-size: 26px;
}
.dw-preview {
  display: block;
  flex: none;
  background: var(--dw-paper);
  border: 1px solid #EFEBE3;
  border-radius: 12px;
}
.dw-field {
  display: flex;
  flex-direction: column;
}
.dw-field__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--dw-muted);
}
.dw-rng {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
}
.dw-rng::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: var(--dw-line-soft);
}
.dw-rng::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--dw-ink);
  box-shadow: 0 1px 4px rgba(35, 32, 39, .25);
}
.dw-rng::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--dw-line-soft);
}
.dw-rng::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--dw-ink);
}
.dw-switch {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--dw-ink);
}
.dw-switch--small {
  min-height: 44px;
  gap: 0;
  font-size: 13px;
  color: var(--dw-muted);
}
.dw-switch__track {
  flex: none;
  width: 44px;
  height: 26px;
  padding: 3px;
  border-radius: 13px;
  display: flex;
  justify-content: flex-start;
  background: #CFC9BD;
  transition: background .15s;
}
.dw-switch[aria-checked=true] .dw-switch__track {
  justify-content: flex-end;
  background: var(--dw-accent);
}
.dw-switch__knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(35, 32, 39, .3);
}
.dw-colours {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dw-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  justify-items: center;
}
.dw-swatch {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dw-swatch:has(.dw-custom__input:focus-visible) {
  outline: 2px solid var(--dw-ink);
  outline-offset: 2px;
}
.dw-swatch__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dw-c);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px #DCD7CC;
}
.dw-swatch[aria-pressed=true] .dw-swatch__dot {
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--dw-ink);
}
.dw-swatch__dot--wheel {
  background:
    conic-gradient(
      #E5484D,
      #F08C00,
      #FFD60A,
      #1F9D55,
      #2F5BEA,
      #8E4EC6,
      #E5484D);
}
.dw-custom__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.dw-assets {
  top: 78px;
  right: 16px;
  bottom: 76px;
  width: 304px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dw-panel__head--assets {
  padding: 8px 6px 4px 16px;
}
.dw-assets__save {
  padding: 4px 12px 12px;
}
.dw-savebtn {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dw-hover);
  color: var(--dw-muted);
  font-size: 14px;
  font-weight: 800;
  cursor: default;
}
.dw-savebtn.is-ready {
  background: var(--dw-accent);
  color: #FFFFFF;
  cursor: pointer;
}
.dw-assets__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: var(--dw-faint);
}
.dw-assets__empty span {
  font-family: var(--dw-hand);
  font-size: 21px;
  line-height: 1.2;
  color: var(--dw-muted);
}
.dw-assets__grid {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}
.dw-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dw-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--dw-paper);
}
.dw-card:hover {
  border-color: #CFC9BC;
}
.dw-card__art {
  width: 100%;
  height: 100px;
  touch-action: pan-y;
  cursor: grab;
}
.dw-card__foot {
  display: flex;
  align-items: center;
  padding: 0 0 0 8px;
  background: #FFFFFF;
  border-top: 1px solid #EFEBE3;
}
.dw-card__name {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--dw-ink);
  -webkit-user-select: text;
  user-select: text;
}
.dw-card__del {
  width: 40px;
  height: 40px;
  color: var(--dw-muted);
}
.dw-ctx {
  position: absolute;
  left: var(--dw-x, 0);
  top: var(--dw-y, 0);
  translate: -50% 0;
  max-width: calc(100% - 16px);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--dw-ink);
  color: #FFFFFF;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(35, 32, 39, .28);
  white-space: nowrap;
}
.dw-ctx :focus-visible {
  outline-color: #FFFFFF;
}
.dw-ctx__count {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #CFCAD3;
}
.dw-db {
  height: 44px;
  min-width: 44px;
  padding: 0 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.dw-db:hover {
  background: rgba(255, 255, 255, .12);
}
.dw-db:active {
  transform: scale(.94);
}
.dw-db--accent,
.dw-db--accent:hover {
  background: var(--dw-accent);
}
.dw-textin {
  position: absolute;
  left: var(--dw-x, 0);
  top: var(--dw-y, 0);
  width: var(--dw-w, 160px);
  height: var(--dw-h, 52px);
  padding: 0 6px;
  border: 1.5px dashed var(--dw-accent);
  border-radius: 6px;
  background: rgba(255, 255, 255, .75);
  outline: none;
  font-family: var(--dw-hand);
  font-size: var(--dw-fs, 40px);
  color: var(--dw-c, #232027);
  -webkit-user-select: text;
  user-select: text;
}
.dw-textin:focus-visible {
  outline: none;
}
.dw-menu {
  display: flex;
  flex-direction: column;
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(35, 32, 39, .12);
}
.dw-pagemenu {
  position: absolute;
  left: 50%;
  bottom: 74px;
  translate: -50% 0;
  min-width: 210px;
}
.dw-mi {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.dw-mi:hover {
  background: var(--dw-hover);
}
.dw-mi:disabled {
  opacity: .4;
  cursor: default;
}
.dw-mi--danger {
  color: var(--dw-danger);
}
.dw-pages {
  position: absolute;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  max-width: calc(100% - 300px);
  overflow-x: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 10px;
  background: #FFFFFF;
  border: 1px solid var(--dw-line);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(35, 32, 39, .08);
}
.dw-tab {
  flex: none;
  height: 40px;
  min-width: 44px;
  max-width: 170px;
  padding: 0 12px 0 10px;
  border-radius: 3px 3px 12px 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F4F2EC;
  font-size: 13px;
  font-weight: 600;
  color: var(--dw-ink);
  white-space: nowrap;
  transition: transform .15s;
}
.dw-tab:hover {
  transform: translateY(-2px);
}
.dw-tab.is-current {
  rotate: -2.5deg;
  background: var(--dw-c);
  box-shadow: 0 3px 8px rgba(35, 32, 39, .18);
  font-weight: 800;
}
.dw-tab__num {
  font-family: var(--dw-hand);
  font-size: 19px;
  line-height: 1;
}
.dw-tab__name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.dw-zoom {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: #FFFFFF;
  border: 1px solid var(--dw-line);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(35, 32, 39, .08);
}
.dw-zoompct {
  height: 44px;
  min-width: 58px;
  padding: 0 6px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--dw-ink-2);
}
.dw-topright {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dw-people {
  min-width: 0;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px 0 6px;
  background: #FFFFFF;
  border: 1px solid var(--dw-line);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(35, 32, 39, .06);
}
.dw-people__row {
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}
.dw-avbtn {
  position: relative;
  flex: none;
  width: 40px;
  height: 44px;
  margin-right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dw-avbtn:focus-visible {
  outline-offset: -2px;
}
.dw-avbtn--me {
  margin-right: 0;
}
.dw-avbtn__eye {
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--dw-line);
  color: var(--dw-ink-2);
}
.dw-badge {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dw-hover);
  color: var(--dw-ink-2);
}
.dw-share {
  margin-left: 2px;
}
.dw-assetsbtn {
  height: 50px;
  padding: 0 12px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--dw-line);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(35, 32, 39, .06);
  font-size: 14px;
  font-weight: 800;
  color: var(--dw-ink-2);
}
.dw-assetsbtn.is-open {
  background: var(--dw-hover);
}
.dw-count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dw-hover);
  font-size: 12px;
}
.dw-av {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dw-c, #8B8590);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
}
.dw-av__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dw-av--ring {
  box-shadow: 0 0 0 2px #FFFFFF;
}
.dw-av--ring.is-on {
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--dw-c);
}
.dw-av--me {
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3.5px var(--dw-c);
}
.dw-av--banner {
  width: 30px;
  height: 30px;
  font-size: 12px;
}
.dw-av--blank {
  background: var(--dw-muted);
}
.dw-av--row {
  margin-right: 4px;
}
.dw-banner {
  position: absolute;
  left: 50%;
  top: 76px;
  translate: -50% 0;
  max-width: calc(100% - 32px);
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 6px 2px 8px;
  border: 1.5px solid var(--dw-c);
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(35, 32, 39, .12);
  white-space: nowrap;
}
.dw-banner__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 800;
  color: var(--dw-ink);
}
.dw-banner__text--end {
  padding-right: 10px;
}
.dw-stop {
  flex: none;
  height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  background: var(--dw-hover);
  font-size: 13px;
  font-weight: 800;
  color: var(--dw-ink);
}
.dw-crew {
  position: absolute;
  top: 76px;
  right: 16px;
  z-index: 6;
  width: 384px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 160px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 16px 16px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(35, 32, 39, .14);
}
.dw-crew__sec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dw-crew__link {
  display: flex;
  gap: 6px;
}
.dw-link {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--dw-line);
  border-radius: 12px;
  background: var(--dw-paper);
  font-size: 14px;
  font-weight: 700;
  color: var(--dw-muted);
  -webkit-user-select: all;
  user-select: all;
}
.dw-copy {
  flex: none;
  height: 44px;
  min-width: 84px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--dw-accent);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
}
.dw-radios {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 12px;
  background: var(--dw-hover);
}
.dw-radio {
  flex: 1;
  height: 40px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  color: var(--dw-ink);
}
.dw-radio[aria-checked=true] {
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(35, 32, 39, .15);
}
.dw-crew__people {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dw-label--list {
  padding-bottom: 4px;
}
.dw-member {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dw-member--me {
  gap: 10px;
}
.dw-member__who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.dw-member__name {
  font-size: 14px;
  font-weight: 800;
  color: var(--dw-ink);
}
.dw-member__status {
  font-size: 12px;
  font-weight: 700;
  color: var(--dw-muted);
}
.dw-follow {
  flex: none;
  height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  background: var(--dw-hover);
  color: var(--dw-ink-2);
  font-size: 12px;
  font-weight: 800;
}
.dw-follow.is-on {
  background: var(--dw-c);
  color: #FFFFFF;
}
.dw-follow:disabled {
  opacity: .4;
  cursor: default;
}
.dw-role {
  flex: none;
  height: 44px;
  min-width: 68px;
  padding: 0 10px;
  border: 1px solid var(--dw-line);
  border-radius: 22px;
  font-size: 12px;
  font-weight: 800;
  color: var(--dw-ink-2);
}
.dw-role--text {
  height: auto;
  min-width: 0;
  padding: 0 6px;
  border: 0;
  color: var(--dw-muted);
}
.dw-kick {
  color: var(--dw-muted);
}
.dw-kick.is-armed,
.dw-kick.is-armed:hover {
  background: #FBE9EA;
  color: var(--dw-danger);
}
.dw-crew__switches {
  display: flex;
  flex-direction: column;
}
.dw-crew__switches > .dw-label {
  padding-bottom: 2px;
}
.dw-ghost {
  position: absolute;
  left: var(--dw-x, 0);
  top: var(--dw-y, 0);
  z-index: 20;
  width: 144px;
  height: 108px;
  padding: 12px;
  transform: translate(-50%, -60%) rotate(-4deg);
  pointer-events: none;
  background: #FFFFFF;
  border: 1.5px solid var(--dw-accent);
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(35, 32, 39, .22);
}
.dw-shelf,
.dw-signin {
  background-color: var(--dw-paper);
  background-image:
    linear-gradient(rgba(47, 91, 234, .06) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(47, 91, 234, .06) 1px,
      transparent 1px);
  background-size: 24px 24px;
}
.dw-shelf {
  position: absolute;
  inset: 0;
  z-index: 10;
  overflow-y: auto;
}
.dw-shelf__in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 32px 72px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.dw-shelf__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dw-shelf__titles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dw-shelf__title {
  font-family: var(--dw-hand);
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  color: var(--dw-ink);
}
.dw-shelf__meta {
  font-size: 14px;
  font-weight: 700;
  color: var(--dw-muted);
}
.dw-shelf__actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.dw-account {
  min-width: 0;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 3px 0 8px;
  background: #FFFFFF;
  border: 1px solid var(--dw-line);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(35, 32, 39, .06);
}
.dw-account__name {
  max-width: 160px;
  font-size: 14px;
  font-weight: 800;
  color: var(--dw-ink);
}
.dw-account__out {
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--dw-ink-2);
  white-space: nowrap;
}
.dw-account__out:hover {
  background: var(--dw-hover);
}
.dw-shelf__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(196px, 100%), 1fr));
  gap: 32px 28px;
}
.dw-nb {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dw-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 6px 16px 16px 6px;
  background: var(--dw-c);
  rotate: var(--dw-rot, 0deg);
  box-shadow: inset 14px 0 0 rgba(0, 0, 0, .16), 0 6px 16px rgba(35, 32, 39, .14);
  transition: box-shadow .15s;
}
.dw-cover:hover {
  box-shadow: inset 14px 0 0 rgba(0, 0, 0, .16), 0 12px 28px rgba(35, 32, 39, .22);
}
.dw-cover__paper {
  position: absolute;
  left: 30px;
  right: 14px;
  top: 12%;
  bottom: 18%;
  display: block;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  background-color: var(--dw-paper);
  background-image:
    linear-gradient(rgba(47, 91, 234, .09) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(47, 91, 234, .09) 1px,
      transparent 1px);
  background-size: 10px 10px;
}
.dw-cover__open {
  position: absolute;
  right: 12px;
  bottom: 5%;
  padding: 3px 10px;
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--dw-ink);
  font-size: 11px;
  font-weight: 800;
}
.dw-nb__row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dw-nb__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dw-nb__name {
  font-size: 15px;
  font-weight: 800;
  color: var(--dw-ink);
}
.dw-nb__rename {
  height: 30px;
  margin-left: -6px;
  padding: 0 6px;
  border: 1.5px solid var(--dw-accent);
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  color: var(--dw-ink);
  -webkit-user-select: text;
  user-select: text;
}
.dw-nb__meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--dw-muted);
}
.dw-nbmenu {
  position: absolute;
  right: 0;
  bottom: 58px;
  z-index: 2;
  min-width: 196px;
  box-shadow: 0 12px 32px rgba(35, 32, 39, .14);
}
.dw-signin {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.dw-signin__card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.dw-signin__title {
  font-family: var(--dw-hand);
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  rotate: -3deg;
}
.dw-signin__text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--dw-muted);
}
.dw-toast-region {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 76px;
  z-index: 30;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.dw-toast {
  pointer-events: auto;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 4px 14px;
  background: var(--dw-ink);
  color: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(35, 32, 39, .28);
}
.dw-toast__glyph {
  flex: none;
  width: 20px;
  height: 20px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #FF8A8E;
  color: #FF8A8E;
  font-size: 12px;
  font-weight: 800;
}
.dw-toast__text {
  flex: 1;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
}
.dw-toast .dw-tb {
  color: #CFCAD3;
}
.dw-toast .dw-tb:hover {
  background: rgba(255, 255, 255, .12);
}
.dw-toast :focus-visible {
  outline-color: #FFFFFF;
}
@media (max-width: 900px) {
  .dw-top .dw-wide,
  .dw-nbname,
  .dw-slash {
    display: none;
  }
  .dw-lb {
    padding: 0 8px;
  }
}
@media (max-width: 640px) {
  .dw-wide {
    display: none;
  }
  .dw-top {
    top: 8px;
    left: 8px;
    right: 8px;
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .dw-topleft {
    flex: 1 1 100%;
  }
  .dw-ttl {
    flex: 1;
    min-width: 0;
  }
  .dw-topright {
    margin-left: auto;
  }
  .dw-tools {
    left: 8px;
    top: 124px;
    translate: none;
    max-height: calc(100% - 200px);
  }
  .dw-shapes {
    left: 64px;
    top: auto;
    bottom: 76px;
    translate: none;
  }
  .dw-macros,
  .dw-assets {
    left: 8px;
    right: 8px;
    top: 124px;
    bottom: 76px;
    width: auto;
    max-width: none;
    max-height: none;
    translate: none;
  }
  .dw-panel.is-faded {
    visibility: hidden;
  }
  .dw-brush {
    left: 64px;
    right: 8px;
    top: 124px;
    width: auto;
    max-width: 288px;
    max-height: calc(100% - 200px);
    translate: none;
  }
  .dw-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dw-crew {
    top: 124px;
    right: 8px;
    max-width: calc(100% - 16px);
    max-height: calc(100% - 200px);
  }
  .dw-banner {
    top: 124px;
    left: calc(50% + 33px);
    max-width: calc(100% - 82px);
  }
  .dw-pages {
    left: 8px;
    translate: none;
    max-width: calc(100% - 184px);
  }
  .dw-zoom {
    right: 8px;
  }
  .dw-empty__big {
    font-size: 32px;
  }
  .dw-empty__small {
    font-size: 18px;
  }
  .dw-shelf__in {
    padding: 24px 16px 48px;
    gap: 24px;
  }
  .dw-shelf__title {
    font-size: 48px;
  }
  .dw-shelf__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .dw-cover__paper {
    left: 22px;
    right: 10px;
  }
  .dw-toast-region {
    bottom: 72px;
  }
}
