/* EVOLARIS v9 — target 1169px composition, functional three-column ZnoteAAC shell */
*{box-sizing:border-box}html{background:#080405}body{margin:0;color:#e9e0d8;font:14px/1.45 Arial,sans-serif;background:#080405}a{color:#e8d6c8;text-decoration:none}a:hover{color:#ffb273}
.evo-shell{width:min(100%,1169px);margin:0 auto;min-height:100vh;background:linear-gradient(180deg,#100808 0%,#080506 60%,#130807 100%);box-shadow:0 0 90px #000;position:relative}
.evo-masthead{height:268px;background:url(masthead-reference.webp) center top/100% 100% no-repeat}.evo-masthead a{display:block;height:100%}
.evo-nav{height:68px;margin:0 0 35px;display:flex;align-items:center;justify-content:space-around;gap:4px;padding:0 16px;background:linear-gradient(#2a1010,#080707 52%,#170908);border:3px ridge #59403c;box-shadow:inset 0 0 0 2px #090606,0 5px 14px #000;position:relative;z-index:2}.evo-nav a{font-weight:700;font-size:14px;white-space:nowrap;padding:12px 5px}.evo-nav a:first-child{background:linear-gradient(#771b18,#260706);padding:14px 18px;border-radius:4px}
.evo-grid{display:grid;grid-template-columns:244px minmax(0,1fr) 244px;gap:15px;padding:0 19px 16px;align-items:start}.evo-left,.evo-right,.evo-main{min-width:0}
.evo-box{position:relative;background:linear-gradient(145deg,rgba(36,10,10,.95),rgba(6,6,7,.98) 65%);border:3px ridge #59403a;box-shadow:inset 0 0 0 2px #110809,0 5px 12px #000;margin:0 0 15px;padding:10px 13px 14px}.evo-box:before,.evo-box:after{content:'◆';position:absolute;top:-9px;color:#b64831;font-size:13px}.evo-box:before{left:0}.evo-box:after{right:0}.evo-box h2{font:700 19px Georgia,serif;color:#f7e4d3;text-shadow:0 1px 3px #000;margin:0 0 11px;padding:2px 0 10px;border-bottom:1px solid #7e2d25;text-align:center}
.evo-box p{margin:8px 0 12px}.evo-box input:not([type=checkbox]):not([type=radio]),.evo-content-inner textarea,.evo-content-inner select{display:block;width:100%;max-width:100%;margin:0 0 8px;padding:9px;color:#eee;background:#101010;border:1px solid #514b48;border-radius:4px}.evo-btn,.evo-content-inner input[type=submit],.evo-content-inner button{display:block;width:100%;padding:9px;margin:6px 0;background:linear-gradient(#a52c21,#600909);border:1px solid #a73e32;color:white;font:700 16px Georgia,serif;text-align:center;cursor:pointer}.evo-smalllink{display:block;text-align:center;padding:5px}.evo-green{color:#2fe333;font-weight:700}
.evo-feature{height:auto;aspect-ratio:613/285;margin:0 0 22px;background:url(feature.webp) center/100% 100% no-repeat;border:3px ridge #64504a;box-shadow:0 4px 12px #000}.evo-feature a{display:block;height:100%}
.evo-content{min-height:350px}.evo-content h2{text-align:left}.evo-content-inner{min-height:260px;overflow-wrap:anywhere}.evo-content-inner img{max-width:100%;height:auto}.evo-content-inner table{width:100%;border-collapse:collapse}.evo-content-inner td,.evo-content-inner th{padding:6px;border-bottom:1px solid #56302b}.evo-content-inner input[type=submit],.evo-content-inner button{width:auto}.evo-ranking{width:100%;border-collapse:collapse;font-size:12px}.evo-ranking th,.evo-ranking td{padding:4px 2px;border-bottom:1px solid #45302c;text-align:left}.evo-ranking td:last-child,.evo-ranking th:last-child{text-align:right}
.evo-bottom{min-height:200px;display:flex;align-items:end;justify-content:center;padding:20px;background:url(footer-reference.webp) center bottom/100% 100% no-repeat;color:#e9c4b2}.evo-bottom span{padding:4px 12px;background:#080505c9}
@media(max-width:950px){.evo-grid{grid-template-columns:190px minmax(0,1fr) 190px;gap:10px;padding:0 10px}.evo-nav a{font-size:12px}.evo-box{padding:8px}.evo-box h2{font-size:15px}}
@media(max-width:740px){.evo-masthead{height:auto;aspect-ratio:1169/268}.evo-nav{height:auto;min-height:54px;flex-wrap:wrap;margin-bottom:15px}.evo-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr);grid-template-areas:'left main' 'right main'}.evo-left{grid-area:left}.evo-right{grid-area:right}.evo-main{grid-area:main}}
@media(max-width:520px){.evo-grid{display:flex;flex-direction:column}.evo-left,.evo-right,.evo-main{width:100%}.evo-main{order:0}.evo-left{order:1}.evo-right{order:2}.evo-bottom{min-height:120px}}



/* EVOLARIS FIX: ONE UNBROKEN PANORAMA; DISABLE ALL LEGACY BACKGROUNDS */
html,html body{background-color:#070304 !important;background-image:none !important;min-height:100% !important;}
html body{margin:0 !important;background-image:url("evolaris-tlo-final-v2.webp") !important;background-repeat:no-repeat !important;background-position:center top !important;background-size:1920px 1700px !important;background-attachment:scroll !important;}
html body .evo-shell{background:transparent !important;background-image:none !important;box-shadow:none !important;width:min(100%,1169px) !important;}
html body .evo-masthead,html body .evo-bottom{background:transparent !important;background-image:none !important;}
html body .evo-masthead{height:268px !important;}
@media(max-width:740px){html body .evo-masthead{height:auto !important;aspect-ratio:1169/268 !important;}}

/* Three columns: left, main, right; preserve existing background. */
@media(min-width:951px){html body .evo-grid{display:grid !important;grid-template-columns:244px minmax(0,1fr) 244px !important;grid-template-areas:"left main right" !important;gap:15px !important;padding:0 19px 16px !important}html body .evo-left{grid-area:left !important}html body .evo-main{grid-area:main !important}html body .evo-right{grid-area:right !important;display:block !important;visibility:visible !important;min-width:0 !important}}

@media(min-width:951px){html body .evo-grid{display:grid !important;grid-template-columns:244px minmax(0,1fr) 244px !important;grid-template-areas:"left main right" !important;gap:15px !important;padding:0 19px 16px !important}html body .evo-left{grid-area:left !important}html body .evo-main{grid-area:main !important}html body .evo-right{grid-area:right !important;display:block !important;visibility:visible !important;min-width:0 !important}}

/* EVOLARIS: persistent right sidebar on all pages. Keep existing backdrop. */
.evo-grid { display:grid !important; grid-template-columns:244px minmax(0,1fr) 244px !important; grid-template-areas:"left main right" !important; align-items:start !important; }
.evo-left {grid-area:left !important; min-width:0 !important;}
.evo-main {grid-area:main !important; min-width:0 !important; max-width:100% !important;}
.evo-right {grid-area:right !important; min-width:0 !important; display:block !important; visibility:visible !important;}
.evo-content-inner {min-width:0 !important; max-width:100% !important;}
.evo-content-inner table {max-width:100% !important;}
@media(max-width:950px) and (min-width:741px){.evo-grid{grid-template-columns:190px minmax(0,1fr) 190px !important;}}
@media(max-width:740px) and (min-width:521px){.evo-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr) !important;grid-template-areas:"left main" "right main" !important;}}
@media(max-width:520px){.evo-grid{display:flex !important;flex-direction:column !important}.evo-main{order:0}.evo-left{order:1}.evo-right{order:2}}

/* EVOLARIS ORNATE FRAME SKIN — visual-only, no layout/background changes */
html body .evo-box,
html body .evo-feature{
  border:2px solid #5c3a31;
  border-radius:2px;
  outline:1px solid #140909;
  outline-offset:2px;
  box-shadow:inset 0 0 0 1px #a76c55,inset 0 0 0 4px #1a0a09,inset 0 0 0 5px #49251f,0 3px 0 #160908,0 7px 16px rgba(0,0,0,.9),0 0 10px rgba(130,24,12,.28);
}
html body .evo-box{
  background:linear-gradient(135deg,rgba(60,15,11,.90) 0%,rgba(13,8,9,.98) 25%,rgba(5,5,6,.98) 100%);
  padding:13px 13px 17px;
  margin-bottom:18px;
}
html body .evo-box::before,
html body .evo-box::after{
  content:'◆';position:absolute;z-index:2;top:-11px;
  width:19px;height:19px;line-height:19px;text-align:center;
  color:#da6848;font-size:14px;
  text-shadow:0 1px 0 #000,0 0 5px #e43d17;
  background:radial-gradient(ellipse,#3b1611 30%,transparent 72%);
  pointer-events:none;
}
html body .evo-box::before{left:-9px}
html body .evo-box::after{right:-9px}
html body .evo-box h2{
  position:relative;
  margin:-9px -9px 12px;
  padding:9px 8px 11px;
  border-bottom:1px solid #7e3325;
  background:linear-gradient(180deg,rgba(67,20,16,.80),rgba(16,6,7,.25));
  box-shadow:0 2px 0 #130807,0 3px 0 #51241d;
  color:#f9e4cd;
  text-shadow:0 2px 2px #000,0 0 8px rgba(255,99,45,.35);
}
html body .evo-box h2::after{
  content:'◆';position:absolute;left:50%;bottom:-9px;transform:translateX(-50%) scaleX(1.3);
  color:#a6462e;font-size:11px;text-shadow:0 0 5px #dc3a1d;
}
html body .evo-content{min-height:350px}
html body .evo-feature{
  position:relative;
  border-color:#755146;
  box-shadow:inset 0 0 0 1px #b47a61,inset 0 0 0 4px #1c0a08,inset 0 0 0 5px #64362a,0 6px 14px #000;
}
html body .evo-nav{
  border:2px solid #6b4639;
  border-radius:1px;
  background:linear-gradient(180deg,rgba(42,18,16,.98),rgba(5,5,6,.98) 46%,rgba(21,8,8,.98));
  outline:1px solid #1b0907;outline-offset:3px;
  box-shadow:inset 0 0 0 1px #b47b62,inset 0 0 0 5px #140809,inset 0 0 0 6px #57261f,0 6px 18px #000,0 0 13px rgba(192,49,23,.25);
}
html body .evo-nav::before,
html body .evo-nav::after{
  content:'◆';position:absolute;bottom:-11px;z-index:3;
  color:#c34e30;font-size:17px;line-height:17px;
  text-shadow:0 0 5px #ff4c1c,0 2px 2px #000;
  pointer-events:none;
}
html body .evo-nav::before{left:8px}
html body .evo-nav::after{right:8px}
html body .evo-nav a:first-child{
  border:1px solid #8e3427;
  box-shadow:inset 0 1px 0 #c05b42,inset 0 -2px 0 #250607,0 0 9px rgba(162,33,15,.45);
  clip-path:polygon(0 0,95% 0,100% 50%,95% 100%,0 100%,5% 50%);
}

/* EVOLARIS - ozdobne ramy graficzne, bez ingerencji w uklad strony */
html body .evo-box,
html body .evo-feature,
html body .evo-nav {
  border: 16px solid transparent !important;
  border-image-source: url("ornate-frame.svg") !important;
  border-image-slice: 40 !important;
  border-image-width: 16px !important;
  border-image-outset: 5px !important;
  border-image-repeat: stretch !important;
  outline: none !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}
html body .evo-box {
  padding: 0 0 12px !important;
  background: linear-gradient(150deg,rgba(30,9,10,.97),rgba(5,5,7,.99) 55%) !important;
  box-shadow: inset 0 0 22px #000, 0 8px 20px #000 !important;
  overflow: visible !important;
}
html body .evo-box::before,
html body .evo-box::after {content:none !important;}
html body .evo-box h2 {
  margin: -1px -1px 12px !important;
  padding: 10px 5px 12px !important;
  background: radial-gradient(ellipse at 50% 0%,rgba(116,34,26,.8),transparent 80%), linear-gradient(180deg,#2c1010,#130809 65%,#070506) !important;
  border: 0 !important;
  border-bottom: 2px solid #8a3024 !important;
  box-shadow: inset 0 1px #a56b55, 0 2px 0 #170606, 0 4px 9px #000 !important;
  color:#f5e6d5 !important;
  text-align:center !important;
  position:relative !important;
}
html body .evo-box h2::after {
  content:'✦' !important;
  position:absolute !important;
  left:50% !important;
  bottom:-9px !important;
  transform:translateX(-50%) !important;
  font-size:13px !important;
  color:#bc553a !important;
  background:#190909 !important;
  padding:0 5px !important;
  text-shadow:0 0 5px #c42b15 !important;
}
html body .evo-box > :not(h2) {margin-left:12px;margin-right:12px;}
html body .evo-box > table {width:calc(100% - 24px) !important;}
html body .evo-box > form input {box-sizing:border-box;}
html body .evo-content-inner {margin:0 12px !important;}
html body .evo-feature {
  background: url("feature.webp") center / 100% 100% no-repeat !important;
  box-shadow:0 5px 15px #000 !important;
}
html body .evo-nav {
  padding:0 8px !important;
  background:linear-gradient(#211316,#060607 55%,#1b0909) !important;
  box-shadow:0 5px 16px #000 !important;
}
html body .evo-nav::before,html body .evo-nav::after {content:none !important;}
@media(max-width:740px) {html body .evo-box,html body .evo-feature,html body .evo-nav {border-width:12px !important;border-image-width:12px !important;border-image-outset:2px !important;}}

/* EVOLARIS: animacje hover, bez zmian ukladu i tla */
@media (hover:hover) and (pointer:fine) {
  html body .evo-box, html body .evo-feature { transition: filter .28s ease, transform .28s ease, box-shadow .28s ease !important; }
  html body .evo-box:hover { filter:brightness(1.12) drop-shadow(0 0 8px rgba(220,58,26,.42)); transform:translateY(-2px); }
  html body .evo-feature:hover { filter:brightness(1.09) drop-shadow(0 0 8px rgba(240,75,24,.38)); }
  html body .evo-nav a { transition: background-color .22s ease, color .22s ease, text-shadow .22s ease, filter .22s ease, transform .22s ease !important; }
  html body .evo-nav a:hover { color:#fff3dc !important; text-shadow:0 0 10px rgba(255,100,39,.9),0 1px 2px #000; filter:brightness(1.28); transform:translateY(-2px); }
  html body .evo-btn, html body .evo-box button, html body .evo-box input[type=submit], html body .evo-box input[type=button], html body .evo-content-inner button, html body .evo-content-inner input[type=submit] { transition:filter .2s ease, transform .2s ease, box-shadow .2s ease !important; }
  html body .evo-btn:hover, html body .evo-box button:hover, html body .evo-box input[type=submit]:hover, html body .evo-box input[type=button]:hover, html body .evo-content-inner button:hover, html body .evo-content-inner input[type=submit]:hover { filter:brightness(1.35); transform:translateY(-2px); box-shadow:0 0 16px rgba(255,61,20,.55),inset 0 1px rgba(255,255,255,.18) !important; }
  html body .evo-btn:active, html body .evo-box button:active, html body .evo-box input[type=submit]:active { transform:translateY(1px) scale(.985); }
  html body .evo-box a:not(.evo-btn), html body .evo-content-inner a:not(.evo-btn) { transition:color .2s ease,text-shadow .2s ease !important; }
  html body .evo-box a:not(.evo-btn):hover, html body .evo-content-inner a:not(.evo-btn):hover { color:#ffb18b !important; text-shadow:0 0 9px rgba(255,75,30,.65); }
  html body .evo-box tr, html body .evo-content-inner tr { transition:background-color .2s ease !important; }
  html body .evo-box tr:hover, html body .evo-content-inner tr:hover { background-color:rgba(145,39,23,.16); }
  html body .evo-box input:not([type=submit]):not([type=button]), html body .evo-content-inner input:not([type=submit]):not([type=button]), html body select, html body textarea { transition:border-color .22s ease,box-shadow .22s ease,background-color .22s ease !important; }
  html body .evo-box input:not([type=submit]):not([type=button]):hover, html body .evo-content-inner input:not([type=submit]):not([type=button]):hover, html body select:hover, html body textarea:hover { border-color:#a44d35 !important; box-shadow:0 0 7px rgba(190,50,25,.3); }
}
@media (prefers-reduced-motion:reduce) {html body .evo-box,html body .evo-feature,html body .evo-nav a,html body .evo-btn,html body button,html body input,html body select,html body textarea,html body a {transition:none !important;animation:none !important;}}


/* EVOLARIS: original header with continuous volcanic backdrop */
html body { background-image:url("evo-original-top.webp"),url("evo-lava-world.webp") !important; background-position:center top,center center !important; background-size: max(1920px,100vw) auto,cover !important; background-repeat:no-repeat,no-repeat !important; background-attachment:scroll,fixed !important; }
@media(max-width:740px){html body{background-size:100% auto,cover !important;}}
