@import "https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Poppins:wght@400;600;700&display=swap";:root{--bg:#efe7de;--paper:#fffdf8;--ink:#302926;--muted:#766b65;--pink:#c96d99;--pink2:#f7c9dc;--tan:#c9ad8e;--line:#e4d8ce;--shadow:0 16px 40px #3e2d2221}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);color:var(--ink);font-family:Poppins,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.phoneFrame{background:#fbf7f1;width:430px;max-width:100vw;min-height:100vh;margin:0 auto;padding-bottom:118px;position:relative;overflow-x:hidden;box-shadow:0 0 60px #0000001f}.dark .phoneFrame{color:#fff;background:#211c1a}.page{padding:22px 24px 125px}.loading{text-align:center;padding:50px}.appHeader{border-bottom:1px solid var(--line);z-index:20;background:#fffdf9;justify-content:space-between;align-items:center;height:78px;padding:0 24px;display:flex;position:sticky;top:0}.appHeader button,.backBtn,.editorHeader button,.flipHeader button{color:#241b20;background:#d9b2cb;border:0;border-radius:999px;padding:12px 16px;font-weight:700}.appHeader div{text-align:center}.appHeader span{color:#844d6c;font-family:Brush Script MT,cursive;font-size:22px;display:block}.appHeader b{letter-spacing:8px;font-family:Playfair Display,serif;font-size:23px}.authScreen{background:radial-gradient(circle at 20% 8%,#e7c0d6 0 50px,#0000 51px),radial-gradient(circle at 92% 12%,#d6c3a8 0 56px,#0000 57px),linear-gradient(#fffdf8,#f7efe8);padding:22px 28px 90px}.authScrapbookCover{width:124px;height:160px;box-shadow:var(--shadow);background:repeating-linear-gradient(45deg,#f4c7d6 0 12px,#fff2f6 12px 24px);border:10px solid #fff;border-radius:4px;place-items:center;font-family:Brush Script MT,cursive;font-size:20px;display:grid;position:absolute;top:86px;left:-22px;transform:rotate(-8deg)}.authBrand{text-align:center;z-index:2;margin-top:26px;position:relative}.brandBadge{border:1px solid var(--line);background:#fff;border-radius:18px;place-items:center;width:58px;height:58px;margin:auto;font-size:32px;display:grid}.brandScript{color:#a95379;margin-top:10px;font-family:Brush Script MT,cursive;font-size:28px}.authBrand h1{letter-spacing:8px;margin:0;font-family:Playfair Display,serif;font-size:34px}.authBrand p{font-family:Georgia,serif}.authCard,.createPaper,.profileCard{border:1px solid var(--line);box-shadow:var(--shadow);background:#fffdf8e6;border-radius:28px;margin-top:28px;padding:30px 24px;position:relative}.washiTape{opacity:.95;background:repeating-linear-gradient(90deg,#ffd0e2 0 14px,#e9aac7 14px 28px);border-radius:6px;width:88px;height:24px;position:absolute;top:-12px;left:50%;transform:translate(-50%)}.authCard h2,.page h1{font-family:Playfair Display,serif;font-size:32px}.authCard label{margin:16px 0 8px;font-weight:700;display:block}.authCard input,.createPaper input,.createPaper select,.profileCard input,.textPanel select{background:#fffdf9;border:1px solid #d7ccc3;border-radius:18px;width:100%;padding:15px}.passwordWrap{position:relative}.passwordWrap input{padding-right:78px}.passwordWrap button{color:#fff;background:#d894b4;border:0;border-radius:999px;padding:9px 14px;font-size:12px;font-weight:700;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.gradientBtn{color:#fff;background:linear-gradient(90deg,#d66f9c,#c78f61);border:0;border-radius:999px;width:100%;margin-top:18px;padding:16px;font-weight:800}.linkBtn,.switcher button{color:#8f5070;background:0 0;border:0;text-decoration:underline}.error{color:#b33}.welcomeHero{align-items:center;min-height:310px;display:flex;position:relative}.welcomeHero h1{margin:0;font-family:Playfair Display,serif;font-size:50px;line-height:.98}.welcomeHero p{color:var(--muted);font-size:22px}.heroPolaroid{width:130px;height:158px;box-shadow:var(--shadow);background:linear-gradient(#fff3,#fff3),url(https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=400) 50%/cover;border:12px solid #fff;position:absolute;top:35px;right:10px;transform:rotate(8deg)}.heroPolaroid:before{content:"";background:#d4b898;border-radius:4px;width:70px;height:22px;position:absolute;top:-22px;left:35px}.quickGrid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.quickGrid button{border:1px solid var(--line);background:#ffffffb8;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:145px;display:flex;box-shadow:0 8px 20px #0000000f}.quickGrid span{background:#e2d5c6;border-radius:50%;place-items:center;width:58px;height:58px;font-size:30px;display:grid}.quickGrid b{font-size:18px}.quickGrid small{color:var(--muted)}.sectionTitle{justify-content:space-between;align-items:center;margin-top:24px;display:flex}.sectionTitle button{background:0 0;border:0;text-decoration:underline}.coverRow{gap:14px;padding-bottom:10px;display:flex;overflow:auto}.bookCover{border:1px solid var(--line);height:210px;box-shadow:var(--shadow);text-align:center;color:var(--ink);background:#eee;border-radius:14px;flex-direction:column;flex:0 0 155px;justify-content:center;align-items:center;padding:18px;display:flex;position:relative}.bookCover span{font-family:Brush Script MT,cursive;font-size:24px}.bookCover small{margin-top:10px}.coverTape{opacity:.85;background:#d9b998;border-radius:4px;width:64px;height:18px;position:absolute;top:22px}.coverLeaf{position:absolute;bottom:20px;left:12px}.cream,.paper,.blank,.wedding{background:#fffaf0}.grid{background-image:linear-gradient(#e7ddd4 1px,#0000 1px),linear-gradient(90deg,#e7ddd4 1px,#0000 1px);background-size:18px 18px}.dots{background-image:radial-gradient(#d6cbc3 1.5px,#0000 1.5px);background-size:15px 15px}.lavender{background:#f2eafa}.christmas{background:#fff8ee}.scrapbookGrid,.templateGrid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.bookWrap{position:relative}.bookWrap .dots{background:#fff;border:0;border-radius:999px;padding:6px 10px;position:absolute;bottom:12px;right:8px}.paperMenu{z-index:40;border:1px solid var(--line);box-shadow:var(--shadow);background:#fffdf8;border-radius:20px;min-width:150px;padding:20px 12px 12px;position:absolute;top:36px;right:0}.paperMenu button{text-align:left;background:0 0;border:0;width:100%;padding:9px;display:block}.templateCard{text-align:left;background:0 0;border:0}.templatePreview{border:1px solid var(--line);background:#fffaf0;border-radius:14px;place-items:center;height:132px;font-family:Brush Script MT,cursive;font-size:22px;display:grid}.templateCard b{margin-top:8px;display:block}.templateCard small{color:#8f5070}.locked .templatePreview:after{content:"🔒";position:absolute}.editorPage{padding-bottom:110px}.editorHeader,.flipHeader{border-bottom:1px solid var(--line);z-index:30;background:#fffdf9;justify-content:space-between;align-items:center;height:78px;padding:0 16px;display:flex;position:sticky;top:0}.editorHeader strong,.flipHeader strong{text-align:center;font-size:20px}.editorScroll{padding:24px 18px}.scrapPage{aspect-ratio:4/3;border:1px solid var(--line);width:100%;box-shadow:var(--shadow);border-radius:22px;margin:auto;position:relative;overflow:hidden}.editorEl,.previewEl{-webkit-user-select:none;user-select:none;white-space:pre-wrap;position:absolute}.editorEl img,.previewEl img{object-fit:cover;width:100%;height:100%}.editorEl textarea{resize:none;text-align:center;background:0 0;border:0;width:100%;height:100%}.editorEl.selected{outline:2px dashed #b26492}.editorEl.locked{cursor:not-allowed}.uploadBox{background:#f4f0ea;border:2px dashed #cbbfb4;place-items:center;width:100%;height:100%;font-weight:700;display:grid}.stickerEmoji{font-size:36px}.miniTools{z-index:10;gap:3px;display:flex;position:absolute;top:-34px;left:0}.miniTools button{background:#fff;border:0;border-radius:8px;padding:4px}.resizeHandle{background:#c96d99;border:2px solid #fff;border-radius:50%;width:16px;height:16px;position:absolute;bottom:-7px;right:-7px}.pageNav{justify-content:center;align-items:center;gap:20px;margin:18px 0;display:flex}.pageNav button,.editorTools button{color:#1e1218;background:#bd6f9e;border:0;border-radius:999px;padding:12px 18px;font-weight:800}.editorTools{z-index:999;width:min(390px,100vw - 28px);box-shadow:var(--shadow);background:#ffffffd9;border-radius:999px;gap:8px;padding:12px;display:flex;position:fixed;bottom:18px;left:50%;overflow:auto;transform:translate(-50%)}.stickerSheet{border:1px solid var(--line);width:min(390px,100vw - 28px);max-height:420px;box-shadow:var(--shadow);z-index:998;background:#fffdf8;border-radius:24px;padding:24px 14px 14px;position:fixed;bottom:98px;left:50%;overflow:auto;transform:translate(-50%)}.stickerSheet input{border:1px solid var(--line);border-radius:14px;width:100%;margin-bottom:12px;padding:12px}.stickerGrid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.stickerGrid button{border:1px solid var(--line);background:#fff;border-radius:14px;height:70px;font-size:28px;position:relative}.stickerGrid img{max-width:90%;max-height:90%}.premiumSticker span{font-size:14px;position:absolute;top:4px;right:4px}.backgroundGrid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.backgroundGrid button{border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px}.textPanel{border:1px solid var(--line);background:#fffdf8;border-radius:22px;margin-top:12px;padding:12px}.colorRow{gap:8px;margin:10px 0;display:flex}.colorRow button{border:2px solid #fff;border-radius:50%;width:28px;height:28px;box-shadow:0 0 0 1px #ccc}.bottomNav{width:min(390px,100vw - 28px);height:86px;box-shadow:var(--shadow);z-index:9999;border:1px solid var(--line);background:#ffffffe6;border-radius:34px;justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:16px;left:50%;transform:translate(-50%)}.bottomNav button{color:#584c45;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;font-weight:700;display:flex}.bottomNav span{font-size:30px}.bottomNav small{font-size:13px}.bottomNav .active{color:#7d4b63}.bottomNav .createNav span{color:#fff;background:#c6a98a;border-radius:50%;place-items:center;width:72px;height:72px;margin-top:-20px;font-size:46px;display:grid}.modalOverlay{z-index:99999;background:#45302b40;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.paperModal{width:292px;box-shadow:var(--shadow);text-align:center;background:#fffdf8;border-radius:24px;padding:36px 22px 22px;position:relative}.paperModal h3{margin:0 0 10px;font-family:Playfair Display,serif;font-size:26px}.modalButtons{gap:10px;display:flex}.softBtn,.primaryBtn,.dangerBtn{border:0;border-radius:999px;flex:1;padding:12px;font-weight:800}.softBtn{background:#eee5df}.primaryBtn{color:#fff;background:#d894b4}.dangerBtn{color:#fff;background:#d96f91}.dangerBtn.full{width:100%;margin-top:12px}.toast{z-index:99999;box-shadow:var(--shadow);text-align:center;background:#fffdf8;border-radius:20px;min-width:240px;padding:24px 22px 16px;position:fixed;top:25px;left:50%;transform:translate(-50%)}.profileCard button{background:#d9b2cb;border:0;border-radius:999px;width:100%;margin-top:10px;padding:12px;font-weight:700}.avatarFrame{width:150px;height:178px;box-shadow:var(--shadow);background:#eee;border:10px solid #fff;margin:0 auto 20px;display:block;transform:rotate(-2deg)}.avatarFrame img{object-fit:cover;width:100%;height:100%}.toggle{justify-content:space-between;align-items:center;gap:12px;margin:12px 0;display:flex}.hint,.empty{color:var(--muted)}table{border-collapse:collapse;width:100%}td,th{border-bottom:1px solid var(--line);text-align:left;padding:10px}.errorBox{color:#b33;background:#fff;border-radius:20px;margin:30px;padding:24px}.flipPageScreen .paperMenu.flip{position:absolute;top:90px;right:24px}.previewEl{pointer-events:none}@media print{body{background:#fff}.phoneFrame{box-shadow:none}.flipHeader,.pageNav,.bottomNav{display:none}.scrapPage{width:100vw;height:75vw}}.authScreen .authScrapbookPhoto:not(.authBrandPhoto){display:none!important}.authBrand{margin-top:16px!important}.authBrandPhoto{z-index:3!important;background:url(/auth-cover.jpg) 50%/cover no-repeat!important;border:0!important;border-radius:30px!important;width:116px!important;height:116px!important;margin:0 auto 10px!important;display:block!important;position:relative!important;top:auto!important;left:auto!important;transform:rotate(-4deg)!important;box-shadow:0 14px 28px #3e2d2229!important}.brandBadge{display:none!important}.scrapPage,.editorEl,.editorEl *,.resizeHandle{touch-action:none!important}.editorEl{cursor:grab}.editorEl.selected{cursor:grabbing}.editorEl textarea{pointer-events:none}.resizeHandle{z-index:80!important;width:22px!important;height:22px!important;bottom:-11px!important;right:-11px!important}.editorEl.sticker,.editorEl.photo,.editorEl.text{min-width:24px;min-height:24px}.editorEl img,.previewEl img{object-fit:contain!important;pointer-events:none!important;width:100%!important;height:100%!important;display:block!important}.stickerEmoji{justify-content:center!important;align-items:center!important;width:100%!important;height:100%!important;font-size:clamp(24px,12vw,110px)!important;line-height:1!important;display:flex!important}.editorEl textarea{font-size:inherit;line-height:1.1}.lockedTemplate{opacity:.72;position:relative!important}.lockedTemplate .templatePreview{filter:saturate(.8)}.templateLock{z-index:10;background:#fffaf4;border:1px solid #ead9c9;border-radius:999px;padding:5px 8px;font-size:14px;position:absolute;top:10px;right:10px;box-shadow:0 6px 14px #3e2d221f}.lockedTemplate small{font-weight:700;color:#9f4e76!important;-webkit-text-fill-color:#9f4e76!important}.editorTools button{white-space:nowrap}.editorTools button:last-child{color:#302926;background:#eee5df}@media (width<=700px){.editorTools{box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:calc(100% - 24px);margin:0 12px;padding:12px;display:grid;overflow:visible}.editorTools button{white-space:nowrap;width:100%;min-width:0;padding:10px 8px;font-size:15px}}.flipBookShell{perspective:1200px;margin:22px auto 12px;position:relative}.bookSpine{z-index:8;background:linear-gradient(90deg,#b49b7f,#ead9c9,#9f8368);border-radius:999px;width:12px;position:absolute;top:4%;bottom:4%;left:50%;transform:translate(-50%);box-shadow:0 0 16px #3e2d2240}.flipSpread{transform-style:preserve-3d;grid-template-columns:1fr 1fr;align-items:center;gap:10px;display:grid;position:relative}.flipSpreadPage{transition:transform .34s,box-shadow .34s;box-shadow:0 10px 22px #3e2d2229;border-radius:14px!important}.flipBookShell.turning .flipSpreadPage:nth-child(2){animation:.42s pageTurnRight}.flipBookShell.turning .flipSpreadPage:first-child{animation:.42s pageTurnLeft}@keyframes pageTurnRight{0%{transform:rotateY(0)}45%{transform:rotateY(-18deg)translate(-5px)}to{transform:rotateY(0)}}@keyframes pageTurnLeft{0%{transform:rotateY(0)}45%{transform:rotateY(12deg)translate(4px)}to{transform:rotateY(0)}}@media (width<=430px){.flipSpread{gap:6px}.bookSpine{width:9px}.flipSpreadPage{border-radius:10px!important}.flipPageScreen{padding-left:10px!important;padding-right:10px!important}}.decoSticker.tagBlue span,.decoSticker.tagPink span,.decoSticker.noteTan span,.decoSticker.monthNote span,.decoSticker.linedNote span{color:#302926!important;font-size:clamp(10px,3.1vw,15px)!important;font-weight:700!important;line-height:1.18!important}.decoSticker.monthNote{min-width:86px!important;min-height:72px!important}.decoSticker.tagBlue,.decoSticker.tagPink{min-height:34px!important;padding:2px!important}.paperModal p{line-height:1.45}.quickGrid button,.quickGrid button *,.bottomNav button,.bottomNav button *,.sectionTitle button{  color:#302926!important;  -webkit-text-fill-color:#302926!important;  text-decoration:none!important}.phoneFrame button,.phoneFrame button *,.phoneFrame a,.phoneFrame a *,.quickGrid b,.quickGrid small,.sectionTitle button{  color:#302926!important;  -webkit-text-fill-color:#302926!important;  text-decoration:none!important}.quickGrid small{  color:#766b65!important;  -webkit-text-fill-color:#766b65!important}.bottomNav .active,.bottomNav .active *{  color:#7d4b63!important;  -webkit-text-fill-color:#7d4b63!important}.phoneFrame,.phoneFrame *{  -webkit-tap-highlight-color:transparent!important}.phoneFrame button,.phoneFrame button *,.phoneFrame a,.phoneFrame a *,.phoneFrame b,.phoneFrame small,.phoneFrame span{  color:#302926!important;  -webkit-text-fill-color:#302926!important;  text-decoration:none!important}.phoneFrame .quickGrid button,.phoneFrame .quickGrid button *,.phoneFrame .bottomNav button,.phoneFrame .bottomNav button *,.phoneFrame .sectionTitle button{  color:#302926!important;  -webkit-text-fill-color:#302926!important;  text-decoration:none!important}.phoneFrame .quickGrid small{  color:#766b65!important;  -webkit-text-fill-color:#766b65!important}.phoneFrame .bottomNav .active,.phoneFrame .bottomNav .active *{  color:#8f5070!important;  -webkit-text-fill-color:#8f5070!important}.welcomeHero{  min-height:370px!important;  align-items:flex-start!important;  padding-top:35px!important}.welcomeHero>div:first-child{  max-width:58%!important;  position:relative!important;  z-index:2!important}.welcomeHero h1{  font-size:46px!important;  line-height:.98!important}.welcomeHero p{  font-size:20px!important;  line-height:1.45!important;  margin-top:24px!important;  width:185%!important}.heroPolaroid.beachHeroPhoto{  right:8px!important;  top:55px!important;  width:118px!important;  height:145px!important;  z-index:1!important}.sectionTitle button,.sectionTitle button:visited,.sectionTitle button:hover,.sectionTitle button:active{  color:#8f5070!important;  -webkit-text-fill-color:#8f5070!important}.stickerTabs{  display:flex;  gap:8px;  overflow:auto;  margin-bottom:12px;  padding-bottom:4px}.stickerTabs button{  border:1px solid #e4d8ce;  background:#fffaf4;  border-radius:999px;  padding:8px 12px;  font-weight:700;  white-space:nowrap;  color:#302926!important;  -webkit-text-fill-color:#302926!important}.stickerTabs button.active{  background:#d9b2cb}.stickerGrid img{  width:100%;  height:100%;  object-fit:contain;  display:block}.stickerCount{color:#766b65;text-align:center;margin:6px 0 10px;font-size:12px}.stickerGrid button img{object-fit:contain!important;width:100%!important;height:100%!important;display:block!important}.editorEl textarea{pointer-events:auto!important;touch-action:auto!important;-webkit-user-select:text!important;user-select:text!important;cursor:text!important}.editorEl.selected textarea{pointer-events:auto!important}.babyBlue{background-color:#eaf4ff!important;background-image:linear-gradient(#7a96b438 1px,#0000 1px),linear-gradient(90deg,#7a96b438 1px,#0000 1px),linear-gradient(#ffffff8c 8px,#0000 8px),linear-gradient(90deg,#ffffff8c 8px,#0000 8px)!important;background-size:14px 14px,14px 14px,28px 28px,28px 28px!important}.babyPink{background-color:#fff0f5!important;background-image:linear-gradient(#dc80a038 1px,#0000 1px),linear-gradient(90deg,#dc80a038 1px,#0000 1px),linear-gradient(#ffffff8c 8px,#0000 8px),linear-gradient(90deg,#ffffff8c 8px,#0000 8px)!important;background-size:14px 14px,14px 14px,28px 28px,28px 28px!important}.decoSticker{text-align:center;white-space:pre-wrap;color:#302926;justify-content:center;align-items:center;width:100%;height:100%;font-family:Courier New,monospace;display:flex}.decoSticker.paperTitle,.decoSticker.paperTall,.decoSticker.monthNote,.decoSticker.noteTan,.decoSticker.linedNote,.decoSticker.paperListPink{background:#fffaf0;border:1px solid #eaded2;border-radius:6px;padding:6px;box-shadow:0 5px 12px #503c2d1f}.decoSticker.paperTitle span{font-family:Brush Script MT,cursive;font-size:22px;line-height:1.05}.decoSticker.paperTall span,.decoSticker.linedNote span,.decoSticker.paperListPink span{font-size:10px;line-height:1.35}.decoSticker.monthNote span{font-size:15px;line-height:1.2}.decoSticker.tagPink,.decoSticker.tagBlue,.decoSticker.noteTan{border-radius:4px;box-shadow:0 4px 10px #503c2d1f}.decoSticker.tagPink{background:#efb4c6}.decoSticker.tagBlue{background:#b9cfe8}.decoSticker.noteTan{background:#dfc6aa}.decoSticker.tagPink span,.decoSticker.tagBlue span,.decoSticker.noteTan span{font-size:10px;font-weight:700;line-height:1.15}.decoSticker.tapeTan,.decoSticker.tapePink,.decoSticker.tapeBlue{opacity:.9;border-radius:4px}.decoSticker.tapeTan{background:#d6bb99}.decoSticker.tapePink{background:#efb4c6}.decoSticker.tapeBlue{background:#9fb9d7}.decoSticker.bowPink:before,.decoSticker.bowBlue:before{content:"🎀";font-size:30px}.decoSticker.bowBlue:before{filter:hue-rotate(170deg)saturate(.75)}.decoSticker.starPink:before,.decoSticker.starBlue:before,.decoSticker.starTan:before{content:"★";text-shadow:0 3px 6px #503c2d26;font-size:28px}.decoSticker.starPink:before{color:#e9a7bd}.decoSticker.starBlue:before{color:#9fb9d7}.decoSticker.starTan:before{color:#d1aa78}.decoSticker.heartPink:before,.decoSticker.heartBlue:before,.decoSticker.heartPinkPlaid:before,.decoSticker.heartBluePlaid:before{content:"♡";font-size:34px;font-weight:900}.decoSticker.heartPink:before,.decoSticker.heartPinkPlaid:before{color:#de8fac}.decoSticker.heartBlue:before,.decoSticker.heartBluePlaid:before{color:#7fa2c7}.decoSticker.flowerPink:before,.decoSticker.flowerBlue:before{content:"❀";font-size:34px}.decoSticker.flowerPink:before{color:#d98aa8}.decoSticker.flowerBlue:before{color:#7fa2c7}.decoSticker.buttonTan:before{content:"◉";color:#c6a37a;font-size:25px}.decoSticker.bearPink:before,.decoSticker.bearBlue:before{content:"🧸";font-size:38px}.decoSticker.bunnyPink:before,.decoSticker.bunnyBlue:before{content:"🐰";font-size:38px}.decoSticker.rattlePink:before,.decoSticker.rattleBlue:before{content:"🧷";font-size:32px}.templateGrid{grid-template-columns:1fr 1fr;gap:16px;padding-bottom:110px;display:grid}.templateCard{text-align:left;background:#fffdf9;border:2px solid #eadbd2;border-radius:24px;padding:10px;overflow:hidden;box-shadow:0 10px 22px #5a3c2d1a}.templatePreview{background:#f8efe6;border-radius:18px;width:100%;height:120px;position:relative;overflow:hidden}.templateThumbEl{position:absolute;overflow:hidden}.templateThumbEl img{object-fit:cover;width:100%;height:100%}.templatePhotoMini{background:#fffaf4;border:2px dashed #cdbfb5;border-radius:8px;width:100%;height:100%}.templateCard b{color:#2f2825;margin-top:9px;font-size:14px;display:block}.templateCard small{color:#2f2825;background:#d8b6cf;border-radius:999px;margin-top:5px;padding:5px 10px;font-weight:700;display:inline-block}.templateTabs{flex-wrap:wrap;gap:8px;margin:12px 0 18px;display:flex}.templateTabs button{color:#2f2825;background:#f4e9e1;border:0;border-radius:999px;padding:9px 14px;font-weight:800;box-shadow:0 4px 10px #50322814}.templateTabs button.active{color:#fff;background:#c997b8}.bookMiniPreview{background:#fffaf0;border-radius:10px;position:absolute;inset:10px 10px 54px;overflow:hidden}.bookMiniEl{pointer-events:none;font-size:6px;line-height:1;position:absolute;overflow:hidden}.bookMiniEl img{object-fit:cover;width:100%;height:100%}.bookMiniEl:first-child img{object-fit:cover}.bookCover{flex-direction:column;justify-content:flex-end;min-height:240px;padding:10px;display:flex;position:relative}.bookMiniPreview{background:#fffaf0;border-radius:12px;height:170px;position:absolute;top:10px;left:10px;right:10px;overflow:hidden}.bookInfo{text-align:center;margin-top:auto;padding-top:180px}.bookInfo h4{color:#2f2825;margin:0;font-size:16px;font-weight:600}.bookInfo small{color:#7a6f68;margin-top:4px;display:block}.cutePopupOverlay{z-index:9999;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#2f282559;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.cutePopup{text-align:center;background:#fffaf3;border:1px solid #eadfd3;border-radius:22px;width:min(330px,90vw);padding:42px 26px 26px;position:relative;box-shadow:0 18px 45px #2f282538}.cutePopup .washiTape{background:#deb1a4d1;border-radius:3px;width:105px;height:30px;position:absolute;top:-12px;left:50%;transform:translate(-50%)rotate(-2deg)}.cutePopup h3{color:#2f2825;margin:0 0 12px;font-family:Playfair Display,Georgia,serif}.cutePopup p{color:#665c56;margin:0 0 22px;line-height:1.5}.cutePopup .gradientBtn{width:100%}@media (width<=600px){.appHeader{padding-top:calc(env(safe-area-inset-top) + 10px),!important;box-sizing:border-box!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:6px!important;width:100%!important;padding-bottom:10px!important;padding-left:10px!important;padding-right:10px!important;font-size:12px!important;display:flex!important}.appHeader button{white-space:nowrap!important;margin:0!important;padding:7px 10px!important;font-size:16px!important}.appHeader span,.appHeader b{margin:0 4px!important;font-size:12px!important}.appHeader{padding-top:calc(env(safe-area-inset-top) + 8px)!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:5px!important;height:auto!important;min-height:90px!important;padding-left:8px!important;padding-right:8px!important;display:grid!important}.appHeader>div{text-align:center!important;min-width:0!important}.appHeader button{min-width:0!important;padding:6px 8px!important;font-size:11px!important}.appHeader span,.appHeader b{font-size:11px!important}}@media (width<=700px){.editorHeader{padding:calc(env(safe-area-inset-top) + 20px) 10px 10px;box-sizing:border-box;flex-wrap:wrap;align-items:center;gap:8px;width:100%;display:flex}.editorHeader strong{text-align:center;text-overflow:ellipsis;white-space:nowrap;flex:140px;min-width:120px;overflow:hidden}.editorHeader button{white-space:nowrap;flex:none;width:auto;min-width:max-content;padding:8px 10px;font-size:14px}.editorTools{box-sizing:border-box;-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap;gap:10px;width:100%;padding:12px 16px;display:flex;overflow:auto hidden}.editorTools::-webkit-scrollbar{display:none}.editorTools button{white-space:nowrap;flex:none;width:auto;min-width:max-content;padding:10px 16px;font-size:16px}}.appCopyright{text-align:center;box-sizing:border-box;width:100%}@media (width<=700px){.editorHeader{box-sizing:border-box;grid-template-rows:46px auto;grid-template-columns:46px 1fr 46px;align-items:center;gap:8px;width:100%;display:grid;position:relative;background:0 0!important;padding:52px 12px 12px!important}.editor{z-index:2!important;margin-top:16px!important;position:relative!important}.editorUndoRedo{background:#fff8fb;border:1px solid #f1d9e3;border-radius:18px;justify-content:center;align-items:center;gap:7px;width:fit-content;padding:7px 9px;box-shadow:0 5px 14px #78505f1a,inset 0 1px #ffffffe6;display:flex!important}.editorUndoRedo button{appearance:none!important;color:#342b2f!important;cursor:pointer!important;background:#f3c9d8!important;border:0!important;border-radius:11px!important;min-width:36px!important;height:34px!important;padding:6px 10px!important;font-family:inherit!important;font-size:17px!important;font-weight:700!important;box-shadow:0 2px 5px #64465014!important}.editorUndoRedo button:hover{background:#efbdd0}.editorUndoRedo button:disabled{opacity:.4}.headerHome{grid-area:1/1}.headerTitle{text-align:center;white-space:nowrap;text-overflow:ellipsis;grid-area:1/2;margin:0;font-weight:700;overflow:hidden;font-size:18px!important}.headerMenu{grid-area:1/3;font-size:24px!important}.headerHistory{grid-area:2/1/auto/-1;justify-content:center;gap:10px;display:flex}.headerHistory button{border-radius:12px;height:30px;width:34px!important;min-width:34px!important;padding:0!important;font-size:20px!important}.editorHeader{box-sizing:border-box;grid-template-columns:44px 1fr 44px;align-items:center;width:100%;padding:8px 12px;display:grid;position:relative}.headerHome,.headerMenu{border-radius:50%!important;flex:0 0 46px!important;width:46px!important;min-width:46px!important;max-width:46px!important;height:46px!important;min-height:46px!important;max-height:46px!important;padding:0!important;font-size:24px!important}.headerHome{grid-column:1;font-size:30px!important}.headerTitle{text-align:center;white-space:nowrap;text-overflow:ellipsis;grid-column:2;font-size:18px;overflow:hidden}.headerMenu{grid-column:3}loadingScreen{text-align:center;box-sizing:border-box;min-height:100vh;padding:calc(env(safe-area-inset-top) + 24px) 24px calc(env(safe-area-inset-bottom) + 24px);flex-direction:column;justify-content:center;align-items:center;display:flex}.loadingLogo{margin-bottom:12px;font-size:58px}.loadingTitle{margin-bottom:8px;font-size:28px;font-weight:700}.loadingText{opacity:.7;font-size:16px}.loadingDots{gap:8px;margin-top:10px;font-size:24px;display:flex}.loadingLogo img{object-fit:cover;border-radius:24px;width:110px;height:110px;display:block}.bookWrap{position:relative}.favoriteButton{z-index:5;cursor:pointer;background:#fffaf7eb;border:none;border-radius:50%;justify-content:center;align-items:center;width:34px;min-width:34px;height:34px;padding:0;font-size:22px;line-height:1;display:flex;position:absolute;top:8px;left:8px}.favoriteButton.favorited{font-size:21px}.headerPremium{font-size:30px!important}.headerCircleButton{border-radius:50%!important;justify-content:center!important;align-items:center!important;width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;padding:0!important;font-size:24px!important;line-height:1!important;display:flex!important}.headerPremium{border-radius:50%!important;flex:0 0 46px!important;width:46px!important;min-width:46px!important;max-width:46px!important;height:46px!important;min-height:46px!important;max-height:46px!important;padding:0!important;font-size:24px!important}}.appHeader button:first-child{aspect-ratio:1!important;border-radius:50%!important;flex-shrink:0!important;justify-content:center!important;align-items:center!important;width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;padding:0!important;font-size:24px!important;display:flex!important;transform:translateY(22px)!important}.appHeader button:last-child{font-size:24px!important;transform:translateY(22px)!important}.quickGrid button b{  color:#302926!important}.appHeader>div span{font-size:15px!important}.appHeader>div b{letter-spacing:6px!important;font-size:20px!important}.appHeader,.editorHeader{box-shadow:none!important;border-bottom:none!important}.appHeader{background:#fff!important;border-radius:0 0 22px 22px!important;padding-bottom:28px!important}.appHeader span{font-size:18px!important;line-height:1!important}.quickGrid button,.quickGrid button b,.quickTitle{  color:#302926!important;  -webkit-text-fill-color:#302926!important}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent;appearance:none}.backgroundGrid img{object-fit:cover;border-radius:10px;width:100%;height:90px;display:block}.backgroundGrid button{min-width:110px}.selectedToolsBar{background:#fff8fb;border:1px solid #f1d9e3;border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;width:fit-content;max-width:calc(100% - 24px);margin:10px auto 8px;padding:8px 10px;display:flex;box-shadow:0 5px 14px #78505f1a,inset 0 1px #ffffffe6}.selectedToolsBar button{appearance:none;color:#342b2f;background:#f3c9d8;border:0;border-radius:12px;min-height:34px;padding:7px 11px;font-family:inherit;font-size:13px;font-weight:700;box-shadow:0 2px 5px #64465014}.selectedToolsBar button:hover{background:#efbdd0}.selectedToolsBar button:disabled{opacity:.4}.cropZoomControl{background:#fff;border:1px solid #f1d9e3;border-radius:12px;align-items:center;gap:7px;padding:6px 9px;display:flex}.cropZoomControl input[type=range]{width:105px}.undoRedoBtn{appearance:none!important;color:#342b2f!important;background:#f3c9d8!important;border:0!important;border-radius:11px!important;width:36px!important;min-width:36px!important;height:34px!important;padding:0!important;font-family:inherit!important;font-size:18px!important;font-weight:700!important;box-shadow:0 2px 5px #64465014!important}.photoCropFrame{box-sizing:border-box;pointer-events:none;z-index:5;border:2px solid #d97fa5;position:absolute;box-shadow:0 0 0 1px #ffffffe6,0 0 8px #50323c40}.photoCropFrame:before,.photoCropFrame:after{content:"";pointer-events:none;position:absolute}.cropCorner{pointer-events:auto;z-index:7;width:22px;height:22px;position:absolute}.cropTL{border-top:4px #d97fa5;border-left:4px #d97fa5;top:-2px;left:-2px}.cropTR{border-top:4px #d97fa5;border-right:4px #d97fa5;top:-2px;right:-2px}.cropBL{border-bottom:4px #d97fa5;border-left:4px #d97fa5;bottom:-2px;left:-2px}.cropBR{border-bottom:4px #d97fa5;border-right:4px #d97fa5;bottom:-2px;right:-2px}.cropEdge{pointer-events:auto;z-index:6;position:absolute}.cropEdgeTop,.cropEdgeBottom{height:18px;left:24px;right:24px}.cropEdgeTop{top:-8px}.cropEdgeBottom{bottom:-8px}.cropEdgeLeft,.cropEdgeRight{width:18px;top:24px;bottom:24px}.cropEdgeLeft{left:-8px}.cropEdgeRight{right:-8px}.templatePhotoInput{opacity:0;cursor:pointer;z-index:10;width:100%;height:100%;position:absolute;inset:0}.rotateHandle{color:#fff;cursor:grab;z-index:30;touch-action:none;background:#c96d9e;border:2px solid #fff;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;font-weight:700;display:flex;position:absolute;top:-14px;right:-14px;box-shadow:0 2px 8px #0000002e}.rotateHandle:active{cursor:grabbing}.photoResizeHandle{color:#fff;cursor:nwse-resize;z-index:31;touch-action:none;background:#c96d9e;border:2px solid #fff;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;font-weight:700;display:flex;position:absolute;bottom:-14px;right:-14px;box-shadow:0 2px 8px #0000002e}
