/* Trofa — Boletim em flipbook 1.2.0 */
.stf__parent{position:relative;display:block;box-sizing:border-box;transform:translateZ(0);touch-action:pan-y}
.sft__wrapper{position:relative;width:100%;box-sizing:border-box}
.stf__parent canvas{position:absolute;width:100%;height:100%;left:0;top:0}
.stf__block{position:absolute;width:100%;height:100%;box-sizing:border-box;perspective:2000px}
.stf__item{display:none;position:absolute;transform-style:preserve-3d}
.stf__outerShadow,.stf__innerShadow,.stf__hardShadow,.stf__hardInnerShadow{position:absolute;left:0;top:0}
html.tfb-lock,html.tfb-lock body{overflow:hidden!important}
.tfb{--tfb-navy:#162844;--tfb-gold:#ffdd00;box-sizing:border-box;display:flex;flex-direction:column;color:#fff;font-family:inherit;outline:0}
.tfb *,.tfb *:before,.tfb *:after{box-sizing:border-box}
.tfb-modal{position:fixed;inset:0;z-index:100000;background:radial-gradient(ellipse at 50% 40%,#22395f 0%,#0f1d33 70%);opacity:0;transition:opacity .25s ease}
.tfb-modal.tfb-open{opacity:1}
.tfb-inline{position:relative;width:100%;height:min(78vh,760px);min-height:420px;border-radius:18px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#22395f 0%,#0f1d33 75%)}
.tfb-bar{display:flex;align-items:center;gap:14px;padding:12px 16px;min-height:60px;background:#0b1628cc;backdrop-filter:blur(8px);z-index:3}
.tfb-title{font-weight:700;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1 1 auto}
.tfb-count{font-size:13px;color:#c9d3e1;white-space:nowrap;font-variant-numeric:tabular-nums}
.tfb-tools{display:flex;gap:6px;flex:0 0 auto}
.tfb .tfb-btn{width:40px;height:40px;border-radius:50%;border:1px solid #ffffff33;background:#ffffff14;color:#fff;display:inline-grid;place-items:center;cursor:pointer;padding:0;margin:0;transition:background .2s,transform .2s;text-decoration:none;line-height:1;box-shadow:none}
.tfb .tfb-btn:hover,.tfb .tfb-btn:focus-visible{background:var(--tfb-gold);color:var(--tfb-navy);border-color:var(--tfb-gold);outline:0}
.tfb .tfb-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tfb .tfb-dl{background:var(--tfb-gold);color:var(--tfb-navy);border-color:var(--tfb-gold)}
.tfb-stage{position:relative;flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.tfb-book{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.tfb-flip{margin:0 auto;filter:drop-shadow(0 22px 40px #0008)}
.tfb-page{background:#fff;overflow:hidden}
.tfb-spread .tfb-page{position:relative}
.tfb-page canvas.tfb-canvas{position:absolute;inset:0;width:100%!important;height:100%!important;display:block}
.tfb-ph{position:absolute;inset:0;background:linear-gradient(100deg,#f1f4f8 30%,#fbfcfd 50%,#f1f4f8 70%) 0 0/300% 100%;animation:tfb-sh 1.4s linear infinite}
@keyframes tfb-sh{to{background-position:-300% 0}}
.tfb .tfb-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;z-index:4;background:#0b1628aa}
.tfb .tfb-nav:disabled{opacity:.25;cursor:default;pointer-events:none}
.tfb-prev{left:14px}.tfb-next{right:14px}
.tfb-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;z-index:5;font-size:14px;color:#dbe3ee;text-align:center;padding:20px}
.tfb-loading[hidden]{display:none}
.tfb-spin{width:42px;height:42px;border-radius:50%;border:3px solid #ffffff2a;border-top-color:var(--tfb-gold);animation:tfb-rot .9s linear infinite}
@keyframes tfb-rot{to{transform:rotate(360deg)}}
.tfb-prog{width:180px;height:4px;border-radius:4px;background:#ffffff22;overflow:hidden}.tfb-prog i{display:block;height:100%;width:0;background:var(--tfb-gold);transition:width .2s}
.tfb .tfb-fallback{display:inline-block;background:var(--tfb-gold);color:var(--tfb-navy);font-weight:700;border-radius:999px;padding:10px 20px;text-decoration:none}
.tfb-hint{text-align:center;font-size:12px;color:#9fb0c6;padding:8px 12px 12px}
.tfb-ready .tfb-hint{animation:tfb-fade 1s 4s forwards}@keyframes tfb-fade{to{opacity:0}}
.tfb-zoomlayer{position:absolute;inset:0;overflow:auto;z-index:4;background:#0f1d33;cursor:grab;-webkit-overflow-scrolling:touch}
.tfb-zoomlayer[hidden]{display:none}.tfb-zoomlayer.tfb-drag{cursor:grabbing}
.tfb-zrow{display:flex;gap:2px;width:max-content;margin:auto;padding:16px}
.tfb-zpage canvas{display:block;background:#fff;height:auto}
.tfb-zoomed .tfb-nav{display:none}
/* modo simples (reduzir movimento) */
.tfb-simple{display:flex;width:100%;height:100%;transition:transform .3s ease}
.tfb-spread{flex:0 0 100%;display:flex;align-items:center;justify-content:center;gap:0;filter:drop-shadow(0 18px 30px #0007)}
@media (prefers-reduced-motion:reduce){.tfb-simple{transition:none}.tfb-ph,.tfb-spin{animation-duration:3s}.tfb-modal{transition:none}}
.tfb:fullscreen{background:#0f1d33}
@media (max-width:760px){.tfb-bar{padding:8px 10px;gap:8px;min-height:54px}.tfb-title{font-size:13px}.tfb-count{display:none}.tfb .tfb-btn{width:36px;height:36px}.tfb .tfb-nav{width:40px;height:40px;top:auto;bottom:10px;transform:none}.tfb-prev{left:10px}.tfb-next{right:10px}.tfb-hint{padding-bottom:10px}.tfb-inline{height:80vh}}
/* cartão/botão do shortcode */
.trofa-boletim-card{display:inline-flex;align-items:center;gap:12px;padding:12px 18px;border-radius:14px;border:1px solid #e2e7ee;background:#fff;color:#162844;text-decoration:none;font-weight:700}
.trofa-boletim-card .pdf-tag{background:#ffdd00;color:#162844;border-radius:8px;padding:6px 8px;font-size:11px}
.trofa-flipbook{width:100%;min-height:420px;border-radius:18px;background:#0f1d33}
.trofa-flipbook noscript a,.trofa-flipbook>a{color:#fff}
