.stickerCanvasPage{position:relative;isolation:isolate;min-height:330px}.dayStickerLayer{position:absolute;inset:0;z-index:6;pointer-events:none;direction:ltr}.placedSticker{position:absolute;display:block;width:var(--sticker-width,96px);aspect-ratio:1;padding:0;margin:0;border:0;border-radius:12px;background:transparent;transform:translate(-50%,-50%) rotate(var(--sticker-angle,0deg));transform-origin:center;pointer-events:none;user-select:none;box-shadow:none;line-height:1;outline:0;outline-offset:5px}.stickerArt{display:block;width:100%;height:100%;pointer-events:none}.placedSticker img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}.dayStickerLayer[data-editing=true] .placedSticker{pointer-events:auto;cursor:grab;touch-action:none}.dayStickerLayer[data-editing=true] .placedSticker:active{cursor:grabbing}.dayStickerLayer[data-editing=true] .placedSticker.selected{outline:1.5px solid #779264}.dayStickerLayer[data-editing=true] .placedSticker:focus-visible{outline:2px solid var(--accent)}.placedSticker.isPhrase{aspect-ratio:1.5}.stickerHandle{position:absolute;display:flex;align-items:center;justify-content:center;width:26px;height:26px;min-width:26px;padding:0;border:2px solid #fffefa;border-radius:50%;box-shadow:0 1px 5px #34291e35;background:#658352;color:#fff;font:700 18px/1 Arial,sans-serif;cursor:pointer;touch-action:none;z-index:10}.resizeHandle{right:-14px;bottom:-14px;cursor:nwse-resize}.rotateHandle{left:calc(50% - 13px);top:-32px;cursor:crosshair}.dismissHandle{left:-13px;top:-13px;background:#fffefa;color:#685d51;border:1px solid #d5cdc0;font-size:19px}.rotateHandle::after{content:'';position:absolute;top:24px;width:1px;height:7px;background:#779264;pointer-events:none}.stickerNavButton{border-color:var(--line)!important;background:var(--paper)!important;margin-top:12px}.topbarStickerActions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.stickerHeaderButton{font-size:11px;padding:7px 10px}.stickerLibraryHeader{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px}.stickerLibraryHeader h2{font-size:21px;margin:0}.stickerLibraryHeader p{font-size:12px;color:var(--muted);margin:3px 0 8px}.stickerLibraryHeader .tag{display:inline-block;font-size:10px}#stickerLibrary{position:fixed;right:0;top:0;bottom:0;left:auto;z-index:60;width:365px;max-width:calc(100vw - 18px);height:100dvh;margin:0;padding:22px 17px;background:var(--paper);color:var(--ink);border:0;border-left:1px solid var(--line);border-radius:18px 0 0 18px;box-shadow:-12px 0 42px #34271a24;overflow:hidden;display:flex;flex-direction:column;direction:rtl}#stickerLibrary[hidden]{display:none!important}.stickerSearch{width:100%;margin:0 0 12px;padding:9px 12px;font-size:12px}.stickerTabs{display:flex;gap:4px;overflow-x:auto;padding-bottom:10px;white-space:nowrap;scrollbar-width:thin;flex:none}.stickerTabs button{flex:none;font-size:11px;padding:6px 9px}.stickerTabs .active{background:var(--ink);color:var(--paper)}.stickerLibraryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:8px;overflow-y:auto;overscroll-behavior:contain;padding:3px 3px 12px;scrollbar-width:thin;min-height:0;flex:1}.stickerChoice{padding:8px 5px;min-width:0;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;background:#f6f3ed;border:1px solid transparent;border-radius:12px}.stickerChoice:hover{border-color:var(--accent);background:#eef1e8}.stickerChoice img{height:78px;width:100%;object-fit:contain}.stickerChoice .choiceLabel{font-size:9px;line-height:1.5}.stickerLibraryFoot{font-size:10px;line-height:1.9;color:var(--muted);margin:10px 0 0;flex:none}.stickerEmpty{grid-column:1/-1;text-align:center;padding:25px;font-size:13px}.drawerArrange{font-size:11px;margin:0 0 10px;border-style:dashed;padding:8px}.stickerEditor{position:fixed;z-index:45;bottom:auto;right:auto;transform:none;background:var(--paper);border:1px solid var(--line);border-radius:13px;box-shadow:0 5px 25px #33261d2a;padding:10px 12px;max-width:calc(100vw - 20px);direction:rtl}.stickerEditorTop{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.stickerEditorTop strong{font-size:12px;display:block}.stickerEditorTop span{font-size:9px;display:block;color:var(--muted);line-height:1.7}.stickerEditorTop button{font-size:11px;padding:7px 10px;flex:none}.stickerEditorControls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.stickerEditorControls label{font-size:10px;display:flex;align-items:center;gap:5px}.stickerEditorControls input[type=range]{width:88px;max-width:100%;padding:0;accent-color:var(--accent)}.stickerEditorControls button{font-size:10px;padding:6px 9px}.stickerEditorControls output{min-width:31px;font-size:9px;direction:ltr}.stickerSizeButtons{display:flex;gap:4px}.stickerSizeButtons button{font-size:18px;line-height:1;width:29px;height:29px;padding:0;font-family:Arial,sans-serif}.stickerUndoButton{font-size:10px;margin-top:8px}.stickerDelete{color:#944e41}.stickerEditor[hidden],#stickerSelectionControls[hidden],#arrangeDayStickers[hidden],#drawerArrangeStickers[hidden],#libraryUndoSticker[hidden],#undoDaySticker[hidden]{display:none!important}
/* Original Arabic lettering: transparent die-cut type, varied hierarchy and restrained accents. */
.phraseArtwork{position:relative;display:flex;width:100%;height:100%;min-height:0;align-items:center;justify-content:center;padding:13% 9%;background:transparent;border:0;box-shadow:none;isolation:isolate;direction:rtl;font-size:calc(var(--sticker-width,175px)/8);line-height:1.3;filter:drop-shadow(0 1px 0 #b8aa9766);pointer-events:none}.phraseLettering{display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:2;white-space:nowrap;transform:rotate(-3deg)}.phraseLine{display:block;font-family:'Noto Kufi Arabic','Noto Sans Arabic',sans-serif;font-weight:700;color:#5b4536;-webkit-text-stroke:calc(var(--sticker-width,175px)/68) #fffefa;paint-order:stroke fill;text-shadow:1px 2px #cab99e;line-height:1.6;letter-spacing:-.04em}.phraseLine:last-child{font-size:1.35em;color:#637d4e}.phraseLine:only-child{font-size:1.7em}.phraseSpark{position:absolute;z-index:1;color:#a68b54;-webkit-text-stroke:2px #fffefa;paint-order:stroke fill;font-size:1.15em}.sparkOne{top:6%;left:5%;transform:rotate(-10deg)}.sparkTwo{bottom:8%;right:3%;color:#93a17f;font-size:.9em}.phraseUnderline{position:absolute;bottom:10%;left:18%;right:18%;height:9%;border-radius:50%;border-bottom:.18em solid #c1a37b;transform:rotate(-5deg);z-index:0}.art-you-can .phraseLine{font-family:'Noto Kufi Arabic',sans-serif;font-size:1.85em;color:#68874e;text-shadow:2px 3px #b9c5a2}.art-little-counts .line1{font-size:.8em;color:#8a6748}.art-little-counts .line2{font-size:1.65em;line-height:1.25}.art-step-built .line1{color:#b1874f;font-size:1.65em;line-height:1.25}.art-step-built .line2{font-family:'Noto Naskh Arabic',serif;font-size:1.45em;color:#67503c;line-height:1.2}.art-my-pace::before{content:'';position:absolute;inset:4% 7%;background:#e4ebed;border:4px solid #fffefa;border-radius:45% 45% 34% 34%;z-index:-1;transform:rotate(3deg)}.art-my-pace .line1{font-size:.75em;color:#8a7b68}.art-my-pace .line2{color:#637e88;font-family:'Noto Naskh Arabic',serif;font-size:1.5em}.art-my-pace .phraseUnderline{border-color:#a7b9b8;bottom:17%}.art-every-step .line1{font-size:.95em;color:#6c5140}.art-every-step .line2{font-size:1.65em;line-height:1.3;color:#788c52}.art-well-done::before{content:'';position:absolute;width:76%;height:92%;background:#f0e1bd;border:4px solid #fffefa;border-radius:43% 48% 42% 46%;transform:rotate(-8deg);z-index:-1;box-shadow:2px 3px 0 #d7c59f}.art-well-done .phraseLine{font-family:'Noto Naskh Arabic',serif;font-size:1.7em;color:#7d5d38;transform:rotate(4deg)}.art-well-done .phraseUnderline{border-color:#a88d4c}.phraseChoice{grid-column:span 1}.stickerChoice .phraseArtwork{--sticker-width:104px;width:100%;height:85px;min-height:85px;flex:none;padding:12% 6%}.stickerChoice.phraseChoice{background:#f2efe6}
@media(max-width:760px){#stickerLibrary{width:335px;padding:18px 13px}.stickerChoice img{height:68px}.stickerTabs button{padding:6px 8px}.stickerEditor{padding:9px}.stickerNavButton{margin-top:0}.topbarStickerActions{gap:5px}.stickerHeaderButton{font-size:10px}.stickerSizeButtons button{width:30px;height:30px}.stickerHandle{width:30px;height:30px;min-width:30px}.resizeHandle{right:-16px;bottom:-16px}.rotateHandle{left:calc(50% - 15px);top:-38px}.dismissHandle{left:-16px;top:-16px}}

/* Editing happens on the sticker itself; never show the floating control card. */
#stickerEditor{display:none!important}
.dayStickerLayer .placedSticker{pointer-events:auto;cursor:default;touch-action:auto;-webkit-tap-highlight-color:transparent}
.dayStickerLayer[data-editing=true] .placedSticker{cursor:default;touch-action:auto}
.dayStickerLayer[data-editing=true] .placedSticker.selected{cursor:grab;touch-action:none}
.dayStickerLayer[data-editing=true] .placedSticker.selected:active{cursor:grabbing}
.dayStickerLayer .placedSticker:focus-visible{outline:2px solid var(--accent)}
.stickerHandle.deleteHandle{right:-14px;top:-14px;background:#fffefa;color:#944e41;border:1px solid #d5cdc0}
@media(max-width:760px){.stickerHandle.deleteHandle{right:-16px;top:-16px}}
