/* FAST Industrial v1.0 – phpBB 3.3.x child of prosilver.
   Keep import FIRST: phpBB parent layout, forms, UCP, permissions and extensions remain intact. */
@import url("../../prosilver/theme/stylesheet.css");

:root { --fast-bg:#121719;--fast-ink:#f6f8f8;--fast-muted:#c4cbcc;--fast-line:#333e3f;--fast-accent:#cfe500;--fast-accent-hover:#e6f728;--fast-panel:#20282a;--fast-light:#f3f5f4; }
html {background:var(--fast-bg)}
body {background:var(--fast-bg);color:var(--fast-ink);font-family:Arial,"Segoe UI",sans-serif;font-size:12px}
#wrap {max-width:1600px;margin:0 auto;background:#161c1e;padding:0 14px 18px;box-sizing:border-box;border:0;min-width:0}
#page-header {margin:0 -14px}
.headerbar {background:#11191b url("./images/banner.jpg") center center / cover no-repeat !important;border:0;border-bottom:4px solid var(--fast-accent);border-radius:0;min-height:258px;padding:18px 24px;position:relative;box-sizing:border-box}
.headerbar .inner {min-height:214px;position:relative}
#site-description {width:auto;max-width:85%;float:none;display:flex;align-items:flex-start;flex-direction:column;gap:12px;position:relative;z-index:1}
#site-description a#logo {float:none;display:block;margin:0;max-width:100%}
.site_logo {display:block;width:182px;height:57px;background-image:url("./images/fast-logo.jpg") !important;background-position:center;background-repeat:no-repeat;background-size:contain}
#site-description h1 {color:#fff;font-size:clamp(24px,2.4vw,36px);line-height:1.2;font-weight:800;text-shadow:0 2px 4px #000;margin:1px 0 0}
#site-description p {color:#e3e8e6;font-size:15px;line-height:1.4;margin:0;text-shadow:0 1px 3px #000}
#search-box {margin-top:12px;z-index:2}
#search-box #keywords {background:#f7f9f9;color:#182022;border:1px solid #8c9696;border-radius:6px;padding:7px;font-size:12px}
#search-box .button {background:var(--fast-accent);border-color:var(--fast-accent);color:#161b16}
.navbar {background:#1c2426;color:#e9eeee;border:0;border-radius:0;padding:10px 18px;margin-bottom:12px;box-shadow:inset 0 -1px #3e4a4a}
.navbar a,.navbar a:visited,.linklist a,.linklist a:visited {color:#e8eeee}
.navbar a:hover,.linklist a:hover {color:var(--fast-accent-hover)}
.navbar .icon {color:var(--fast-accent)}
#page-body {padding-top:6px}
a,a:link,a:visited,.forumtitle,.topictitle {color:#d5e400}
a:hover,.forumtitle:hover,.topictitle:hover {color:#f0fc54;text-decoration:none}
h2,h3,.stat-block h3 {color:var(--fast-accent)}
.forabg,.forumbg {background:#20282a;border:1px solid #414e4f;border-top:3px solid var(--fast-accent);border-radius:10px;margin:14px 0;overflow:hidden;padding:0;box-shadow:0 6px 20px #0005}
.forabg .inner,.forumbg .inner {padding:0;border:0;background:transparent}
ul.topiclist {margin:0}
ul.topiclist li.header {background:#1b2325;color:#fff;padding:10px 13px 9px;border:0;min-height:20px}
ul.topiclist li.header dt,ul.topiclist li.header dd {color:#fff;font-weight:700;font-size:12px;text-transform:none}
ul.topiclist li.header a,ul.topiclist li.header a:visited {color:#fff}
ul.topiclist li.header a:hover {color:var(--fast-accent)}
ul.topiclist li.row {background:#f1f3f3;border:0;border-bottom:1px solid #d5dcdd;padding:4px 8px;transition:background .16s;color:#212829;min-height:57px}
ul.topiclist li.row:nth-child(even) {background:#e4e9e9}
ul.topiclist li.row:hover {background:#f7fae1}
ul.topiclist li.row:last-child {border-bottom:0}
ul.topiclist li.row dt,ul.topiclist li.row dd {color:#263034}
ul.topiclist li.row a,ul.topiclist li.row a:visited {color:#22302f}
ul.topiclist li.row a.forumtitle,ul.topiclist li.row a.topictitle {font-size:13px;font-weight:800;color:#141b1e}
ul.topiclist li.row a:hover {color:#647500}
ul.topiclist li.row .forumdesc {color:#424e4f}
ul.topiclist li.row .responsive-hide {color:#3f494b}
ul.topiclist li.row dl.row-item {background-image:none !important;position:relative;padding-left:53px;min-height:49px}
ul.topiclist li.row dl.row-item:before {content:"";width:36px;height:36px;position:absolute;left:7px;top:50%;transform:translateY(-50%);background:#20292a url("./images/icons/plc.svg") center / 25px 25px no-repeat;border-radius:9px;border:1px solid #718000;box-shadow:0 2px 5px #0002}
/* topic/forum status cues, retain native topic state functionality */
ul.topiclist li.row dl.row-item.forum_unread:before,ul.topiclist li.row dl.row-item.topic_unread:before {background-color:#b0c800;background-image:url("./images/icons/chat.svg");filter:saturate(1.15)}
ul.topiclist li.row dl.row-item.forum_read_locked:before,ul.topiclist li.row dl.row-item.forum_unread_locked:before {background-image:url("./images/icons/document.svg")}
ul.topiclist li.row dl.row-item.topic_read:before,ul.topiclist li.row dl.row-item.topic_moved:before {background-image:url("./images/icons/chat.svg")}
ul.topiclist li.row dl.row-item.topic_read_mine:before,ul.topiclist li.row dl.row-item.topic_unread_mine:before {background-image:url("./images/icons/chat.svg")}
/* Per-forum icons: enter the real phpBB f= IDs in custom overrides at end of this file */
ul.topiclist li.row dd {border-color:#cbd3d3}
ul.topiclist li.row .lastpost {font-size:11px}
ul.topiclist li.row .lastpost a {font-weight:600}
.panel,.post,.bg1,.bg2,.bg3,.stat-block {background:#212a2c;color:#f1f5f4;border:1px solid #3c494b;border-radius:9px}
.panel,.post {padding:12px}
.post .postbody,.post .content,.post .author,.postprofile,.postprofile dd,.postprofile dt {color:#edf1f0}
.post .postbody a,.post .content a,.postprofile a {color:#d5e700}
.postprofile {border-color:#49585a}
.post .signature {border-color:#445052}
.content blockquote,blockquote {background:#303a3b;border:1px solid #596768;color:#f4f6f6;border-radius:8px}
.codebox {background:#151b1c;border:1px solid #566163;color:#f8fafa;border-radius:7px}
.codebox code {color:#d5eab0}
.codebox p {border-color:#4e595a;color:#d5e700}
.attachbox {background:#2a3436;color:#f2f7f7;border-color:#576363}
.button,.button1,.button2,.button-secondary,input.button1,input.button2 {border-radius:6px;background:#cfe500;color:#161b1d;border:1px solid #b0c300;font-weight:bold;box-shadow:none}
.button:hover,.button1:hover,.button2:hover {background:#edfa69;color:#141919;border-color:#cfe500}
.button .icon {color:#141919}
.inputbox,textarea,select,input[type="text"],input[type="password"] {border-radius:5px}
.inputbox {background:#f7f9f7;color:#152020;border:1px solid #7f8c8b}
.inputbox:focus {border-color:#b6d000}
fieldset dt,fieldset dd,fieldset dl,fieldset label,.panel label,.panel p,.panel h3 {color:#e7eded}
fieldset.submit-buttons {background:#20282a}
.pagination li a,.pagination li span {background:#2b3537;border-color:#495859;color:#edf1ef}
.pagination li.active span {background:#cfe500;color:#172020;border-color:#cfe500}
.breadcrumbs a {color:#e7eae9}
.stat-block {padding:14px 16px;margin:12px 0}
.stat-block h3 {margin:0 0 9px;border-bottom:1px solid #465356;padding-bottom:7px}
.stat-block p,.stat-block span {color:#e9efef}
#page-footer {margin:16px -14px -18px}
#page-footer .navbar {background:#151c1e;border-top:2px solid #cfe500;padding:13px 23px}
.copyright,.copyright a {color:#cbd3d1 !important}
.online {background-image:none}
/* responsive without hiding essentials */
@media(max-width:900px){#wrap{padding:0 7px 10px}#page-header{margin:0 -7px}.headerbar{min-height:205px;padding:14px}.headerbar .inner{min-height:175px}#site-description{max-width:100%}#site-description h1{font-size:26px}#site-description p{font-size:12px}#search-box{clear:both;float:none;margin:7px 0 0}.site_logo{width:130px;height:43px}#page-footer{margin:12px -7px -10px}}
@media(max-width:650px){.headerbar{min-height:195px;background-position:62% center!important}.headerbar .inner{min-height:155px}#site-description h1{font-size:22px}#site-description p{font-size:11px}ul.topiclist li.row dl.row-item{padding-left:46px}ul.topiclist li.row dl.row-item:before{left:3px;width:30px;height:30px;background-size:21px}.forabg,.forumbg{border-radius:7px}.post,.panel{padding:9px}.navbar{padding:9px}}

/* ================= FAST INDUSTRIAL v1.1 FIXES ================= */
/* Preserve phpBB defaults for status/menu behavior, improve visual layout */
#wrap {max-width:1920px;padding:0 18px 22px}
#page-header {margin:0 -18px}
.headerbar {height:315px;min-height:0;padding:26px 32px;background-position:center center!important}
.headerbar .inner {min-height:0;height:100%;position:relative}
#site-description {width:60%;max-width:800px;gap:8px;float:none}
#site-description h1 {font-size:34px;margin:5px 0 1px;font-weight:800}
#site-description p {font-size:15px;margin:0}
#site-description p.skiplink {position:absolute;left:-9999px}
#site-description a#logo {margin:0 0 3px}
.fast-brand-strip {display:flex;align-items:center;gap:24px;margin-top:14px;min-height:40px}
.fast-brand-strip img {display:block;object-fit:contain;width:auto;height:37px;max-width:170px;filter:drop-shadow(0 2px 2px #0008)}
.fast-brand-strip img:nth-child(2){height:39px;max-width:175px}
#search-box {position:absolute;right:0;bottom:20px;float:none;margin:0;background:#151b1dd9;border-radius:9px;padding:5px}
#search-box #keywords {width:226px;max-width:28vw}
.fast-header-actions {list-style:none;position:absolute;right:0;top:6px;display:flex;gap:10px;margin:0;padding:0;align-items:center}
.fast-header-actions li {float:none!important;display:block;list-style:none;background:#171f21de;padding:9px 13px;border:1px solid #647274;border-radius:8px}
.fast-header-actions li:last-child {background:#cfe500;border-color:#cfe500}
.fast-header-actions li a {color:#f1f6f6!important;font-weight:700}
.fast-header-actions li:last-child a,.fast-header-actions li:last-child i {color:#181e1e!important}
.fast-account-caption {display:none}
#nav-main {display:flex;align-items:center;flex-wrap:wrap;gap:13px}
#nav-main > li {float:none;margin:0;list-style:none}
#nav-main > li.rightside {margin-left:0}
#nav-main > li#username_logged_in {margin-left:auto}
#nav-main > li#username_logged_in a.header-avatar,#nav-main > li#username_logged_in a.header-avatar * {color:#f7faf9!important;font-weight:bold}
#nav-main > li#username_logged_in a.header-avatar:hover,#nav-main > li#username_logged_in a.header-avatar:hover * {color:#dbe94d!important}
.navbar .username-coloured,.navbar .username,.navbar a.username-coloured,.navbar a.username {color:#f1f6f4!important}
.navbar .icon,.navbar .dropdown-trigger .icon {color:var(--fast-accent)}
#nav-main > li > a,#nav-main > li > div > a {display:inline-flex;align-items:center;gap:6px;font-size:12px}
#nav-main a .icon {font-size:15px}
/* No redundant icon next to phpBB custom uploaded forum picture */
ul.topiclist li.row .forum-image {display:none!important}
ul.topiclist li.row dl.row-item {background:none!important;background-image:none!important;padding-left:64px;min-height:55px}
ul.topiclist li.row dl.row-item::before {left:10px;width:42px;height:42px;top:50%;border-radius:10px;background-color:#1e2829;background-size:27px 27px;background-image:url('./images/icons/chat.svg')}
ul.topiclist li.row dl.row-item.fast-icon-welcome::before{background-image:url('./images/icons/welcome.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-plc::before{background-image:url('./images/icons/plc.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-hmi::before{background-image:url('./images/icons/hmi.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-drive::before{background-image:url('./images/icons/drive.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-solar::before{background-image:url('./images/icons/solar.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-servo::before{background-image:url('./images/icons/servo.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-thermo::before{background-image:url('./images/icons/thermo.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-network::before{background-image:url('./images/icons/network.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-download::before{background-image:url('./images/icons/download.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-code::before{background-image:url('./images/icons/code.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-document::before{background-image:url('./images/icons/document.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-question::before{background-image:url('./images/icons/question.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-video::before{background-image:url('./images/icons/video.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-info::before{background-image:url('./images/icons/info.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-chat::before{background-image:url('./images/icons/chat.svg')!important}
ul.topiclist li.row dl.row-item.fast-icon-welcome .row-item-link {left:10px}
/* Forum homepage sidebar, only on actual forum index */
.fast-index-meta {display:flex;justify-content:space-between;gap:16px;min-height:24px;margin-bottom:4px}
.fast-index-meta .time {float:none!important;color:#bfcac9;font-size:11px}
.fast-home-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,340px);align-items:start;gap:18px;width:100%}
.fast-home-main,.fast-home-sidebar{min-width:0}
.fast-home-main > .forabg:first-of-type,.fast-home-main > .forumbg:first-of-type {margin-top:0}
.fast-home-sidebar {display:flex;flex-direction:column;gap:14px}
.fast-home-sidebar .stat-block,.fast-home-sidebar .forabg,.fast-home-sidebar .forumbg {margin:0;background:#202829;border:1px solid #475454;border-top:3px solid #cfe500;border-radius:11px;overflow:hidden}
.fast-home-sidebar .stat-block {padding:0 14px 15px;color:#e7efed}
.fast-home-sidebar .stat-block h3{color:#f8faf9!important;background:#1b2324;border-bottom:1px solid #3d4d4c;font-weight:700;margin:0 -14px 12px;padding:13px 15px;font-size:14px}
.fast-home-sidebar .stat-block h3 a {color:#f8faf9!important}
.fast-home-sidebar .stat-block h3:before {content:'●';font-size:13px;color:#d0e800;margin-right:9px}
.fast-home-sidebar .stat-block p,.fast-home-sidebar .stat-block em {font-size:12px;color:#eef3f2;line-height:1.6}
.fast-home-sidebar .stat-block a,.fast-home-sidebar .stat-block .username-coloured {color:#dfec78!important}
.fast-latest-slot:empty {display:none}
.fast-latest-slot .forumbg li.header {padding:12px!important}
.fast-latest-slot .forumbg li.header dt {width:100%!important;font-size:14px!important;float:none}
.fast-latest-slot .forumbg li.header dd {display:none!important}
.fast-latest-slot .forumbg li.row {background:#20282a!important;border-bottom:1px solid #3b484a!important;padding:8px 9px!important}
.fast-latest-slot .forumbg li.row:hover {background:#293436!important}
.fast-latest-slot .forumbg li.row dl {display:block;min-height:50px;padding:0 0 0 37px!important}
.fast-latest-slot .forumbg li.row dl:before {left:0!important;width:28px!important;height:28px!important;border:0!important;background-color:transparent!important;background-size:23px!important;box-shadow:none!important}
.fast-latest-slot .forumbg li.row dt {float:none;width:100%;font-size:12px;color:#f1f6f5!important}
.fast-latest-slot .forumbg li.row dt .list-inner {padding:0!important;margin:0!important;color:#bdc9c7!important}
.fast-latest-slot .forumbg li.row dt a,.fast-latest-slot .forumbg li.row dt a.topictitle {color:#fff!important;font-size:12px!important;font-weight:700!important}
.fast-latest-slot .forumbg li.row dd {display:none!important}
.fast-latest-slot .forumbg li.row dt a.username,.fast-latest-slot .forumbg li.row dt a.username-coloured {color:#dbe96b!important}
.fast-home-main .forabg,.fast-home-main .forumbg {margin:0 0 14px!important}
.fast-home-main li.row a.username-coloured,.fast-home-main li.row .username-coloured {color:#455b00!important}
.fast-home-main ul.topiclist li.row .lastpost a.username-coloured {color:#435600!important}
/* add subtle category icon on black category title */
.fast-home-main .forabg li.header .list-inner:before{content:'▣';font-size:16px;color:#d0e800;margin-right:9px}
/* mobile: forum content first, stats below; preserve original phpBB native lists */
@media(max-width:1020px){.fast-home-layout{grid-template-columns:minmax(0,1fr) 285px;gap:12px}#site-description h1{font-size:28px}}
@media(max-width:760px){.fast-home-layout{display:flex;flex-direction:column}.fast-home-main,.fast-home-sidebar{width:100%}.fast-home-sidebar{gap:12px}.headerbar{height:270px;padding:17px}.fast-header-actions{top:3px;right:0}.fast-header-actions li{padding:5px;font-size:11px}#site-description{max-width:95%;width:95%}#site-description h1{font-size:24px}.fast-brand-strip img{height:27px;max-width:125px}.fast-brand-strip img:nth-child(2){height:29px;max-width:145px}#search-box{bottom:4px;right:4px}#search-box #keywords{max-width:42vw}#nav-main{gap:7px}}
@media(max-width:500px){#wrap{padding:0 8px 15px}#page-header{margin:0 -8px}.headerbar{height:248px}#site-description h1{font-size:21px}#site-description p{font-size:11px}.fast-header-actions{top:0}.fast-header-actions li{padding:3px 5px}.fast-index-meta{flex-direction:column;gap:3px}ul.topiclist li.row dl.row-item{padding-left:47px}ul.topiclist li.row dl.row-item:before{width:31px;height:31px;left:4px;background-size:21px}}

/* v1.2 — Recent Topics extension compact responsive sidebar */
.fast-latest-card {background:#202829;border:1px solid #475454;border-top:3px solid #cfe500;border-radius:11px;overflow:hidden;color:#f4f7f7;}
.fast-latest-card h3 {background:#1b2324;padding:13px 15px;margin:0;color:#fff;font-size:14px;font-weight:700;border-bottom:1px solid #3d4d4c;}
.fast-latest-card h3:before {content:'◉';color:#d0e800;margin-right:10px;}
.fast-latest-list {list-style:none;padding:0;margin:0;}
.fast-latest-list li {padding:11px 14px 11px 40px;border-bottom:1px solid #3b484a;position:relative;overflow-wrap:anywhere;word-break:normal;min-width:0;}
.fast-latest-list li:last-child{border-bottom:0;}
.fast-latest-list li:before{content:'◌';color:#d0e800;position:absolute;left:15px;top:10px;font-size:20px;}
.fast-latest-title,.fast-latest-title:visited{display:block;color:#f3f6f6!important;font-size:12px;font-weight:700;line-height:1.5;overflow-wrap:anywhere;}
.fast-latest-title:hover{color:#d0e800!important;}
.fast-latest-meta{font-size:11px;color:#c5d2cf;line-height:1.5;margin-top:3px;overflow-wrap:anywhere;}
.fast-home-sidebar .fast-latest-slot{min-width:0;}


/* ========================================================================
   FAST Industrial 1.3 — typography, interactive buttons, BBCode text contrast
   This layer only changes appearance. phpBB topic/post/user permissions and
   the existing latest-topics sidebar code from v1.2 are left untouched.
   ======================================================================== */
:root {
  --fast-text-readable:#edf2ef;
  --fast-muted-readable:#c7d1ce;
  --fast-highlight-ink:#18201d;
  --fast-ui-font:"Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
html, body, input, button, select, textarea {font-family:var(--fast-ui-font);}
body {font-size:14px;line-height:1.5;letter-spacing:0;}
#wrap {font-size:14px;}
/* Main forum index: titles and descriptions deserve real reading room. */
ul.topiclist li.header dt,ul.topiclist li.header dd {font-size:13px;letter-spacing:.08px;}
ul.topiclist li.row {line-height:1.5;}
ul.topiclist li.row a.forumtitle,
ul.topiclist li.row a.topictitle,
.fast-home-main ul.topiclist li.row a.forumtitle,
.fast-home-main ul.topiclist li.row a.topictitle {
  font-family:var(--fast-ui-font);
  font-size:15px;
  font-weight:700;
  letter-spacing:-.12px;
  line-height:1.4;
}
ul.topiclist li.row .forumdesc,
ul.topiclist li.row .list-inner,
ul.topiclist li.row .responsive-hide {font-size:13px;line-height:1.5;}
ul.topiclist li.row .lastpost {font-size:12.5px;line-height:1.4;}
ul.topiclist li.row .lastpost a {font-size:12.5px;}
.forabg li.header a,.forumbg li.header a {font-weight:700;}
#nav-main > li > a,#nav-main > li > div > a {font-size:13.5px;}
.navbar .breadcrumbs,.navbar .breadcrumbs a {font-size:13.5px;}
#site-description h1 {letter-spacing:-.55px;}
#site-description p {font-size:16px;}
h2,.topic-title,h2.topic-title {font-family:var(--fast-ui-font);font-size:25px;font-weight:700;letter-spacing:-.45px;line-height:1.25;}
h2.topic-title a,h2.topic-title a:visited {color:#deed86!important;}
h2.topic-title a:hover {color:#f1ffb5!important;}
/* Fix #1: global a:link neon-lime was overriding .button's dark label.
   Explicit :link/:visited specificity and child labels cover touchscreen too. */
a.button:link,a.button:visited,a.button,a.button1:link,a.button1:visited,
a.button2:link,a.button2:visited,
a.button-secondary:link,a.button-secondary:visited,
.action-bar a.button:link,.action-bar a.button:visited,
.action-bar .buttons a.button,
.action-bar .buttons a.button > span,
.action-bar .buttons a.button > .icon,
.action-bar .buttons a.button > i {
  color:#151d1a!important;
  text-shadow:none!important;
  text-decoration:none!important;
}
.action-bar .buttons a.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  min-height:34px;
  font-family:var(--fast-ui-font);
  font-size:14px;
  font-weight:700;
  line-height:1.3;
  white-space:nowrap;
  background:#cfe500;
  border:1px solid #b6c900;
  border-radius:7px;
  padding:6px 12px;
}
.action-bar .buttons a.button:hover,
.action-bar .buttons a.button:focus,
.action-bar .buttons a.button:active {
  background:#e6f46f;
  border-color:#d8e967;
  color:#111917!important;
}
.action-bar .buttons a.button:hover > span,
.action-bar .buttons a.button:focus > span,
.action-bar .buttons a.button:hover > i,
.action-bar .buttons a.button:focus > i {color:#111917!important;}
/* The 'Yeni Başlık' and 'Cevap Yaz' buttons should not shrink to just an icon. */
.action-bar .buttons a.button[href*="mode=post"],
.action-bar .buttons a.button[href*="mode=reply"],
.action-bar .buttons a.button[href*="mode=quote"] {min-width:128px;}
/* Other clickable yellow action controls use the same dark foreground. */
a.button:focus,a.button:hover,a.button:active,
.button1:focus,.button1:hover,.button2:focus,.button2:hover,
.button-secondary:focus,.button-secondary:hover {
  color:#141c19!important;
}
.button1,.button2,.button-secondary,input.button1,input.button2 {font-size:13.5px;}
/* Fix #2: messages containing bright yellow inline BBCode highlights.
   Normalize foreground only on yellow backgrounds, not other custom colors. */
.post .content mark,.post .content .posthilit,.post .content .highlight,
.post .content [style*="background-color: yellow" i],
.post .content [style*="background-color:yellow" i],
.post .content [style*="background-color: #ffff00" i],
.post .content [style*="background-color:#ffff00" i],
.post .content [style*="background-color: #ff0" i],
.post .content [style*="background-color:#ff0" i],
.post .content [style*="background-color: rgb(255, 255, 0)" i],
.post .content [style*="background-color:rgb(255,255,0)" i],
.post .content [style*="background: yellow" i],
.post .content [style*="background:yellow" i],
.post .content [style*="background: #ff0" i],
.post .content [style*="background:#ff0" i] {
  color:var(--fast-highlight-ink)!important;
  text-shadow:none!important;
}
/* phpBB search-highlight may appear without a post wrapper. */
.posthilit,mark {color:#18201d!important;}
/* Fix #3: profile-specific colors need to defeat prosilver's dark text and
   phpBB group username's inline red color on a charcoal card. */
.post .postprofile,.post .postprofile dt,.post .postprofile dd,
.post .postprofile dd:not(.profile-contact),
.post .postprofile dd strong,.post .postprofile dd span,
.post .postprofile .profile-rank,.post .postprofile .profile-custom-field,
.post .postprofile .profile-joined,.post .postprofile .profile-posts,
.post .postprofile .profile-contact {color:#e8efec!important;}
.post .postprofile .username-coloured,
.post .postprofile a.username-coloured,
.post .postprofile a.username,
.post .postprofile dt a,
.post .author .username-coloured,
.post .author a.username-coloured,
.post .author a.username {
  color:#e4f26c!important;
  font-weight:700;
}
.post .postprofile a:hover,.post .author a:hover {color:#f7ffd2!important;}
.post .postprofile dd strong,.post .postprofile dd .profile-posts strong {color:#dce96b!important;}
.post .postprofile .avatar img {max-width:100%;height:auto;}
.post .postprofile {line-height:1.55;word-wrap:break-word;overflow-wrap:break-word;}
.post .postprofile dd {font-size:12.5px;line-height:1.5;margin-bottom:3px;}
.post .postprofile dt {font-size:14px;line-height:1.5;}
.post .postprofile .contact-icons a {color:#cfe500!important;}
/* Fix #4: readable messages without turning every paragraph into a bright headline. */
.post .content,.postbody .content {
  color:var(--fast-text-readable);
  font-family:var(--fast-ui-font);
  font-size:16px;
  line-height:1.7;
  font-weight:400;
  letter-spacing:0;
}
.post .author,.postbody .author {color:#cfdad6;font-size:12.5px;line-height:1.5;}
.postbody h3,.postbody h3 a {font-size:19px;font-weight:700;letter-spacing:-.2px;line-height:1.4;}
.postbody .content p {margin-top:0;margin-bottom:.65em;}
.post .content a,.post .content a:visited {color:#e0f27f;}
.post .content a:hover {color:#f5ffb4;}
.post .content pre,.post .content code {font-size:13px;line-height:1.55;}
.post .content iframe,.post .content video {max-width:100%;}
.postprofile + .postbody {min-width:0;}
.panel,.post,.stat-block {font-size:13.5px;}
/* Sidebar and metadata: avoid 11px labels from earlier versions. */
.fast-latest-title,.fast-latest-title:visited {font-size:13.5px!important;line-height:1.45;}
.fast-latest-meta {font-size:12px;line-height:1.5;}
.fast-home-sidebar .stat-block p,.fast-home-sidebar .stat-block em {font-size:13px;}
.fast-home-sidebar .stat-block h3,.fast-latest-card h3 {font-size:15px;}
.fast-index-meta .time {font-size:12px;}
#page-footer .navbar,#page-footer .copyright {font-size:12.5px;}
/* Keep proportional type and an ordinary layout on small screens. */
@media(max-width:760px){
  body,#wrap {font-size:13px;}
  ul.topiclist li.row a.forumtitle,ul.topiclist li.row a.topictitle {font-size:14.5px;}
  ul.topiclist li.row .forumdesc,ul.topiclist li.row .list-inner {font-size:12.5px;}
  .post .content,.postbody .content {font-size:14px;line-height:1.65;}
  .postbody h3,.postbody h3 a {font-size:17px;}
  h2,.topic-title,h2.topic-title {font-size:21px;}
  .action-bar .buttons a.button {font-size:13px;min-height:32px;}
  .action-bar .buttons a.button[href*="mode=post"],
  .action-bar .buttons a.button[href*="mode=reply"] {min-width:110px;}
}


/* ========================================================================
   FAST Industrial v1.4 — Quick Reply page legibility
   Surgical appearance-only patch. Does not touch index/sidebar layout,
   extension templates, phpBB posting permissions, forms or database.
   ======================================================================== */
/* Prosilver's .quickreply-title (h2) is outside the h3 rules of v1.3.
   Cover both standard quickreply_editor.html and slightly altered child styles. */
#qr_postform h2.quickreply-title,
#qr_postform .quickreply-title,
h2.quickreply-title,
.quickreply-title {
  color:#e9f1ec !important;
  font-family:var(--fast-ui-font);
  font-size:20px;
  font-weight:700;
  line-height:1.4;
  letter-spacing:-.2px;
  text-shadow:none;
}
/* A discreet RASCH accent makes the heading legible without neon text. */
#qr_postform .quickreply-title {border-bottom:1px solid #667344;padding-bottom:9px;margin-bottom:14px;}
/* Text/labels around the subject and editor remain bright on charcoal. */
#qr_postform .panel fieldset label,
#qr_postform .panel fieldset dt,
#qr_postform .panel fieldset dd,
#qr_postform .panel fieldset strong,
#qr_postform .panel p {color:#f0f3f1!important;}
#qr_postform input.inputbox,
#qr_postform textarea.inputbox {background:#f9fbfa;color:#18201e;border:1px solid #9ca9a3;}
#qr_postform input.inputbox:focus,
#qr_postform textarea.inputbox:focus {border-color:#cadb45;box-shadow:0 0 0 2px #cadb4526;outline:none;}
/* Quick reply submit + Full editor buttons keep a dark foreground at every state. */
#qr_postform .submit-buttons input[type="submit"],
#qr_postform .submit-buttons .button,
#qr_postform .submit-buttons .button1,
#qr_postform .submit-buttons .button2,
#qr_postform .submit-buttons a.button:link,
#qr_postform .submit-buttons a.button:visited,
#qr_postform .submit-buttons a.button:hover,
#qr_postform .submit-buttons a.button:focus {
  background:#cfe500;
  color:#152018!important;
  text-shadow:none!important;
  font-family:var(--fast-ui-font);
  font-size:14px;
  font-weight:700;
  border:1px solid #b5ca00;
  border-radius:7px;
}
#qr_postform .submit-buttons input[type="submit"]:hover,
#qr_postform .submit-buttons input[type="submit"]:focus,
#qr_postform .submit-buttons .button:hover,
#qr_postform .submit-buttons .button1:hover,
#qr_postform .submit-buttons .button2:hover {background:#eaf773;color:#111917!important;}
/* phpBB action bar fallback: visible labels in both normal and hover states. */
.action-bar .buttons a.button,
.action-bar .buttons a.button:link,
.action-bar .buttons a.button:visited,
.action-bar .buttons a.button:hover,
.action-bar .buttons a.button:focus,
.action-bar .buttons a.button > span,
.action-bar .buttons a.button > i {color:#152018!important;}


/* ========================================================================
   FAST Industrial v1.5 — Daha koyu ve uyumlu forum satirlari
   The near-white forum/topic table rows are toned down to neutral slate grey.
   Topic headings, last-post metadata and controls retain dark text contrast.
   The latest-topics sidebar uses its own !important charcoal backgrounds.
   No phpBB logic, permissions, content or layout are changed.
   ======================================================================== */
:root {
  --fast-row-odd: #bdc6c8;
  --fast-row-even: #aebabc;
  --fast-row-hover: #cbd6c5;
  --fast-row-border: #89999c;
  --fast-row-text: #172224;
}
/* Same rows on the homepage and inside forums; sidebar stays dark. */
.forabg ul.topiclist li.row,
.forumbg ul.topiclist li.row {
  background: var(--fast-row-odd);
  border-bottom-color: var(--fast-row-border);
  color: var(--fast-row-text);
}
.forabg ul.topiclist li.row:nth-child(even),
.forumbg ul.topiclist li.row:nth-child(even) {
  background: var(--fast-row-even);
}
.forabg ul.topiclist li.row:hover,
.forumbg ul.topiclist li.row:hover {
  background: var(--fast-row-hover);
}
.forabg ul.topiclist li.row dd,
.forumbg ul.topiclist li.row dd {
  border-color: var(--fast-row-border);
}
/* Continue to give headings and descriptions clear contrast on slate. */
.forabg ul.topiclist li.row dt,
.forabg ul.topiclist li.row dd,
.forumbg ul.topiclist li.row dt,
.forumbg ul.topiclist li.row dd,
.forabg ul.topiclist li.row .list-inner,
.forumbg ul.topiclist li.row .list-inner {
  color: var(--fast-row-text);
}
.forabg ul.topiclist li.row .forumdesc,
.forumbg ul.topiclist li.row .forumdesc,
.forabg ul.topiclist li.row .responsive-hide,
.forumbg ul.topiclist li.row .responsive-hide {
  color: #344447;
}
/* Explicitly protect the existing, working dark 'Son Konular' sidebar. */
.fast-latest-slot .forumbg ul.topiclist li.row,
.fast-latest-card ul.topiclist li.row {
  background: #20282a !important;
  color: #eff5f3 !important;
  border-bottom-color: #3b484a !important;
}
.fast-latest-slot .forumbg ul.topiclist li.row:hover,
.fast-latest-card ul.topiclist li.row:hover { background: #293436 !important; }


/* ======================================================================
   FAST Industrial v1.6 — index column header alignment (homepage only)

   "Forumlari okunmus say" currently occupies a native phpBB action bar
   at the top of the left grid column, pushing the first category panel
   downward by ~50px.  Keep the original link, data-ajax behavior and
   permissions intact, but take that one bar out of normal document flow.
   The first forum header then aligns with the "Son Konular" sidebar.
   ====================================================================== */
.fast-home-main {position:relative;}
.fast-home-main > .action-bar.compact {
  position:absolute;
  top:-27px;
  right:0;
  z-index:3;
  display:block;
  width:auto;
  min-height:0;
  height:auto;
  margin:0 !important;
  padding:0 !important;
  white-space:nowrap;
  background:transparent;
  border:0;
}
.fast-home-main > .action-bar.compact .mark-read {
  float:none !important;
  display:inline-block;
  line-height:1.4;
  font-size:12px;
  font-weight:600;
  padding:0;
  margin:0;
}
/* On small screens the forum and sidebar are stacked; let the control
   remain in normal flow instead of overlapping the visit time. */
@media (max-width:760px) {
  .fast-home-main > .action-bar.compact {
    position:static;
    display:flex;
    justify-content:flex-end;
    margin:0 0 7px !important;
    padding:0 !important;
    white-space:normal;
  }
}


/* ========================================================================
   FAST Industrial v1.7 — requested visual refinements only.
   1) Search box moved 28px down in desktop banner (mobile stays unchanged).
   2) Main forum/Recent Topics alignment performed in fast-ui.js against
      live rendered first category/sidebar positions, not an assumed margin.
   The supplied 1920x360 banner is theme/images/banner.jpg.
   ======================================================================== */
@media (min-width:761px) {
  .headerbar #search-box { transform:translateY(28px); }
}


/* FAST Industrial v1.9: compact button at the TRUE top-right of hero.
   Keep the existing v1.7 banner, search, forum/sidebar layout and JS intact.
   .headerbar .inner begins below its 26px top padding on desktop;
   a negative top offset puts this small link along the banner top edge. */
.headerbar .inner > a.fast-support-link {
  position: absolute;
  top: -20px;
  right: -8px;
  z-index: 5;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 9px;
  border: 1px solid #d0e500;
  border-radius: 5px;
  background: #cfe500;
  color: #18211a !important;
  font: 700 11px/1.3 'Segoe UI', Arial, sans-serif;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 1px 4px #0005;
}
.headerbar .inner > a.fast-support-link:hover,
.headerbar .inner > a.fast-support-link:focus-visible {
  color: #111916 !important;
  background: #e2f533;
  border-color: #e2f533;
  box-shadow: 0 0 0 2px #d0e50055;
  text-decoration: none !important;
}
@media (max-width: 900px) {
  .headerbar .inner > a.fast-support-link {
    top: -9px;
    right: -2px;
    padding: 5px 7px;
    font-size: 10px;
    gap: 3px;
  }
}
@media (max-width: 500px) {
  .headerbar .inner > a.fast-support-link {
    top: -8px;
    right: -2px;
    padding: 4px 6px;
    font-size: 10px;
    max-width: 52%;
    white-space: nowrap;
  }
}


/* FAST Industrial v1.10 — support link adjacent to the search bar.
   Everything from v1.9 stays as-is. No markup or JS is changed.
   Search stays at its established v1.7 height: the button is moved
   from the upper corner to the right of that search on the same line. */
@media (min-width: 761px) {
  .headerbar #search-box {
    right: 174px; /* 162px compact support link + 12px breathing room */
  }
  .headerbar .inner > a.fast-support-link {
    top: auto;
    right: 0;
    bottom: 0;
    width: 162px;
    min-height: 29px;
    padding: 5px 8px;
  }
}
@media (max-width: 760px) {
  /* Compact, side-by-side controls without overflowing narrow viewports. */
  .headerbar #search-box {
    left: 4px;
    right: auto;
    bottom: 4px;
    transform: none;
    max-width: calc(56% - 8px);
  }
  .headerbar #search-box #keywords {
    width: clamp(48px, calc(56vw - 105px), 226px);
    max-width: none;
  }
  .headerbar .inner > a.fast-support-link {
    top: auto;
    right: 4px;
    bottom: 11px;
    max-width: 40%;
    min-height: 25px;
    padding: 4px 6px;
    font-size: 10px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }
}


/* ===============================================================
   Hizalama: canli sitede v1.10 sonrasi uygulanan kullanici ayarlari.
   Sonradan canli stylesheet.css icinde farkli degerler kullandiysan
   bunlari kendi degerlerinle degistirebilirsin.
   =============================================================== */
@media (min-width: 761px) {
  .headerbar #search-box {
    top: auto;
    right: 174px;
    bottom: -18px;
    transform: none;
    height: 40px;
    box-sizing: border-box;
  }
  .headerbar .inner > a.fast-support-link {
    top: auto;
    right: 0;
    bottom: -9px;
    width: 145px;
    height: 30px;
    min-height: 30px;
    padding: 0 6px;
    font-size: 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .headerbar #search-box form {
    position: relative;
    top: 5px;
  }
}

/* ===============================================================
   FAST Industrial v1.11 — Kullanici Kontrol Paneli renk duzeltmesi
   Scope: phpBB UCP/MCP'nin ortak #cp-main / #cp-menu yapisi.
   Forum ana sayfasi, banner ve sidebar CSS'i degismez.
   =============================================================== */

/* phpBB/prosilver UCP iceriginde acik panel + acik yazi celiskisini gider. */
#cp-main .panel,
#cp-main .panel.bg1,
#cp-main .panel.bg2,
#cp-main .panel.bg3 {
  background: #263133 !important;
  background-image: none !important;
  color: #eef4f2 !important;
  border: 1px solid #435354;
  border-radius: 8px;
}
#cp-main .panel .inner,
#cp-main .panel p,
#cp-main .panel div,
#cp-main .panel dl,
#cp-main .panel dt,
#cp-main .panel dd,
#cp-main .panel li,
#cp-main .panel span:not(.icon),
#cp-main .panel label,
#cp-main .panel fieldset,
#cp-main .panel .content,
#cp-main .panel .details,
#cp-main .panel .column1,
#cp-main .panel .column2,
#cp-main .panel .column1 dl,
#cp-main .panel .column2 dl {
  color: #eef4f2;
}
#cp-main h2,
#cp-main h3,
#cp-main h4,
#cp-main .panel h2,
#cp-main .panel h3,
#cp-main .panel h4,
#cp-main .panel strong,
#cp-main .panel b,
#cp-main .panel dt strong {
  color: #f6faf9 !important;
}
#cp-main h3, #cp-main hr, #cp-menu hr,
#cp-main .panel .separator, #cp-main .panel .fieldset {
  border-color: #4c5d5e !important;
}
#cp-main .panel a:link,
#cp-main .panel a:visited,
#cp-main .panel a.username-coloured {
  color: #e1ed78 !important;
  text-decoration: none;
}
#cp-main .panel a:hover,
#cp-main .panel a:focus-visible {
  color: #f5ffb4 !important;
  text-decoration: underline;
}
/* Bu UCP formlarinda alanlar acik zeminde koyu yazi gostermeli. */
#cp-main input.inputbox,
#cp-main textarea.inputbox,
#cp-main select,
#cp-main input[type="text"],
#cp-main input[type="email"],
#cp-main input[type="password"],
#cp-main textarea {
  background: #f7faf8;
  color: #162122 !important;
  border-color: #899c98;
}
#cp-main .button,
#cp-main .button1,
#cp-main .button2,
#cp-main input[type="submit"] {
  background: #cee500;
  color: #18211d !important;
  border-color: #cee500;
}
/* Kisisel kontrol paneli sol menusu. */
#cp-menu, #cp-menu .cp-mini {
  color: #ebf1ef;
}
#navigation a,
#navigation a:link,
#navigation a:visited {
  background: #303d40 !important;
  background-image: none !important;
  color: #eef4f2 !important;
  border-color: #526162;
  text-decoration: none;
}
#navigation a:hover,
#navigation a:focus-visible {
  background: #405154 !important;
  color: #f2ff9f !important;
}
#navigation #active-subsection a,
#navigation #active-subsection a:link,
#navigation #active-subsection a:visited,
#navigation #active-subsection a:hover {
  background: #cfe500 !important;
  background-image: none !important;
  color: #18221c !important;
  font-weight: 700;
}
/* Genel / Mesajlar / Profil gibi ust sekmeler. */
#tabs .tab a,
#tabs .tab a:link,
#tabs .tab a:visited {
  background: #344144;
  background-image: none !important;
  color: #f2f6f4 !important;
  border: 1px solid #506064;
}
#tabs .activetab a,
#tabs .activetab a:link,
#tabs .activetab a:visited,
#tabs .activetab a:hover {
  background: #cee500 !important;
  background-image: none !important;
  color: #16201c !important;
  border-color: #cee500;
}
#tabs .tab:not(.activetab) a:hover { background: #435457; color: #f3ffae !important; }
/* Konu ve mesaj panellerindeki ana sayfa akisini etkilemez. */
#cp-main .pm-message, #cp-main .cp-mini {
  background: #263133;
  color: #eef4f2;
  border-color: #435354;
}
#cp-main .panel table,
#cp-main .panel table.table1 {
  color: #eef4f2;
}
#cp-main .panel table.table1 td,
#cp-main .panel table.table1 th { color: #eef4f2; border-color: #49595b; }

/* ==============================================================
   FAST Industrial v1.13 — PROFIL MENUSU / UYE PROFILI KONTRASTI
   phpBB navbar kullanici menusu ve memberlist.php?mode=viewprofile.
   Baska menuler, banner, arama, ana sayfa ve UCP degistirilmez.
   ============================================================== */

/* Oturum acmis kullanicinin ust menusu: acik fonu antrasit yap. */
#username_logged_in .header-profile .dropdown .dropdown-contents {
    background: #263032 !important;
    background-image: none !important;
    border: 1px solid #546265 !important;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .40);
    color: #f1f5f3 !important;
}
#username_logged_in .header-profile .dropdown .pointer-inner {
    border-color: #263032 transparent !important;
}
#username_logged_in .header-profile .dropdown .dropdown-contents li,
#username_logged_in .header-profile .dropdown .dropdown-contents li.separator {
    border-color: #485658 !important;
}
#username_logged_in .header-profile .dropdown .dropdown-contents li a,
#username_logged_in .header-profile .dropdown .dropdown-contents li a:link,
#username_logged_in .header-profile .dropdown .dropdown-contents li a:visited,
#username_logged_in .header-profile .dropdown .dropdown-contents li a span {
    color: #eff4f2 !important;
    text-decoration: none;
    text-shadow: none;
}
#username_logged_in .header-profile .dropdown .dropdown-contents li a .icon {
    color: #cfdf30 !important;
}
#username_logged_in .header-profile .dropdown .dropdown-contents li a:hover,
#username_logged_in .header-profile .dropdown .dropdown-contents li a:focus-visible {
    background: #3b4a4c !important;
    color: #f7ffcf !important;
}
#username_logged_in .header-profile .dropdown .dropdown-contents li a:hover span,
#username_logged_in .header-profile .dropdown .dropdown-contents li a:focus-visible span {
    color: #f7ffcf !important;
}

/* Profil goruntuleme sayfasinin dl.details etiketleri prosilver'da
   siyah/gri gelir. Yalniz #viewprofile icinde acik renge cevir. */
#viewprofile .panel,
#viewprofile .panel .inner,
#viewprofile .panel .column1,
#viewprofile .panel .column2,
#viewprofile .panel dl.details {
    color: #e9f0ed !important;
}
#viewprofile .panel dl.details dt,
#viewprofile .panel dl.profile-details dt {
    color: #f4f7f5 !important;
}
#viewprofile .panel dl.details dd,
#viewprofile .panel dl.profile-details dd {
    color: #dce7e3 !important;
}
#viewprofile .panel dl.details dd strong,
#viewprofile .panel dl.profile-details dd strong {
    color: #f4f7f5 !important;
}
#viewprofile .panel dl.details dd a,
#viewprofile .panel dl.details dd a:visited {
    color: #e0ed70 !important;
}
#viewprofile .panel dl.details dd a:hover,
#viewprofile .panel dl.details dd a:focus-visible {
    color: #f6ffc4 !important;
}
/* Yonetici gruplarindan gelen inline kirmizi kullanici adinin da
   bu koyu profil kartinda okunmasini sagla. */
#viewprofile .panel dl.profile-details dd span[style*="color" i] {
    color: #e2ee83 !important;
}
/* Grup secim kutusu acik zeminli kalmali, metni koyu olmali. */
#viewprofile select,
#viewprofile select option {
    color: #1a2524 !important;
    background: #f5f8f5;
}

/* ========================================================================
   FAST Industrial v1.15 — Full-site contrast repairs (10 November 2026)
   Applies ONLY to visual styles. Does not change the banner, search/support
   alignment, sidebars, topic data, forum permissions or phpBB templates.
   Dark surfaces use light text; light form controls use dark text.
   ======================================================================== */
:root {
  --fast-fix-surface: #263133;
  --fast-fix-row: #2a3537;
  --fast-fix-row-alt: #344143;
  --fast-fix-hover: #405054;
  --fast-fix-border: #526265;
  --fast-fix-text: #f1f5f3;
  --fast-fix-muted: #d5dfdb;
  --fast-fix-link: #e1ed82;
}

/* 1. All phpBB dropdowns (topic tools, moderator actions, bookmarks,
   notification menus). Earlier builds fixed only the username dropdown. */
#wrap .dropdown .dropdown-contents {
  background: var(--fast-fix-surface) !important;
  background-image: none !important;
  color: var(--fast-fix-text) !important;
  border: 1px solid var(--fast-fix-border) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
#wrap .dropdown .pointer-inner {
  border-top-color: var(--fast-fix-surface) !important;
  border-bottom-color: var(--fast-fix-surface) !important;
}
#wrap .dropdown .dropdown-contents li,
#wrap .dropdown .dropdown-contents li.separator {
  border-color: #46575a !important;
  background-color: transparent !important;
}
#wrap .dropdown .dropdown-contents a,
#wrap .dropdown .dropdown-contents a:link,
#wrap .dropdown .dropdown-contents a:visited,
#wrap .dropdown .dropdown-contents a span,
#wrap .dropdown .dropdown-contents label,
#wrap .dropdown .dropdown-contents small,
#wrap .dropdown .dropdown-contents strong {
  color: var(--fast-fix-text) !important;
  text-shadow: none !important;
}
#wrap .dropdown .dropdown-contents a .icon,
#wrap .dropdown .dropdown-contents .icon {
  color: var(--fast-fix-link) !important;
}
#wrap .dropdown .dropdown-contents a:hover,
#wrap .dropdown .dropdown-contents a:focus-visible,
#wrap .dropdown .dropdown-contents li:hover > a {
  background: var(--fast-fix-hover) !important;
  color: #f6ffcc !important;
}
#wrap .dropdown .dropdown-contents a:hover span,
#wrap .dropdown .dropdown-contents a:focus-visible span {
  color: #f6ffcc !important;
}

/* 2. User Control Panel and Moderator Control Panel tables/lists.
   phpBB uses .row.bg1/.bg2 and .cplist/.pmlist outside .forabg.
   Keep these DARK; the forum category rows elsewhere retain v1.5 slate. */
#cp-main ul.topiclist.cplist,
#cp-main ul.topiclist.pmlist,
#cp-main ul.topiclist:not(.forums):not(.topics) {
  background: var(--fast-fix-surface) !important;
}
#cp-main ul.topiclist li.row,
#cp-main ul.topiclist li.row.bg1,
#cp-main ul.topiclist li.row.bg2,
#cp-main ul.topiclist li.row.bg3,
#cp-main .panel li.row.bg1,
#cp-main .panel li.row.bg2,
#cp-main .panel li.row.bg3 {
  background: var(--fast-fix-row) !important;
  background-image: none !important;
  color: var(--fast-fix-text) !important;
  border-bottom: 1px solid var(--fast-fix-border);
}
#cp-main ul.topiclist li.row:nth-child(even),
#cp-main .panel li.row:nth-child(even) {
  background: var(--fast-fix-row-alt) !important;
}
#cp-main ul.topiclist li.row:hover,
#cp-main .panel li.row:hover {
  background: var(--fast-fix-hover) !important;
}
#cp-main ul.topiclist li.row dl,
#cp-main ul.topiclist li.row dt,
#cp-main ul.topiclist li.row dd,
#cp-main ul.topiclist li.row .list-inner,
#cp-main ul.topiclist li.row .responsive-show,
#cp-main ul.topiclist li.row .responsive-hide,
#cp-main ul.topiclist li.row span:not(.icon),
#cp-main ul.topiclist li.row strong,
#cp-main ul.topiclist li.row label,
#cp-main ul.topiclist li.row small,
#cp-main ul.topiclist li.row p,
#cp-main ul.topiclist li.row .lastpost,
#cp-main .panel li.row span,
#cp-main .panel li.row label {
  color: var(--fast-fix-text) !important;
}
#cp-main ul.topiclist li.row a:not(.button),
#cp-main ul.topiclist li.row a:link:not(.button),
#cp-main ul.topiclist li.row a:visited:not(.button),
#cp-main .panel li.row a:not(.button) {
  color: var(--fast-fix-link) !important;
  text-decoration: none;
}
#cp-main ul.topiclist li.row a:hover:not(.button),
#cp-main .panel li.row a:hover:not(.button) {
  color: #fbffd0 !important;
  text-decoration: underline;
}
#cp-main ul.topiclist li.row .username-coloured,
#cp-main ul.topiclist li.row a.username-coloured {
  color: #e4ef8a !important;
}

/* 3. Private-message colour legend and smaller UCP side widgets. */
#cp-menu .cp-mini,
#cp-menu .cp-mini .inner,
#cp-menu .cp-mini dl,
#cp-main .cp-mini,
#cp-main .cp-mini .inner {
  background: var(--fast-fix-surface) !important;
  background-image: none !important;
  color: var(--fast-fix-text) !important;
  border-color: var(--fast-fix-border) !important;
}
#cp-menu .cp-mini dt,
#cp-menu .cp-mini dd,
#cp-menu .cp-mini .pm-legend,
#cp-menu .cp-mini strong,
#cp-menu .cp-mini span,
#cp-main .cp-mini dt,
#cp-main .cp-mini dd {
  color: var(--fast-fix-text) !important;
}
#cp-menu .cp-mini a,
#cp-main .cp-mini a {color: var(--fast-fix-link) !important;}

/* 4. Table rows in UCP, member lists and moderation panels. Standard table
   headers stay dark; body rows change to legible alternating dark grays. */
#wrap table.table1 tbody tr,
#wrap table.table1 tbody tr.bg1,
#wrap table.table1 tbody tr.bg2,
#wrap table.table1 tbody tr.bg3,
#cp-main table tbody tr,
#cp-main table tbody tr.bg1,
#cp-main table tbody tr.bg2 {
  background: var(--fast-fix-row) !important;
  background-image: none !important;
  color: var(--fast-fix-text) !important;
}
#wrap table.table1 tbody tr:nth-child(even),
#cp-main table tbody tr:nth-child(even) {
  background: var(--fast-fix-row-alt) !important;
}
#wrap table.table1 tbody tr:hover,
#cp-main table tbody tr:hover {
  background: var(--fast-fix-hover) !important;
}
#wrap table.table1 tbody td,
#wrap table.table1 tbody th,
#cp-main table tbody td,
#cp-main table tbody th,
#cp-main table tbody td span,
#cp-main table tbody td strong {
  color: var(--fast-fix-text) !important;
  background-color: transparent !important;
  border-color: var(--fast-fix-border) !important;
}
#wrap table.table1 tbody a,
#cp-main table tbody a {color: var(--fast-fix-link) !important;}
#wrap table.table1 thead th,
#cp-main table thead th {
  background: #1b2325;
  color: #f4f7f5 !important;
  border-color: var(--fast-fix-border);
}

/* 5. Nested light phpBB panels that are not editable text fields. */
#cp-main .panel .bg1,
#cp-main .panel .bg2,
#cp-main .panel .bg3,
#cp-main .panel .rules,
#cp-main .panel .inner > .panel,
#cp-main .panel .fieldset {
  background-color: var(--fast-fix-surface) !important;
  color: var(--fast-fix-text) !important;
  border-color: var(--fast-fix-border) !important;
}
#cp-main .panel .bg1 p,
#cp-main .panel .bg2 p,
#cp-main .panel .bg3 p,
#cp-main .panel .bg1 label,
#cp-main .panel .bg2 label,
#cp-main .panel .bg3 label {
  color: var(--fast-fix-text) !important;
}

/* 6. Non-form table content inside forum posts: avoid white stripes from
   generic phpBB table styling, but do not erase user-chosen yellow/red BBCode.
   Explicit WHITE inline table backgrounds are corrected to charcoal. */
#wrap .post .content table {background-color: #273335;}
#wrap .post .content table tr:not([style*="background" i]):not([bgcolor]),
#wrap .post .content table td:not([style*="background" i]):not([bgcolor]),
#wrap .post .content table th:not([style*="background" i]):not([bgcolor]) {
  background-color: transparent !important;
}
#wrap .post .content table :is(tr,td,th)[style*="background" i][style*="white" i],
#wrap .post .content table :is(tr,td,th)[style*="background" i][style*="#fff" i],
#wrap .post .content table :is(tr,td,th)[style*="background" i][style*="255, 255, 255" i],
#wrap .post .content table :is(tr,td,th)[bgcolor="white" i],
#wrap .post .content table :is(tr,td,th)[bgcolor="#fff" i],
#wrap .post .content table :is(tr,td,th)[bgcolor="#ffffff" i] {
  background-color: #283436 !important;
}

/* 7. Do not darken the actual form editor fields: they must always have
   dark text on a pale input background. Includes selects and PM forms. */
#wrap :is(input.inputbox, textarea.inputbox, input[type="text"],
  input[type="search"], input[type="email"], input[type="password"],
  select, textarea):not([type="submit"]):not([type="button"]) {
  color: #172123 !important;
}
#wrap :is(input.inputbox, textarea.inputbox, input[type="text"],
  input[type="search"], input[type="email"], input[type="password"],
  select, textarea):not([type="submit"]):not([type="button"]):not([disabled]) {
  background-color: #f4f7f6;
}
#wrap select option {background-color:#f4f7f6;color:#172123!important;}
#wrap input::placeholder,#wrap textarea::placeholder {color:#526365;opacity:1;}
#wrap .button, #wrap .button1, #wrap .button2,
#wrap a.button, #wrap a.button:link, #wrap a.button:visited,
#wrap button.button, #wrap input.button1, #wrap input.button2 {
  color: #17201a !important;
}
/* Native button labels should also remain legible inside UCP pages. */
#cp-main .button span:not(.sr-only),
#cp-main .button1 span:not(.sr-only),
#cp-main .button2 span:not(.sr-only) { color:#17201a!important; }

/* Keep selected text visible while inspecting/editing posts. */
#wrap ::selection {background:#b7cf32;color:#13201c;}


/* ======================================================================
   FAST Industrial v1.16 — KONU ICINDEKI MARKDOWN TABLOLARI
   Yalnizca gonderi icerisindeki <table> elemanlari; phpBB ana sayfa,
   Son Konular, UCP tablolarina ve arama / destek butonuna dokunmaz.
   Markdown eklentilerinin beyaz zebra satiri, hucre ve hover renklerini
   bastirir. BBCode'un kendi kirmizi/sari metin ve vurgularini korur.
   ====================================================================== */
#wrap :is(.post .content, .postbody .content) table {
    background: #263234 !important;
    background-image: none !important;
    color: #f0f4f2;
    border-color: #566467;
}

/* Eklentinin background'u tr, td, th veya tbody uzerine yazmasi halinde
   de acik/beyaz blok kalmasin. */
#wrap :is(.post .content, .postbody .content) table :is(thead, tbody, tfoot, tr, th, td) {
    background-color: #263234 !important;
    background-image: none !important;
    border-color: #566467 !important;
}
#wrap :is(.post .content, .postbody .content) table :is(td, th) {
    color: #f0f4f2;
}

/* Header ve zebra satirlari ayni koyu temanin farkli tonlari. */
#wrap :is(.post .content, .postbody .content) table thead :is(tr, th, td) {
    background-color: #192326 !important;
}
#wrap :is(.post .content, .postbody .content) table tbody tr:nth-child(even),
#wrap :is(.post .content, .postbody .content) table tbody tr:nth-child(even) > :is(td, th) {
    background-color: #303e40 !important;
}
#wrap :is(.post .content, .postbody .content) table tbody tr:hover,
#wrap :is(.post .content, .postbody .content) table tbody tr:hover > :is(td, th) {
    background-color: #39494c !important;
}

/* BBCode icinde bilincli kullanilan #000000 ayirici cizgileri
   antrasit zemin uzerinde gorunur yap; diger renkleri degistirme. */
#wrap :is(.post .content, .postbody .content) table :is(td,th)
  :is(span, font)[style*="color:#000000" i],
#wrap :is(.post .content, .postbody .content) table :is(td,th)
  :is(span, font)[style*="color: #000000" i],
#wrap :is(.post .content, .postbody .content) table :is(td,th)
  :is(span, font)[color="#000000" i] {
    color: #adbbbc !important;
}

/* Son katman: Markdown eklentisinin table.markdown sinifi eski
   v1.15 tr/td:nth-child kurallarindan daha yuksek ozgullukte olsun.
   Aksi halde tr/td arka plani transparent kalabilir. */
#wrap .post .content table.markdown :is(thead, tbody, tfoot, tr, td, th),
#wrap .postbody .content table.markdown :is(thead, tbody, tfoot, tr, td, th) {
    background-color: #263234 !important;
    background-image: none !important;
}
#wrap .post .content table.markdown thead :is(tr, td, th),
#wrap .postbody .content table.markdown thead :is(tr, td, th) {
    background-color: #192326 !important;
}
#wrap .post .content table.markdown tbody tr:nth-child(even),
#wrap .post .content table.markdown tbody tr:nth-child(even) > :is(td,th),
#wrap .postbody .content table.markdown tbody tr:nth-child(even),
#wrap .postbody .content table.markdown tbody tr:nth-child(even) > :is(td,th) {
    background-color: #303e40 !important;
}
#wrap .post .content table.markdown tbody tr:hover,
#wrap .post .content table.markdown tbody tr:hover > :is(td,th),
#wrap .postbody .content table.markdown tbody tr:hover,
#wrap .postbody .content table.markdown tbody tr:hover > :is(td,th) {
    background-color: #39494c !important;
}


/* ======================================================================
   FAST Industrial v1.18 — KONU ICINDEKI TABLOLARDA HOVER/SECIM DÜZELTMESI
   V1.16'da kalan acik hover efekti ve zayif sari link gorunurlugu giderildi.
   ====================================================================== */
#wrap :is(.post .content, .postbody .content) table tbody tr:hover,
#wrap :is(.post .content, .postbody .content) table tbody tr:hover > :is(td, th),
#wrap :is(.post .content, .postbody .content) table tbody :is(td, th):hover,
#wrap :is(.post .content, .postbody .content) table.markdown tbody tr:hover,
#wrap :is(.post .content, .postbody .content) table.markdown tbody tr:hover > :is(td, th),
#wrap :is(.post .content, .postbody .content) table.markdown tbody :is(td, th):hover {
    background: #192325 !important;
    background-color: #192325 !important;
    background-image: none !important;
}

/* Hover aninda link ve normal yazi daha net gorunsun. */
#wrap :is(.post .content, .postbody .content) table tbody tr:hover :is(a, strong, span, font, b),
#wrap :is(.post .content, .postbody .content) table tbody :is(td, th):hover :is(a, strong, span, font, b),
#wrap :is(.post .content, .postbody .content) table.markdown tbody tr:hover :is(a, strong, span, font, b),
#wrap :is(.post .content, .postbody .content) table.markdown tbody :is(td, th):hover :is(a, strong, span, font, b) {
    color: inherit;
}
#wrap :is(.post .content, .postbody .content) table tbody tr:hover a,
#wrap :is(.post .content, .postbody .content) table tbody :is(td, th):hover a,
#wrap :is(.post .content, .postbody .content) table.markdown tbody tr:hover a,
#wrap :is(.post .content, .postbody .content) table.markdown tbody :is(td, th):hover a {
    color: #f0f97a !important;
    text-decoration-color: #9dc7ff;
}

/* Tarayici secim/odak efektleri beyaz leke gibi gorunmesin. */
#wrap :is(.post .content, .postbody .content) table :is(td, th)::selection,
#wrap :is(.post .content, .postbody .content) table :is(a, span, font, strong, b)::selection {
    background: #6f8600;
    color: #f8fbeb;
}
