/* Historias de la carta (compartido). Cada marca define: --st-bg --st-ink --st-card --st-mut --st-line --st-acc --st-acc-ink --st-hfont --st-bfont */
.st-band{background:var(--st-bg);color:var(--st-ink);padding:clamp(40px,6vw,84px) max(5vw,16px)}
.st-in{max-width:1240px;margin:0 auto}
.st-top{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.st-top h2{margin:0;font:clamp(36px,4.6vw,52px)/1.02 var(--st-hfont);text-wrap:balance}
.st-top p{margin:8px 0 0;max-width:56ch;color:var(--st-mut);font-size:17px}
.st-nav{display:flex;gap:8px}.st-nav button{width:48px;height:48px;border-radius:99px;border:1.5px solid var(--st-line);background:var(--st-card);color:var(--st-ink);font-size:20px;cursor:pointer}
.st-rail{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 14px;scrollbar-width:thin}
.st-card{flex:none;width:min(320px,82vw);scroll-snap-align:start;display:flex;flex-direction:column;border-radius:22px;background:var(--st-card);color:var(--st-ink);border:1.5px solid var(--st-line);overflow:hidden;text-align:left;font:inherit;cursor:pointer;padding:0;transition:transform .2s}
.st-card:hover{transform:translateY(-4px)}
.st-pic{position:relative;height:190px;display:grid;place-items:center;overflow:hidden;background:var(--st-pic,radial-gradient(circle at 50% 65%,rgba(255,255,255,.6),rgba(0,0,0,.06) 75%))}
.st-pic img{position:absolute;left:7%;top:7%;width:86%;height:86%;object-fit:contain;filter:drop-shadow(0 12px 10px rgba(0,0,0,.3))}
.st-pic img.cover{left:0;top:0;width:100%;height:100%;object-fit:cover;filter:none}
.st-kick{position:absolute;z-index:1;left:12px;top:12px;padding:4px 10px;border-radius:99px;background:var(--st-acc);color:var(--st-acc-ink);font:800 12px var(--st-bfont)}
.st-tx{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.st-tx h3{margin:0;font:22px/1.1 var(--st-hfont)}.st-tx p{margin:0;color:var(--st-mut);font-size:15px;line-height:1.45;flex:1}
.st-more{font-weight:800;font-size:14px;color:var(--st-ink);text-decoration:underline;text-underline-offset:4px}
.st-own{border-style:dashed;background:transparent}
.st-own .st-pic{background:transparent;border-bottom:1.5px dashed var(--st-line)}
.st-own .st-plus{width:64px;height:64px;border-radius:99px;display:grid;place-items:center;background:var(--st-acc);color:var(--st-acc-ink);font-size:34px;font-weight:300}
.st-note{margin:6px 0 0;font-size:13px;color:var(--st-mut)}
/* lector y editor */
.st-bg{position:fixed;inset:0;z-index:85;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;padding:16px}
.st-bg.on{display:flex}
.st-box{position:relative;width:min(620px,100%);max-height:92svh;overflow:auto;border-radius:24px;background:var(--st-card);color:var(--st-ink);font-family:var(--st-bfont)}
.st-box .st-pic{height:240px}
.st-body{padding:20px 24px 24px}.st-body h3{margin:6px 0 10px;font:30px/1.05 var(--st-hfont)}
.st-body p{margin:0 0 12px;font-size:17px;line-height:1.6}
.st-body .st-kick{position:static;display:inline-block}
.st-x{position:absolute;right:12px;top:12px;z-index:2;width:44px;height:44px;border-radius:99px;border:0;background:rgba(255,255,255,.9);color:#111;font-size:18px;cursor:pointer}
.st-go{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.st-btn{min-height:48px;padding:0 20px;border-radius:99px;border:0;background:var(--st-acc);color:var(--st-acc-ink);font:800 15px var(--st-bfont);cursor:pointer}
.st-btn.alt{background:transparent;color:var(--st-ink);box-shadow:inset 0 0 0 1.5px var(--st-line)}
.st-form{display:grid;gap:12px}.st-form label{display:grid;gap:6px;font-weight:700;font-size:14px}
.st-form input,.st-form textarea{font:16px var(--st-bfont);padding:12px 14px;border-radius:12px;border:1.5px solid var(--st-line);background:transparent;color:var(--st-ink)}
.st-form textarea{min-height:140px;resize:vertical}
.st-form .st-file{display:flex;align-items:center;gap:12px}.st-form .st-file img{width:64px;height:64px;border-radius:12px;object-fit:cover}
.st-del{background:none;border:0;color:var(--st-mut);text-decoration:underline;cursor:pointer;font:600 14px var(--st-bfont);padding:0}
@media (prefers-reduced-motion:reduce){.st-card{transition:none}}
