.journal-sticker{position:absolute;aspect-ratio:1;z-index:12;transform-origin:center;pointer-events:none;user-select:none;-webkit-user-select:none}.journal-sticker svg{display:block;width:100%;height:100%;overflow:visible}.journal-sticker svg *{pointer-events:none}#mobileCanvas .journal-sticker{pointer-events:auto;touch-action:none;cursor:grab}#mobileCanvas .sticker-selected{outline:2px dashed #79c4df;outline-offset:5px;border-radius:4px}#mobileEditor .mobile-editor-nav{display:flex;justify-content:center;gap:12px}#mobileEditor #mobileStickers{display:block;padding:12px 18px;border-radius:10px;font-size:16px}#mobileEditor #stickerTools{padding:8px 12px;color:#e7f0f3}#stickerTools p{font-size:13px;margin:0 0 8px;text-align:center}#stickerTools label{display:flex;align-items:center;gap:12px;font-size:14px;margin:8px 0}#stickerTools input{flex:1;min-width:60px;touch-action:pan-x}#stickerTools output{min-width:40px;font-variant-numeric:tabular-nums}#stickerPicker{width:min(680px,calc(100vw - 20px));max-height:85dvh;border:0;border-radius:18px;padding:18px;background:#f5f8f4;color:#203b45}#stickerPicker::backdrop{background:#10263099}#stickerPicker header{height:auto;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:0 0 12px;position:sticky;top:-18px;background:#f5f8f4;z-index:2}#stickerPicker header strong{font:700 23px system-ui}#stickerPicker button{font:14px system-ui;padding:10px;border:1px solid #c6d5d0;border-radius:10px;background:#fff;color:#203b45;cursor:pointer}#stickerPicker nav{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}#stickerPicker nav button[aria-pressed=true]{background:#285e72;color:#fff}#stickerPicker .sticker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#stickerPicker .sticker-grid button{min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 8px}#stickerPicker svg{width:min(100%,100px);aspect-ratio:1}#stickerPicker .sticker-grid span{font-size:12px}#stickerPicker>p{font:13px/1.5 system-ui;color:#647b73;margin-bottom:0}@media(max-width:600px){#stickerPicker .sticker-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#stickerPicker{padding:14px}#stickerPicker header{top:-14px}#stickerPicker nav button{font-size:12px;padding:8px}#stickerTools label{margin:5px 0}}@media(max-height:500px){#stickerPicker{max-height:95dvh}#mobileEditor #stickerTools{padding:4px 10px}#stickerTools p{display:none}#mobileEditor .mobile-editor-nav button{padding:6px 12px!important}}

@media(orientation:landscape) and (max-height:500px){#mobileEditor[open].sticker-editing{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,36%);grid-template-rows:auto minmax(0,1fr)}#mobileEditor.sticker-editing>.mobile-editor-top{grid-column:1/-1;grid-row:1}#mobileEditor.sticker-editing>#mobileStage{grid-column:1;grid-row:2}#mobileEditor.sticker-editing>#mobileTools{grid-column:2;grid-row:2;max-height:none;min-height:0}#mobileEditor.sticker-editing #stickerTools label{margin:14px 0}#mobileEditor.sticker-editing #mobileWarning{display:none}}

#assemblyApp[data-stage="0"] .draft-save-success { display: none; }
#mobileEditor > .mobile-editor-nav {
  flex: none;
  padding: 4px 12px max(4px, env(safe-area-inset-bottom));
  background: #1b2e3d;
  border-top: 1px solid #344657;
}
#mobileEditor > .mobile-editor-nav button {
  min-height: 44px;
  color: white;
  border: 0;
  font-weight: 600;
}
#mobileEditor.story-typing > .mobile-editor-nav {
  position: absolute;
  inset-inline: 0;
  top: max(62px, calc(var(--story-toolbar-top) - 54px));
  z-index: 71;
  box-sizing: border-box;
}
@media (orientation: landscape) and (max-height: 500px) {
  #mobileEditor[open].sticker-editing { grid-template-rows: auto minmax(0, 1fr) auto; }
  #mobileEditor.sticker-editing > .mobile-editor-nav { grid-column: 1 / -1; grid-row: 3; }
}

#mobileEditor.keyboard-open > .mobile-editor-nav { display: flex; }

#mobileCanvas .sticker-remove { display: none; }
#mobileCanvas .sticker-selected .sticker-remove {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #e7f0f3;
  border-radius: 50%;
  background: #1b2e3d;
  color: white;
  font: 20px/1 system-ui;
  cursor: pointer;
  transform: translate(30%, -30%) rotate(var(--sticker-counter-angle, 0deg));
}

@media (pointer: coarse) {
  #stickerTools label { display: none; }
}
.sticker-touch-hint { display: none; }
@media (pointer: coarse) { .sticker-touch-hint { display: inline; } }
