/* Accepted fixed-company shell; content and operations remain Core HTML. */
body.rtcn-fixed-portal[data-fp-presentation=metal-v1]{--fp-bg:#171a1b;--fp-text:#f1c39f;--fp-muted:#ccb39f;--fp-border:#967555;--fp-card:#303639;--fp-card-2:#252d31;--fp-input:#20292e;--fp-accent:#edb383;--fp-on-accent:#231a14;--fp-danger:#ffae9c;--fp-success:#b9d2ad;--fp-warn:#e0b37c;--fp-warn-bg:#49362b;--fp-danger-bg:#4b2d29;--fp-shadow:#0007;--fp-glow:transparent;--fp-font:"Segoe UI",Arial,sans-serif;background:#171a1b;color:var(--fp-text);display:flex;justify-content:center;align-items:center;height:100dvh;min-height:0;overflow:hidden;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
body[data-fp-presentation=metal-v1] #fixedPortalApp{position:relative;width:min(100vw,56.279904dvh);aspect-ratio:941/1672;max-width:none;min-height:0;margin:0;background:url('fixed-metal-shell.png') center/100% 100% no-repeat;box-shadow:none}
body[data-fp-presentation=metal-v1] .fp-header{position:absolute;top:0;left:0;width:100%;height:10%;min-height:0;padding:0;border:0;background:none;box-shadow:none}
body[data-fp-presentation=metal-v1] .fp-brand{position:absolute;left:5%;top:20%;width:30%;height:65%;font-size:0!important;color:transparent!important}
body[data-fp-presentation=metal-v1] .fp-brand span{display:none}
body[data-fp-presentation=metal-v1] #fpBell{display:none!important}
body[data-fp-presentation=metal-v1] #fpService{display:none!important}
body[data-fp-presentation=metal-v1] #fpMain{position:absolute;top:10.91%;left:5.42%;width:89.1%;height:72.6%;min-height:0;padding:11px 10px;overflow:auto;background:repeating-linear-gradient(0deg,#ffffff03 0,#ffffff03 1px,transparent 1px,transparent 3px),radial-gradient(ellipse at top,#303539,#172024 80%);scrollbar-width:thin;scrollbar-color:#8f735e #222d32}
body[data-fp-presentation=metal-v1] #fpNav{position:absolute;left:2.3%;top:86.6%;bottom:auto;width:95.4%;height:10%;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0;background:none;border:0;box-shadow:none;backdrop-filter:none}
body[data-fp-presentation=metal-v1] #fpNav button{height:100%;min-width:0;min-height:44px;background:transparent;border:1px solid transparent;border-radius:10px;color:transparent;font-size:0;padding:0;box-shadow:none}
body[data-fp-presentation=metal-v1] #fpNav button span{display:none}
body[data-fp-presentation=metal-v1] #fpNav button[aria-current=page]{border-color:#ffd1a155;box-shadow:inset 0 0 10px #ffa75426;background:#e7a2620d}
body[data-fp-presentation=metal-v1] #fpNav button:hover{background:#ffe2c018}
body[data-fp-presentation=metal-v1] #fpNotice{position:absolute;left:6%;top:10.9%;width:88%;max-height:25%;overflow:auto;z-index:35;margin:0;padding:9px 11px;background:#453529;color:#ffe6cd;font-size:12px;box-shadow:0 3px 10px #0008}
body[data-fp-presentation=metal-v1] .fp-card{padding:13px;border:1px solid #b88d66;background:repeating-linear-gradient(0deg,#ffffff04 0,#ffffff04 1px,transparent 1px,transparent 3px),linear-gradient(125deg,#42484c,#252f35);box-shadow:inset 0 1px 0 #ebc29c33,0 3px 5px #0007;border-radius:10px;margin-bottom:10px}
body[data-fp-presentation=metal-v1] .fp-card h1{font-size:20px;color:#ffd0a7}
body[data-fp-presentation=metal-v1] .fp-card h2{font-size:15px}
body[data-fp-presentation=metal-v1] .fp-card h3{font-size:14px}
body[data-fp-presentation=metal-v1] button{font-size:12px;min-height:44px}
body[data-fp-presentation=metal-v1] .fp-metal-company{padding:11px}
body[data-fp-presentation=metal-v1] .fp-metal-eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:.11em;color:#d5ab89;font-weight:700}
body[data-fp-presentation=metal-v1] .fp-metal-company h1{margin:6px 0 11px;overflow-wrap:anywhere;font-size:20px}
body[data-fp-presentation=metal-v1] .fp-metal-company .fp-row{flex-wrap:nowrap;margin-bottom:7px;gap:5px}
body[data-fp-presentation=metal-v1] .fp-metal-company h2{font-size:11px;margin:0}
body[data-fp-presentation=metal-v1] button.fp-metal-link{background:none;border:0;color:#e5b591;padding:0 3px;min-height:30px;font-size:10px;font-weight:500}
body[data-fp-presentation=metal-v1] .fp-metal-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
body[data-fp-presentation=metal-v1] .fp-metal-stats .fp-tile{padding:7px 4px;min-height:62px;background:linear-gradient(130deg,#43494c,#2b3338);border-color:#9c8067;box-shadow:inset 0 1px 0 #e8c19d44,0 2px 3px #0006;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:5px;min-width:0}
body[data-fp-presentation=metal-v1] .fp-metal-stats .fp-tile span{font-size:9px;line-height:1.25;font-weight:500;text-align:left}
body[data-fp-presentation=metal-v1] .fp-metal-stats .fp-tile strong{font-size:23px;line-height:1.1;color:#f2bd8d}
body[data-fp-presentation=metal-v1] button.fp-metal-balance{width:100%;display:flex;justify-content:space-between;text-align:left;gap:8px;margin-top:7px;padding:8px 10px;min-height:51px;background:linear-gradient(120deg,#3e454a,#2a3338);border-color:#a3846b;color:#edbd98;box-shadow:inset 0 1px 0 #d8b69733;font-size:11px}
body[data-fp-presentation=metal-v1] .fp-metal-balance small{display:block;font-size:9px;margin-top:4px;font-weight:400;color:#c8b7a8}
body[data-fp-presentation=metal-v1] .fp-metal-balance strong{font-size:15px;white-space:nowrap}
body[data-fp-presentation=metal-v1] .fp-incoming{width:100%;display:flex;justify-content:flex-start;align-items:center;gap:8px;min-height:61px;padding:9px;margin:0;border:1px solid #d4a378;background:linear-gradient(125deg,#594536,#322c28);box-shadow:inset 0 1px 0 #f2c49744,0 2px 4px #0006;color:#f5c69e;text-align:left}
body[data-fp-presentation=metal-v1] .fp-incoming>span:nth-child(2){flex:1;min-width:0}
body[data-fp-presentation=metal-v1] .fp-incoming b{display:block;font-size:11px;line-height:1.3;margin:3px 0;overflow-wrap:anywhere}
body[data-fp-presentation=metal-v1] .fp-incoming small{display:block;font-size:9px;color:#d6bda8;font-weight:400}
body[data-fp-presentation=metal-v1] .fp-metal-icon{display:grid;place-items:center;width:25px;height:25px;flex:none;background:linear-gradient(130deg,#55504a,#252b2e);border:1px solid #bc9169;border-radius:7px;color:#f4bb8b;font-size:18px;line-height:1;box-shadow:inset 0 1px 0 #e5bc9444}
body[data-fp-presentation=metal-v1] .fp-metal-modules{margin-top:13px}
body[data-fp-presentation=metal-v1] .fp-metal-modules h2{font-size:11px;margin:0 0 8px;color:#eac1a0}
body[data-fp-presentation=metal-v1] .fp-metal-modules .fp-links{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body[data-fp-presentation=metal-v1] .fp-metal-modules button{display:flex;flex-direction:column;gap:6px;padding:7px 2px;min-height:60px;border-color:#a48b73;background:linear-gradient(130deg,#535c62,#303c43);box-shadow:inset 0 1px 0 #e5d1b855,0 2px 3px #0007;color:#efc39e;min-width:0;border-radius:8px}
body[data-fp-presentation=metal-v1] .fp-metal-modules button>span:last-child{font-size:9px;line-height:1.2;font-weight:500;overflow-wrap:normal}
body[data-fp-presentation=metal-v1] .fp-dialog{position:absolute;inset:auto;top:10.91%;left:5.42%;width:89.1%;height:72.6%;max-width:none;max-height:none;margin:0;padding:12px 10px;border:0;border-radius:0;background:repeating-linear-gradient(0deg,#ffffff03 0,#ffffff03 1px,transparent 1px,transparent 3px),linear-gradient(130deg,#303a3f,#192329);color:#efc39e;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;box-shadow:none;z-index:40}
body[data-fp-presentation=metal-v1] .fp-inner-form-open #fpMain{visibility:hidden}
body[data-fp-presentation=metal-v1] .fp-dialog h2{font-size:18px;margin:0 0 14px}
body[data-fp-presentation=metal-v1] .fp-dialog form{min-width:0}
body[data-fp-presentation=metal-v1] .fp-dialog input,body[data-fp-presentation=metal-v1] .fp-dialog select,body[data-fp-presentation=metal-v1] .fp-dialog textarea{max-width:100%;font-size:16px}
body[data-fp-presentation=metal-v1] .fp-dialog>button[data-action="close-dialog"]{width:100%;margin-top:12px;min-height:44px}
body[data-fp-presentation=metal-v1] .fp-dialog::backdrop{background:transparent}
@media(max-width:360px){body[data-fp-presentation=metal-v1] #fpMain{padding:9px 8px}body[data-fp-presentation=metal-v1] .fp-metal-company{padding:9px}body[data-fp-presentation=metal-v1] .fp-metal-stats .fp-tile span{font-size:8px}body[data-fp-presentation=metal-v1] .fp-metal-modules button>span:last-child{font-size:8px}}
/* Landscape and zoom prioritize usable content over a miniature portrait shell. */
@media(max-height:500px) and (min-aspect-ratio:1/1){body.rtcn-fixed-portal[data-fp-presentation=metal-v1]{display:block;height:auto;overflow:auto}body[data-fp-presentation=metal-v1] #fixedPortalApp{width:100%;min-height:100dvh;aspect-ratio:auto;background:#252e33}body[data-fp-presentation=metal-v1] .fp-header{position:relative;height:52px;background:#343c40}body[data-fp-presentation=metal-v1] .fp-brand{font-size:20px!important;color:#e9b389!important}body[data-fp-presentation=metal-v1] #fpMain{position:relative;inset:auto;width:100%;height:auto;padding:14px 14px 90px}body[data-fp-presentation=metal-v1] #fpNav{position:fixed;inset:auto 0 0;width:100%;height:65px;background:#242f35}body[data-fp-presentation=metal-v1] #fpNav button{color:#efc49f;font-size:12px}}

body[data-fp-presentation=metal-v1] #fpMain:focus{outline:none}body[data-fp-presentation=metal-v1] .fp-metal-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-fp-presentation=metal-v1] #fpNav{transform:none;max-width:none;margin:0;right:auto}

@media(max-height:500px) and (min-aspect-ratio:1/1){body[data-fp-presentation=metal-v1] .fp-inner-form-open #fpMain{display:none}body[data-fp-presentation=metal-v1] .fp-dialog[open]{position:relative;top:auto;left:auto;width:100%;height:calc(100dvh - 117px);min-height:160px;margin:0 0 65px}}

/* Accepted copper panel. Decorative images, live Core values and hit targets. */
body[data-fp-presentation=metal-v1] #fixedPortalApp{aspect-ratio:941/1670;container-type:inline-size;background-image:url('fixed-panel-blank.png')}
body[data-fp-presentation=metal-v1] #fixedPortalApp[data-screen=home]{background-image:url('fixed-panel-home.png')}
body[data-fp-presentation=metal-v1] #fpMain,body[data-fp-presentation=metal-v1] .fp-dialog{top:13.2%;left:8.5%;width:83%;height:69.8%;background:#161a1be8;color:#f1c39f}
body[data-fp-presentation=metal-v1] #fixedPortalApp[data-screen=home] #fpMain{inset:0;width:100%;height:100%;padding:0;background:none;overflow:hidden;pointer-events:none}
.fp-panel-home{position:absolute;inset:0;pointer-events:none}
body[data-fp-presentation=metal-v1] .fp-panel-home button{pointer-events:auto;background:none;border:0;box-shadow:none;padding:0;border-radius:0;color:#171717;min-height:0;font-weight:800}
.fp-panel-company{position:absolute;left:17%;top:13.25%;width:66%;height:4.35%;margin:0;display:flex;align-items:center;justify-content:center;text-align:center;font-size:clamp(18px,4.2cqw,44px);line-height:1.12;color:#171717;overflow:hidden;overflow-wrap:anywhere}
.fp-panel-stat{position:absolute;top:21%;width:21.5%;height:14.5%}
.fp-panel-stat-0{left:4.5%}.fp-panel-stat-1{left:27.2%}.fp-panel-stat-2{left:50%}.fp-panel-stat-3{left:72.8%}
.fp-panel-stat strong{position:absolute;left:10%;bottom:1%;width:86%;height:28%;display:flex;align-items:center;justify-content:center;font-size:clamp(17px,5.1cqw,50px);line-height:1;font-variant-numeric:tabular-nums;overflow:hidden}
.fp-panel-balance{position:absolute;left:32%;top:41.8%;width:52%;height:5.5%;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}
.fp-panel-balance strong{font-size:clamp(17px,5.8cqw,56px);line-height:1.1;max-width:100%;overflow-wrap:anywhere}
.fp-panel-balance small{font-size:clamp(8px,2cqw,16px);font-weight:500}
.fp-panel-notification{position:absolute;left:27%;top:52.7%;width:40%;height:9.1%;pointer-events:auto}
body[data-fp-presentation=metal-v1] .fp-panel-incoming{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:4px;line-height:1.15;overflow:hidden}
.fp-panel-incoming b{font-size:clamp(10px,2.5cqw,23px)}.fp-panel-incoming strong{font-size:clamp(12px,3.4cqw,32px);max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}.fp-panel-incoming small{font-size:clamp(8px,1.8cqw,16px)}
.fp-panel-shortcuts{position:absolute;left:5.2%;top:63.8%;width:89.3%;height:21.3%;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:1fr 1fr;gap:1%;pointer-events:auto}
.fp-panel-home button:focus-visible{outline:2px solid #a54f1b;outline-offset:-4px}
body[data-fp-presentation=metal-v1] #fpNav{left:2.6%;top:86.9%;width:94.9%;height:10.1%;gap:1.1%;z-index:6}
body[data-fp-presentation=metal-v1] #fpNav button{position:relative;border:0;border-radius:0;color:transparent;background:transparent;overflow:visible;box-shadow:none}
body[data-fp-presentation=metal-v1] #fpNav button[aria-current=page],body[data-fp-presentation=metal-v1] #fpNav button:hover{border:0;box-shadow:none;background:transparent}
/* Işıklar resmin aynı koordinat sisteminde çizilir: 941 × 1670. */
.channel-light{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
.channel-light .red{fill:#ff2535;animation:redPulse 1.4s steps(1,end) infinite}
.channel-light .blue{fill:#168dff;animation:bluePulse 1.4s steps(1,end) infinite}
@keyframes redPulse{0%,12%,28%,40%{opacity:.9}6%,20%,35%,50%,100%{opacity:.12}}
@keyframes bluePulse{0%,50%,100%{opacity:.12}56%,70%,84%,96%{opacity:.9}63%,77%,90%{opacity:.12}}
.nav-light{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.nav-light path{fill:none;stroke:#ffb46a;stroke-width:1.4;filter:drop-shadow(0 0 2px #ff8036);opacity:.55;transition:opacity .2s,stroke-width .2s}
#fpNav button[aria-current=page] .nav-light path{stroke:#ffe2a7;stroke-width:2;opacity:1;filter:drop-shadow(0 0 3px #ff9f43) drop-shadow(0 0 5px #ff692633)}

#fpNav button{border-radius:0;top:86.9%;height:10.1%;background:transparent}
.nav-1{left:2.6%;width:18.7%}.nav-2{left:22.7%;width:17.8%}.nav-3{left:41.1%;width:18.4%}.nav-4{left:60%;width:18.1%}.nav-5{left:78.7%;width:18.8%}

/* V2: No sharp outline; the glow lights the existing metal bevel. */
#fpNav button{--spill:.23;--reflection:.40;--corner:.36}
.nav-light path{transition:opacity .25s,stroke .25s;stroke-linejoin:round;stroke-linecap:round;fill:none}
.nav-light .light-spill{stroke:#ff7624;stroke-width:9;filter:blur(5px);opacity:var(--spill)}
.nav-light .light-reflection{stroke:#ffac58;stroke-width:4;filter:blur(2.3px);opacity:var(--reflection)}
.nav-light .light-corners{stroke:#ffe4aa;stroke-width:3;filter:blur(2px);opacity:var(--corner)}
#fpNav button[aria-current=page]{--spill:.70;--reflection:.90;--corner:.92}
#fpNav button[aria-current=page] .nav-light .light-spill{stroke:#ff832e;stroke-width:11;filter:blur(6px);opacity:var(--spill)}
#fpNav button[aria-current=page] .nav-light .light-reflection{stroke:#ffc17a;stroke-width:5;filter:blur(2.5px);opacity:var(--reflection)}
#fpNav button[aria-current=page] .nav-light .light-corners{stroke:#fff0c9;stroke-width:4;filter:blur(2px);opacity:var(--corner)}
#fpNav button:hover{--spill:.50;--reflection:.70;--corner:.70}

/* Alternating two flashes, with a bright core and colored light spill. */
.channel-light .red{fill:#ffb3ae;stroke:#ff283a;stroke-width:1.3;filter:drop-shadow(0 0 3px #ff172d) drop-shadow(0 0 7px #ff172d);animation:redPulseV2 1.15s steps(1,end) infinite}
.channel-light .blue{fill:#b6edff;stroke:#078dff;stroke-width:1.3;filter:drop-shadow(0 0 3px #007bff) drop-shadow(0 0 7px #007bff);animation:bluePulseV2 1.15s steps(1,end) infinite}
@keyframes redPulseV2{0%,20%{opacity:1}10%,32%,100%{opacity:.07}}
@keyframes bluePulseV2{0%,60%,82%,100%{opacity:.07}50%,70%{opacity:1}}
@media(prefers-reduced-motion:reduce){.channel-light .red,.channel-light .blue{animation:none;opacity:.8}}

@media(max-height:500px) and (min-aspect-ratio:1/1){body[data-fp-presentation=metal-v1] .channel-light{display:none}body[data-fp-presentation=metal-v1] #fixedPortalApp{width:min(100vw,941px);aspect-ratio:941/1670;min-height:0;background-size:100% 100%}body[data-fp-presentation=metal-v1] #fpMain,body[data-fp-presentation=metal-v1] .fp-dialog[open]{position:absolute;top:13.2%;left:8.5%;width:83%;height:69.8%;margin:0;min-height:0}body[data-fp-presentation=metal-v1] #fpNav{position:absolute;background:none}body[data-fp-presentation=metal-v1]{height:auto;overflow:auto}}

/* Keep diffuse illumination inside its parent menu hit area at every scale. */
body[data-fp-presentation=metal-v1] #fpNav button{top:0;height:100%;}

/* Portrait phone: fill the available browser area instead of letterboxing. */
@media (max-width:700px) and (orientation:portrait){
  body.rtcn-fixed-portal[data-fp-presentation=metal-v1]{height:100vh;height:100dvh;margin:0;padding:0;align-items:stretch;}
  body[data-fp-presentation=metal-v1] #fixedPortalApp{width:100%;height:100%;aspect-ratio:auto;flex:none;}
}
