/* Galería pública: todas las plantillas comparten escala, estructura y acciones. */
.tulnk-public-gallery .template-gallery-live{container-type:inline-size;overflow:hidden;position:relative}.tulnk-public-gallery .template-gallery-live iframe{display:block;width:390px;height:737px;max-width:none;border:0;transform:scale(calc(100cqw / 390px));transform-origin:top left;pointer-events:none}
.tulnk-public-gallery .launch-gallery-filters[data-live-ready]{grid-template-columns:minmax(0,1fr) minmax(0,240px) auto}
.tulnk-public-gallery .launch-gallery-filters .live-search-status{order:5}
@media(max-width:720px){.tulnk-public-gallery .launch-gallery-filters[data-live-ready]{grid-template-columns:minmax(0,1fr)} }
.tulnk-public-gallery .launch-gallery-page{padding-block:32px 56px}
.tulnk-public-gallery .launch-gallery-heading{margin-bottom:24px}
.tulnk-public-gallery .launch-gallery-heading h1{font-size:clamp(28px,3.2vw,40px);margin:0 0 12px;line-height:1.18}
.tulnk-public-gallery .launch-gallery-heading p{max-width:640px;margin:0;font-size:14px;line-height:1.65;color:#58645e}
.tulnk-public-gallery .launch-gallery-layout{display:block}
.tulnk-public-gallery .launch-gallery-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,240px) auto auto;gap:16px;align-items:end;position:static;margin-bottom:20px}
.tulnk-public-gallery .launch-gallery-filters label{display:grid;gap:7px;font-size:12px;font-weight:600;color:#435049}
.tulnk-public-gallery .launch-gallery-filters input,.tulnk-public-gallery .launch-gallery-filters select{min-height:44px;border:1px solid #d7ddd8;border-radius:9px;padding:9px 12px;background:#fff;color:#202d26;font:inherit;font-size:14px}
.tulnk-public-gallery .launch-gallery-filters .launch-button{min-height:44px;padding:10px 22px}
.tulnk-public-gallery .launch-gallery-filters>a{display:flex;align-items:center;min-height:44px;padding:10px 0;font-size:12px;font-weight:600}
.tulnk-public-gallery .template-gallery-count{margin:0 0 20px;font-size:12px;color:#58645e}
.tulnk-public-gallery .launch-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;max-width:none;margin:0}
.tulnk-public-gallery .launch-gallery-card{display:flex;flex-direction:column;min-width:0}
.tulnk-public-gallery .template-gallery-preview{display:block}
.tulnk-public-gallery .design-frame{width:100%;aspect-ratio:9/17;border-radius:16px;border:1px solid #d7ddd8}
.tulnk-public-gallery .template-gallery-reference{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.tulnk-public-gallery .launch-gallery-card h2{margin:14px 0 4px;font-size:16px;line-height:1.3;font-weight:650}
.tulnk-public-gallery .template-gallery-meta{min-height:36px;margin:0 0 12px;font-size:12px;line-height:1.5;color:#58645e}
.tulnk-public-gallery .template-gallery-meta span{white-space:nowrap}
.tulnk-public-gallery .template-gallery-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}
.tulnk-public-gallery .template-gallery-actions a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 8px;border:1px solid #d7ddd8;border-radius:9px;font-size:12px;font-weight:650;text-align:center;line-height:1.4;text-decoration:none}
.tulnk-public-gallery .template-gallery-actions .template-gallery-use{background:#254d3b;color:#fff;border-color:#254d3b}
.tulnk-public-gallery .template-gallery-actions .template-gallery-use:hover{background:#173b2b}
.tulnk-public-gallery .template-gallery-actions .template-gallery-view{background:#fff;color:#254d3b}
.tulnk-public-gallery .template-gallery-actions .template-gallery-view:hover{background:#edf2ee}
.tulnk-public-gallery .template-gallery-empty{grid-column:1/-1;padding:36px 20px;background:#fff;border:1px solid #d7ddd8;border-radius:12px;text-align:center}
.tulnk-public-gallery .template-gallery-empty h2{font-size:20px;margin:0 0 10px}
.tulnk-public-gallery .template-gallery-empty p{font-size:14px;color:#58645e}
.tulnk-public-gallery .template-gallery-empty a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
@media(max-width:1000px){.tulnk-public-gallery .launch-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}.tulnk-public-gallery .template-gallery-actions{grid-template-columns:1fr}}
@media(max-width:650px){.tulnk-public-gallery .launch-gallery-page{padding-block:24px 40px}.tulnk-public-gallery .launch-gallery-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:16px}.tulnk-public-gallery .launch-gallery-filters input,.tulnk-public-gallery .launch-gallery-filters select{font-size:16px;max-width:100%;padding:9px}.tulnk-public-gallery .launch-gallery-filters .launch-button{grid-column:auto}.tulnk-public-gallery .launch-gallery-filters>a{justify-content:center}.tulnk-public-gallery .launch-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}.tulnk-public-gallery .launch-gallery-card h2{font-size:15px;margin-top:12px}.tulnk-public-gallery .template-gallery-meta{font-size:11px;min-height:33px;margin-bottom:10px}.tulnk-public-gallery .template-gallery-actions{gap:6px}.tulnk-public-gallery .template-gallery-actions a{font-size:12px}.tulnk-public-gallery .design-frame{border-radius:12px}}
@media(prefers-reduced-motion:reduce){.tulnk-public-gallery .design-frame:hover{transform:none;transition:none}}
@media(max-width:650px){
  .tulnk-public-gallery .launch-nav{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;min-height:0;height:auto;padding-block:12px}
  .tulnk-public-gallery .launch-nav>a:first-child{grid-column:1;grid-row:1;min-width:0}
  .tulnk-public-gallery .launch-nav .brand-logo{width:108px;height:38px}
  .tulnk-public-gallery .launch-nav .launch-login{grid-column:2;grid-row:1;min-width:0;min-height:44px;gap:5px;font-size:11px;white-space:nowrap;margin:0;padding:0}
  .tulnk-public-gallery .launch-nav .launch-login svg{width:16px;height:16px}
  .tulnk-public-gallery .launch-nav nav{grid-column:1/-1;grid-row:2;display:flex;justify-content:flex-start;gap:24px!important;width:auto;margin:0;padding:0;height:auto;min-height:0}
  .tulnk-public-gallery .launch-nav nav a{min-height:34px;font-size:12px!important}
}
