/* TIMEFALL v8.61 — interactive territorial world. No separate graphics to download.
   Conquest, reinforcements, withdrawals and rewards are server-authoritative. */
.tf61-world{--tf61-gold:#e6bf79;--tf61-blue:#67b5ee;--tf61-green:#6bdfbd;--tf61-red:#f1787c;color:#e6e9ed}
.tf61-world .tf61-world-shell{grid-template-columns:minmax(0,1.7fr) minmax(330px,.75fr)!important;gap:14px!important;align-items:start!important}
.tf61-world-board,.tf61-command-board{min-width:0;overflow:hidden}
.tf61-world .tf61-world-board{padding:clamp(12px,1.5vw,22px)!important}
.tf61-world .tf61-command-board{padding:clamp(15px,1.5vw,22px)!important;position:sticky;top:14px}
.tf61-map-head{display:flex;justify-content:space-between;gap:15px;align-items:center;padding-bottom:12px}
.tf61-kicker,.tf61-command-header{font:800 10px/1.4 system-ui,sans-serif;letter-spacing:.17em;color:#d8b577}
.tf61-map-head h2{font:700 clamp(19px,2vw,28px)/1.2 Georgia,serif!important;color:#f6dba6!important;margin:5px 0!important}
.tf61-map-head p{font-size:12px;color:#b5cce0;margin:4px 0}
.tf61-overview{min-width:100px;border:1px solid #d3ad6b77;border-radius:11px;padding:7px 11px;text-align:center;background:linear-gradient(140deg,#3440285c,#081b2bd9)}
.tf61-overview strong{display:block;font:800 28px/1 system-ui,sans-serif;color:#f7d9a2}
.tf61-overview strong small{font-size:13px;color:#9dafb7}
.tf61-overview span{font-size:9px;color:#d5c5a4}
.tf61-era-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.tf61-era-tabs>span{font:800 10px system-ui;letter-spacing:.12em;color:#c5cfdb;margin-right:4px}
.tf61-era-tabs button{appearance:none;border:1px solid #50718a;background:#0b2236;color:#c6d5e4;border-radius:9px;padding:9px 12px;min-width:102px;font:700 12px system-ui;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}
.tf61-era-tabs button i{font-size:18px;font-style:normal}
.tf61-era-tabs button small{font-size:10px;color:#81aabe}
.tf61-era-tabs button.active{border-color:#f0cf8e;background:linear-gradient(135deg,#6b4e27,#173651);box-shadow:inset 0 1px #fff4,0 0 16px #cda35a35;color:#fff0cf}
.tf61-map-board{border:1px solid #e4bd73b8;border-radius:15px;overflow:hidden;padding:4px;background:#020c18;box-shadow:inset 0 0 0 1px #fff2,0 14px 30px #0009}
.tf61-map-image{position:relative;height:clamp(340px,38vw,540px);border-radius:10px;overflow:hidden;isolation:isolate;background-image:linear-gradient(0deg,#04101fc7,#06132210 50%,#04132583),url('/static/assets/world.webp');background-size:cover;background-position:center 15%;}
.tf61-map-image:before{content:'';position:absolute;inset:0;background:linear-gradient(125deg,#02101c33 5%,transparent 43%,#0a132e20 68%),repeating-linear-gradient(0deg,#b6d7ff06 0 1px,transparent 1px 55px),repeating-linear-gradient(90deg,#b6d7ff06 0 1px,transparent 1px 55px);pointer-events:none;z-index:0}
.tf61-world[data-era=present] .tf61-map-image{background-position:center 51%}
.tf61-world[data-era=future] .tf61-map-image{background-position:center 91%}
.tf61-route-svg{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;filter:drop-shadow(0 1px 4px #000)}
.tf61-route{fill:none;stroke:#acbad4b8;stroke-width:2.5;stroke-dasharray:5 10;opacity:.63}
.tf61-route.mine{stroke:#66e1ad}
.tf61-route.enemy{stroke:#ff6a81}
.tf61-route.chosen{stroke:#ffe0a3;stroke-width:4.1;stroke-dasharray:8 12;stroke-linecap:round;opacity:1;filter:url(#tf61-glow);animation:tf61-route-dash 22s linear infinite}
.tf61-nexus-ring{fill:#071b36cc;stroke:#e6b966;stroke-width:3;stroke-dasharray:2 6;transform-origin:500px 308px;animation:tf61-turn 22s linear infinite}
.tf61-nexus-center{fill:#e9bd68;stroke:#eff7ff;stroke-width:3}
.tf61-map-compass{position:absolute;top:10px;right:10px;padding:8px 10px;border-radius:8px;background:#071324e6;color:#f0d6a7;border:1px solid #e6bb727c;font:700 12px Georgia,serif;z-index:4}
.tf61-map-compass b{font-size:16px;margin-left:4px}
.tf61-nexus-tag{position:absolute;top:53%;left:50%;transform:translateX(-50%);font:700 10px system-ui;letter-spacing:.13em;white-space:nowrap;color:#f5e3c1;text-shadow:0 2px 6px #000;z-index:2;pointer-events:none}
.tf61-map-badge{position:absolute;bottom:10px;left:10px;z-index:6;padding:7px 10px;background:#04172de8;border:1px solid #b08c5180;border-radius:8px;font:750 10px system-ui;letter-spacing:.1em;color:#eacb8f}
.tf61-pin{position:absolute;left:var(--px);top:var(--py);z-index:5;min-width:90px;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:6px;appearance:none;background:none;border:0;cursor:pointer;touch-action:manipulation;color:#fff;text-shadow:0 1px 4px #000,0 1px 8px #000;transition:transform .16s,filter .16s}
.tf61-pin:hover,.tf61-pin:focus-visible,.tf61-pin.selected{z-index:7;transform:translate(-50%,-54%) scale(1.06)}
.tf61-pin-orbit{position:absolute;top:-10px;width:74px;height:74px;border:1px dashed #b5ccdf70;border-radius:50%;pointer-events:none}
.tf61-pin.selected .tf61-pin-orbit{border-color:#ffd99b;box-shadow:0 0 16px #e9bd708c;animation:tf61-orbit 6s linear infinite}
.tf61-pin-icon{width:55px;height:55px;border-radius:15px;display:grid;place-items:center;font:700 26px Georgia,serif;background:linear-gradient(148deg,#1b3048,#071225);border:2px solid #dfbf7d;box-shadow:0 5px 17px #000a,inset 0 2px #ffffff30}
.tf61-pin.mine .tf61-pin-icon{border-color:#6be5bd;box-shadow:0 0 15px #3dffb360,0 6px 15px #0009}
.tf61-pin.enemy .tf61-pin-icon{border-color:#ef858e;box-shadow:0 0 15px #ff445c44,0 6px 15px #0009}
.tf61-pin-label{display:grid;justify-items:center;gap:3px;min-width:116px;max-width:160px;border:1px solid #b9a1768f;border-radius:8px;padding:5px 7px;background:#041225eb;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.tf61-pin-label b{font:700 11px system-ui;white-space:nowrap}
.tf61-pin-label small{color:#c6d9e7;font:500 9px system-ui;white-space:nowrap}
.tf61-map-legend{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:11px 5px 2px;font:650 11px system-ui;color:#d0dbe5}
.tf61-map-legend span{display:flex;align-items:center;gap:6px}
.tf61-map-legend i{width:9px;height:9px;border-radius:50%;background:#d8c395;box-shadow:0 0 5px currentColor}
.tf61-map-legend i.mine{background:#56dfb2}.tf61-map-legend i.enemy{background:#ef6776}
.tf61-legend-note{margin-left:auto;color:#93adc5;font-size:10px}
.tf61-subhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:21px 0 10px}
.tf61-subhead h3{font:700 16px Georgia,serif;color:#f2d4a1;margin:0}
.tf61-subhead small,.tf61-counter{color:#92abc0;font:600 10px system-ui}
.tf61-zone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.tf61-zone{border:1px solid #4c6e8b;border-radius:12px;background:linear-gradient(130deg,#0e2841,#071527);color:#eef1f7;display:flex;align-items:center;gap:10px;padding:10px 9px;cursor:pointer;text-align:left;min-width:0;transition:border-color .2s,background .2s}
.tf61-zone:hover,.tf61-zone.active{border-color:#f5d290;background:linear-gradient(130deg,#2c3040,#122a43)}
.tf61-zone-no{font:700 10px system-ui;color:#718ca7;align-self:flex-start}
.tf61-zone-symbol{font:700 26px Georgia,serif;color:#f0cc81}
.tf61-zone-main{display:grid;gap:3px;min-width:0;flex:1}
.tf61-zone-main>b{font:700 12px system-ui;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tf61-zone-main>small{font:500 10px system-ui;color:#abc4d4}
.tf61-zone-eras{display:flex;gap:5px;margin-top:2px}
.tf61-zone-eras i{display:block;width:14px;height:3px;border-radius:2px;background:#657687}
.tf61-zone-eras i.held{background:#68debc;box-shadow:0 0 8px #68debc88}
.tf61-zone-arrow{font:700 24px Georgia,serif;color:#ad9a74}
.tf61-reports{display:grid;gap:5px}
.tf61-report{display:flex;align-items:center;gap:10px;background:#0a1b30;border:1px solid #314c66;border-radius:9px;padding:9px}
.tf61-report-mark{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:7px;font:800 14px system-ui;background:#3c795d;color:#d0ffed}
.tf61-report-mark.failed{background:#75414c;color:#ffe1e1}
.tf61-report>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}
.tf61-report b{font-size:11px}.tf61-report small{font-size:10px;color:#a5b5c4}
.tf61-report strong{font:600 11px system-ui;color:#d1c0a5;white-space:nowrap}
.tf61-empty{font-size:12px;color:#b3c8da;border:1px dashed #4a6073;border-radius:9px;padding:14px}
.tf61-command-header{display:flex;justify-content:space-between;margin-bottom:13px;gap:8px}
.tf61-id{border:1px solid #9f865a;border-radius:7px;padding:4px 7px;color:#e9cf9b}
.tf61-command-board h2{font:700 clamp(20px,2vw,26px) Georgia,serif!important;margin:0 0 9px!important;color:#ffe2ab!important}
.tf61-region-intro{font-size:12px;line-height:1.55;color:#b2cadb;margin:0 0 13px}
.tf61-region-status{border:1px solid #60748b;border-radius:11px;padding:12px;background:#11253a;display:grid;gap:5px}
.tf61-region-status b{font:800 12px system-ui;letter-spacing:.04em;color:#f2cf93}
.tf61-region-status small{font-size:11px;color:#c8d8e5}
.tf61-region-status.mine{border-color:#4aab90;background:#10332c}
.tf61-region-status.mine b{color:#83e9c1}
.tf61-region-status.enemy{border-color:#a26069;background:#361a25}
.tf61-region-status.enemy b{color:#ffadb3}
.tf61-region-status.allied{border-color:#5493aa;background:#122a3b}
.tf61-tactical-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 18px}
.tf61-tactical-stats>div{padding:11px;border-radius:10px;border:1px solid #3e5c73;background:#081a30;display:grid;gap:6px;min-width:0}
.tf61-tactical-stats span{font:600 10px system-ui;color:#9ebbcf}
.tf61-tactical-stats b{font:750 15px system-ui;color:#e8ddc8;overflow-wrap:anywhere}
.tf61-chronicle-label{font:700 14px Georgia,serif;margin:0 0 9px;color:#eed39c}
.tf61-chronicle{display:flex;gap:8px}
.tf61-chronicle-item{flex:1;display:grid;justify-items:center;gap:3px;background:#09182c;border:1px solid #3e6177;border-radius:10px;padding:8px 4px;font:700 18px system-ui;color:#d0dce6}
.tf61-chronicle-item.held{border-color:#50b997;background:#10352f;color:#b5f5db}
.tf61-chronicle-item.focus{box-shadow:inset 0 0 0 1px #e9bd7090}
.tf61-chronicle-item small{font-size:10px;color:#b9cad7}.tf61-chronicle-item b{font-size:12px}
.tf61-triad-caption{color:#a9bfd1;font-size:11px;line-height:1.5;margin:10px 0 16px}
.tf61-attack,.tf61-garrison{border-top:1px solid #52667a;padding-top:14px}
.tf61-attack h3,.tf61-garrison h3{margin:0 0 13px;font:700 17px Georgia,serif;color:#f5d49e}
.tf61-section-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:15px 0 8px;font:600 11px system-ui;color:#bcd0e0}
.tf61-section-title b{font-size:12px;color:#f7d69b}
.tf61-amounts,.tf61-switch{display:flex;gap:6px;margin:8px 0 14px;flex-wrap:wrap}
.tf61-amount,.tf61-switch button{min-width:52px;flex:1;border:1px solid #52718d;border-radius:9px;background:#0a213b;color:#e7edf6;padding:10px;font:700 13px system-ui;cursor:pointer}
.tf61-amount.active,.tf61-switch button.active{border-color:#e6c580;background:#584325;color:#ffe1a2;box-shadow:inset 0 1px #fff3}
.tf61-amount:disabled{opacity:.35;cursor:not-allowed}
.tf61-tactics{display:grid;gap:7px;margin-bottom:14px}
.tf61-tactic{border:1px solid #496c83;background:#0c2036;color:#e2ecf6;border-radius:10px;padding:10px 12px;display:grid;gap:5px;text-align:left;cursor:pointer}
.tf61-tactic b{font:800 12px system-ui}.tf61-tactic small{font:500 11px system-ui;color:#a8bfd1}
.tf61-tactic.active{border-color:#e0be76;background:#3d3429;box-shadow:inset 2px 0 #edca81}
.tf61-world .battle-forecast{background:#081b2c;border:1px solid #426c84;margin:12px 0}
.tf61-world .battle-forecast.predicted-win{border-color:#54af91}.tf61-world .battle-forecast.predicted-loss{border-color:#cb7377}
.tf61-world .battle-forecast .forecast-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.tf61-lock,.tf61-diplomatic{padding:12px;border:1px solid #b9a269;border-radius:10px;background:#392f19b8;font-size:12px;line-height:1.6;margin:10px 0}
.tf61-world .tf61-capture-btn,.tf61-garrison>.btn.primary{margin:12px 0 8px!important;padding:13px 11px!important;width:100%}
.tf61-min-note{margin:7px 0 10px;font-size:10px;line-height:1.55;color:#8eabc2}
.tf61-separator{height:1px;background:#52667a;margin:18px 0}
.tf61-quick-actions{display:flex;gap:8px;margin-top:15px;padding-top:13px;border-top:1px solid #475d76}
.tf61-quick-actions button{flex:1;min-width:0;font-size:11px;padding:10px 5px}
.tf61-world button:focus-visible{outline:3px solid #b9edff;outline-offset:3px}
.tf61-world button:disabled{cursor:not-allowed;filter:grayscale(.2);opacity:.55}
@keyframes tf61-orbit{to{transform:rotate(360deg)}}
@keyframes tf61-turn{to{transform:rotate(360deg)}}
@keyframes tf61-route-dash{to{stroke-dashoffset:-320}}
@media(max-width:1130px){.tf61-world .tf61-world-shell{grid-template-columns:minmax(0,1fr)!important}.tf61-world .tf61-command-board{position:relative;top:auto}.tf61-map-image{height:clamp(330px,53vw,560px)}}
@media(max-width:650px){
 .tf61-world .tf61-world-board,.tf61-world .tf61-command-board{padding:12px!important}
 .tf61-map-head h2{font-size:19px!important}
 .tf61-overview{min-width:79px}
 .tf61-era-tabs>span{display:none}
 .tf61-era-tabs button{min-width:0;flex:1;font-size:10px;padding:9px 6px}
 .tf61-era-tabs button i{font-size:15px}
 .tf61-map-image{height:380px;background-size:auto 100%;background-position:center 13%!important}
 .tf61-pin{min-width:76px;gap:5px}
 .tf61-pin-icon{width:40px;height:40px;font-size:19px;border-radius:11px}
 .tf61-pin-orbit{width:52px;height:52px;top:-6px}
 .tf61-pin-label{min-width:80px;max-width:105px;padding:4px 5px}
 .tf61-pin-label b{font-size:9px;white-space:normal;line-height:1.2}
 .tf61-pin-label small{font-size:8px;white-space:normal}
 .tf61-nexus-tag{font-size:8px;top:53%}
 .tf61-zone-grid{grid-template-columns:1fr}
 .tf61-map-legend{gap:8px;font-size:10px}
 .tf61-legend-note{display:none!important}
 .tf61-quick-actions{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.tf61-pin,.tf61-zone{transition:none}.tf61-route.chosen,.tf61-pin.selected .tf61-pin-orbit,.tf61-nexus-ring{animation:none}}

/* v9.07 — Savaş Haritası (bölge tıklanınca açılan tam ekran harita) */
.wm-overlay{position:fixed;inset:0;z-index:90;background:#02070dee;backdrop-filter:blur(8px);overflow:auto;animation:modal-appear .18s ease-out}
.wm-dialog{position:relative;max-width:1560px;margin:0 auto;padding:12px 14px 20px;min-height:100%}
.wm-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:4px 48px 10px 0}
.wm-title h2{margin:2px 0 0!important;font:700 clamp(18px,2.2vw,28px)/1.15 Georgia,serif!important;color:#f6dba6!important}
.wm-kicker{font:800 10px system-ui;letter-spacing:.17em;color:#d8b577}
.wm-tabs{display:flex;flex-wrap:wrap;gap:6px}.wm-tabs.era{margin-left:auto}
.wm-tabs button{appearance:none;border:1px solid #50718a;background:#0b2236;color:#c6d5e4;border-radius:9px;padding:7px 11px;font:700 12px system-ui;cursor:pointer}
.wm-tabs button.active{border-color:#f0cf8e;background:linear-gradient(135deg,#6b4e27,#173651);color:#fff0cf;box-shadow:0 0 14px #cda35a35}
.wm-tabs button:disabled,.wm-close:disabled{opacity:.5;cursor:default}
.wm-close{right:10px;top:8px}
.wm-body{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:start}
.wm-main{min-width:0}
.wm-stage{position:relative;aspect-ratio:1672/941;border:1px solid #e4bd73b8;border-radius:14px;overflow:hidden;background:#020c18;box-shadow:0 14px 34px #000a,inset 0 0 0 1px #fff2}
.wm-map{position:absolute;inset:0;width:100%;height:100%;display:block;user-select:none}
.wm-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.wm-stage.fighting:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,transparent 45%,#00000066);pointer-events:none}
.wm-base{position:absolute;z-index:2;padding:5px 9px;border-radius:9px;background:#06101dd9;border:1px solid #e6bf7966;color:#fff;font:700 11px system-ui;line-height:1.25;display:flex;flex-direction:column;box-shadow:0 4px 14px #000a}
.wm-base small{font-weight:500;color:#c8d5e4;font-size:10.5px}
.wm-base.left{left:1.6%;bottom:36%;border-color:#4b95ec;background:#0a1e3ad9}
.wm-base.right{right:1.6%;top:6%;text-align:right;align-items:flex-end;border-color:#f06a6a;background:#2a0c12d9}
.wm-base.right.gold{border-color:#e8b24a;background:#2a200bd9}.wm-base.right.blue{border-color:#4b95ec;background:#0a1e3ad9}
.wm-result{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%) scale(.85);z-index:5;padding:14px 30px;border-radius:14px;text-align:center;opacity:0;animation:wm-pop .6s ease-out forwards;backdrop-filter:blur(4px);box-shadow:0 10px 40px #000b}
.wm-result b{display:block;font:800 clamp(20px,3.2vw,38px)/1.1 Georgia,serif;letter-spacing:.06em}.wm-result small{font:600 clamp(11px,1.4vw,15px) system-ui;color:#fff}
.wm-result.win{background:#0f3a24dd;border:2px solid #f0cf8e;color:#ffe9a8}.wm-result.loss{background:#3b0e14dd;border:2px solid #f08a8a;color:#ffc2c2}
@keyframes wm-pop{from{opacity:0;transform:translate(-50%,-50%) scale(.7)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
.wm-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}
.wm-chip{padding:5px 11px;border-radius:999px;font:800 11px system-ui;letter-spacing:.06em;background:#0b2236;border:1px solid #50718a;color:#d6e4f3}
.wm-chip.mine{border-color:#66e1ad;color:#9ff0cc}.wm-chip.enemy{border-color:#f08a8a;color:#ffb0b0}.wm-chip.neutral{border-color:#e8b24a;color:#f6d78f}
.wm-hint{margin-left:auto;font-size:12px;color:#9fb6c9}
.wm-side{min-width:0;border:1px solid #e4bd7366;border-radius:14px;padding:14px;background:linear-gradient(160deg,#0d1b30f2,#070e1cf2)}
.wm-side .tf61-attack,.wm-side .tf61-garrison,.wm-side .tf61-diplomatic{margin:0}
.wm-fighting{text-align:center;padding:30px 12px;color:#e8d3a2}.wm-fighting b{display:block;font-size:17px;margin-bottom:6px}.wm-fighting small{color:#a9bdd0}
.wm-open-btn{margin-top:8px}
@media(max-width:1100px){.wm-body{grid-template-columns:minmax(0,1fr)}.wm-tabs.era{margin-left:0}}
@media(max-width:600px){.wm-base small{display:none}.wm-base.right{top:3%}.wm-dialog{padding:8px 8px 18px}.wm-tabs button{padding:6px 8px;font-size:11px}.wm-base{padding:3px 6px;font-size:9.5px}.wm-base small{font-size:9px}.wm-base.left{bottom:30%}.wm-hint{display:none}}

/* v9.08 — gerçek asker görselleri */
.wm-skip{position:absolute;right:1.6%;bottom:3%;z-index:6;appearance:none;border:1px solid #f0cf8e;background:#1d1407d9;color:#ffe9b0;border-radius:999px;padding:7px 14px;font:800 12px system-ui;cursor:pointer;box-shadow:0 4px 16px #000a}
.wm-skip:hover{background:#3a2a10}
.wm-comp{display:flex;flex-wrap:wrap;gap:6px}
.wm-unit{display:inline-flex;align-items:center;gap:5px;padding:2px 9px 2px 3px;border-radius:999px;background:#0b2236;border:1px solid #3d6a8f;font:700 11px system-ui;color:#d6e4f3}
.wm-unit img{width:24px;height:30px;object-fit:contain;object-position:bottom}.wm-unit b{color:#f4d9a0}
@media(max-width:600px){.wm-unit{font-size:0;gap:2px}.wm-unit b{font-size:11px}.wm-skip{padding:5px 10px;font-size:11px}}
