[hidden]{display:none!important}
:root{--purple:#8324ef;--deep:#693fc7;--text:#20202a;--muted:#777684;--line:#e9e5f0;--surface:#fff;--bg:#f5f5f8;--shadow:0 10px 30px rgba(59,40,104,.12);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#f7f7fa;color:var(--text);overscroll-behavior-y:none}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:transparent;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.4;cursor:not-allowed}.hidden{display:none!important}.icon{height:23px;width:23px;flex-shrink:0;vertical-align:middle;stroke-width:1.8}.screen{min-height:100dvh}.gallery-screen{background:#fff;padding-bottom:100px}.gallery-hero{background:radial-gradient(at 89% 9%,#e7c9ff 0,transparent 48%),radial-gradient(at 0% 1%,#bbf5f3 0,transparent 45%),linear-gradient(#f6f3ff 30%,#fff);padding:22px 20px 12px}.brand-top{display:flex;align-items:center;gap:8px;height:36px;margin-bottom:29px;color:#655d72}.brand-logo{background:linear-gradient(135deg,#29c6de,#9638fa);color:white;font-size:20px;font-weight:700;display:grid;place-items:center;width:28px;height:28px;border-radius:9px}.brand-name{font-size:13px;font-weight:700;letter-spacing:.02em}.round-ghost{margin-left:auto;border:1px solid #e8dcf3;border-radius:50%;width:35px;height:35px;display:grid;place-items:center}.round-ghost .icon{width:19px}.gallery-title-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:25px}.gallery-title-row h1{font-size:29px;line-height:1.3;font-weight:500;margin:0;letter-spacing:-.025em}.title-chevron{display:inline-grid;place-items:center;font-size:22px;background:#fff;width:29px;height:29px;border-radius:50%;border:1px solid #ddd3e5;vertical-align:4px}.btn-new{background:var(--purple);color:white;border-radius:30px;display:flex;align-items:center;gap:5px;font-size:12px;font-weight:650;padding:10px 12px;white-space:nowrap}.btn-new .icon{width:16px;height:16px}.gallery-search{background:white;height:70px;border-radius:21px;border:1px solid #e7d8fa;box-shadow:0 7px 24px rgba(125,58,203,.11);display:flex;align-items:center;gap:15px;padding:0 21px}.gallery-search .icon{width:26px;height:26px}.gallery-search input{width:100%;outline:0;border:0;font-size:18px;background:transparent;color:#333}.gallery-search input::placeholder{color:#89878d}.filter-row{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;align-items:center;margin:15px -20px 0;padding:0 20px 9px}.filter-row::-webkit-scrollbar,.category-strip::-webkit-scrollbar,.editor-toolbar::-webkit-scrollbar{display:none}.filter-circle{border:1px solid #e7dbf8;border-radius:50%;width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;background:white}.filter-chip{display:flex;align-items:center;gap:6px;padding:12px 17px;border:1px solid #e9dbfb;border-radius:28px;background:#fff;white-space:nowrap;min-height:47px;font-size:15px}.filter-chip.active{background:#f5eafa;color:#6036aa;border:1.5px solid #962df1}.filter-chip .icon{width:17px;height:17px}.gallery-content{max-width:1100px;margin:auto;padding:30px 20px 36px}.gallery-content h2{font-size:20px;font-weight:640;letter-spacing:-.025em;margin:0 0 24px}.category-strip{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:0 20px 31px}.category{display:flex;flex-flow:column;align-items:center;flex-shrink:0;gap:12px;min-width:110px;text-align:center;padding:0;font-size:14px;line-height:1.4}.cat-thumb{width:105px;height:105px;border-radius:19px;display:flex;position:relative;overflow:hidden;align-items:center;justify-content:center;border:1px solid #e7cfe5}.cat-thumb:before{content:"";position:absolute;background:linear-gradient(125deg,#d04fff,#3f83ff);width:58px;height:79px;border-radius:10px;transform:rotate(-11deg);left:11px;bottom:-14px;box-shadow:9px -5px 0 #ffc2e5}.cat-thumb:after{content:"";position:absolute;inset:17px 18px 6px 47px;border-radius:7px;background:linear-gradient(130deg,#e6b1ef,#9240f3,#5ad9ed);transform:rotate(9deg)}.mini-instagram{position:absolute;z-index:1;top:17px;left:30px;color:#fff;font-size:30px}.cat-figure{position:absolute;z-index:2;color:white;font-size:33px;right:10px;bottom:10px}.cat-pink{background:#ffe2e5}.cat-lilac{background:#f6dcff}.cat-blue{background:#eaccff}.cat-blue:before{background:#5d1cbd}.cat-blue:after{background:#14cce2}.cat-violet{background:#dcdcff}.cat-rose{background:#ffe0e9}.section-heading{display:flex;align-items:baseline;justify-content:space-between}.link-btn{font-size:16px;font-weight:600;margin-bottom:22px}.trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:42px}.trend-card{padding:0;aspect-ratio:.8;border-radius:18px;overflow:hidden;position:relative;border:1px solid #e6dfeb;text-align:left}.trend-card img{height:100%;width:100%;object-fit:cover}.dots{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#fff;letter-spacing:2px;font-weight:bold;font-size:12px;box-shadow:0 1px 8px #0002}.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.post-tile{position:relative;aspect-ratio:4/5;border:1px solid #dedce4;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;text-align:left;justify-content:center;padding:20px}.post-tile img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.post-tile b{font-size:27px;line-height:1.07;margin:14px 0}.fake-design-kicker{font-size:12px;font-weight:800;letter-spacing:.08em}.design-ribbon{padding:6px 10px;border-radius:3px;background:#197adf;color:white;font-size:10px;font-weight:800;align-self:flex-start}.post-simple{background:linear-gradient(162deg,#fff 65%,#cbe2ff);color:#074d98}.post-brand{padding:0}.post-wellness{background:linear-gradient(135deg,#f9debf,#efbba2);color:#534e46}.post-purple{background:linear-gradient(145deg,#8d35e9,#241258);color:#fff}.post-purple .design-ribbon{background:#b8e8fc;color:#503375}.gallery-bottom-nav{position:fixed;z-index:8;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #f0edf5;box-shadow:0 -5px 14px #e8e6ef22;display:flex;justify-content:space-around;min-height:81px;padding-bottom:env(safe-area-inset-bottom)}.nav-item{min-width:58px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#645286}.nav-item .icon{width:26px;height:26px}.nav-item small{font-size:11px;white-space:nowrap}.nav-item.active{color:var(--purple);font-weight:700}
/* Editor */
.editor-screen{height:100dvh;max-height:100dvh;display:flex;flex-direction:column;background:#f4f4f7;overflow:hidden}.editor-header{height:74px;flex:0 0 74px;background:linear-gradient(108deg,#00c4d9 0%,#238ecf 36%,#673dde 76%,#8621e9 100%);color:#fff}.editor-topline{height:100%;display:flex;align-items:center;gap:2px;padding:0 12px}.icon-button{color:inherit;border-radius:50%;display:grid;place-items:center;min-width:37px;width:37px;height:37px;flex-shrink:0}.icon-button:active{background:#ffffff2b}.back-button{margin-right:5px}.document-title{font-size:13px;font-weight:600;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-spacer{flex:1}.editor-main{min-height:0;flex:1;display:flex;position:relative}.work-area{min-width:0;flex:1;display:flex;flex-flow:column;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:14px 12px 35px;background:#f4f4f7}.canvas-wrap{width:min(100%,calc((100dvh - 215px)*.8));aspect-ratio:4/5;max-width:620px;position:relative;box-shadow:0 1px 3px #0002;background:#fff;touch-action:none;transition:box-shadow .15s}.canvas-wrap:focus-within{box-shadow:0 0 0 1px #ac7bf5,0 12px 30px #55447a18}.artboard{width:100%;height:100%;position:relative;overflow:visible}.artboard-inner{position:absolute;inset:0;overflow:hidden}.layer{position:absolute;box-sizing:border-box;cursor:move;transform-origin:center center;user-select:none;-webkit-user-select:none;touch-action:none}.layer.text-layer{white-space:pre-wrap;word-break:break-word;line-height:1.05;overflow:visible}.layer.rich-layer .line-light{font-weight:400}.layer.rich-layer .line-strong{font-weight:800}.layer.image-layer img{width:100%;height:100%;object-fit:cover;pointer-events:none}.layer.shape-layer{border-radius:0}.selection-box{position:absolute;z-index:20;border:2px solid #9237fb;pointer-events:none;transform-origin:center;box-shadow:0 0 0 1px #fff2}.resize-handle{pointer-events:auto;position:absolute;height:15px;width:15px;background:#fff;border-radius:50%;border:1px solid #f2e8fb;box-shadow:0 1px 5px #0003;touch-action:none}.resize-handle.nw{left:-9px;top:-9px}.resize-handle.ne{right:-9px;top:-9px}.resize-handle.sw{left:-9px;bottom:-9px}.resize-handle.se{right:-9px;bottom:-9px}.resize-handle.mid{top:50%;height:23px;width:10px;border-radius:6px;transform:translateY(-50%)}.resize-handle.left{left:-6px}.resize-handle.right{right:-6px}.selection-menu{position:absolute;bottom:calc(100% + 19px);left:50%;transform:translateX(-50%);border-radius:29px;background:white;box-shadow:0 5px 18px #0002;padding:4px 7px;display:flex;gap:5px;align-items:center;pointer-events:auto;white-space:nowrap;z-index:40}.selection-menu button{display:grid;place-items:center;height:30px;width:35px;border-radius:50%}.selection-menu .icon{width:20px;height:20px}.page-dots{position:absolute;bottom:22px;display:flex;gap:8px}.page-dots span{height:7px;width:7px;background:#d6d6e1;border-radius:9px}.page-dots .active{width:26px;background:#a3a4af}.workspace-status{position:absolute;right:14px;bottom:9px;font-size:10px;color:#aaaab3}.editor-toolbar{position:relative;z-index:25;background:#fff;flex:0 0 auto;min-height:80px;display:flex;overflow-x:auto;scrollbar-width:none;gap:4px;padding:6px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #ebebf0}.tool-item{flex:0 0 78px;min-height:65px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:4px 3px;border-radius:13px;font-weight:500}.tool-item .icon{width:26px;height:26px}.tool-item small{font-size:11px;white-space:nowrap;color:#5f5f6a}.tool-item.selected{color:#7a27e8}.tool-item.selected small{color:#7a27e8;font-weight:700}.tool-item:active{background:#f2e5ff}.tool-item.done-tool{flex-basis:52px;margin-left:auto;border-left:1px solid #eee}.tool-item.done-tool .icon{color:var(--deep)}.tool-drawer{position:fixed;bottom:82px;left:0;right:0;z-index:24;max-height:min(400px,53dvh);background:#fff;border-radius:22px 22px 0 0;box-shadow:0 -8px 20px #15122518;display:flex;flex-direction:column;padding-bottom:6px}.drawer-handle{width:38px;height:4px;border-radius:9px;background:#d4d0da;margin:9px auto 0;flex-shrink:0}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:7px 17px 8px;flex-shrink:0}.drawer-header h3{margin:0;font-size:19px;font-weight:670}.close-drawer{color:#4a4450}.drawer-content{overflow-y:auto;overscroll-behavior:contain;padding:4px 16px 19px}.drawer-content .panel-subhead{font-size:13px;font-weight:700;color:#7d7a86;margin:12px 0}.option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.option-tile{border:1px solid #ece8f4;border-radius:15px;min-height:86px;background:#fcfaff;padding:12px 7px;display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;text-align:center;font-size:12px}.option-tile .icon{width:28px;height:28px;color:#7147b4}.option-tile.wide{grid-column:span 2}.chip-row{display:flex;gap:8px;overflow:auto;padding:5px 0}.color-dot{border:3px solid #fff;box-shadow:0 0 0 1px #d7d2de;border-radius:50%;height:36px;width:36px;flex-shrink:0}.color-dot:focus{box-shadow:0 0 0 2px var(--purple)}.input-row{display:flex;align-items:center;gap:9px;margin:11px 0}.input-row label{width:84px;flex-shrink:0;color:#726d7c;font-size:12px}.input-row input,.input-row select,.input-row textarea{flex:1;min-width:0;min-height:38px;border-radius:11px;border:1px solid #e2dcea;padding:8px 11px;outline:none;background:white;color:#25232d}.input-row input[type=range]{padding:0;min-height:26px;accent-color:#8e35f1}.input-row input[type=color]{padding:3px;width:46px;max-width:53px;flex:0 0 53px}.input-row textarea{height:75px;resize:vertical}.btn-purple{background:linear-gradient(105deg,#7e2ce7,#9345f4);color:#fff;border-radius:12px;padding:12px 16px;font-weight:680;font-size:13px}.btn-outline{border:1px solid #ded4e9;padding:11px 13px;border-radius:12px;font-weight:600;font-size:12px}.action-row{display:flex;flex-wrap:wrap;gap:8px;padding:7px 0}.layer-row{display:flex;align-items:center;gap:9px;padding:11px 7px;border-bottom:1px solid #eee9f4;text-align:left;width:100%;font-size:13px}.layer-row span{flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.layer-row .icon{width:18px;height:18px}.layer-row.active{color:var(--purple);background:#f8f3ff}.mini-template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.mini-template{border-radius:10px;aspect-ratio:4/5;overflow:hidden;border:1px solid #e3dbe8;position:relative}.mini-template img{height:100%;width:100%;object-fit:cover}.mini-template.text-template{background:#f8dfe7;padding:9px;font-size:15px;font-weight:800;display:flex;align-items:center}.mini-template.purple-template{background:#9b58e6;color:white;padding:9px;font-size:14px}.mini-template.white-template{background:linear-gradient(140deg,#fff,#bde8ff);padding:8px;color:#0f65b3}.modal{background:#fff;border-radius:22px;padding:16px;width:min(92vw,430px);max-height:80dvh;overflow:auto;box-shadow:0 20px 70px #10101833}.dialog-shade{position:fixed;inset:0;background:#1a122b75;z-index:90;display:grid;place-items:center}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.modal-head h3{margin:0;font-size:20px}.modal-description{font-size:13px;color:#736d7e;line-height:1.5}.modal-row{margin-bottom:12px}.modal-row input,.modal-row select{width:100%;padding:11px;border-radius:11px;border:1px solid #dcd5e7;outline:none}.modal-row label{font-size:12px;color:#6e6976;display:block;margin-bottom:6px}.toast{position:fixed;bottom:113px;left:50%;transform:translateX(-50%);z-index:100;background:#28212f;color:#fff;padding:12px 17px;border-radius:15px;font-size:13px;box-shadow:var(--shadow);white-space:nowrap;max-width:88vw;text-align:center;overflow:hidden;text-overflow:ellipsis}.desktop-sidebar,.desktop-properties{display:none}.desktop-show{display:none}.assistant-thread{display:flex;flex-direction:column;gap:10px;max-height:180px;overflow:auto}.assistant-msg{align-self:flex-start;background:#f6f1fc;border:1px solid #eee4fa;padding:10px 12px;border-radius:15px;max-width:94%;font-size:13px;line-height:1.45}.assistant-msg.mine{align-self:flex-end;background:#e9d6ff}.assistant-input{display:flex;gap:8px;margin-top:12px}.assistant-input input{flex:1;min-width:0;border:1px solid #e6dded;padding:11px;border-radius:15px;outline:none}.assistant-input button{background:#8530ea;color:white;border-radius:12px;min-width:42px}.notice{font-size:12px;color:#7a7282;line-height:1.5;margin:9px 0}.panel-card{padding:12px;background:#faf7ff;border-radius:14px;border:1px solid #f0e6fc;margin:6px 0}
@media(min-width:860px){.gallery-hero{padding-left:max(30px,calc((100vw - 1100px)/2));padding-right:max(30px,calc((100vw - 1100px)/2));padding-top:24px}.gallery-content{padding-left:30px;padding-right:30px}.category-strip{margin:0;padding:0 0 32px}.category{min-width:145px}.cat-thumb{width:125px;height:125px}.gallery-title-row h1{font-size:34px}.trend-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.trend-card{grid-column:span 1}.post-grid{grid-template-columns:repeat(4,1fr)}.gallery-bottom-nav{max-width:480px;left:50%;transform:translateX(-50%);bottom:12px;border-radius:22px;box-shadow:0 4px 28px #0002}.editor-header{height:68px;flex-basis:68px}.editor-topline{padding:0 25px}.document-title{font-size:15px}.desktop-show{display:grid}.editor-main{gap:0}.desktop-sidebar{display:block;width:230px;background:#fff;border-right:1px solid #eeeaf2;flex-shrink:0;overflow-y:auto;padding:15px}.desktop-properties{display:block;width:260px;background:#fff;border-left:1px solid #eeeaf2;flex-shrink:0;overflow-y:auto;padding:18px}.work-area{padding:20px 18px 45px}.canvas-wrap{width:min(100%,calc((100dvh - 195px)*.8))}.editor-toolbar{max-height:84px;justify-content:center}.tool-item{flex-basis:90px}.tool-drawer{bottom:0;left:230px;right:260px;max-width:600px;margin:auto;box-shadow:0 -6px 30px #0002}.desktop-side-title{font-size:14px;font-weight:700;margin:0 0 10px}.desktop-sidebar .option-grid{grid-template-columns:repeat(2,1fr)}.desktop-sidebar .option-tile{min-height:76px}.desktop-properties .input-row{flex-wrap:wrap}.desktop-properties .input-row label{width:100%}.desktop-properties .input-row input{width:100%}}
@media(max-width:370px){.document-title{max-width:85px}.editor-topline{padding:0 4px}.editor-topline .icon-button{min-width:32px;width:32px}.gallery-search{height:64px}.tool-item{flex-basis:70px}.category{min-width:98px}.cat-thumb{width:94px;height:94px}.category-strip{gap:10px}}

.selection-menu .ungroup-button{width:auto;padding:0 10px;font-size:12px;font-weight:650;border-radius:18px;letter-spacing:-.01em}.selection-menu .ungroup-button:active{background:#f6eafa}

.cat-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cat-thumb:has(img):before,.cat-thumb:has(img):after{display:none}

/* Edición directa en el lienzo */
.inline-text-editor{display:block;box-sizing:border-box;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:5px;outline:2px solid #2e62b2;outline-offset:4px;background:rgba(235,242,251,.12);color:inherit;resize:none;white-space:pre-wrap;overflow-wrap:break-word;overflow:hidden!important;scrollbar-width:none!important;caret-color:#ff693f;font:inherit;line-height:inherit;user-select:text;-webkit-user-select:text;touch-action:auto;cursor:text;overscroll-behavior:contain;}
.inline-text-editor::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;}
.layer.editing-layer{cursor:text!important;user-select:text;-webkit-user-select:text;touch-action:auto;}
.selection-menu .edit-button{color:#742cc4;}
@media(max-width:650px){.selection-menu{gap:0;padding:4px 5px}.selection-menu .edit-button{width:32px}.selection-menu .ungroup-button{padding:0 7px;font-size:11px}}
/* Mantener todo el editor de texto sobre la barra inferior en escritorio. */
@media(min-width:860px){.tool-drawer{bottom:84px;max-height:min(460px,calc(100dvh - 158px))}}


/* v1.2 — panel siempre encima de la barra, con confirmar fijo al pie.
   La barra sigue disponible mientras se edita, pero jamás tapa Aplicar texto. */
.editor-screen { --editor-toolbar-height: 81px; }
#toolDrawer.tool-drawer {
 bottom: var(--editor-toolbar-height, 81px);
 z-index: 30;
 max-height: min(510px, calc(100dvh - var(--editor-toolbar-height, 81px) - 86px));
 padding-bottom: 0;
 overflow: hidden;
}
#toolDrawer .drawer-content {
 flex: 1 1 auto;
 min-height: 0;
 overflow-y: auto;
 overscroll-behavior: contain;
 padding-bottom: 20px;
 scrollbar-gutter: stable;
}
#toolDrawer .drawer-footer {
 flex: 0 0 auto;
 position: relative;
 z-index: 2;
 width: 100%;
 background: #fff;
 padding: 11px 16px 12px;
 border-top: 1px solid #eee9f5;
 box-shadow: 0 -5px 15px #301a6310;
}
#toolDrawer .drawer-apply-btn {
 display: flex; align-items: center; justify-content: center; gap: 8px;
 width: 100%; min-height: 47px; border-radius: 13px;
 color: #fff; font-size: 14px; font-weight: 750;
 background: linear-gradient(95deg, #7928dd, #963ff0);
}
#toolDrawer .drawer-apply-btn .icon { height: 19px; width: 19px; }
#toolDrawer .drawer-apply-btn:focus-visible {outline: 3px solid #7b39e1;outline-offset: 2px;}
@media (min-width: 860px) {
 #toolDrawer.tool-drawer {
   bottom: var(--editor-toolbar-height, 81px);
   max-height: min(510px, calc(100dvh - var(--editor-toolbar-height, 81px) - 86px));
 }
}
@media (max-height: 540px) {
 #toolDrawer.tool-drawer {max-height: calc(100dvh - var(--editor-toolbar-height, 81px) - 60px);}
 #toolDrawer .drawer-footer {padding-top: 7px; padding-bottom: 7px;}
}

/* Trazo Studio 2.0 · identidad independiente inspirada en paleta azul / naranja */
:root{--purple:#2e62b2;--deep:#214b8f;--text:#19283e;--muted:#66758a;--line:#e1e7f0;--surface:#fff;--bg:#f3f5fa;--shadow:0 14px 32px rgba(25,40,62,.10)}
html,body{background:#f3f5fa;color:#19283e}
button,input,textarea,select{font-family:inherit}
button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #2e62b2;outline-offset:2px}
.gallery-screen{min-height:100dvh;background:#f2f4f9;overflow-x:hidden;padding-bottom:0}
.site-header{height:74px;background:#fff;border-top:4px solid #3976ba;border-bottom:1px solid #e7ebf2;box-shadow:0 2px 11px rgba(13,33,62,.025)}
.site-header-inner{max-width:1170px;padding:0 23px;margin:auto;display:flex;align-items:center;justify-content:space-between;height:100%;gap:12px}
.brand{display:flex;align-items:center;gap:10px}.brand-mark{width:36px;height:36px;background:#ff693f;color:white;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;font-weight:900;font-size:27px;line-height:1;letter-spacing:-4px;padding-right:4px}.brand-mark span{font-size:14px;letter-spacing:0;color:#ffcaac;align-self:center;margin-top:-10px}.brand-mark.small{height:25px;width:25px;font-size:19px;border-radius:7px}.brand-mark.small span{font-size:10px}
.brand-title{font-size:20px;font-weight:900;letter-spacing:-.8px;color:#19283e}.brand-title span{color:#2e62b2}
.site-nav-actions{display:flex;align-items:center;gap:9px}.header-soft-btn,.header-primary-btn{height:39px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;padding:0 14px;font-size:12px;font-weight:780}.header-soft-btn{border:1px solid #d9e0eb;background:#fff;color:#24476c}.header-primary-btn{background:#ff693f;color:white;box-shadow:0 4px 12px rgba(255,105,63,.15)}.site-nav-actions .icon{height:16px;width:16px}
.site-content{max-width:1170px;margin:auto;padding:25px 23px 35px}
.welcome-panel{min-height:285px;background:linear-gradient(180deg,#ffffff 0%,#f7f9fc 100%);border:1px solid #dfe7f1;border-radius:16px;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 12px 25px rgba(22,40,66,.06);padding:32px 46px;margin-bottom:34px}
.welcome-panel:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 18%,rgba(46,98,178,.08),transparent 28%),radial-gradient(circle at 86% 16%,rgba(255,105,63,.12),transparent 24%),linear-gradient(135deg,transparent 0%,rgba(255,255,255,.36) 100%);pointer-events:none}.welcome-copy{position:relative;z-index:2;max-width:620px}.welcome-eyebrow{display:inline-flex;gap:7px;align-items:center;color:#f26a41;font-weight:850;letter-spacing:.14em;font-size:11px}.eyebrow-dot{height:7px;width:7px;border-radius:50%;background:#ff693f}.welcome-panel h1{color:#162c47;font-size:clamp(32px,4vw,51px);font-weight:850;line-height:1.07;letter-spacing:-1.45px;margin:14px 0 9px}.welcome-panel h1 em{font-style:normal;color:#ff7a4e}.welcome-panel p{color:#60758d;font-size:14px;line-height:1.6;max-width:470px;margin:0}.welcome-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.cta-primary,.cta-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:10px;font-size:12px;font-weight:800}.cta-primary{background:#ff693f;color:#fff}.cta-secondary{background:#fff;border:1px solid #cad6e5;color:#24476c}.cta-primary .icon,.cta-secondary .icon{height:16px;width:16px}
.welcome-visual{position:relative;width:275px;height:229px;flex-shrink:0;display:flex;justify-content:center;align-items:center}.visual-sheet{width:156px;height:200px;position:absolute;border-radius:10px;box-shadow:0 17px 25px rgba(22,40,66,.12)}.visual-sheet-back{transform:translate(35px,-4px) rotate(13deg);background:#ffd3ad}.visual-sheet-front{transform:translate(-20px,5px) rotate(-8deg);background:#ffffff;padding:20px 18px;color:#1c3757;display:flex;flex-direction:column;justify-content:space-between;border:1px solid #deebf8}.visual-sheet-front strong{font-size:29px;line-height:.99;letter-spacing:-1.1px;font-weight:900}.visual-mini{font-size:8px;font-weight:900;letter-spacing:.13em;color:#2e62b2}.visual-stripe{height:12px;width:112px;background:#ff693f;border-radius:7px}.visual-mini-footer{font-size:7px}.visual-shape{height:76px;width:76px;border:15px solid #2e62b2;border-radius:50%;position:absolute;top:1px;right:4px;opacity:.8}
.section-top h2{margin:7px 0 5px;color:#17273c;font-size:clamp(23px,2.3vw,30px);letter-spacing:-.5px;font-weight:850}.section-top p{font-size:13px;color:#718095;margin:0 0 21px;line-height:1.6}.section-kicker{font-size:10px;font-weight:850;color:#ee663e;letter-spacing:.12em}.template-count{font-size:12px;font-weight:800;color:#2e62b2;background:#e1ecfa;border-radius:20px;padding:6px 8px;vertical-align:middle;margin-left:5px}
.browse-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.template-search{height:43px;min-width:220px;max-width:305px;flex:1;display:flex;align-items:center;gap:9px;padding:0 13px;background:#fff;border:1px solid #dce4ef;border-radius:10px}.template-search .icon{width:17px;height:17px;color:#718299}.template-search input{border:0;outline:none!important;min-width:0;flex:1;color:#1c2b40;font-size:12px;background:transparent}.template-search input::placeholder{color:#9aa7b7}.browse-chips{display:flex;flex-wrap:wrap;gap:7px}.browse-chip{color:#587087;background:#fff;border:1px solid #dfe6ee;border-radius:9px;min-height:39px;padding:0 14px;font-size:12px;font-weight:720}.browse-chip.active{background:#2e62b2;color:white;border-color:#2e62b2}.browse-chip:hover{border-color:#2e62b2}
.template-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.design-card{background:#fff;border:1px solid #e0e7ef;border-radius:14px;overflow:hidden;text-align:left;display:flex;flex-direction:column;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;box-shadow:0 3px 10px rgba(25,40,62,.025)}.design-card:hover{transform:translateY(-3px);box-shadow:0 15px 26px rgba(20,45,75,.09);border-color:#bacde4}.design-preview{display:flex;align-items:center;justify-content:center;padding:12px;background:#eaf0f7;aspect-ratio:4/5}.design-preview img{height:100%;width:100%;object-fit:cover;border-radius:5px;box-shadow:0 4px 12px #14253c20}.design-card-footer{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:13px 12px 14px;min-height:68px}.design-card-footer>span:first-child{min-width:0}.design-card strong{font-size:12px;color:#19283e;display:block;line-height:1.3;white-space:normal}.design-card small{font-size:10px;color:#8796a9;display:block;margin-top:5px}.card-arrow{height:27px;width:27px;border-radius:8px;background:#f2f5f9;display:flex;align-items:center;justify-content:center;color:#2e62b2;flex-shrink:0}.card-arrow .icon{height:14px;width:14px}.template-empty{text-align:center;background:#fff;border:1px dashed #cbd8e8;border-radius:15px;padding:37px;margin:15px 0}.template-empty>.icon{height:32px;width:32px;color:#2e62b2;margin-bottom:9px}.template-empty strong{display:block;font-size:17px}.template-empty p{font-size:12px;color:#718095}.template-empty .cta-secondary{color:#2e62b2;border-color:#bad0e8}
.site-footer{display:flex;align-items:center;gap:9px;margin-top:55px;padding-top:20px;border-top:1px solid #dfe7f0;font-size:11px;color:#54677e;font-weight:700}.footer-muted{color:#91a0b1;font-weight:500}.footer-version{margin-left:auto;color:#a1adba}
.editor-screen{background:#edf0f5}.editor-header{background:#fff;color:#1a2b42;border-top:4px solid #2e62b2;border-bottom:1px solid #dbe3ee;box-shadow:0 2px 7px #172b4d09}.editor-topline .icon-button:hover{background:#edf3fc}.editor-topline .icon-button{color:#253e5d}.editor-topline .back-button{color:#2e62b2}.editor-topline .document-title{font-weight:750;color:#162c47}.desktop-sidebar,.desktop-properties{background:#fff!important;border-color:#dee6ef!important}.work-area{background:radial-gradient(circle at center,#f9fafc 0%,#e9edf5 100%)}
.editor-toolbar{background:#fff;border-top:1px solid #e0e7ef;box-shadow:0 -6px 14px #1529430a}.tool-item{color:#405671}.tool-item small{color:#657589}.tool-item.selected,.tool-item.selected small,.tool-item.done-tool .icon{color:#2e62b2}.tool-item:active{background:#e9f1fa}.selection-box{border-color:#2e62b2!important}.selection-box .resize-handle{border-color:#2e62b2!important}.selection-menu{box-shadow:0 6px 18px #152d4726}.selection-menu .edit-button{color:#2e62b2}.inline-text-editor{outline-color:#2e62b2;background:#2e62b222;caret-color:#2e62b2}.tool-drawer{border:1px solid #e1e9f2;border-bottom:0}.drawer-content .panel-subhead{color:#63768b}.option-tile{background:#f8fafd;border-color:#e0e8f1}.option-tile .icon{color:#2e62b2}.option-tile:active{background:#e7f0fc}.color-dot:focus{box-shadow:0 0 0 2px #2e62b2}.btn-purple,#toolDrawer .drawer-apply-btn{background:#ff693f!important;color:white!important;box-shadow:0 5px 12px #ff693f24}.input-row input[type=range]{accent-color:#2e62b2}.panel-card{background:#f4f7fb;border-color:#e2eaf4}.layer-row.active{color:#2e62b2;background:#edf3fc}.notice{color:#6a7c90}.modal{border:1px solid #e5eaf3}.dialog-shade{background:#19283e75}.mini-template-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.mini-template{aspect-ratio:4/5;border-color:#dce5ef}.toast{background:#1d2b3e}
@media(min-width:860px){.tool-drawer{left:230px;right:260px}.site-header-inner,.site-content{max-width:1170px}.gallery-screen{padding-bottom:0}}
@media(max-width:1080px){.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.browse-toolbar{align-items:flex-start;flex-direction:column}.browse-chips{width:100%}}
@media(max-width:700px){.site-header{height:65px}.site-header-inner{padding:0 15px}.site-nav-actions .header-soft-btn{padding:0 11px}.site-nav-actions .header-soft-btn span:not(.icon){display:none}.site-nav-actions .header-soft-btn .icon{display:block}.header-primary-btn{padding:0 11px}.site-content{padding:14px 15px 24px}.welcome-panel{padding:29px 23px;min-height:265px;margin-bottom:28px;border-radius:15px}.welcome-panel h1{font-size:36px}.welcome-panel p{max-width:300px;font-size:12px}.welcome-visual{position:absolute;right:-86px;top:24px;transform:scale(.68);opacity:.38;pointer-events:none}.welcome-copy{max-width:100%}.welcome-actions{margin-top:19px}.cta-primary,.cta-secondary{font-size:11px;padding:11px 12px}.browse-toolbar{gap:11px}.template-search{width:100%;max-width:none;height:46px}.browse-chips{overflow:auto;flex-wrap:nowrap;white-space:nowrap;scrollbar-width:none;padding:2px 0}.browse-chips::-webkit-scrollbar{display:none}.browse-chip{flex-shrink:0;padding:0 13px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.design-preview{padding:8px}.design-card-footer{padding:11px 8px 12px;min-height:63px}.design-card strong{font-size:11px}.design-card small{font-size:9px}.card-arrow{height:24px;width:24px}.section-top h2{font-size:23px}.site-footer{margin-top:36px}.mini-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:340px){.brand-title{font-size:17px}.header-primary-btn{font-size:11px}.template-grid{gap:8px}.design-preview{padding:5px}.welcome-panel h1{font-size:31px}}


/* ───────── Trazo Studio 2.3 · Modern segmented category navigation ───────── */
.browse-toolbar{gap:20px;}
.browse-chips{
  display:flex;align-items:center;gap:3px;flex-wrap:nowrap;
  background:#e8edf4;border:1px solid #dce4ef;border-radius:17px;
  padding:5px;box-shadow:inset 0 1px 2px rgba(30,52,83,.04);
  max-width:100%;
}
.browse-chip{
  border:0;background:transparent;color:#5c6e86;
  min-height:43px;display:inline-flex;gap:8px;align-items:center;justify-content:center;
  white-space:nowrap;padding:0 15px;border-radius:12px;
  font-size:13px;font-weight:650;letter-spacing:-.01em;
  position:relative;transition:color .2s,background .2s,box-shadow .2s,transform .2s;
}
.browse-chip .icon{width:16px;height:16px;stroke-width:2;opacity:.9;flex:none;}
.browse-chip.active{
  background:#fff!important;color:#173756!important;border:0!important;
  box-shadow:0 3px 11px rgba(31,55,94,.14),0 1px 2px rgba(20,45,80,.06);
  font-weight:800;
}
.browse-chip.active .icon{color:#ff693f;opacity:1;}
.browse-chip:hover:not(.active){background:rgba(255,255,255,.58);color:#24476c;}
.browse-chip:focus-visible{outline:2px solid #2e62b2;outline-offset:2px;}
.template-search{height:54px;border-radius:15px;padding:0 16px;box-shadow:0 3px 10px rgba(30,50,75,.03);}
.template-search:focus-within{border-color:#7d9cc5;box-shadow:0 0 0 3px rgba(46,98,178,.10);}
@media(max-width:1080px){
  .browse-chips{width:auto;max-width:100%;}
}
@media(max-width:700px){
 .browse-toolbar{gap:14px;}
 .browse-chips{width:100%;min-width:0;overflow-x:auto;scrollbar-width:none;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:5px;border-radius:15px;}
 .browse-chips::-webkit-scrollbar{display:none;}
 .browse-chip{flex:0 0 auto;scroll-snap-align:start;padding:0 14px;min-height:41px;}
 .template-search{height:48px;}
}
/* Mobile refinements: keep search full height and the Projects icon visible. */
@media(max-width:700px){
 .browse-toolbar .template-search{flex:0 0 48px!important;min-height:48px!important;width:100%;max-width:100%;}
 .site-nav-actions .header-soft-btn > span[data-icon]{display:inline-flex!important;align-items:center;justify-content:center;}
 .site-nav-actions .header-soft-btn > span:not([data-icon]){display:none!important;}
}

/* Creapikto 2.4 — biblioteca modular de Elementos */
#toolDrawer:has(.element-browser){max-height:min(650px,calc(100dvh - var(--editor-toolbar-height,81px) - 68px));}
#toolDrawer:has(.element-browser) .drawer-content{padding:0!important;scrollbar-gutter:auto;scrollbar-width:thin;scrollbar-color:#cbd6e8 transparent;}
.element-browser{padding:0 15px 20px;background:#fff;color:#192c47;}
.element-search-wrap{position:sticky;top:0;z-index:6;background:#fff;display:flex;align-items:center;gap:9px;padding:13px 12px;margin:0 -1px 8px;border:1px solid #e3e9f3;border-radius:13px;box-shadow:0 2px 8px #19355608;}
.element-search-wrap>.icon{width:18px;height:18px;color:#7c8da4;}
.element-search-wrap input{font-size:14px;min-width:0;flex:1;border:0;outline:0;color:#182c45;background:transparent;}
.element-search-wrap input:focus-visible{outline:none;}
.element-search-wrap input::placeholder{color:#98a6b5;}
.element-result-count{font-size:11px;color:#70869c;background:#eff3f9;border-radius:20px;min-width:28px;text-align:center;padding:4px 6px;font-weight:700;}
.element-categories{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;margin:0 -15px;padding:6px 15px 10px;position:sticky;top:57px;background:#fff;z-index:5;}
.element-categories::-webkit-scrollbar{display:none;}
.element-cat{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #e2e8f0;border-radius:20px;color:#5b6f86;background:#f8fafd;font-size:12px;font-weight:700;flex-shrink:0;min-height:37px;transition:.12s ease;}
.element-cat .icon{height:16px;width:16px;}
.element-cat.active{color:#fff;background:#315fae;border-color:#315fae;box-shadow:0 2px 9px #2757a522;}
.element-cat:hover:not(.active){background:#edf3fc;border-color:#bbcfe6;}
.element-hint{font-size:11px;color:#8492a5;line-height:1.55;margin:6px 1px 13px;}
.element-section{margin-top:15px;margin-bottom:20px;}
.element-section-heading{display:flex;align-items:center;gap:7px;margin:0 1px 11px;}
.element-section-heading strong{font-size:13px;font-weight:800;letter-spacing:-.02em;color:#26384e;}
.element-section-heading span{font-size:10px;border-radius:8px;background:#eff4fa;color:#6f8cae;font-weight:800;padding:3px 6px;}
.element-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;}
.element-card{position:relative;min-width:0;border:1px solid #e6ebf2;border-radius:13px;background:#f8fafc;overflow:hidden;transition:.14s ease;}
.element-card:hover{background:#f0f5fc;border-color:#c3d4e9;transform:translateY(-1px);}
.element-add{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;min-height:111px;padding:10px 4px 9px;gap:6px;}
.element-thumb{height:59px;width:100%;max-width:74px;display:grid;place-items:center;}
.element-thumb img{width:54px;height:54px;object-fit:contain;pointer-events:none;}
.element-name{font-size:10px;font-weight:650;line-height:1.25;text-align:center;min-height:24px;max-width:100%;overflow:hidden;}
.element-fave{position:absolute;top:3px;right:3px;width:20px;height:20px;background:#fffffff0;border-radius:50%;display:grid;place-items:center;color:#a3adbe;opacity:0;transition:opacity .1s;}
.element-fave .icon{width:12px;height:12px;}
.element-card:hover .element-fave,.element-fave:focus-visible,.element-fave.is-favorite{opacity:1;}
.element-fave.is-favorite{color:#fb8e39;}
.element-fave.is-favorite svg{fill:#ffd38a;}
.element-no-result{background:#f3f6fb;color:#8492a5;border-radius:12px;text-align:center;font-size:13px;padding:27px 12px;}
@media(max-width:590px){.element-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.element-add{min-height:100px;padding:8px 4px}.element-thumb{height:51px}.element-thumb img{width:44px;height:44px}.element-browser{padding:0 13px 16px}.element-cat{padding:9px 11px}.element-fave{opacity:.85}.element-categories{margin:0 -13px;padding:6px 13px 10px}}

/* Biblioteca ilustrada Creapikto v2.5 — colecciones con miniaturas locales */
.element-browser .element-results{padding-top:4px}
.pack-lead{display:flex;flex-direction:column;gap:5px;margin:9px 0 12px}
.pack-lead strong{font-size:15px;font-weight:820;color:#162a46;letter-spacing:-.3px}
.pack-lead span{font-size:11px;color:#8492a5}
.pack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 24px}
.pack-tile{display:flex;flex-direction:column;overflow:hidden;min-width:0;background:white;border:1px solid #e5eaf2;border-radius:15px;text-align:left;padding:0;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}
.pack-tile:hover{transform:translateY(-2px);border-color:#b5cae5;box-shadow:0 8px 18px #18294210}
.pack-tile:focus-visible{outline:3px solid #9fbce8;outline-offset:2px}
.pack-preview{width:100%;height:105px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:0px;align-items:center;justify-items:center;padding:9px 14px;overflow:hidden}
.pack-preview img{width:48px;height:44px;object-fit:contain;pointer-events:none;filter:drop-shadow(0px 2px 1px #1a324013)}
.pack-details{display:flex;flex-direction:column;gap:4px;padding:10px 11px 12px;width:100%}
.pack-details strong{font-size:12px;line-height:1.25;font-weight:760;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#20354c}
.pack-details span{font-size:11px;color:#8493a7}
.pack-back-wrap{margin:11px 0 20px}
.pack-back{display:inline-flex;align-items:center;gap:6px;color:#3267ac;font-size:12px;font-weight:730;padding:8px 0}
.pack-back .icon{height:16px;width:16px}
.pack-back-wrap h4{font-size:19px;color:#192b44;margin:6px 0 2px;letter-spacing:-.4px}
.pack-back-wrap p{font-size:11px;color:#8493a7;margin:0}
.pack-empty{margin:20px 0;padding:22px 14px;text-align:center;border-radius:13px;background:#f3f7fb;color:#64768d;font-size:12px}
.element-license-note{font-size:10px;text-align:center;color:#94a2b3;margin:20px 1px 0;line-height:1.45;padding-bottom:10px}
.element-license-note a{color:#4a78b3;text-decoration:underline;text-underline-offset:2px}
.element-card:has(.element-add img[src*="ilustraciones/"]){background:#fff;border-color:#eef0f4}
.element-card:has(.element-add img[src*="ilustraciones/"]) .element-thumb{height:61px}
.element-card:has(.element-add img[src*="ilustraciones/"]) .element-thumb img{width:66px;height:61px}
.element-cards .element-name{line-height:1.24}
@media(min-width:860px){.pack-grid{gap:12px}.pack-preview{height:118px}.pack-preview img{width:53px;height:50px}}
@media(max-width:590px){.pack-grid{gap:10px}.pack-preview{height:100px;padding:8px}.pack-preview img{width:43px;height:41px}.pack-details{padding:9px 10px 11px}.element-card:has(.element-add img[src*="ilustraciones/"]) .element-thumb img{width:58px;height:55px}.element-card:has(.element-add img[src*="ilustraciones/"]) .element-thumb{height:55px}}

/* Creapikto v2.6 — Colección original de cumpleaños */
.birthday-category .chip-number{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 4px;border-radius:7px;background:rgba(223,108,77,.12);color:#ed724f;font-size:10px;font-weight:850}.birthday-category.active .chip-number{background:#ffffff30;color:#fff}
.birthday-feature{margin:4px 0 25px;padding:24px 28px 24px 32px;background:linear-gradient(112deg,#fff7ee,#fffdfa 58%,#edf4ff);border:1px solid #f1e4d7;border-radius:19px;display:flex;align-items:center;gap:20px;justify-content:space-between;overflow:hidden;position:relative;box-shadow:0 5px 18px #21304b07}
.birthday-feature:before{content:"";position:absolute;right:-40px;top:-160px;width:280px;height:280px;border-radius:50%;background:#fcd2bb66;pointer-events:none}
.birthday-feature-copy{max-width:480px;position:relative;z-index:1}.birthday-feature-kicker{color:#d96d54;font-size:10px;font-weight:850;letter-spacing:1.8px}.birthday-feature h3{font-size:clamp(23px,2.6vw,32px);letter-spacing:-1px;line-height:1.14;color:#1a2c47;margin:11px 0}.birthday-feature h3 span{color:#eb7558}.birthday-feature p{font-size:13px;line-height:1.5;color:#65788e;max-width:355px;margin:0 0 15px}.birthday-feature-action{background:#f16f51;border:0;border-radius:9px;color:white;font-size:12px;font-weight:850;padding:11px 14px;display:inline-flex;align-items:center;gap:8px}.birthday-feature-action .icon{width:15px;height:15px}.birthday-feature-mosaic{display:flex;align-items:center;gap:9px;flex-shrink:0;transform:rotate(3deg);position:relative;z-index:1;margin-right:9px}.birthday-feature-mosaic img{width:84px;height:106px;object-fit:cover;border-radius:8px;box-shadow:0 7px 15px #21304622;border:3px solid #fff}.birthday-feature-mosaic img:nth-child(2){transform:translateY(10px)}.birthday-feature-mosaic img:nth-child(4){transform:translateY(-8px)}
.birthday-styles{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:0 0 17px;white-space:nowrap}.birthday-styles::-webkit-scrollbar{display:none}.birthday-style-chip{flex:none;font-size:12px;padding:9px 13px;border:1px solid #dce6f1;background:#fff;color:#53677e;border-radius:99px;font-weight:720;transition:background .15s,border-color .15s}.birthday-style-chip:hover{border-color:#cda79c}.birthday-style-chip.active{background:#fff0e9;color:#bd5e49;border-color:#ecc2b4;box-shadow:inset 0 0 0 1px #f6d9cf}
@media(max-width:830px){.birthday-feature-mosaic img{width:63px;height:79px}.birthday-feature{padding:21px}}
@media(max-width:700px){.birthday-feature{padding:21px 18px}.birthday-feature-mosaic{position:absolute;right:-83px;top:12px;opacity:.5;pointer-events:none}.birthday-feature-copy{max-width:100%}.birthday-feature-copy p{max-width:230px}.birthday-feature h3{font-size:25px;max-width:300px}.birthday-styles{margin:0 -15px;padding:0 15px 16px}.birthday-style-chip{font-size:11px;padding:9px 11px}}

/* Creapikto 2.7 editorial premium birthday templates */
.birthday-feature{background:linear-gradient(110deg,#fdf9f4,#f3f5fb 65%,#eff5fa)}.birthday-feature-kicker{color:#d67359}.design-card.birthday-card:hover .design-preview img{transform:translateY(-3px) scale(1.018)}.birthday-card .design-preview img{transition:transform .18s ease}

/* Colección Célebres: identidad editorial, no es copia de plataformas ajenas */
.celebre-feature{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:6px 0 23px;padding:30px 33px;border:1px solid #e3dfe5;border-radius:18px;background:linear-gradient(113deg,#fbf8f2,#f4f2ed 58%,#e9e7ee);overflow:hidden;position:relative}
.celebre-feature>div:first-child{position:relative;z-index:2;max-width:480px}.celebre-kicker{font-size:10px;letter-spacing:2px;font-weight:850;color:#a76a5e}.celebre-feature h3{font-size:clamp(23px,2.6vw,32px);line-height:1.13;letter-spacing:-.8px;color:#27364c;margin:12px 0}.celebre-feature h3 em{font-family:Georgia,serif;font-weight:450;color:#bd7766}.celebre-feature p{margin:0;color:#647287;font-size:13px;line-height:1.6;max-width:410px}.celebre-feature-previews{display:flex;gap:12px;margin-right:8px;transform:rotate(5deg)}.celebre-feature-previews img{width:83px;height:107px;object-fit:cover;border:3px solid #fff;border-radius:9px;box-shadow:0 6px 15px #23344b1b}.celebre-feature-previews img:nth-child(2){transform:translateY(10px) rotate(-9deg)}
.celebre-card .design-preview{background:#f2efef}.celebre-card .design-preview img{transition:transform .2s ease}.celebre-card:hover .design-preview img{transform:scale(1.03)}.celebre-category.active{background:#374663;color:#fff}.celebre-styles .birthday-style-chip.active{color:#7c5367;background:#f5e9eb;border-color:#e7cbd5}
@media(max-width:700px){.celebre-feature{padding:25px 20px;min-height:178px}.celebre-feature h3{max-width:280px;font-size:26px}.celebre-feature p{max-width:230px}.celebre-feature-previews{position:absolute;right:-113px;top:22px;opacity:.36;pointer-events:none}.celebre-feature-previews img{width:69px;height:91px}}

/* Creapikto 3.1 — Página de inicio por colecciones */
.home-collections{display:flex;flex-direction:column;gap:42px;margin:14px 0 28px}
.home-collection{min-width:0}
.home-collection-heading{display:flex;gap:18px;align-items:center;justify-content:space-between;margin:0 0 17px}
.home-collection-eyebrow{display:block;font-size:10px;letter-spacing:1.8px;font-weight:850;color:#eb7654;margin-bottom:7px}
.home-collection-copy h3{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin:0;color:#1b2d46;font-size:clamp(20px,2.15vw,27px);line-height:1.18;letter-spacing:-.55px;font-weight:850}
.home-collection-count{color:#365f9f;background:#e5edf8;border-radius:999px;padding:5px 9px;font-size:12px;letter-spacing:0;line-height:1;font-weight:800}
.home-collection-copy p{margin:7px 0 0;color:#75859b;font-size:12.5px;line-height:1.5}
.home-view-all{flex-shrink:0;display:flex;align-items:center;gap:8px;border:1px solid #cfdaea;border-radius:999px;background:white;color:#235290;padding:11px 14px;font-size:12px;font-weight:800;transition:background .15s,border-color .15s}
.home-view-all:hover{background:#eaf2ff;border-color:#a9c2df}
.home-view-all span{font-size:17px;line-height:1}
.home-collection-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.home-collection-grid .design-card{min-width:0}
#homeCollections.hidden{display:none!important}
#templateGrid.hidden{display:none!important}
@media(min-width:701px) and (max-width:1080px){.home-collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 .home-collections{gap:30px;margin:15px -15px 20px 0}
 .home-collection-heading{margin-right:15px;margin-bottom:12px;gap:8px;align-items:flex-end}
 .home-collection-copy h3{font-size:20px;gap:7px}
 .home-collection-copy p{font-size:11px}
 .home-view-all{padding:9px 11px;font-size:11px}
 .home-collection-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(145px,43vw);grid-template-columns:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;gap:11px;padding:0 16px 13px 0;scrollbar-width:thin;scrollbar-color:#cbd5e3 transparent}
 .home-collection-grid .design-card{scroll-snap-align:start}
}

/* Creapikto 3.2 · Inicio limpio con recomendaciones y exploración por categorías */
.welcome-panel{min-height:205px;padding:24px 38px;margin-bottom:28px}.welcome-panel h1{font-size:clamp(27px,3.05vw,38px)!important;line-height:1.13}.welcome-panel p{max-width:530px!important}.welcome-visual{transform:scale(.77);transform-origin:center right}.section-top h2{font-size:clamp(22px,2.1vw,27px)}
.gallery-screen #homeCollections{display:flex;flex-direction:column;gap:38px;margin:12px 0 22px}.gallery-screen #homeCollections.hidden{display:none!important}
.gallery-screen #browseChips.hidden{display:none!important}
.discovery-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:15px}.discovery-heading h3{margin:4px 0 2px;color:#192e47;font-size:22px;letter-spacing:-.45px;font-weight:850}.discovery-heading p{margin:3px 0 0;color:#78899f;font-size:12px;line-height:1.5}.discovery-kicker{font-size:10px;color:#ec7553;font-weight:850;letter-spacing:1.55px}
.discovery-recommended-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.discovery-recommended-grid .design-card{min-width:0}.discovery-recommended-grid .design-preview{aspect-ratio:1.24/1;background:#f1f4f9;padding:12px}.discovery-recommended-grid .design-preview img{object-fit:contain;max-height:218px;box-shadow:0 5px 11px #17253a19}.discovery-recommended-grid .design-card-footer{min-height:60px}.discovery-recommended-grid .design-card strong{font-size:12px}
.discovery-categories-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.discovery-category{min-width:0;position:relative;display:grid;grid-template-columns:1fr 18px;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid #e1e6ee;border-radius:15px;padding:10px 12px 12px;transition:transform .18s ease, box-shadow .18s ease;min-height:139px}.discovery-category:hover{transform:translateY(-3px);box-shadow:0 12px 22px #19334f12;border-color:#bcd0e8}.discovery-category-art{position:relative;display:block;grid-column:1/-1;height:75px;overflow:hidden;background:linear-gradient(135deg,#e9f1fb,#f9f2ee);border-radius:10px}.discovery-category-art img{position:absolute;width:75px;height:72px;object-fit:contain;border-radius:4px;box-shadow:0 5px 12px #192a3f24;top:3px;background:#fff}.discovery-category-art img.dca-0{left:15%;transform:rotate(-9deg)}.discovery-category-art img.dca-1{left:39%;transform:rotate(3deg)}.discovery-category-art img.dca-2{left:61%;transform:rotate(9deg)}
.discovery-category-name{color:#1d334e;font-size:12.5px;font-weight:850;line-height:1.28;min-width:0}.discovery-category-count{display:block;margin-top:4px;font-size:10px;font-weight:550;color:#8998aa}.discovery-category-arrow{color:#3470b8;display:flex;justify-content:center}.discovery-category-arrow .icon{width:16px;height:16px}
.discovery-season-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.back-to-home{border:1px solid #d7e3f0;background:#fff;border-radius:999px;color:#2864a5;padding:9px 13px;font-weight:800;font-size:12px;margin:0 0 13px}.back-to-home:hover{background:#f0f6fd}.back-to-home.hidden{display:none!important}
.browse-toolbar{justify-content:space-between!important}.browse-toolbar .template-search{max-width:420px!important}
.template-grid .pro-card .design-preview img{object-fit:contain!important}.template-grid .pro-card .design-preview{aspect-ratio:4/5;padding:12px}
.canvas-wrap{width:min(100%,calc((100dvh - 220px)*var(--board-ratio, .8)))!important;aspect-ratio:var(--board-ratio,.8)!important;max-width:min(840px,100%)}
@media(min-width:860px){.canvas-wrap{width:min(100%,calc((100dvh - 195px)*var(--board-ratio,.8)))!important;max-width:min(830px,100%)}}
@media(max-width:880px){.discovery-categories-grid,.discovery-season-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.discovery-recommended-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.welcome-panel{min-height:190px;padding:22px 19px}.welcome-panel h1{font-size:29px!important}.welcome-visual{transform:scale(.65);right:-112px;top:5px;opacity:.23}.gallery-screen #homeCollections{gap:31px}.discovery-heading h3{font-size:20px}.discovery-recommended-grid{grid-auto-flow:column;grid-auto-columns:42vw;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding-bottom:9px;scrollbar-width:none}.discovery-recommended-grid::-webkit-scrollbar{display:none}.discovery-recommended-grid .design-card{scroll-snap-align:start}.discovery-recommended-grid .design-preview{aspect-ratio:4/5;padding:8px}.discovery-recommended-grid .design-preview img{height:100%}.discovery-categories-grid,.discovery-season-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.discovery-category{min-height:131px;padding:8px 9px 9px}.discovery-category-art{height:73px}.discovery-category-art img{width:65px;height:67px}.discovery-category-name{font-size:11.5px}.section-top h2{font-size:22px}}

/* Creapikto 3.4: thumbnail vivo idéntico en estructura al lienzo. */
.design-card.logo-card .design-preview{aspect-ratio:4/5;background:#eaf0f7;position:relative}
.design-card.logo-card .design-preview>.preview-fallback{display:none!important}
.design-card.logo-card .logo-live-preview{container-type:inline-size;position:relative;display:block;width:100%;aspect-ratio:1;max-height:100%;overflow:hidden;border-radius:5px;box-shadow:0 5px 12px #13253d18;isolation:isolate;flex-shrink:0}
.logo-live-preview .live-logo-layer{position:absolute;box-sizing:border-box;transform-origin:center center}
.logo-live-preview .live-logo-layer img{display:block;width:100%;height:100%;object-fit:cover;max-height:none!important;box-shadow:none!important;border-radius:0!important;transform:none!important;pointer-events:none}
.logo-live-preview .live-logo-text{display:flex;align-items:center;line-height:1.05;white-space:pre-wrap;word-break:break-word;overflow:visible;min-width:0}
.discovery-recommended-grid .design-card.logo-card .design-preview{aspect-ratio:1.24/1}
@media(max-width:700px){.discovery-recommended-grid .design-card.logo-card .design-preview{aspect-ratio:4/5}}

/* Creapikto 3.6 — Biblioteca curada, sin saturación de diseños genéricos */
.template-section .section-top h2{letter-spacing:-.65px}
.gallery-screen .welcome-panel{min-height:230px!important;padding:29px 46px!important;background:linear-gradient(120deg,#fff 0%,#faf5f0 60%,#fff2e7 100%)!important;border:1px solid #eaded0!important}
.gallery-screen .welcome-panel h1{font-size:clamp(29px,3.0vw,41px)!important;line-height:1.13}
.gallery-screen .welcome-panel p{max-width:500px}
.gallery-screen .welcome-visual{opacity:.7;transform:scale(.79);right:12px}
.gallery-screen .template-section{margin-top:8px}
.template-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}
.template-grid .pro-card .design-preview,.template-grid .design-card .design-preview{aspect-ratio:var(--preview-aspect, 4/5)!important;padding:0!important;background:#f1f3f7!important;max-height:330px;position:relative;overflow:hidden}
.template-grid .pro-card .design-preview img,.template-grid .design-preview>img{width:100%;height:100%;max-height:none;object-fit:cover!important;border-radius:0!important;box-shadow:none!important}
.template-grid .design-card{border-radius:16px;box-shadow:0 8px 25px #1825420c}
.template-grid .design-card-footer{padding:13px 14px;min-height:66px}
.template-grid .design-card strong{font-size:13px}
.template-grid .design-card small{font-size:11px}
.template-grid .curated-card:hover{transform:translateY(-4px)}
.template-grid .legacy-card{filter:saturate(.82)}
.template-grid .curated-card .design-preview .preview-fallback{display:none!important}
.template-grid .design-card.curated-card .logo-live-preview{display:block;position:relative;container-type:inline-size;width:100%;height:100%;max-height:none;aspect-ratio:var(--preview-aspect);overflow:hidden;border-radius:0;box-shadow:none}
.template-grid .design-card.curated-card .live-logo-layer{position:absolute;box-sizing:border-box;transform-origin:center center}
.template-grid .design-card.curated-card .live-logo-layer img{width:100%;height:100%;max-height:none;object-fit:cover}
.template-grid .design-card.curated-card .live-logo-text{white-space:pre-wrap;line-height:1.05;display:flex;align-items:center;word-break:break-word;overflow:visible}
.discover-header{display:flex}
.discov-recommended .design-card{border-radius:15px}
.discovery-recommended-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.discovery-recommended-grid .design-preview{background:#f1f4f6!important;aspect-ratio:1/1!important;padding:0!important;overflow:hidden;position:relative}
.discovery-recommended-grid .curated-card .design-preview .preview-fallback{display:none!important}
.discovery-recommended-grid .curated-card .logo-live-preview{container-type:inline-size;width:100%;height:100%;aspect-ratio:1;overflow:hidden;position:relative;box-shadow:none;display:block;}
.discovery-recommended-grid .curated-card .live-logo-layer{position:absolute;box-sizing:border-box;transform-origin:center center}
.discovery-recommended-grid .curated-card .live-logo-layer img{width:100%;height:100%;object-fit:cover;max-height:none;box-shadow:none;border-radius:0}
.discovery-recommended-grid .curated-card .live-logo-text{white-space:pre-wrap;line-height:1.05;display:flex;align-items:center;word-break:break-word;overflow:visible}
.discovery-categories-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.discovery-category{min-height:128px;background:#fff;border:1px solid #e2e6ee;border-radius:16px;overflow:hidden}
.discovery-category-art{height:66px;background:linear-gradient(130deg,#e9eef6,#fff3ea);overflow:hidden}
.discovery-category-art img{object-fit:cover;height:82px;width:105px;top:-6px}
.gallery-screen .discovery-kicker{color:#e86e4d}
.archive-toolbar{display:flex;justify-content:flex-end;margin:9px 0 11px}
.archive-toggle{padding:10px 16px;border-radius:10px;border:1px solid #d9e1e9;background:#fff;color:#52667b;font-size:12px;font-weight:700}
.archive-toggle:hover{background:#f0f3f8;color:#1c4d83}
@media(max-width:1100px){.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.gallery-screen .welcome-panel{min-height:205px!important;padding:24px 20px!important}.gallery-screen .welcome-visual{opacity:.17;right:-115px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.template-grid .design-preview{max-height:none}.discovery-recommended-grid{grid-auto-columns:66vw;grid-template-columns:none;grid-auto-flow:column;overflow-x:auto;gap:12px}.discovery-recommended-grid .design-preview{aspect-ratio:1.1/1!important}.discovery-categories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-toolbar{margin:10px 0}}

/* Selección horizontal, legible y sin miniaturas aplastadas. */
.discovery-recommended-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.discovery-recommended-grid .design-preview{aspect-ratio:16/9!important;padding:0!important;overflow:hidden;background:#eceff4!important}
.discovery-recommended-grid .curated-card .logo-live-preview{aspect-ratio:16/9!important;height:100%;width:100%}
.discovery-recommended-grid .design-card-footer{min-height:58px}
.discovery-category-art img.dca-0{left:21%;width:100px;height:85px}
.discovery-category-art img.dca-1{left:52%;width:100px;height:85px}
.discovery-categories-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:700px){.discovery-recommended-grid{grid-auto-columns:84vw;grid-template-columns:none;grid-auto-flow:column}.discovery-recommended-grid .design-preview{aspect-ratio:16/9!important}.discovery-recommended-grid .curated-card .logo-live-preview{aspect-ratio:16/9!important}}

@media(max-width:700px){
 .gallery-screen .welcome-visual{display:none!important}
 .gallery-screen .welcome-panel{min-height:auto!important}
 .discovery-categories-grid,.discovery-season-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
 .discovery-category{min-height:127px!important;padding:9px 10px!important}
 .discovery-category-art{height:67px!important}
 .discovery-category-name{font-size:12px!important}
 .discovery-category-count{font-size:10px!important}
 .gallery-screen .welcome-panel h1{font-size:30px!important;max-width:95%}
 .site-content{padding-left:14px;padding-right:14px}
}

/* Creapikto: portada por categorías con carruseles de plantillas */
.gallery-screen #homeCollections{gap:35px!important;margin:20px 0 35px!important}
.cp-home-row{min-width:0;width:100%;}
.cp-home-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 13px}
.cp-home-heading h3{font-size:22px;line-height:1.2;color:#18283e;letter-spacing:-.45px;margin:0 0 5px;font-weight:800}
.cp-home-heading p{font-size:12px;color:#77869b;margin:0}
.cp-home-viewall{color:#142a4a;font-size:13px;font-weight:750;text-decoration:none;white-space:nowrap;padding:10px 4px}
.cp-home-viewall:hover{text-decoration:underline;color:#2763bf}
.cp-home-viewport{width:100%;overflow:hidden}
.cp-home-rail{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#c5d0df transparent;padding:0 1px 12px;overscroll-behavior-inline:contain}
.cp-home-rail>.design-card{flex:0 0 clamp(175px,18vw,245px);min-width:0;max-width:245px;scroll-snap-align:start;display:flex!important;flex-direction:column;overflow:hidden;border-radius:13px}
.cp-home-rail>.design-card .design-preview{width:100%;aspect-ratio:1/1!important;max-height:none!important;min-height:0!important;padding:0!important;background:#f3f5f9;overflow:hidden}
.cp-home-rail>.design-card .design-preview>img{display:block;width:100%;height:100%;max-height:none!important;object-fit:cover!important;box-shadow:none!important}
.cp-home-rail>.design-card.logo-card .design-preview>img{object-fit:contain!important}
.cp-home-rail>.design-card .logo-live-preview{width:100%;height:100%;aspect-ratio:1/1!important;container-type:inline-size;position:relative}
.cp-home-rail>.design-card .design-card-footer{min-height:58px}
@media(max-width:700px){.gallery-screen #homeCollections{gap:26px!important}.cp-home-heading h3{font-size:19px}.cp-home-rail{gap:11px}.cp-home-rail>.design-card{flex-basis:59vw;max-width:230px}.cp-home-heading p{font-size:11px}}

/* Navegación visible en los carruseles de la portada */
.cp-home-viewport{position:relative!important;overflow:visible!important}
.cp-home-arrow{position:absolute;z-index:12;top:calc(50% - 27px);width:54px;height:54px;display:flex;align-items:center;justify-content:center;border:2px solid #d5deed;border-radius:50%;background:#fff;color:#15345e;font-size:27px;font-weight:800;box-shadow:0 5px 22px rgba(15,38,70,.25);cursor:pointer;transition:background .15s,transform .15s,box-shadow .15s;line-height:1;padding:0}
.cp-home-arrow-next{right:8px}.cp-home-arrow-prev{left:8px}
.cp-home-arrow:hover:not(:disabled){background:#eaf2ff;transform:scale(1.07);box-shadow:0 7px 25px rgba(15,38,70,.32)}
.cp-home-arrow:focus-visible{outline:3px solid #327bff;outline-offset:3px}
.cp-home-arrow:disabled,.cp-home-arrow[hidden]{display:none!important}
@media(max-width:700px){.cp-home-arrow{width:46px;height:46px;font-size:23px;top:calc(50% - 23px)}.cp-home-arrow-next{right:4px}.cp-home-arrow-prev{left:4px}}
