/* ========================================================================
   SAINTFORO CINEMATIC v2 | estilo coordinado con SaintShop - 22/11/2026
   Capa visual para phpBB2 GuildWarsAlliance / SaintMU.
   Conserva rutas, variables de template, permisos, chat, publicaciones, etc.
   ======================================================================== */
:root {
  --sf-bg: #080b0d;
  --sf-panel: #12171a;
  --sf-panel-alt: #192020;
  --sf-card: #1b211f;
  --sf-rim: rgba(148,104,62,.55);
  --sf-rim-soft: rgba(178,137,88,.23);
  --sf-gold: #efc993;
  --sf-gold-hi: #ffe3af;
  --sf-cream: #eee5d5;
  --sf-muted: #b7b5b0;
  --sf-copper: #a46636;
  --sf-shadow: 0 16px 36px rgba(0,0,0,.32);
}
html {scroll-behavior:smooth}
body.saint-eco-forum {
  min-width:0;
  max-width:100%;
  margin:0 !important;
  color:var(--sf-cream);
  background:radial-gradient(ellipse 62% 38% at 50% 110px,rgba(103,57,30,.13),transparent 70%),
    repeating-linear-gradient(132deg,rgba(255,255,255,.008) 0,rgba(255,255,255,.008) 2px,transparent 2px,transparent 5px),
    #0a0b0b !important;
  font:13px/1.55 Arial,Helvetica,sans-serif;
}
body.saint-eco-forum *,body.saint-eco-forum *::before,body.saint-eco-forum *::after {box-sizing:border-box}
body.saint-eco-forum a:focus-visible,body.saint-eco-forum button:focus-visible,
body.saint-eco-forum input:focus-visible,body.saint-eco-forum textarea:focus-visible,
body.saint-eco-forum select:focus-visible{outline:2px solid #edc077;outline-offset:2px}
body.saint-eco-forum .center.sf-forum-outer {
  display:block !important;
  width:min(1540px,calc(100% - 40px)) !important;
  max-width:1540px !important;
  min-width:0 !important;
  padding:20px 0 40px !important;
  margin:0 auto !important;
  text-align:left !important;
  background:transparent !important;
}
body.saint-eco-forum .sf-forum-frame {
  width:100%;min-width:0;overflow:visible;
  border:1px solid rgba(158,112,70,.42);
  border-radius:13px;
  background:linear-gradient(150deg,#161a1b 0%,#0b1011 82%);
  box-shadow:0 22px 65px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,218,156,.07);
}
/* ---------------- Portada SaintForo: ilustración nueva, logo real, texto HTML ---------------- */
body.saint-eco-forum .sf-hero {
  position:relative;isolation:isolate;
  min-height:360px;
  height:clamp(360px,34vw,500px);
  overflow:hidden;
  border-radius:12px 12px 0 0;
  border-bottom:1px solid rgba(198,142,80,.54);
  background:#090c11;
}
body.saint-eco-forum .sf-hero-picture{
  position:absolute;top:0;right:0;left:auto;bottom:auto;z-index:-3;
  display:block;object-fit:contain;object-position:right center;
  width:auto;height:100%;max-width:none;max-height:none;
  min-width:0;min-height:0;border:0;padding:0;margin:0;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.5) 10%,#000 28%);
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.5) 10%,#000 28%);
  transition:transform .55s cubic-bezier(.22,.7,.3,1),filter .55s ease;
}
@media(hover:hover) and (pointer:fine){
  body.saint-eco-forum .sf-hero:hover .sf-hero-picture{transform:scale(1.015);filter:saturate(1.06)}
}
body.saint-eco-forum .sf-hero-shade {
  position:absolute;inset:0;z-index:-2;
  background:linear-gradient(90deg,#0b0d11 0%,#0b0d11 23%,rgba(11,13,17,.98) 31%,rgba(11,13,17,.9) 38%,rgba(11,13,17,.64) 44%,rgba(11,13,17,.12) 57%,transparent 72%),
             linear-gradient(0deg,rgba(0,0,0,.08),transparent 30%);
  pointer-events:none;
}
body.saint-eco-forum .sf-hero-content{
  position:relative;z-index:1;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  width:49%;max-width:680px;height:100%;
  padding:0 clamp(22px,2.6vw,44px);pointer-events:none;
}
body.saint-eco-forum .sf-accent-line {
  display:block;width:64px;height:2px;flex:0 0 2px;margin-bottom:24px;
  background:linear-gradient(90deg,#c68750 0%,#c68750 68%,rgba(198,135,80,.22) 69%);
  box-shadow:0 0 17px rgba(255,178,99,.16);
}
body.saint-eco-forum .sf-kicker{
  color:#e0ad65;letter-spacing:1.5px;font:800 11px/1.5 Arial,sans-serif;
  text-transform:uppercase;
}
body.saint-eco-forum .sf-hero-heading{
  margin:11px 0 14px;
  font:700 clamp(29px,3.25vw,49px)/1.14 Georgia,'Times New Roman',serif;
  color:#f9d79b;letter-spacing:.2px;white-space:nowrap;
  text-shadow:0 2px 5px #000,0 0 18px rgba(234,181,110,.16);
}
body.saint-eco-forum .sf-hero-heading em{
  display:inline-block;margin-left:8px;vertical-align:middle;
  color:#f5dfb9;font:750 clamp(11px,1vw,15px)/1.2 Arial,sans-serif;
  font-style:normal;letter-spacing:.1em;
}
body.saint-eco-forum .sf-hero-subtitle {
  margin:0;max-width:none;color:#ead1ad;
  font:400 clamp(13px,1.25vw,17px)/1.5 Arial,sans-serif;
  text-shadow:0 2px 5px #000;
}
/* ---------------- Menu desktop y barra de accesos ---------------- */
body.saint-eco-forum .sf-forum-nav{
  display:block;position:relative;z-index:1001;
  background:linear-gradient(110deg,#222521,#181c1c 54%,#201c18);
  border-bottom:1px solid rgba(153,106,65,.48);
}
body.saint-eco-forum .sf-forum-nav .sf-nav-links{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;
  gap:7px;min-height:67px;padding:11px 18px;
  background:transparent !important;
  color:#ecdac4;
}
body.saint-eco-forum .sf-nav-link{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;padding:8px 15px;
  color:#e9d5ba !important;text-decoration:none !important;
  background:linear-gradient(180deg,#252722,#1b211f);
  border:1px solid rgba(155,114,66,.53);border-radius:7px;
  box-shadow:inset 0 1px rgba(255,255,255,.035);
  font:700 12px/1.2 Arial,sans-serif;
  letter-spacing:.015em;white-space:nowrap;
  transition:background .17s ease,border-color .17s,box-shadow .17s,transform .17s;
}
body.saint-eco-forum .sf-nav-link:hover{
  color:#fff0ce !important;background:linear-gradient(#493426,#292923);
  border-color:#d1a067;box-shadow:inset 0 1px rgba(255,232,192,.08),0 0 12px rgba(222,160,84,.14);transform:translateY(-1px);
}
body.saint-eco-forum .sf-nav-link-home{
  background:linear-gradient(145deg,#7c452b,#492719);
  border-color:#ad774e;color:#ffe1b5 !important;
}
body.saint-eco-forum .sf-nav-link-login,body.saint-eco-forum .sf-nav-link-account{
  border-color:rgba(220,168,91,.7);color:#f9d59b !important;
}
body.saint-eco-forum .sf-nav-widgets{
  display:flex;align-items:center;gap:9px;min-width:0;margin-left:auto;
}
body.saint-eco-forum .sf-nav-widgets .saint-notification-shell,
body.saint-eco-forum .sf-nav-widgets .saint-mod-root{position:relative;max-width:100%}
body.saint-eco-forum .sf-forum-meta{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:12px 23px;
  color:#bcb5a9;background:#101515;
  border-bottom:1px solid rgba(173,131,82,.24);
  font:11px/1.6 Arial,sans-serif;
}
body.saint-eco-forum .sf-meta-time,body.saint-eco-forum .sf-meta-shortcuts{
  display:flex;align-items:center;flex-wrap:wrap;gap:7px 17px;
}
body.saint-eco-forum .sf-meta-shortcuts{justify-content:flex-end}
body.saint-eco-forum .sf-forum-meta a{color:#dcb885;text-decoration:none}
body.saint-eco-forum .sf-forum-meta a:hover{color:#ffe2ab;text-decoration:underline}
/* ---------------- Área principal: flexible y adaptable ---------------- */
body.saint-eco-forum .sm2-main.sf-forum-main{
  display:block;width:100% !important;min-width:0 !important;max-width:100% !important;
  margin:0 !important;padding:22px clamp(14px,2vw,32px) 0 !important;
  text-align:left;overflow:visible;
  background:linear-gradient(180deg,#0e1315 0%,#101616 40%,#0f1415 100%);
}
body.saint-eco-forum .sf-forum-main>table,
body.saint-eco-forum .sf-forum-main>form,
body.saint-eco-forum .sf-forum-main>div,
body.saint-eco-forum .sf-forum-main>section{max-width:100%;min-width:0}
body.saint-eco-forum .sf-forum-main table{max-width:100%;border-spacing:0}
body.saint-eco-forum .sf-forum-main table[width="758"],
body.saint-eco-forum .sf-forum-main table[width="760"],
body.saint-eco-forum .sf-forum-main table[width="730px"]{
  width:100% !important;max-width:100% !important;
}
body.saint-eco-forum .sf-forum-main a{color:#d6b489}
body.saint-eco-forum .sf-forum-main a:hover{color:#ffdfa9}
body.saint-eco-forum .sf-forum-main .maintitle,
body.saint-eco-forum .sf-forum-main h1:not(.sf-hero-heading){
  font:700 clamp(20px,1.8vw,28px)/1.25 Georgia,serif;
  color:#f5d8a8 !important;text-shadow:0 1px 5px rgba(0,0,0,.6);
}
body.saint-eco-forum .sf-forum-main .gen,
body.saint-eco-forum .sf-forum-main .genmed,
body.saint-eco-forum .sf-forum-main .nav{line-height:1.6;color:#d4cec2}
body.saint-eco-forum .sf-forum-main .gensmall,
body.saint-eco-forum .sf-forum-main .postdetails{line-height:1.52;color:#b9b7b0}
body.saint-eco-forum .sf-forum-main .forumline{
  width:100%;border:1px solid var(--sf-rim) !important;
  border-collapse:separate;border-spacing:1px;
  border-radius:10px;background:#101618 !important;
  box-shadow:var(--sf-shadow);overflow:hidden;
}
body.saint-eco-forum .sf-forum-main .forumline th{
  border:0 !important;height:auto;
  background:linear-gradient(110deg,#423024,#232826) !important;
  color:#f0cf9b !important;
  padding:11px 14px !important;font-size:12px;font-weight:700;
  text-shadow:0 1px 2px #000;letter-spacing:.035em;
}
body.saint-eco-forum .sf-forum-main td.cat,
body.saint-eco-forum .sf-forum-main td.catHead,
body.saint-eco-forum .sf-forum-main td.catSides,
body.saint-eco-forum .sf-forum-main td.catLeft,
body.saint-eco-forum .sf-forum-main td.catRight,
body.saint-eco-forum .sf-forum-main td.catBottom{
  height:auto;background:linear-gradient(100deg,#373026,#252724) !important;
  background-image:none !important;
  border-color:rgba(187,136,77,.24) !important;
  padding:10px 13px;color:#e5c89d;
}
body.saint-eco-forum .sf-forum-main .row1,
body.saint-eco-forum .sf-forum-main .row2,
body.saint-eco-forum .sf-forum-main .row3,
body.saint-eco-forum .sf-forum-main .row4{
  background:#1a211f !important;background-image:none !important;color:#e0dbd1;
}
body.saint-eco-forum .sf-forum-main .row2{background:#202724 !important}
body.saint-eco-forum .sf-forum-main .row3{background:#161e1d !important}
body.saint-eco-forum .sf-forum-main .bar,
body.saint-eco-forum .sf-forum-main .rowpic{
  background:#1b2421 !important;background-image:none !important;
}
body.saint-eco-forum .sf-forum-main .cattitle,
body.saint-eco-forum .sf-forum-main .cattitle a,
body.saint-eco-forum .sf-forum-main a.forumlink,
body.saint-eco-forum .sf-forum-main a.topictitle{
  color:#f4d39e !important;text-decoration:none;
}
body.saint-eco-forum .sf-forum-main .cattitle a:hover,
body.saint-eco-forum .sf-forum-main a.forumlink:hover,
body.saint-eco-forum .sf-forum-main a.topictitle:hover{color:#fff2d2 !important}
/* ---------------- Índice y filas de subforos ---------------- */
body.saint-eco-forum .sf-forum-main .sm2-forum-index{margin-top:15px;margin-bottom:19px}
body.saint-eco-forum .sf-forum-main .sm2-forum-index>tbody>tr.sm2-forum-row>td{
  border-bottom:1px solid rgba(198,153,100,.14);
  padding:13px 12px;vertical-align:middle;
  transition:background-color .2s;
}
body.saint-eco-forum .sf-forum-main .sm2-forum-index>tbody>tr.sm2-forum-row:hover>td{
  background:#292d27 !important;
}
body.saint-eco-forum .sf-forum-main .sm2-forum-index .forumlink a{
  color:#f2d19c !important;font:700 clamp(13px,1vw,16px)/1.4 Arial,sans-serif;
}
body.saint-eco-forum .sf-forum-main .sm2-forum-index .forumlink a:hover{color:#fff1d0 !important}
body.saint-eco-forum .sf-forum-main .sm2-forum-index .genmed{color:#c7c6bd;font-size:12px}
body.saint-eco-forum .sf-forum-main .sm2-forum-index .gensmall{color:#b5b8b1}
body.saint-eco-forum .sf-forum-main .sm2-forum-index .catLeft{
  padding:13px 17px;border-left:3px solid #c08b53;
}
body.saint-eco-forum .sf-forum-main .sm2-forum-index .cattitle,
body.saint-eco-forum .sf-forum-main .sm2-forum-index .cattitle a{font:700 14px/1.3 Arial,sans-serif;letter-spacing:.055em}
/* ---------------- Listas de temas y publicaciones ---------------- */
body.saint-eco-forum .sf-forum-main .sm2-topic-list{margin:12px 0 18px}
body.saint-eco-forum .sf-forum-main .sm2-topic-row>td{
  vertical-align:middle;border-bottom:1px solid rgba(207,155,96,.11);padding:11px 10px;transition:background-color .18s ease;
}
body.saint-eco-forum .sf-forum-main .sm2-topic-row:hover>td{background:#283029 !important}
body.saint-eco-forum .sf-forum-main .sm2-post-list{margin:14px 0}
body.saint-eco-forum .sf-forum-main .sm2-post-list .sm2-post-main{background:#18201f}
body.saint-eco-forum .sf-forum-main .sm2-post-list td.sm2-post-author{
  width:190px !important;min-width:175px;max-width:240px;
  vertical-align:top;padding:17px 16px !important;
  background:linear-gradient(170deg,#2b2b25,#1a221e) !important;
  border-right:1px solid rgba(182,128,73,.28);
}
body.saint-eco-forum .sf-forum-main .sm2-post-list td.sm2-post-content{
  width:auto;padding:17px 20px !important;vertical-align:top;
  background:#1a211f !important;
}
body.saint-eco-forum .sf-forum-main .sm2-post-list .name{font-weight:bold;font-size:14px;color:#f5c889}
body.saint-eco-forum .sf-forum-main .sm2-post-list .postbody,
body.saint-eco-forum .sf-forum-main .sm2-post-list .saint-post-message{
  font:13px/1.8 Arial,sans-serif;color:#e6e3dc;overflow-wrap:anywhere;
  max-width:100%;min-width:0;
}
body.saint-eco-forum .sf-forum-main .sm2-post-list .postbody img,
body.saint-eco-forum .sf-forum-main .saint-post-message img:not(.smilies),
body.saint-eco-forum .sf-forum-main .signature img{max-width:100% !important;height:auto !important}
body.saint-eco-forum .sf-forum-main .sm2-post-list blockquote,
body.saint-eco-forum .sf-forum-main .sm2-post-list pre{
  max-width:100%;overflow:auto;border:1px solid rgba(207,153,85,.25);
  border-radius:7px;background:#101717;padding:11px;
}
body.saint-eco-forum .sf-forum-main .sm2-post-list .postbody hr{
  border-top:1px solid rgba(208,163,99,.23);
}
/* ---------------- Estado/estadísticas de comunidad ---------------- */
body.saint-eco-forum .sf-forum-main .sm2-online-stat{
  width:100% !important;margin:19px 0 12px;
  border:1px solid var(--sf-rim);border-radius:10px;overflow:hidden;
  background:#18201e;box-shadow:var(--sf-shadow);
}
body.saint-eco-forum .sf-forum-main .sm2-online-stat td.stats1,
body.saint-eco-forum .sf-forum-main .sm2-online-stat td.stats3,
body.saint-eco-forum .sf-forum-main .sm2-online-stat td.stats5{display:none !important}
body.saint-eco-forum .sf-forum-main .sm2-online-stat td.stats2{
  width:100% !important;height:auto !important;padding:13px 17px !important;
  background:linear-gradient(110deg,#433025,#242824) !important;
}
body.saint-eco-forum .sf-forum-main .sm2-online-stat td.stats4{
  padding:17px 21px !important;background:#19201f !important;
  background-image:none !important;
}
body.saint-eco-forum .sf-forum-main .sm2-online-stat .stats4>table{width:100% !important;max-width:100% !important}
body.saint-eco-forum .sf-forum-main .sm2-online-stat .wonline{max-width:70px;height:auto}
/* ---------------- Chat y actividad destacados, intactos funcionalmente ---------------- */
body.saint-eco-forum .sf-forum-main .sm2-chat-table{
  margin:14px 0 7px;box-shadow:var(--sf-shadow);
}
body.saint-eco-forum .sf-forum-main .sm2-chat-heading,
body.saint-eco-forum .sf-forum-main .saint-activity-toggle{
  color:#f9d6a0 !important;background:linear-gradient(95deg,#543524,#292a24) !important;
  border-bottom:1px solid rgba(215,158,96,.38) !important;
}
body.saint-eco-forum .sf-forum-main .sm2-chat-heading{min-height:44px;padding:12px 15px !important;font-size:14px}
body.saint-eco-forum .sf-forum-main #saint-chat{height:340px;max-height:60vh}
body.saint-eco-forum .sf-forum-main .saint-home-activity{
  border:1px solid var(--sf-rim);border-radius:10px;
  margin:17px 0 22px;overflow:hidden;background:var(--sf-panel);
  box-shadow:var(--sf-shadow);
}
body.saint-eco-forum .sf-forum-main .saint-activity-toggle{
  padding:12px 16px !important;font:700 13px/1.4 Arial,sans-serif !important;
}
body.saint-eco-forum .sf-forum-main .saint-activity-body{background:#161b1d;padding:12px 15px}
body.saint-eco-forum .sf-forum-main .saint-activity-tab{
  background:#252925;border-color:#6d5039;border-radius:6px;
  padding:6px 12px;color:#e1c5a1;
}
body.saint-eco-forum .sf-forum-main .saint-activity-tab:hover,
body.saint-eco-forum .sf-forum-main .saint-activity-tab.is-selected{
  color:#fff0d0;background:#513522;border-color:#c0935e;
}
body.saint-eco-forum .sf-forum-main .saint-activity-entry:hover{background:#252b29}
/* ---------------- Formularios, controles y botones generales ---------------- */
body.saint-eco-forum .sf-forum-main input[type="text"],
body.saint-eco-forum .sf-forum-main input[type="password"],
body.saint-eco-forum .sf-forum-main input[type="email"],
body.saint-eco-forum .sf-forum-main input[type="search"],
body.saint-eco-forum .sf-forum-main select,
body.saint-eco-forum .sf-forum-main textarea{
  max-width:100%;min-width:0;border:1px solid #71553b;border-radius:6px;
  background:#111719;color:#f1e8d9;padding:8px 10px;
  box-shadow:inset 0 1px 5px rgba(0,0,0,.22);
}
body.saint-eco-forum .sf-forum-main input[type="submit"],
body.saint-eco-forum .sf-forum-main input[type="button"],
body.saint-eco-forum .sf-forum-main button:not(.saint-activity-tab):not(.saint-activity-toggle):not(.saint-mod-toggle):not(.saint-bell),
body.saint-eco-forum .sf-forum-main .mainoption,
body.saint-eco-forum .sf-forum-main .liteoption{
  border:1px solid #9b7043;border-radius:6px;
  background:linear-gradient(#493627,#2e2922);
  color:#f7dfba;padding:7px 12px;cursor:pointer;
  transition:background .16s,border-color .16s,box-shadow .16s;
}
body.saint-eco-forum .sf-forum-main input[type="submit"]:hover,
body.saint-eco-forum .sf-forum-main input[type="button"]:hover,
body.saint-eco-forum .sf-forum-main button:hover{
  background:#694528;border-color:#d8aa69;
}
body.saint-eco-forum .sf-forum-main iframe,
body.saint-eco-forum .sf-forum-main video,
body.saint-eco-forum .sf-forum-main embed{max-width:100%}
body.saint-eco-forum .sf-forum-main .saint-signature,
body.saint-eco-forum .sf-forum-main .saint-profile-signature-body,
body.saint-eco-forum .sf-forum-main .saint-profile-activity{max-width:100%;overflow-wrap:anywhere}
/* ---------------- Footer unificado ---------------- */
body.saint-eco-forum .sf-forum-footer{
  display:block;width:100%;padding:21px 18px 24px;margin-top:29px;
  color:#bcb3a7;background:#121818;
  border-top:1px solid var(--sf-rim-soft);border-radius:0 0 12px 12px;
}
body.saint-eco-forum .sf-forum-footer .footer-divider{
  width:100%;max-width:850px;
  background:linear-gradient(90deg,transparent,#8f6943,transparent);
}
body.saint-eco-forum .sf-forum-footer .copyright{color:#afa9a2;line-height:1.7}
body.saint-eco-forum .sf-forum-footer .copyright strong{color:#edc58c}
body.saint-eco-forum .sf-forum-footer a{color:#dbb682}
/* ---------------- Ajustes por pantalla ---------------- */
@media(max-width:1199px) and (min-width:901px){
  body.saint-eco-forum .sf-forum-nav .sf-nav-links{gap:5px;padding:10px 12px}
  body.saint-eco-forum .sf-nav-link{padding:8px 10px;font-size:11px}
  body.saint-eco-forum .sf-hero-content{width:58%}
}
@media(max-width:900px){
  body.saint-eco-forum .sf-forum-nav{display:none !important}
  body.saint-eco-forum .center.sf-forum-outer{
    width:100% !important;max-width:100% !important;margin:0 !important;padding:0 0 22px !important;
  }
  body.saint-eco-forum .sf-forum-frame{
    border:0;border-radius:0;background:#101719;box-shadow:none;
  }
  body.saint-eco-forum .sm2-top{
    display:block;z-index:1006;background:#141a1b;border-bottom-color:#9d6d3e;
  }
  body.saint-eco-forum .sm2-bar{
    background:linear-gradient(110deg,#171c1c,#342820);
  }
  body.saint-eco-forum .sm2-nav{background:#101618;border-color:rgba(200,145,78,.3)}
  body.saint-eco-forum .sm2-nav a{
    background:#232823;border-color:#715237;border-radius:7px;
  }
  body.saint-eco-forum .sf-hero{
    border-radius:0;height:290px;min-height:290px;
    border-bottom:1px solid rgba(193,130,63,.6);
  }
  body.saint-eco-forum .sf-hero-shade{
    background:linear-gradient(90deg,#0b0d11 0%,rgba(11,13,17,.97) 25%,rgba(11,13,17,.8) 40%,rgba(11,13,17,.25) 62%,transparent 84%);
  }
  body.saint-eco-forum .sf-hero-content{
    width:58%;padding:0 clamp(14px,2.4vw,24px);
  }
  body.saint-eco-forum .sf-hero-heading{font-size:clamp(22px,3.1vw,33px);white-space:normal}
  body.saint-eco-forum .sf-hero-heading em{font-size:11px}
  body.saint-eco-forum .sf-hero-subtitle{font-size:13px}
      body.saint-eco-forum .sf-forum-meta{flex-direction:column;align-items:flex-start;gap:4px;padding:8px 12px}
  body.saint-eco-forum .sf-meta-shortcuts{justify-content:flex-start}
  body.saint-eco-forum .sm2-main.sf-forum-main{
    padding:13px 10px 2px !important;background:#111818;
  }
  body.saint-eco-forum .sf-forum-main .forumline{
    border:1px solid rgba(155,115,72,.58) !important;border-radius:8px;
  }
  body.saint-eco-forum .sf-forum-main .sm2-post-list td.sm2-post-author{
    width:auto !important;max-width:none;min-width:0;
    padding:12px 13px !important;border-right:0;
  }
  body.saint-eco-forum .sf-forum-main .sm2-post-list td.sm2-post-content{
    width:auto !important;padding:13px !important;
  }
  body.saint-eco-forum .sf-forum-main .sm2-online-stat td.stats2,
  body.saint-eco-forum .sf-forum-main .sm2-online-stat td.stats4{padding:11px !important}
  body.saint-eco-forum .sf-forum-footer{margin-top:14px;border-radius:0;padding:16px 12px}
}
@media(max-width:600px){
  body.saint-eco-forum .sf-hero{height:195px;min-height:195px}
  body.saint-eco-forum .sf-hero-shade{
    background:linear-gradient(90deg,#0b0d11 0%,rgba(11,13,17,.98) 27%,rgba(11,13,17,.83) 43%,rgba(11,13,17,.25) 70%,transparent 93%);
  }
  body.saint-eco-forum .sf-hero-content{width:67%;padding:0 13px}
  body.saint-eco-forum .sf-accent-line{width:36px;margin-bottom:11px}
  body.saint-eco-forum .sf-kicker{font-size:9px;letter-spacing:1px}
  body.saint-eco-forum .sf-hero-heading{font-size:clamp(19px,4.7vw,26px);margin:5px 0 7px;white-space:normal}
  body.saint-eco-forum .sf-hero-heading em{font-size:9px;margin-left:4px;letter-spacing:.06em}
  body.saint-eco-forum .sf-hero-subtitle{font-size:10px;max-width:none;line-height:1.3}
        body.saint-eco-forum .sf-forum-meta{font-size:10px}
  body.saint-eco-forum .sf-meta-shortcuts{gap:5px 12px}
  body.saint-eco-forum .sm2-main.sf-forum-main{padding:10px 7px 0 !important}
  body.saint-eco-forum .sf-forum-main #saint-chat{height:315px}
  body.saint-eco-forum .sf-forum-footer .copyright{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  body.saint-eco-forum .sf-hero-picture,
  body.saint-eco-forum .sf-nav-link{transition:none !important;transform:none !important}
  html{scroll-behavior:auto}
}

/* Tables inherited a width="100%" on one inner column, which makes the
   entire phpBB2 forum index overflow around 900-1100px. Keep columns fluid. */
@media(min-width:901px){
  body.saint-eco-forum .sf-forum-main .sm2-forum-index,
  body.saint-eco-forum .sf-forum-main .sm2-topic-list{
    width:100% !important;table-layout:fixed;
  }
  body.saint-eco-forum .sf-forum-main .sm2-forum-index>tbody>tr>th:first-child{width:62%}
  body.saint-eco-forum .sf-forum-main .sm2-forum-index .sm2-forum-row>td:nth-child(2){
    width:auto !important;overflow-wrap:anywhere;
  }
  body.saint-eco-forum .sf-forum-main .sm2-forum-index .sm2-forum-row>td:last-child{
    overflow-wrap:anywhere;white-space:normal !important;
  }
}

/* Botones auténticos de phpBB: mantienen las URLs que entrega el servidor.
   El GIF de responder se conserva oculto para detectar topics bloqueados. */
body.saint-eco-forum .sf-forum-main .sf-post-button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:37px;padding:7px 13px;
  border-radius:7px;border:1px solid #a67a47;
  background:linear-gradient(135deg,#69432d,#342a23);
  color:#ffdfad !important;font:700 12px/1.15 Arial,sans-serif;
  text-decoration:none !important;white-space:nowrap;
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 2px 8px #0004;
  transition:transform .18s,background .18s,border-color .18s;
}
body.saint-eco-forum .sf-forum-main .sf-post-button:hover{
  color:#fff4db !important;background:linear-gradient(#8a5734,#493222);
  border-color:#e5b071;transform:translateY(-1px);
}
body.saint-eco-forum .sf-forum-main .sf-post-button .sf-button-mark{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 19px;width:19px;height:19px;border-radius:4px;
  color:#ffdd9e;background:rgba(255,217,152,.11);
  font-size:18px;font-weight:700;line-height:1;
}
body.saint-eco-forum .sf-reply-status-image{display:none !important}
body.saint-eco-forum .sf-locked-label{display:none}
body.saint-eco-forum .sf-reply-button:has(.sf-reply-status-image[src*="reply-locked"]) {
  opacity:.72;border-color:#675e4f;background:#282925;
}
body.saint-eco-forum .sf-reply-button:has(.sf-reply-status-image[src*="reply-locked"]) .sf-reply-label{
  display:none;
}
body.saint-eco-forum .sf-reply-button:has(.sf-reply-status-image[src*="reply-locked"]) .sf-locked-label{
  display:inline;
}
@media(max-width:520px){
  body.saint-eco-forum .sf-forum-main .sf-post-button{
    min-height:35px;padding:7px 9px;gap:6px;font-size:11px;
  }
  body.saint-eco-forum .sf-forum-main .sf-post-button .sf-button-mark{
    flex-basis:15px;width:15px;height:15px;font-size:14px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.saint-eco-forum .sf-forum-main .sf-post-button{transition:none;transform:none}
}

/* SaintShop-like interaction finish: panel borders, accessible hover/focus,
   mild transitions only. No changes to phpBB forms or event handlers. */
body.saint-eco-forum .sf-nav-link:active,
body.saint-eco-forum .sf-forum-main .sf-post-button:active {transform:translateY(1px);box-shadow:none}
body.saint-eco-forum .sf-forum-main input[type="submit"]:focus-visible,
body.saint-eco-forum .sf-forum-main input[type="button"]:focus-visible,
body.saint-eco-forum .sf-forum-main .sf-post-button:focus-visible{
  outline:2px solid #f1c77d;outline-offset:2px;
}
body.saint-eco-forum .sf-forum-main .sm2-forum-index>tbody>tr.sm2-forum-row:focus-within>td,
body.saint-eco-forum .sf-forum-main .sm2-topic-row:focus-within>td{
  background:#292d27 !important;
}
@media(prefers-reduced-motion:reduce){
  body.saint-eco-forum .sf-forum-main .sm2-forum-row>td,
  body.saint-eco-forum .sf-forum-main .sm2-topic-row>td,
  body.saint-eco-forum .sf-forum-main input[type="submit"],
  body.saint-eco-forum .sf-forum-main input[type="button"]{transition:none !important}
}

/* En teléfonos estrechos mantenemos el logotipo ilustrado fuera
   del bloque de lectura, sin estirar ni recortar artificialmente el arte. */
@media(max-width:400px){
  body.saint-eco-forum .sf-hero-picture{right:-24px}
}

/* VIEWTOPIC RESPONSIVE NAV FIX (2026-11-22)
   phpBB2 places action buttons, breadcrumbs and timezone in a single fixed
   table row. On phones, the buttons force the breadcrumb cell to 1 character
   wide and make the page enormously tall. Only the two topic control bars
   are affected; desktop rendering and all links stay unchanged. */
@media screen and (max-width:900px){
  body.saint-eco-forum .sf-forum-main table.sf-topic-controls,
  body.saint-eco-forum .sf-forum-main table.sf-topic-controls > tbody,
  body.saint-eco-forum .sf-forum-main table.sf-topic-controls > tbody > tr{
    display:block!important;width:100%!important;max-width:100%!important;
    min-width:0!important;height:auto!important;
  }
  body.saint-eco-forum .sf-forum-main table.sf-topic-controls > tbody > tr > td{
    display:block!important;width:100%!important;max-width:100%!important;
    min-width:0!important;height:auto!important;white-space:normal!important;
    text-align:left!important;padding:5px 2px!important;
    overflow-wrap:normal!important;word-break:normal!important;
  }
  body.saint-eco-forum .sf-forum-main .sf-topic-controls .sf-topic-actions > .nav{
    display:flex!important;align-items:center;flex-wrap:wrap;gap:8px;
    min-width:0;max-width:100%;line-height:1.4;
  }
  body.saint-eco-forum .sf-forum-main .sf-topic-controls .sf-post-button{
    flex:0 1 auto;max-width:100%;white-space:normal!important;
    text-align:center;overflow-wrap:normal!important;word-break:normal!important;
  }
  body.saint-eco-forum .sf-forum-main .sf-topic-controls .sf-topic-breadcrumb{
    padding:7px 3px 6px!important;
    border-bottom:1px solid rgba(157,112,63,.22);
  }
  body.saint-eco-forum .sf-forum-main .sf-topic-controls .sf-topic-breadcrumb .nav{
    display:block;max-width:100%;white-space:normal!important;
    overflow-wrap:break-word!important;word-break:normal!important;
    font-size:12px!important;line-height:1.55;
  }
  body.saint-eco-forum .sf-forum-main .sf-topic-controls .sf-topic-meta{
    color:#bfb5a3;font-size:11px;line-height:1.5;
  }
}


/* 2026-11-23 | Ajustes finos SaintForo solicitados por el usuario:
   - fondo igual al de Shop
   - portada más compacta y mismo ancho visual que Web/Shop
   - tablas de foros/temas más prolijas
   - composición más aprovechada en crear tema */
body.saint-eco-forum{
  background:radial-gradient(ellipse at 50% 0,#36271b45,transparent 48%),#0e1011 !important;
}
body.saint-eco-forum .center.sf-forum-outer{
  width:min(1360px,calc(100% - 40px)) !important;
  max-width:1360px !important;
}
body.saint-eco-forum .sf-forum-frame{
  background:linear-gradient(150deg,#151819 0%,#0e1213 82%);
}
body.saint-eco-forum .sf-hero{
  min-height:320px;
  height:clamp(320px,30vw,430px);
}
body.saint-eco-forum .sf-forum-main{background:linear-gradient(180deg,#111516 0%,#0f1314 40%,#0e1011 100%) !important;}

@media(min-width:901px){
  body.saint-eco-forum .sf-forum-main .sm2-topic-list{table-layout:fixed;}
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>th,
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>td{
    white-space:normal !important;
    overflow-wrap:anywhere;
  }
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>th:nth-child(3),
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>td:nth-child(3){width:8%;}
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>th:nth-child(4),
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>td:nth-child(4){width:10%;}
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>th:nth-child(5),
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>td:nth-child(5){width:8%;}
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>th:nth-child(6),
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>td:nth-child(6){width:18%;}
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>td:first-child{width:34px;padding-right:4px;}
  body.saint-eco-forum .sf-forum-main .sm2-topic-list>tbody>tr>td:nth-child(2){padding-left:6px;}
}
body.saint-eco-forum .sf-forum-main .forumline th{
  font-size:11px;
  padding:10px 10px !important;
}
body.saint-eco-forum .sf-forum-main .sm2-topic-row>td{padding:10px 8px;}
body.saint-eco-forum .sf-forum-main .sm2-topic-row td:last-child{font-size:11px;line-height:1.45;}

body.saint-eco-forum .sf-forum-main .sm2-forum-index>tbody>tr.sm2-forum-row>td{
  padding:10px 10px;
}
body.saint-eco-forum .sf-forum-main .sm2-forum-index>tbody>tr.sm2-forum-row>td:first-child{
  width:78px;
  padding-right:4px;
}
body.saint-eco-forum .sf-forum-main .sm2-forum-index>tbody>tr.sm2-forum-row>td:nth-child(2){
  padding-left:6px;
}
body.saint-eco-forum .sf-forum-main .sm2-forum-index .forumlink a{
  display:inline-block;
  margin-bottom:2px;
}
body.saint-eco-forum .sf-forum-main .sm2-forum-index .genmed{
  line-height:1.5;
}

body.saint-eco-forum .sf-forum-main .saint-compose-form .forumline{
  table-layout:fixed;
}
body.saint-eco-forum .sf-forum-main .saint-compose-form .row1,
body.saint-eco-forum .sf-forum-main .saint-compose-form .row2,
body.saint-eco-forum .sf-forum-main .saint-compose-form .row3,
body.saint-eco-forum .sf-forum-main .saint-compose-form .row4{
  vertical-align:top;
}
body.saint-eco-forum .sf-forum-main .saint-compose-form td.row1{
  width:22%;
}
body.saint-eco-forum .sf-forum-main .saint-compose-form td.row2{
  width:78%;
}
body.saint-eco-forum .sf-forum-main .saint-compose-form .saint-subject-input,
body.saint-eco-forum .sf-forum-main .saint-compose-form input[name="subject"]{
  width:100% !important;
  max-width:none !important;
}
body.saint-eco-forum .sf-forum-main .saint-compose-form #saint-post-editor-table,
body.saint-eco-forum .sf-forum-main .saint-compose-form .saint-post-editor-table{
  width:100% !important;
  max-width:100% !important;
}
body.saint-eco-forum .sf-forum-main .saint-compose-form #saint-post-editor-table .button,
body.saint-eco-forum .sf-forum-main .saint-compose-form #saint-post-editor-table input[type="button"]{
  width:100% !important;
  min-height:34px;
  white-space:normal;
}
body.saint-eco-forum .sf-forum-main .saint-compose-form input[name="helpbox"],
body.saint-eco-forum .sf-forum-main .saint-compose-form textarea[name="message"]{
  width:100% !important;
  max-width:none !important;
}
body.saint-eco-forum .sf-forum-main .saint-compose-form textarea[name="message"]{
  min-height:350px;
}
body.saint-eco-forum .sf-forum-main .saint-compose-form #saint-similar-topics{
  margin-top:8px;
}
@media(max-width:900px){
  body.saint-eco-forum .center.sf-forum-outer{width:100% !important;max-width:100% !important;}
  body.saint-eco-forum .sf-hero{min-height:290px;height:290px;}
  body.saint-eco-forum .sf-forum-main .saint-compose-form td.row1,
  body.saint-eco-forum .sf-forum-main .saint-compose-form td.row2{width:auto;display:table-cell;}
}
@media(max-width:600px){
  body.saint-eco-forum .sf-hero{height:195px;min-height:195px;}
}

/* SaintMU 23/11/2026 - portada PC 30% más baja que 320-430px.
   Medidas: 224-301px. No modificar tablet ni móvil (<=991px). */
@media screen and (min-width: 992px) {
  body.saint-eco-forum .sf-hero {
    height: clamp(224px, 21vw, 301px);
    min-height: clamp(224px, 21vw, 301px);
    max-height: clamp(224px, 21vw, 301px);
  }
}
