.profile-button.svelte-boxa1{position:relative;display:inline-block;overflow:visible}.profile-img.svelte-boxa1{cursor:pointer;border-radius:50%;width:32px;height:32px;display:flex;align-items:center}.menu.svelte-boxa1{position:absolute;top:calc(100% + 2px);right:0;background-color:#fff;box-shadow:0 2px 10px #0000001a;border-radius:5px;padding:10px;white-space:nowrap;width:max-content;min-width:100%;transition:opacity .2s ease,visibility .2s ease}.menu.closed.svelte-boxa1{opacity:0;visibility:hidden;pointer-events:none}.menu.open.svelte-boxa1{opacity:1;visibility:visible;pointer-events:auto}@media (max-width: 640px){.button.svelte-14vbkrx{padding:3px 6px}}.highlight.svelte-1p3l2ol{color:var(--primary-color)}.modal-layout.svelte-1p3l2ol{display:flex;flex-direction:column;align-items:center}.button.svelte-1p3l2ol{display:inline-block;padding:.2rem;font-size:1rem}.icon-wrapper.svelte-1lkcw7y{position:relative;display:inline-block;width:24px;height:24px}.base-icon.svelte-1lkcw7y{width:24px;height:24px}.overlay-icon.svelte-1lkcw7y{position:absolute;bottom:-2px;right:-8px;width:18px;height:18px}.snapshot-options.svelte-1e7arrb{position:relative;display:inline-block}.options-button.svelte-1e7arrb{cursor:pointer;padding:2px;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 5px #0003}.menu.svelte-1e7arrb{position:absolute;top:30px;right:0;background-color:#fff;box-shadow:0 2px 10px #0000001a;border-radius:5px;padding:5px;z-index:10}.menu-item.svelte-1e7arrb{padding:4px 6px;width:150px;text-align:left}.link-container.svelte-j3nxpe{display:flex;flex-direction:row;gap:.5rem;align-items:center;flex-wrap:wrap}.main-button.svelte-j3nxpe:disabled{opacity:.6;cursor:not-allowed}.error.svelte-j3nxpe{color:red;font-weight:500;margin-top:.5rem}.preview-container.svelte-be7teu{display:flex;height:auto;justify-content:center;margin-top:1rem}.canvas-like-preview.svelte-be7teu{width:256px;margin-left:20px;height:337.5px;background-color:#fff;position:relative;padding:12.5px;box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 4px 10px #00000026;border-radius:8px}.content.svelte-be7teu{display:flex;flex-direction:column;align-items:center;text-align:center}.logo.svelte-be7teu{width:70px;height:auto;margin-bottom:10px}.text.svelte-be7teu{font-size:14px;font-weight:700;color:#654321;margin-bottom:5px}.title.svelte-be7teu{font-size:18px;font-weight:700;color:#654321;margin-bottom:10px}.website.svelte-be7teu{font-size:12px;color:#0009}.preview-wrapper.svelte-popvzg{position:relative;width:256px;height:337.5px;box-shadow:0 4px 10px #00000026;border-radius:8px;overflow:hidden;background:#fff;font-size:10.24px}.bottom-right-text.svelte-popvzg{position:absolute;bottom:5px;right:5px;color:#9c9c9c;pointer-events:none}.gallery-container.svelte-4doaev{width:100%;overflow-x:auto;white-space:nowrap;display:flex;margin:10px auto;justify-content:flex-start}.gallery-scroll.svelte-4doaev{display:flex;gap:16px;padding:0 20px}.gallery-container.svelte-4doaev::-webkit-scrollbar{height:8px}.gallery-container.svelte-4doaev::-webkit-scrollbar-thumb{background:#64646480;border-radius:4px}.gallery-container.svelte-4doaev::-webkit-scrollbar-track{background:#c8c8c833}.image-download-overlay.svelte-1nvf7qk{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:2000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.image-download-modal.svelte-1nvf7qk{background:#fff;border-radius:12px;padding:32px;max-width:500px;width:90%;box-shadow:0 20px 40px #0000004d;text-align:center}.download-header.svelte-1nvf7qk{margin-bottom:24px}.download-spinner.svelte-1nvf7qk{width:48px;height:48px;border:4px solid #f3f3f3;border-top:4px solid #e67e22;border-radius:50%;animation:svelte-1nvf7qk-spin 1s linear infinite;margin:0 auto 16px}.download-header.svelte-1nvf7qk h3:where(.svelte-1nvf7qk){margin:0;color:#333;font-size:20px;font-weight:600}.download-progress.svelte-1nvf7qk{margin-bottom:24px}.progress-bar.svelte-1nvf7qk{width:100%;height:8px;background:#f0f0f0;border-radius:4px;overflow:hidden;margin-bottom:8px}.progress-fill.svelte-1nvf7qk{height:100%;background:linear-gradient(90deg,#e67e22,#d35400);border-radius:4px;transition:width .3s ease}.progress-text.svelte-1nvf7qk{font-size:14px;color:#666;font-weight:500}.download-status.svelte-1nvf7qk{margin-bottom:20px}.download-status.svelte-1nvf7qk p:where(.svelte-1nvf7qk){margin:0 0 8px;color:#555;font-size:16px;line-height:1.5}.images-text.svelte-1nvf7qk{font-size:14px!important;color:#666!important;font-weight:500}.download-tips.svelte-1nvf7qk{background:#f8f9fa;border-radius:8px;padding:16px;border-left:4px solid #e67e22}.download-tips.svelte-1nvf7qk p:where(.svelte-1nvf7qk){margin:0;color:#666;font-size:14px;line-height:1.4}@keyframes svelte-1nvf7qk-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.image-download-modal.svelte-1nvf7qk{padding:24px 20px;width:95%;max-width:350px}.download-header.svelte-1nvf7qk h3:where(.svelte-1nvf7qk){font-size:18px}.download-status.svelte-1nvf7qk p:where(.svelte-1nvf7qk){font-size:14px}.download-tips.svelte-1nvf7qk{padding:12px}.download-tips.svelte-1nvf7qk p:where(.svelte-1nvf7qk){font-size:13px}}@media (max-width: 480px){.image-download-modal.svelte-1nvf7qk{width:98%;max-width:300px;padding:20px 16px}}.button.svelte-1den79m:disabled{opacity:.6;cursor:not-allowed}.pdf-download-overlay.svelte-ia15g1{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:2000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.pdf-download-modal.svelte-ia15g1{background:#fff;border-radius:12px;padding:32px;max-width:500px;width:90%;box-shadow:0 20px 40px #0000004d;text-align:center}.download-header.svelte-ia15g1{margin-bottom:24px}.download-spinner.svelte-ia15g1{width:48px;height:48px;border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;animation:svelte-ia15g1-spin 1s linear infinite;margin:0 auto 16px}.download-header.svelte-ia15g1 h3:where(.svelte-ia15g1){margin:0;color:#333;font-size:20px;font-weight:600}.download-progress.svelte-ia15g1{margin-bottom:24px}.progress-bar.svelte-ia15g1{width:100%;height:8px;background:#f0f0f0;border-radius:4px;overflow:hidden;margin-bottom:8px}.progress-fill.svelte-ia15g1{height:100%;background:linear-gradient(90deg,#3498db,#2980b9);border-radius:4px;transition:width .3s ease}.progress-text.svelte-ia15g1{font-size:14px;color:#666;font-weight:500}.download-status.svelte-ia15g1{margin-bottom:20px}.download-status.svelte-ia15g1 p:where(.svelte-ia15g1){margin:0 0 8px;color:#555;font-size:16px;line-height:1.5}.stage-text.svelte-ia15g1{font-size:14px!important;color:#666!important;font-style:italic}.pages-text.svelte-ia15g1{font-size:14px!important;color:#666!important;font-weight:500}.download-tips.svelte-ia15g1{background:#f8f9fa;border-radius:8px;padding:16px;border-left:4px solid #3498db}.download-tips.svelte-ia15g1 p:where(.svelte-ia15g1){margin:0;color:#666;font-size:14px;line-height:1.4}@keyframes svelte-ia15g1-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.pdf-download-modal.svelte-ia15g1{padding:24px 20px;width:95%;max-width:350px}.download-header.svelte-ia15g1 h3:where(.svelte-ia15g1){font-size:18px}.download-status.svelte-ia15g1 p:where(.svelte-ia15g1){font-size:14px}.download-tips.svelte-ia15g1{padding:12px}.download-tips.svelte-ia15g1 p:where(.svelte-ia15g1){font-size:13px}}@media (max-width: 480px){.pdf-download-modal.svelte-ia15g1{width:98%;max-width:300px;padding:20px 16px}}.linkedin-share-button.svelte-5qckmt{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;background:#0077b5;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s ease;position:relative;min-width:140px;justify-content:center}.linkedin-share-button.svelte-5qckmt:hover:not(:disabled){background:#005885;transform:translateY(-1px);box-shadow:0 4px 12px #0077b54d}.linkedin-share-button.svelte-5qckmt:disabled{opacity:.6;cursor:not-allowed;transform:none}.button-content.svelte-5qckmt{display:flex;align-items:center;gap:8px}.linkedin-icon.svelte-5qckmt{width:20px;height:20px;filter:brightness(0) invert(1)}.button-text.svelte-5qckmt{font-size:14px;white-space:nowrap}.loading-spinner.svelte-5qckmt{width:16px;height:16px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:svelte-5qckmt-spin 1s linear infinite}@keyframes svelte-5qckmt-spin{to{transform:rotate(360deg)}}.linkedin-modal.svelte-5qckmt{width:100%;max-width:640px;margin:0 auto;padding:8px}.connection-required.svelte-5qckmt,.permission-required.svelte-5qckmt{text-align:center;padding:32px 24px;background:#f8f9fa;border-radius:12px;margin:16px 0}.connection-required.svelte-5qckmt h3:where(.svelte-5qckmt),.permission-required.svelte-5qckmt h3:where(.svelte-5qckmt){color:#0077b5;margin-bottom:12px}.connection-required.svelte-5qckmt p:where(.svelte-5qckmt),.permission-required.svelte-5qckmt p:where(.svelte-5qckmt){margin-bottom:20px;color:#666}.linkedin-connect-modal-button.svelte-5qckmt{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:15px;padding:.6rem 1.2rem;border-radius:6px;border:1px solid #0077b5;background:#0077b5;color:#fff;cursor:pointer;transition:background-color .2s ease}.linkedin-connect-modal-button.svelte-5qckmt:hover{background:#005885}.linkedin-connect-modal-button.svelte-5qckmt .linkedin-icon:where(.svelte-5qckmt){width:20px;height:20px;filter:brightness(0) invert(1)}.share-form.svelte-5qckmt{padding:24px 16px;background:#f8f9fa;border-radius:12px;margin:16px 0}.form-group.svelte-5qckmt{margin-bottom:24px}.form-group.svelte-5qckmt textarea:where(.svelte-5qckmt){width:100%;padding:16px;border:2px solid #e1e5e9;border-radius:8px;font-family:inherit;font-size:14px;resize:vertical;min-height:160px;box-sizing:border-box}.form-group.svelte-5qckmt textarea:where(.svelte-5qckmt):focus{outline:none;border-color:#0077b5}.char-count.svelte-5qckmt{display:block;text-align:right;margin-top:8px;color:#666;font-size:12px}.modal-actions.svelte-5qckmt{display:flex;gap:16px;justify-content:flex-end;margin-top:32px;padding-top:24px;border-top:1px solid #e1e5e9}.linkedin-share-final.svelte-5qckmt{display:inline-flex;align-items:center;gap:8px;background:#0077b5;color:#fff}.linkedin-share-final.svelte-5qckmt:hover:not(:disabled){background:#005885}.linkedin-share-final.svelte-5qckmt .linkedin-icon:where(.svelte-5qckmt){width:16px;height:16px}@media (max-width: 768px){.linkedin-share-button.svelte-5qckmt{padding:12px 16px;min-width:140px}.button-text.svelte-5qckmt{font-size:13px}.linkedin-modal.svelte-5qckmt{max-width:100%;padding:4px}.connection-required.svelte-5qckmt,.permission-required.svelte-5qckmt{padding:24px 16px;margin:12px 0}.share-form.svelte-5qckmt{padding:20px 12px;margin:12px 0}.modal-actions.svelte-5qckmt{flex-direction:column;gap:12px}.modal-actions.svelte-5qckmt button:where(.svelte-5qckmt){width:100%}}.horizontal-flex.svelte-ej1fs2{display:flex;flex-direction:row;align-items:center;gap:5px}h3.svelte-ej1fs2{padding-bottom:10px}.export-container.svelte-ej1fs2{display:grid;grid-template-columns:2fr 1fr;background:#fff;border-radius:15px;box-shadow:0 4px 15px #0000001a}.gallery-section.svelte-ej1fs2{padding:20px;border-right:1px solid #ddd;display:flex;flex-direction:column;gap:1rem;overflow-x:hidden;overflow-y:auto;height:500px}.download-section.svelte-ej1fs2{padding:20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1rem}.download-section.svelte-ej1fs2 p:where(.svelte-ej1fs2){font-size:16px}.share-tip.svelte-ej1fs2{margin-top:auto}@media (max-width: 768px){.export-container.svelte-ej1fs2{grid-template-columns:1fr}}.button.svelte-13k7gar{padding:4px}.actions.svelte-4pkt84{margin-top:auto;display:flex;gap:.3rem;justify-content:right;align-items:right;padding:.5rem;justify-content:flex-end}.card-content.svelte-6h5bm3{display:flex;flex-direction:column;min-height:100%}.card-link.svelte-6h5bm3{display:flex;flex-direction:column;text-decoration:none;color:inherit;outline:none}.card-link.svelte-6h5bm3:focus{outline:2px solid #6b46c1;outline-offset:2px}.image-wrapper.svelte-6h5bm3{position:relative;width:100%;aspect-ratio:1 / 1;overflow:hidden}.image.svelte-6h5bm3{width:100%;height:100%;object-fit:cover;display:block;border-radius:0}.overlay.svelte-6h5bm3{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;transition:background .2s ease;border-top-left-radius:8px;border-top-right-radius:8px}.image-wrapper.svelte-6h5bm3:hover .overlay:where(.svelte-6h5bm3){background:#0000001a}.genre-badge.svelte-6h5bm3{position:absolute;top:.5rem;right:.5rem;padding:.2rem .5rem;border-radius:9999px;font-size:.75rem;font-weight:600;color:#5a2c00;background-color:#ffe6cc;white-space:nowrap;max-width:60%;text-overflow:ellipsis;overflow:hidden}.genre-badge[data-genre=Fantasy].svelte-6h5bm3{background-color:#e0c3fc;color:indigo}.genre-badge[data-genre="Science Fiction"].svelte-6h5bm3{background-color:#c8f7ff;color:#00688b}.genre-badge[data-genre=Mystery].svelte-6h5bm3{background-color:#ffe6cc;color:#5a2c00}.genre-badge[data-genre=Romance].svelte-6h5bm3{background-color:#ffe0eb;color:#c2185b}.tag-icon.svelte-6h5bm3{position:absolute;bottom:.5rem;right:.5rem;background:#ffffffe6;border-radius:9999px;padding:.3rem;display:flex;align-items:center;justify-content:center;cursor:default}.tag-icon.svelte-6h5bm3 .icon:where(.svelte-6h5bm3){width:16px;height:16px}.info.svelte-6h5bm3{padding:1rem;display:flex;flex-direction:column;gap:.75rem}.title-block.svelte-6h5bm3{display:flex;flex-direction:column;gap:.25rem;text-align:center}.story-title.svelte-6h5bm3{font-weight:600;font-size:.95rem;margin:0 0 .25rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.empty-public-message.svelte-100xby5{width:100%;min-height:150px;display:flex;align-items:center;justify-content:center;color:#666;font-size:1rem;font-style:italic;text-align:center}.card.svelte-17i8u8t{background:#fff;border:1px solid #ddd;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000000d;transition:box-shadow .2s ease;cursor:pointer}.card.svelte-17i8u8t:hover{box-shadow:0 6px 16px #00000026}.header.svelte-1xh1qim{margin-bottom:1rem}.title.svelte-1xh1qim{font-size:2rem;font-weight:700;margin:0 0 .5rem}.subtitle.svelte-1xh1qim{color:#666;margin:0}.story-grid-container.svelte-1xh1qim{max-height:50vh;overflow-y:auto;margin-bottom:2rem;padding-right:4px}.scrollable.svelte-1xh1qim::-webkit-scrollbar{width:6px}.scrollable.svelte-1xh1qim::-webkit-scrollbar-thumb{background-color:#00000026;border-radius:6px}.story-grid.svelte-1xh1qim{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1.5rem}@media (max-width: 640px){.title.svelte-1xh1qim{font-size:1.5rem;font-weight:700;margin:0 0 .5rem}.subtitle.svelte-1xh1qim{font-size:.8rem}.story-grid.svelte-1xh1qim{grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}}.header.svelte-19pzfwq{margin-bottom:1rem}.title.svelte-19pzfwq{font-size:2rem;font-weight:700;margin:0 0 .5rem}.subtitle.svelte-19pzfwq{color:#666;margin:0}.loading.svelte-19pzfwq{color:#666}.empty-state.svelte-19pzfwq{text-align:center;padding:3rem 1rem}.empty-icon.svelte-19pzfwq{width:48px;height:48px;margin-bottom:1rem}.empty-title.svelte-19pzfwq{font-size:1.25rem;font-weight:700;margin:0 0 .5rem}.empty-text.svelte-19pzfwq{color:#666;margin:0;text-align:center}.story-grid-container.svelte-19pzfwq{max-height:50vh;overflow-y:auto;margin-bottom:2rem;padding-right:4px}.scrollable.svelte-19pzfwq::-webkit-scrollbar{width:6px}.scrollable.svelte-19pzfwq::-webkit-scrollbar-thumb{background-color:#00000026;border-radius:6px}.story-grid.svelte-19pzfwq{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1.5rem}@media (max-width: 640px){.title.svelte-19pzfwq{font-size:1.5rem;font-weight:700;margin:0 0 .5rem}.subtitle.svelte-19pzfwq{font-size:.8rem}.story-grid.svelte-19pzfwq{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}.library-container.svelte-1xda6uc{max-width:1500px;margin:0 auto;padding:1rem 1rem 2rem}.library-button.svelte-1xpnrt5{display:inline-flex;align-items:center;gap:8px;border-radius:10px;padding:3px 6px}.library-icon.svelte-1xpnrt5{width:28px;height:28px;object-fit:contain}.library-text.svelte-1xpnrt5{display:inline}@media (max-width: 640px){.library-text.svelte-1xpnrt5{display:none}}.home-button.svelte-l684e{display:inline-flex;align-items:center;text-decoration:none;line-height:1;border-radius:10px;padding:0 5px}.home-button.svelte-l684e img:where(.svelte-l684e){width:36px;height:36px;object-fit:contain}.beta-version-container.svelte-p4mpfq{display:flex;flex-direction:column}.beta-version.svelte-p4mpfq{align-self:center;font-weight:700;background:linear-gradient(135deg,gold,#ffed4e);color:#333;padding:.3rem .6rem;border-radius:.5rem;cursor:pointer;border:none;font-size:.85rem;transition:all .3s ease;box-shadow:0 2px 8px #ffd7004d}.beta-version.svelte-p4mpfq:hover{transform:translateY(-1px);box-shadow:0 4px 12px #ffd70066}.beta-version.svelte-p4mpfq:active{transform:translateY(0)}.beta-version-container-mobile.svelte-p4mpfq{display:flex;flex-direction:column}.beta-version-mobile.svelte-p4mpfq{align-self:center;font-weight:700;background:linear-gradient(135deg,gold,#ffed4e);color:#333;padding:.2rem .4rem;border-radius:.3rem;cursor:pointer;border:none;font-size:.8rem;transition:all .3s ease;box-shadow:0 2px 6px #ffd7004d;min-width:2rem;text-align:center}.beta-version-mobile.svelte-p4mpfq:hover{transform:translateY(-1px);box-shadow:0 4px 10px #ffd70066}.beta-version-mobile.svelte-p4mpfq:active{transform:translateY(0)}.topbar.svelte-p4mpfq{padding:.2rem;max-height:15vh;overflow:visible;position:relative;width:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;background-color:var(--background-color-darker);border-bottom:1px solid #e0e0e0;z-index:1}.left-buttons.svelte-p4mpfq,.right-buttons.svelte-p4mpfq,.center-button.svelte-p4mpfq{display:flex;gap:1rem;overflow:visible;position:relative}.right-buttons.svelte-p4mpfq{justify-content:flex-end}.left-buttons.svelte-p4mpfq{justify-content:flex-start;gap:.4rem;margin-left:.5rem}@media (max-width: 1000px){.hidden-below-1000px.svelte-p4mpfq{display:none}}@media (min-width: 1001px){.hidden-above-1000px.svelte-p4mpfq{display:none}}
