/* SU DEDEKTİFLERİ • YEŞİL VADİ — Premium reference design
   Desktop / tablet / mobile layout.  Only the visual presentation changes;
   the interactive Three.js map, mission/video engine and local save remain live. */
:root{color-scheme:light}
.nv-app{--ink:#123945;--muted:#547984;--teal:#0b8f92;--teal2:#25d7b5;background:linear-gradient(180deg,#c9eaf0 0,#e9f8f8 740px,#e3f3f4 100%);min-width:0;overflow-x:clip;color:var(--ink)}
.nv-app button{font-family:inherit}
.nv-app button:focus-visible{outline:3px solid #0acdbb;outline-offset:4px}
.nv-app .nv-primary{border:0;color:#fff;background:linear-gradient(108deg,#0ce7bc,#03a78f 58%,#078b8b);box-shadow:0 10px 25px #05a99a4f;border-radius:999px;font-size:15px;font-weight:950;letter-spacing:.005em;transition:transform .2s,box-shadow .2s,filter .2s}
.nv-app .nv-primary:hover:not(:disabled){filter:saturate(1.15);transform:translateY(-2px);box-shadow:0 13px 30px #059a8b5d}
/* Header: dark teal, stable navigation and informative status */
.nv-header.ref-header{height:86px;position:relative;z-index:30;background:linear-gradient(105deg,#075565 0%,#073949 54%,#063342 100%);border-bottom:1px solid #a1fff127;box-shadow:0 5px 22px #072a3d21;backdrop-filter:none}
.ref-head-inner.nv-container{height:100%;width:min(1700px,calc(100% - 52px));max-width:none;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:clamp(10px,1.5vw,25px)}
.ref-brand.nv-logo{display:flex;align-items:center;justify-content:flex-start;min-width:250px;padding:0;border:0;background:none;color:#fff;flex:0 1 auto;text-align:left}
.ref-brand .brandmark{transform:none;display:flex;align-items:center;gap:11px}
.ref-brand .branddrop{width:58px;height:58px;display:grid;place-items:center;flex:none;background:radial-gradient(circle at 25% 15%,#a2ffca,#31d0b5 40%,#008eaa 78%);border:2px solid #7afbea83;border-radius:18px;transform:rotate(-13deg);box-shadow:0 7px 18px #022b3b50, inset 0 0 18px #e1fffc39;color:#f6ffff}
.ref-brand .branddrop svg{width:34px;height:34px;transform:rotate(13deg);stroke-width:2.5}
.ref-brand .brandwords{font-size:clamp(16px,1.4vw,24px);font-weight:1000;line-height:1.08;color:#f5ffff;white-space:nowrap;letter-spacing:-.055em}
.ref-brand .brandwords span{color:#44e2cb}
.ref-brand .brandwords small{display:block;color:#9cdddc;line-height:1.4;letter-spacing:.16em;font-size:clamp(6px,.6vw,10px);font-weight:800;margin-top:1px}
.ref-nav.nv-header-nav{display:flex;justify-content:center;align-items:center;flex:1;gap:clamp(3px,.65vw,12px);margin:0;min-width:0}
.ref-nav.nv-header-nav button{min-width:0;padding:13px clamp(8px,1.2vw,21px);display:inline-flex;gap:9px;align-items:center;justify-content:center;white-space:nowrap;color:#f1fffd;font-size:clamp(12px,1vw,16px);border-radius:999px;border:1px solid transparent;background:none;font-weight:900;box-shadow:none}
.ref-nav.nv-header-nav button:hover{background:#ffffff17;transform:none}
.ref-nav.nv-header-nav button.selected{background:linear-gradient(95deg,#057c7c,#037e78);border-color:#3df2d51c;box-shadow:0 7px 18px #063e434d;color:white}
.ref-nav button svg{width:21px;height:21px;flex:none;stroke-width:2.25}
.ref-topstats.nv-topstats{display:flex;align-items:center;gap:clamp(8px,1.2vw,20px);min-width:0;margin:0}
.ref-steps.nv-steps{display:inline-flex;align-items:center;gap:9px;color:#d6f5f5;font-size:13px;font-weight:950;letter-spacing:.015em;white-space:nowrap}
.ref-steps svg{color:#31cff3;fill:#31cff326}
.ref-dam.nv-baraj{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;border:1px solid #ffffff1a;background:linear-gradient(120deg,#1c768a,#0d6076);color:#f4ffff;border-radius:28px;padding:12px 16px;font-size:13px;font-weight:950;box-shadow:inset 0 1px #ffffff16}
.ref-dam svg{color:#48d3fb;fill:#54c6f73b}
.ref-settings.nv-settings-btn{width:45px;height:45px;min-width:45px;min-height:45px;border-radius:50%;border:1.5px solid #c2eaea67;color:white;background:#063747;display:grid;place-items:center;padding:0;box-shadow:none}
.ref-settings:hover{background:#145366}
/* Immersive map with integrated title */
.ref-map.nv-map{width:100%;max-width:none;margin:0;padding:0;min-width:0}
.ref-world.world3d-shell{border:0;border-radius:0;box-shadow:none;overflow:hidden;margin:0;background:#b8e3f3;isolation:isolate}
.ref-world .world3d-viewport.ref-viewport{height:clamp(520px,calc(100svh - 304px),780px);min-height:520px;max-height:none;width:100%;border-radius:0;background:#b6e1f0;touch-action:none}
.ref-world .three-render-canvas{position:absolute;inset:0}
.ref-world .ref-ambient{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(100deg,rgba(233,249,251,.92) 0%,rgba(231,247,249,.75) 14%,rgba(220,244,247,.24) 30%,transparent 45%),linear-gradient(0deg,rgba(1,70,80,.07),transparent 23%)}
.ref-world .world3d-vignette{z-index:2;pointer-events:none;background:linear-gradient(180deg,#f3fff912,transparent 18%,transparent 78%,#02466013)}
.ref-map-hero{position:absolute;z-index:5;top:clamp(28px,3.5vw,55px);left:clamp(22px,3.2vw,55px);max-width:min(500px,45%);pointer-events:none}
.ref-map-hero h1{margin:0;font-size:clamp(37px,3.1vw,53px);font-weight:1000;line-height:1.05;letter-spacing:-.057em;color:#073e4d;text-shadow:0 1px 0 #ffffff60}
.ref-map-hero h1 em{font-style:italic;color:#119d45;position:relative;white-space:nowrap}
.ref-map-hero h1 em:after{content:"";position:absolute;height:4px;border-radius:100%;left:7px;right:2px;bottom:-3px;transform:rotate(-5deg);background:linear-gradient(90deg,#25cb53,#42da6b)}
.ref-leaf{display:inline-block;margin-left:5px;vertical-align:top;color:#31bd46;font-size:.52em;transform:rotate(-20deg)}
.ref-map-hero p{margin:17px 0 0;font-size:clamp(14px,1.18vw,19px);line-height:1.4;font-weight:760;letter-spacing:-.02em;color:#114e5d;text-shadow:0 1px 8px #f5ffff99}
.ref-world .world3d-pins{z-index:8}
.ref-world .world3d-pin{filter:drop-shadow(0 7px 10px #043b5261);background:none;border:0;border-radius:0;gap:4px;transform:translate(-50%,-100%);text-align:left;min-width:0;z-index:8}
.ref-world .world3d-pin:hover,.ref-world .world3d-pin:active{transform:translate(-50%,-100%)!important}
.ref-world .world3d-pin-beacon{width:52px;height:52px;background:linear-gradient(145deg,#16d7df,#0873aa);border:4px solid #f7ffffd9;box-shadow:0 6px 0 #04616b,0 8px 19px #055e7955;border-radius:17px;transform:none!important;transition:background .18s;flex:none}
.ref-world .world3d-pin-beacon:hover{background:linear-gradient(145deg,#0eddeb,#0088b6)}
.ref-world .world3d-pin-label{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;max-width:210px;white-space:normal;padding:11px 16px;border-radius:17px;border:1px solid #f6ffffd1;background:linear-gradient(145deg,#ffffffed,#e5f6f3ed);box-shadow:0 11px 25px #063e4851;backdrop-filter:blur(15px);color:#113f50}
.ref-world .world3d-pin-label b{font-size:clamp(10px,.79vw,13px);line-height:1.25;max-width:180px;font-weight:1000;letter-spacing:-.015em}
.ref-world .world3d-pin-label small{font-size:9px;color:#8ba5ab;font-weight:1000;letter-spacing:.12em;margin-top:4px}
.ref-world .world3d-pin.locked .world3d-pin-beacon{background:linear-gradient(145deg,#8eaab2,#4b7180);box-shadow:0 5px 0 #536e74,0 6px 14px #193c4e43}
.ref-world .world3d-pin.active .world3d-pin-label{background:linear-gradient(155deg,#ffffff,#e8fff8);border:2px solid #73e6bc}
.ref-world .world3d-pin.active .world3d-pin-label small{color:#078d78}
.ref-pin-play{display:block;background:linear-gradient(110deg,#3af230,#0ec76a);box-shadow:0 4px 12px #05a96642;border-radius:999px;padding:5px 20px;color:#fff;font-size:11px;font-weight:1000;margin:6px -1px -1px;letter-spacing:.03em}
.ref-world .world3d-pin.active .world3d-pin-beacon{animation:ref-pulse 2.4s ease-in-out infinite}
@keyframes ref-pulse{0%,100%{box-shadow:0 6px 0 #04616b,0 0 0 0 #0af3c64d}45%{box-shadow:0 6px 0 #04616b,0 0 0 10px #0af3c600}}
.ref-world .world3d-dam-marker{border:1px solid #4ddfd579;background:linear-gradient(120deg,#043847f0,#094f62f0);color:#fbffff;border-radius:20px;padding:14px 18px;box-shadow:0 12px 27px #0e445567;gap:5px;min-width:190px;align-items:center;transform:translate(-50%,-100%)}
.ref-world .world3d-dam-marker b{display:inline-flex;align-items:center;gap:8px;font-size:13px;letter-spacing:.06em;color:white;font-weight:950}
.ref-world .world3d-dam-marker small{font-size:11px;color:#65e4d2;letter-spacing:.07em}
.ref-world .world3d-waterhud.ref-waterhud{pointer-events:none;z-index:10;left:clamp(20px,2vw,38px);bottom:31px;width:clamp(230px,22vw,345px);border:1px solid #69dbc782;border-radius:24px;padding:24px 23px 22px;background:linear-gradient(138deg,#044b59ed,#043848f2 70%);box-shadow:0 18px 40px #043c546a;backdrop-filter:blur(17px);color:white}
.ref-waterhud h2{display:flex;gap:10px;align-items:center;margin:0 0 21px;font-size:clamp(15px,1.1vw,19px);font-weight:950;letter-spacing:-.01em;color:#f5ffff}
.ref-waterhud h2 svg{color:#51e8ab}
.ref-water-title{font-size:14px;color:#e2ffff;display:block;font-weight:750}
.ref-world .ref-waterhud .world3d-hud-main{margin:9px 0 14px;justify-content:space-between;align-items:center}
.ref-world .ref-waterhud .world3d-hud-main strong{font-size:clamp(39px,3.4vw,57px);color:white;letter-spacing:-.045em}
.ref-world .ref-waterhud .world3d-hud-main span{font-size:12px;font-weight:950;border:0;color:#073b47;background:linear-gradient(125deg,#ffdb45,#ffc027);padding:9px 12px;border-radius:999px}
.ref-world .world3d-watertrack{height:12px;background:#a5d5d855;overflow:hidden;border-radius:20px}
.ref-world .world3d-watertrack>span{background:linear-gradient(90deg,#13a8ed,#36f3d8);height:100%;border-radius:20px}
.ref-map-controls.world3d-ctrl{z-index:11;right:clamp(16px,2vw,35px);bottom:clamp(70px,12vw,155px);gap:10px;display:flex;align-items:center}
.ref-world .ref-map-controls button{width:53px;height:53px;min-height:53px;border-radius:18px;font-size:30px;box-shadow:0 7px 17px #05344934;border:1px solid #e8fffbcf;background:#f9fffff5;color:#0a4756;font-weight:900;transition:background .2s,transform .2s}
.ref-world .ref-map-controls button:hover{background:#dafbf4;transform:translateY(-2px)}
.ref-map-hint{position:absolute;z-index:4;right:26px;bottom:13px;display:inline-flex;align-items:center;gap:9px;padding:7px 11px;background:#06475899;color:#f0ffff;font-size:11px;letter-spacing:.02em;border-radius:100px;pointer-events:none}
.ref-map-hint span{color:#6ef3dd}
/* White information and navigation panels */
.ref-metrics-panel{position:relative;z-index:11;margin:-2px auto 0;padding:22px clamp(18px,2.1vw,40px);display:grid;grid-template-columns:1fr 1fr 1fr minmax(285px,1.4fr);gap:0;align-items:center;border-radius:0 0 28px 28px;background:linear-gradient(180deg,#ffffff 0%,#f8ffff 100%);box-shadow:0 11px 32px #0a5b6940;max-width:none;border:1px solid #ebfffa}
.ref-metric{display:flex;align-items:center;gap:13px;padding:3px clamp(13px,1.5vw,28px);min-width:0;border-right:2px solid #c3e1e7}
.ref-metric-icon{flex:0 0 37px;display:grid;place-items:center}
.ref-water .ref-metric-icon{color:#00bbfb}.ref-money .ref-metric-icon{color:#ffb400}.ref-people .ref-metric-icon{color:#a363ee}
.ref-metric-inner{flex:1;min-width:0}
.ref-metric-label{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:clamp(9px,.77vw,13px);font-weight:950;white-space:nowrap;color:#16485a}
.ref-metric-label b{color:#082f41;font-size:clamp(18px,1.65vw,27px);font-weight:1000;letter-spacing:-.05em}
.ref-metric-label b small{color:#7799a2;font-size:clamp(9px,.85vw,13px);font-weight:850;margin-left:2px}
.ref-meter{height:10px;width:100%;overflow:hidden;background:#c4dce0;border-radius:100px;margin-top:10px}
.ref-meter>span{display:block;height:100%;border-radius:100px}
.ref-water .ref-meter>span{background:linear-gradient(90deg,#11baf5,#12ddc5)}
.ref-money .ref-meter>span{background:linear-gradient(90deg,#ffbc26,#ffa800)}
.ref-people .ref-meter>span{background:linear-gradient(90deg,#c579f8,#9271ea)}
.ref-next{display:flex;align-items:center;justify-content:flex-end;min-width:0;gap:clamp(10px,1.5vw,28px);padding-left:clamp(15px,2vw,36px)}
.ref-next>div{display:flex;min-width:0;flex-direction:column;gap:6px}
.ref-next small{color:#718e9a;font-size:clamp(9px,.7vw,11px);font-weight:1000;letter-spacing:.1em;white-space:nowrap}
.ref-next strong{font-weight:1000;color:#0b3346;font-size:clamp(13px,1.04vw,18px);line-height:1.2}
.ref-next-button.nv-primary{flex:none;min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:13px 22px!important;white-space:nowrap}
.ref-station-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.2vw,21px);margin:18px clamp(18px,1.8vw,38px) 6px}
.ref-station-item{min-width:0;display:flex;gap:14px;align-items:center;text-align:left;min-height:76px;padding:13px clamp(11px,1.8vw,28px);border-radius:24px;border:1px solid #fff;color:#113d4c;background:#f7ffffe9;box-shadow:0 7px 18px #1760780d;cursor:pointer}
.ref-station-item:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 13px 23px #078c9140}
.ref-station-item.active{background:linear-gradient(120deg,#e9fff3,#c4f9ec);border-color:#19e8bb;box-shadow:0 0 0 1px #00e6bc3b,0 9px 18px #04d2a336}
.ref-station-item.locked{color:#506e78;background:#f2fbfcce;opacity:.78}
.ref-station-ico{width:30px;min-width:30px;display:grid;place-items:center;color:#139c72}
.ref-station-item.locked .ref-station-ico{color:#7ba1a9}
.ref-station-item b{font-weight:950;font-size:clamp(10px,.9vw,15px);line-height:1.3;min-width:0;flex:1}
.ref-station-item b span{color:#0e916c;margin-right:7px}
.ref-station-item.locked b span{color:#648d9b}
.ref-station-end{flex:none;display:grid;place-items:center;color:#0e9975}
.ref-station-item.locked .ref-station-end{color:#6d97a1}
.ref-subactions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px clamp(18px,2.1vw,38px) 12px;color:#67949c;font-size:12px}
.ref-subactions>span{display:inline-flex;align-items:center;gap:5px}
.ref-subactions button{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;color:#477b8a;font-weight:850;background:none;border:0;border-radius:9px}
.ref-subactions button:hover{background:#d9f0ef}
.nv-footer.premium-footer{padding-top:7px;margin-top:0;background:transparent}
/* Menu achievement panel */
.ref-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#073943b3;backdrop-filter:blur(7px);padding:20px}
.ref-achievements{width:min(510px,100%);border-radius:28px;padding:27px;background:linear-gradient(155deg,#ffffff,#eafbf6);box-shadow:0 28px 90px #01273580;border:1px solid #b9f7e8;color:#103f4f}
.ref-ach-head{display:flex;justify-content:space-between;align-items:center;color:#02b8a2}
.ref-ach-head button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #cce9e7;border-radius:100%;background:white;color:#1b5364}
.ref-ach-eyebrow{font-weight:950;font-size:11px;letter-spacing:.16em;color:#168e94}
.ref-achievements h2{font-size:32px;margin:7px 0 0}
.ref-achievements p{color:#62808a;font-size:14px;line-height:1.55}
.ref-ach-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:24px 0}
.ref-ach-cards>div{padding:18px 7px;background:#e7f8f4;border:1px solid #cbece5;border-radius:15px;text-align:center;display:flex;flex-direction:column;gap:5px}
.ref-ach-cards b{font-size:27px;color:#007f80}.ref-ach-cards small{font-size:11px;color:#597c84}
.ref-achievements>.nv-primary{width:100%;min-height:47px}
/* Laptop: maintain typography and whitespace */
@media(max-width:1360px){
 .ref-brand.nv-logo{min-width:215px}.ref-brand .branddrop{width:48px;height:48px}.ref-brand .brandwords{font-size:19px}
 .ref-nav.nv-header-nav button{padding-inline:10px;font-size:12px;gap:6px}
 .ref-topstats.nv-topstats{gap:7px}.ref-steps.nv-steps{font-size:11px}
 .ref-dam.nv-baraj{padding:10px 11px;font-size:11px}
 .ref-metrics-panel{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(245px,1.12fr);padding-inline:16px}
 .ref-metric{padding-inline:10px;gap:9px}.ref-metric-icon{flex-basis:28px}.ref-metric-icon svg{width:24px}
 .ref-next{gap:8px;padding-left:13px}.ref-next-button.nv-primary{padding-inline:15px!important}
}
/* Tablet landscape and portrait */
@media(max-width:1030px){
 .nv-header.ref-header{height:auto;min-height:78px}
 .ref-head-inner.nv-container{padding:13px 0;flex-wrap:wrap;row-gap:9px;width:calc(100% - 32px)}
 .ref-brand.nv-logo{min-width:0;flex:1 0 auto}.ref-brand .brandwords{font-size:18px}
 .ref-topstats.nv-topstats{order:2;margin-left:auto}
 .ref-nav.nv-header-nav{order:3;flex:1 0 100%;justify-content:center;border-top:1px solid #b5fff425;padding-top:8px;gap:4px}
 .ref-nav.nv-header-nav button{font-size:13px;flex:1;gap:7px;padding:10px 8px}
 .ref-map-hero{top:28px;left:28px;max-width:48%}.ref-map-hero h1{font-size:clamp(31px,4vw,45px)}
 .ref-world .world3d-viewport.ref-viewport{height:clamp(505px,66svh,670px);min-height:505px}
 .ref-world .world3d-waterhud.ref-waterhud{width:230px;padding:16px}.ref-waterhud h2{font-size:15px;margin-bottom:11px}
 .ref-metrics-panel{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px;padding:20px}
 .ref-metric:nth-child(3){border-right:0}
 .ref-next{grid-column:1/-1;border-top:1px solid #e0eeee;padding:17px 8px 0;justify-content:space-between}
 .ref-station-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .ref-station-item{min-height:70px}
}
/* Mobile: two-row header, legible tap targets, station list as reliable primary navigation */
@media(max-width:680px){
 .nv-header.ref-header{min-height:64px}
 .ref-head-inner.nv-container{padding:9px 0 8px;width:calc(100% - 24px);row-gap:6px;gap:8px}
 .ref-brand .branddrop{width:39px;height:39px;border-radius:13px}
 .ref-brand .branddrop svg{width:23px;height:23px}
 .ref-brand .brandwords{font-size:clamp(14px,4vw,19px)}
 .ref-brand .brandwords small{font-size:6px;letter-spacing:.12em}
 .ref-topstats.nv-topstats{gap:6px;flex:0 0 auto}
 .ref-steps.nv-steps{display:none}.ref-dam.nv-baraj{padding:8px 10px;font-size:10px;gap:3px}.ref-dam svg{width:15px;height:15px}
 .ref-settings.nv-settings-btn{width:37px;height:37px;min-width:37px;min-height:37px}
 .ref-nav.nv-header-nav{overflow-x:auto;justify-content:space-between;gap:3px;padding-top:6px;scrollbar-width:none}
 .ref-nav.nv-header-nav button{font-size:10px;gap:3px;padding:8px 6px;min-height:42px;flex:1}
 .ref-nav.nv-header-nav button svg{width:15px;height:15px}
 .ref-world .world3d-viewport.ref-viewport{height:550px;min-height:550px}
 .ref-world .ref-ambient{background:linear-gradient(180deg,#dff8f9d1 0,transparent 30%),linear-gradient(90deg,#dff9f798,transparent 40%)}
 .ref-map-hero{top:18px;left:16px;right:15px;max-width:none;z-index:6}
 .ref-map-hero h1{font-size:clamp(29px,7.1vw,40px)}
 .ref-map-hero p{font-size:13px;margin-top:8px;max-width:310px}
 .ref-world .world3d-dam-marker{padding:8px 10px;min-width:0;max-width:136px}
 .ref-world .world3d-dam-marker b{font-size:9px;letter-spacing:0;gap:3px}.ref-world .world3d-dam-marker small{font-size:7px}
 .ref-world .world3d-pin-beacon{width:34px;height:34px;border-width:2px;border-radius:11px}
 .ref-world .world3d-pin-beacon svg{width:17px;height:17px}
 .ref-world .world3d-pin-label{padding:6px 7px;border-radius:12px;max-width:115px}
 .ref-world .world3d-pin-label b{font-size:9px;max-width:108px}
 .ref-world .world3d-pin-label small{font-size:7px;margin-top:1px}
 .ref-world .world3d-pin.locked .world3d-pin-label{display:none}
 .ref-world .world3d-pin.locked .world3d-pin-beacon{width:31px;height:31px}
 .ref-world .world3d-pin.active .world3d-pin-label{max-width:122px}
 .ref-pin-play{font-size:8px;padding:3px 11px;margin-top:2px}
 .ref-world .world3d-waterhud.ref-waterhud{bottom:18px;left:12px;width:168px;max-width:48%;padding:12px 11px;border-radius:17px}
 .ref-waterhud h2{font-size:12px;margin:0 0 8px;gap:5px}.ref-waterhud h2 svg{width:14px}
 .ref-water-title{font-size:10px}.ref-world .ref-waterhud .world3d-hud-main{margin:5px 0 9px}
 .ref-world .ref-waterhud .world3d-hud-main strong{font-size:34px}
 .ref-world .ref-waterhud .world3d-hud-main span{font-size:8px;padding:5px 6px}
 .ref-world .world3d-watertrack{height:7px}
 .ref-map-controls.world3d-ctrl{right:12px;bottom:19px;gap:6px}
 .ref-world .ref-map-controls button{width:39px;height:39px;min-height:39px;border-radius:13px;font-size:23px}
 .ref-world .ref-map-controls button svg{width:18px;height:18px}
 .ref-map-hint{display:none}
 .ref-metrics-panel{grid-template-columns:1fr 1fr;gap:0;padding:16px 12px 12px;border-radius:0 0 23px 23px}
 .ref-metric{padding:10px 7px;gap:6px;border-right:0;border-bottom:1px solid #e3eff0}
 .ref-metric:nth-child(odd){border-right:1px solid #e3eff0}
 .ref-metric:nth-child(3){grid-column:1/-1;border-right:0;border-bottom:0;padding:14px 10px}
 .ref-metric-icon{flex:0 0 24px}.ref-metric-icon svg{width:22px;height:22px}
 .ref-metric-label{flex-wrap:wrap;row-gap:3px;font-size:9px;white-space:normal}.ref-metric-label b{font-size:21px}.ref-metric-label b small{font-size:9px}
 .ref-meter{height:7px;margin-top:7px}
 .ref-next{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;padding:13px 6px 2px;border-top:1px solid #dceeee;gap:8px}
 .ref-next strong{font-size:13px}.ref-next small{font-size:9px}
 .ref-next-button.nv-primary{font-size:12px;min-height:43px;padding:10px 13px!important}
 .ref-next-button svg{width:16px;height:16px}
 .ref-station-nav{grid-template-columns:1fr 1fr;margin:13px 12px 5px;gap:8px}
 .ref-station-item{min-height:65px;gap:7px;padding:10px;border-radius:16px}
 .ref-station-ico{width:20px;min-width:20px}.ref-station-ico svg{width:18px}
 .ref-station-item b{font-size:10px;line-height:1.3}.ref-station-item b span{margin-right:3px}
 .ref-station-end svg{width:14px;height:14px}
 .ref-subactions{flex-wrap:wrap;padding-inline:12px;gap:4px;font-size:10px}
 .ref-subactions button{font-size:11px}
}
@media(max-width:390px){
 .ref-brand .brandwords{font-size:14px}.ref-brand .brandmark{gap:5px}
 .ref-dam.nv-baraj{font-size:9px;padding:7px}
 .ref-nav.nv-header-nav button{font-size:9px;padding:8px 3px;gap:2px}
 .ref-world .world3d-viewport.ref-viewport{height:510px;min-height:510px}
 .ref-map-hero h1{font-size:29px}.ref-map-hero p{font-size:12px}
 .ref-metric-label b{font-size:18px}
 .ref-waterhud h2{font-size:11px}
 .ref-next{grid-template-columns:1fr}.ref-next-button.nv-primary{width:100%}
 .ref-station-item{padding:9px 6px}.ref-station-item b{font-size:9px}
}
@media(max-height:530px) and (orientation:landscape){
 .ref-world .world3d-viewport.ref-viewport{height:440px;min-height:440px}
 .ref-map-hero{top:15px}.ref-map-hero h1{font-size:29px}
 .ref-map-hero p{font-size:12px}
 .ref-world .world3d-waterhud.ref-waterhud{bottom:12px;width:170px;padding:10px}
}
@media(prefers-reduced-motion:reduce){.ref-world .world3d-pin.active .world3d-pin-beacon{animation:none}.nv-app *{scroll-behavior:auto!important}}

/* Accessible fallback for devices where WebGL is disabled: the mission map remains usable. */
.ref-world .ref-viewport.world-fallback{background-image:linear-gradient(90deg,#e6f9f9b0,transparent 55%),url('assets/yesil-vadi-3d.webp');background-position:center;background-repeat:no-repeat;background-size:cover}
.ref-world .world-fallback .world3d-loading.world3d-load-error{position:absolute;top:auto;bottom:8px;left:50%;right:auto;inset-block-start:auto;inset-inline-start:50%;inset-inline-end:auto;width:max-content;max-width:94%;height:auto;min-height:0;z-index:20;transform:translateX(-50%);padding:7px 10px;border-radius:100px;display:flex;flex-direction:row;gap:8px;background:#053f51ea;border:1px solid #bbfff74d;color:#fff;box-shadow:0 4px 15px #173f5055}
.ref-world .world-fallback .world3d-loading.world3d-load-error strong{font-size:10px;letter-spacing:0;color:#fff}
.ref-world .world-fallback .world3d-loading.world3d-load-error button{white-space:nowrap;font-size:10px;min-height:26px;padding:4px 10px;background:#0ec8b1}
.world-fallback .world3d-pin{z-index:9}
.world-fallback .world3d-pin[data-station="1"]{left:44%!important;top:72%!important;opacity:1!important;pointer-events:auto!important}
.world-fallback .world3d-pin[data-station="2"]{left:62%!important;top:40%!important;opacity:1!important;pointer-events:auto!important}
.world-fallback .world3d-pin[data-station="3"]{left:76%!important;top:69%!important;opacity:1!important;pointer-events:auto!important}
.world-fallback .world3d-pin[data-station="4"]{left:85%!important;top:91%!important;opacity:1!important;pointer-events:auto!important}
.world-fallback .world3d-dam-marker{left:35%!important;top:33%!important;opacity:1!important}
@media(max-width:680px){
 .ref-nav.nv-header-nav button span{display:inline!important;white-space:nowrap}
 .ref-world .world-fallback .world3d-loading.world3d-load-error{bottom:3px;padding:4px 6px;gap:5px}
 .ref-world .world-fallback .world3d-loading.world3d-load-error strong{font-size:8px}
 .ref-world .world-fallback .world3d-loading.world3d-load-error button{font-size:8px}
 .world-fallback .world3d-pin[data-station="1"]{left:44%!important;top:66%!important}
 .world-fallback .world3d-pin[data-station="2"]{left:65%!important;top:39%!important}
 .world-fallback .world3d-pin[data-station="3"]{left:73%!important;top:68%!important}
 .world-fallback .world3d-pin[data-station="4"]{left:82%!important;top:86%!important}
 .world-fallback .world3d-dam-marker{left:43%!important;top:31%!important}
}
