/* Locale-aware visual rules: preserves original image in FR, recreates translated
   text semantically in the same green/gold visual family in other 6 languages. */
#fpcFormatFumaDialog .fpcFormatFumaImageViewport[hidden],
#fpcFormatFumaDialog .fpcFormatFumaTranslated[hidden]{display:none!important;}
#fpcFormatFumaDialog .fpcFormatFumaTranslated{max-height:calc(95dvh - 65px);overflow:auto;overscroll-behavior:contain;padding:8px;background:#02150d;}
.ffmPoster{color:#f9f6eb;background:linear-gradient(120deg,#000b06dd,#004322ad),url('assets/home_hero.jpg.png.webp') center/cover;box-shadow:inset 0 0 35px #000b;border:2px solid #d6b745;border-radius:15px;box-sizing:border-box;line-height:1.23;font-family:Arial,'Helvetica Neue',sans-serif;text-align:left;}
.ffmPoster *{box-sizing:border-box;}
.ffmPosterHead{text-align:center;padding:19px 12px 14px;border-bottom:2px solid #e5c151;background:linear-gradient(180deg,#001c14ee,#003419cb);}
.ffmMark{font-size:26px;font-weight:900;color:#ffd979;letter-spacing:.14em;text-shadow:0 2px 5px #000;}
.ffmMark span{font-size:clamp(28px,3.9vw,65px);font-family:Georgia,serif;background:linear-gradient(#fffad7 12%,#f1ce54 50%,#98610f 90%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-stroke:0.5px #e9c052;}
.ffmBrand{font-size:clamp(14px,1.6vw,25px);font-weight:900;font-style:italic;letter-spacing:.09em;margin:0 0 8px;color:#fff;}
.ffmPosterHead h2{font-size:clamp(19px,2.5vw,38px);line-height:1.1;margin:0 auto!important;width:fit-content;max-width:98%;padding:6px 25px;border:2px solid #d9b13a;border-radius:28px;color:#ffe69b!important;background:#022719;letter-spacing:.01em;text-transform:uppercase;text-align:center;}
.ffmPosterBody{display:grid;grid-template-columns:minmax(0,38%) minmax(0,62%);gap:12px;padding:13px;align-items:start;}
.ffmPosterLeft{display:grid;gap:12px;}
.ffmPanel{background:linear-gradient(145deg,#022c1c,#000f08e8);border:2px solid #e5bb42;border-radius:15px;overflow:hidden;box-shadow:inset 0 0 18px #0009,0 3px 9px #0008;min-width:0;}
.ffmPanel h3{display:flex;align-items:center;gap:8px;margin:0!important;font-size:clamp(14px,1.5vw,23px);line-height:1.2;font-weight:900;text-transform:uppercase;padding:11px 14px;border-bottom:2px solid #e0c151;background:linear-gradient(90deg,#005733,#002a1a 72%);color:#fff!important;text-shadow:0 2px 5px #000;}
.ffmPanel ul{margin:0!important;list-style:none;padding:12px 14px!important;}
.ffmPanel li{display:flex;align-items:flex-start;gap:9px;margin:0 0 12px;font-size:clamp(14px,1.2vw,19px);}
.ffmPanel li:last-child{margin-bottom:0;}
.ffmPanel li strong{display:block;line-height:1.15;font-weight:800;color:#fff;}
.ffmPanel li small{display:block;font-size:.77em;line-height:1.22;color:#ebf4d5;padding-top:4px;}
.ffmTick{flex:0 0 20px;color:#64ee54;font-size:25px;font-weight:900;line-height:1;}
.ffmPanelSettings h3{flex-wrap:wrap;justify-content:space-between;}
.ffmSettingsBadge{padding:5px 10px;border:1px solid #f6d35c;border-radius:8px;color:#fff0b2;background:#851911;font-size:clamp(9px,.85vw,13px);font-weight:800;white-space:normal;}
.ffmPanel table{width:100%;border-collapse:collapse;font-size:clamp(12px,1.12vw,17px);line-height:1.15;margin:0;color:#fff;}
.ffmPanel th,.ffmPanel td{border-bottom:1px solid #d8c8797a;padding:8px 11px;vertical-align:middle;}
.ffmPanel tbody tr:last-child th,.ffmPanel tbody tr:last-child td{border-bottom:none;}
.ffmPanel th{font-weight:700;text-align:left;overflow-wrap:anywhere;}
.ffmPanel td{font-weight:900;color:#ffeab6;text-align:left;width:25%;white-space:normal;overflow-wrap:normal;}
.ffmNumber{display:inline-block;min-width:27px;margin-right:6px;color:#9bf15d;font-weight:800;}
.ffmSrOnly{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media(max-width:800px){
 .ffmPosterBody{grid-template-columns:minmax(0,1fr);padding:8px;gap:9px;}
 .ffmPosterLeft{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
 .ffmPanel ul{padding:10px!important;}
 .ffmPanel li{font-size:13px;}
 .ffmPanelSettings table{font-size:13px;}
 .ffmPosterHead{padding:10px;}
 .ffmPosterHead h2{padding:7px 12px;font-size:20px;}
}
@media(max-width:530px){
 #fpcFormatFumaDialog .fpcFormatFumaTranslated{max-height:calc(92dvh - 85px);padding:4px;}
 .ffmPosterLeft{grid-template-columns:1fr;}
 .ffmPosterHead h2{font-size:17px;}
 .ffmPanel h3{font-size:15px;padding:10px;}
 .ffmPanel td{width:31%;}
 .ffmPanel th,.ffmPanel td{padding:7px 5px;}
 .ffmNumber{min-width:23px;margin-right:2px;}
}
/* Standalone, printable translated poster opened by the existing enlarge link. */
body.ffmStandalone{background:#031c12;margin:0;padding:15px;color:#fff;min-height:100vh;font-family:Arial,sans-serif;}
.ffmStandalone main{max-width:1650px;margin:0 auto;}
.ffmStandalone .ffmPosterHead h2{font-size:clamp(22px,3vw,44px);}
.ffmStandalone .ffmPosterBody{grid-template-columns:38% 62%;}
@media(max-width:850px){.ffmStandalone .ffmPosterBody{grid-template-columns:1fr;}.ffmStandalone .ffmPosterLeft{grid-template-columns:1fr 1fr;}}
@media(max-width:550px){.ffmStandalone .ffmPosterLeft{grid-template-columns:1fr;}body.ffmStandalone{padding:6px;}}
@media print{body.ffmStandalone{padding:0;background:white}.ffmStandalone main{max-width:none}.ffmPoster{print-color-adjust:exact;-webkit-print-color-adjust:exact;}}
