/* Territory network: illustrated atlas and faction citadels. */
.tw7-occupation{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.85fr) minmax(0,1fr);align-items:stretch;gap:20px;padding:0 30px;border-bottom:1px solid #34404d;background:radial-gradient(ellipse at 10% 110%,#16415299,transparent 40%),radial-gradient(ellipse at 90% 110%,#5e283c80,transparent 40%),#0b121d;font-family:'Noto Sans KR',sans-serif;overflow:hidden}
.tw7-faction{--faction:#6ee7ff;position:relative;display:flex;align-items:center;gap:18px;min-width:0;padding:8px 12px;border:0;border-radius:0;background:transparent;color:#edf8ff;text-align:left;cursor:pointer;isolation:isolate}
.tw7-faction.side-b{--faction:#ff9eaf;flex-direction:row-reverse;text-align:right}.tw7-faction::before{content:'';position:absolute;z-index:-1;inset:20% 2% -80%;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--faction) 20%,transparent),transparent 65%)}
.tw7-faction>.tw7-citadel{width:96px;height:104px;object-fit:contain;flex:none;filter:drop-shadow(0 8px 12px #0008);transition:transform .2s}.tw7-faction:hover>.tw7-citadel{transform:translateY(-3px)}.tw7-faction:focus-visible{outline:2px solid #c8ff6b;outline-offset:-4px}
.tw7-faction-name{display:flex;flex:1;flex-direction:column;min-width:0;gap:3px}.tw7-faction-name>small{font:600 9px 'Barlow Condensed',sans-serif;letter-spacing:.18em;color:var(--faction);opacity:.8}.tw7-faction-name>strong{font-size:23px;line-height:1.25;letter-spacing:.06em;color:#f6f5ee;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw7-faction-name>span{font-size:10px;color:#a6b3c2}.tw7-faction.is-mine .tw7-faction-name>span{color:var(--faction)}
.tw7-faction-count{display:flex;align-items:center;gap:8px;flex:none}.tw7-faction-count>b{font:500 46px/.9 'Barlow Condensed',sans-serif;color:var(--faction)}.tw7-faction-count>small{font-size:10px;color:#a5b1bf;max-width:25px;line-height:1.4}
.tw7-occupation-center{display:flex;flex-direction:column;justify-content:center;text-align:center}.tw7-occupation-center>small{font:600 9px 'Barlow Condensed',sans-serif;letter-spacing:.26em;color:#baaa84}.tw7-occupation-center>strong{margin:4px 0 5px;color:#f1ede4;font-size:18px;letter-spacing:.12em}.tw7-occupation-center>span{font-size:10px;color:#909db0}.tw7-control-track{display:flex;gap:4px;height:4px;margin-top:13px;border-radius:4px;overflow:hidden}.tw7-control-track .side-a{background:#68d9ec}.tw7-control-track .side-b{background:#ef859e}.tw7-control-track .neutral{background:#ddd09a}
.tw3-shell.tw4-shell.tw7-network-mode{grid-template-rows:72px 120px 76px minmax(0,1fr)}.tw7-network-mode .tw4-workspace{grid-row:4}.tw4-map-shell.tw7-map{min-height:0;isolation:isolate;background:#0b141b}.tw7-map .tw4-map-art{filter:saturate(.9) brightness(.83)}.tw7-map .tw4-map-shade{background:linear-gradient(180deg,#08131b82,transparent 25%,#09121b0d 60%,#070d16ed 100%);box-shadow:inset 0 0 65px #06101b80}
.tw7-map .tw7-map-toolbar{top:16px;left:20px;right:20px}.tw7-map-toolbar>div{border:1px solid #b3c8d135;border-left:2px solid #b2c8c7;border-radius:5px;background:#09131cce}.tw7-map-toolbar>div i{transform:none;border-radius:50%}.tw7-map-toolbar>b{display:block;color:#e1ddc5;font:600 10px 'Barlow Condensed',sans-serif;letter-spacing:.2em;text-align:right;text-shadow:0 1px 4px #000}.tw7-map-toolbar>b>span{display:block;margin-top:4px;font:500 10px 'Noto Sans KR',sans-serif;letter-spacing:.06em;color:#c2cbd1}
.tw7-map .tw7-routes,.tw7-map .tw7-nodes{position:absolute;inset:72px 34px 148px;width:calc(100% - 68px);height:calc(100% - 220px);transform:none}.tw7-route{stroke:#f2de9b;stroke-width:1.5;stroke-dasharray:3 7;stroke-linecap:round;opacity:.72;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 2px #000)}.tw7-route.side-a{stroke:#89dce8;stroke-dasharray:none;opacity:.65}.tw7-route.side-b{stroke:#ef9baa;stroke-dasharray:none;opacity:.65}
.tw7-lane-labels{position:absolute;top:56px;bottom:168px;left:37%;right:37%;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none;z-index:3;text-align:center}.tw7-lane-labels span{font-size:10px;letter-spacing:.15em;color:#dddcca;text-shadow:0 1px 8px #000,0 1px 3px #000}.tw7-lane-labels small{display:block;margin-bottom:4px;font:500 8px 'Barlow Condensed',sans-serif;letter-spacing:.23em;color:#a9babb}.tw7-lane-labels span:nth-child(2){visibility:hidden}
.tw7-map .tw7-node{--node-color:#e8d49b;position:absolute;left:var(--x);top:var(--y);display:flex;flex-direction:column;align-items:center;text-align:center;pointer-events:auto;cursor:pointer;border-radius:10px;width:112px;min-width:0;padding:0;min-height:108px;border:0;background:none;box-shadow:none;transform:translate(-50%,-71px);color:#f3f5ff;isolation:isolate}.tw7-map .tw7-node.side-a{--node-color:#75e2ef}.tw7-map .tw7-node.side-b{--node-color:#ff9bb0}.tw7-node::before,.tw7-node::after{display:none!important}
.tw7-node-figure{position:relative;display:block;width:96px;height:80px;margin:0 auto;pointer-events:none}.tw7-node-figure>.tw7-citadel{position:absolute;z-index:2;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 5px #000b);transition:transform .18s,filter .18s}.tw7-neutral-monument{position:absolute;z-index:2;inset:0;width:100%;height:100%;filter:drop-shadow(0 0 6px #e3d49660)}
.tw7-node-ground{position:absolute;left:11%;right:11%;bottom:0;height:24%;border:1px solid color-mix(in srgb,var(--node-color) 55%,transparent);border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--node-color) 30%,#0b1424),#06111990 70%);box-shadow:0 0 16px #07121b;transition:box-shadow .18s}.tw7-node-figure>em{position:absolute;z-index:3;right:1px;bottom:0;display:grid;place-items:center;min-width:22px;height:20px;padding:0 4px;border:1px solid color-mix(in srgb,var(--node-color) 55%,transparent);border-radius:4px;background:#0b1822e8;color:var(--node-color);font:600 10px 'Barlow Condensed',sans-serif;font-style:normal}
.tw7-map .tw7-node.is-home{width:136px;transform:translate(-50%,-103px)}.tw7-map .tw7-node.is-home .tw7-node-figure{width:130px;height:112px}.tw7-map .tw7-node.is-home .tw7-node-figure>em{font:700 9px 'Noto Sans KR',sans-serif}
.tw7-node-caption{display:block;position:relative;padding:5px 10px 4px;min-width:78px;border:1px solid #a4b4c12b;border-top:1px solid color-mix(in srgb,var(--node-color) 45%,transparent);border-radius:5px;background:linear-gradient(#07131eed,#07131ea8);box-shadow:0 3px 10px #0005;backdrop-filter:blur(4px)}.tw7-map .tw7-node b{display:block;font-size:11px;line-height:1.5;white-space:nowrap;color:#f8f5e9;text-shadow:0 1px 3px #000}.tw7-map .tw7-node small{display:block;font-size:9px;line-height:1.6;color:#a6b2c2;white-space:nowrap}.tw7-map .tw7-node.is-accessible small{color:var(--node-color)}
.tw7-map .tw7-node.selected .tw7-node-caption{border-color:#e2db9c;background:linear-gradient(#283633f2,#102627dc)}.tw7-map .tw7-node.selected .tw7-node-ground{border:2px solid #e1ffb6;box-shadow:0 0 0 5px #d7ffac20,0 0 24px #c8ff6b66}.tw7-map .tw7-node.selected .tw7-citadel,.tw7-map .tw7-node:hover .tw7-citadel{transform:translateY(-3px);filter:drop-shadow(0 3px 5px #000b) brightness(1.12)}.tw7-map .tw7-node:focus-visible{outline:2px solid #d8edb0;outline-offset:5px}
.tw7-map .tw7-node-hp{display:flex;gap:3px;width:60px;height:3px;margin:5px auto 0}.tw7-node-hp i{display:block;flex:1;background:#192734;position:relative;border-radius:2px;overflow:hidden}.tw7-node-hp i:after{content:'';display:block;width:var(--hp);height:3px;background:#6dd9e9}.tw7-node-hp i.side-b:after{background:#ed8fa7}
.tw7-map-instruction{position:absolute;bottom:113px;left:16px;right:16px;text-align:center;pointer-events:none;z-index:6}.tw7-map-instruction b{display:block;font-size:12px;color:#e5e5d5;text-shadow:0 1px 8px #000}.tw7-map-instruction span{display:block;font-size:10px;color:#a2b2bc;margin-top:4px}.tw7-map[data-tw6-view="FIELD"] .tw7-map-instruction,.tw7-map[data-tw6-view="FIELD"] .tw7-lane-labels{display:none}.tw7-network-mode .tw4-scoreboard{border-top:0}.tw7-network-mode .tw4-front-status>span{color:#bdcca1}.tw7-detail-note{font-size:12px;line-height:1.7;color:#a9b7c9;margin:12px 0;padding:12px;border-left:2px solid #c8ff6b;background:#c8ff6b08}
.tw7-network-mode .tw4-commanders article{grid-template-columns:40px minmax(0,1fr);border-radius:6px;clip-path:none;background:linear-gradient(120deg,#112632,#0b1623)}.tw7-network-mode .tw4-commanders article.side-b{background:linear-gradient(120deg,#2b1f2d,#111724)}.tw7-network-mode .tw4-commanders article>span{border:0;transform:none;width:40px;height:46px}.tw7-network-mode .tw4-commanders .tw7-citadel{width:100%;height:100%;object-fit:contain}.tw4-command-rail>header>span{font-size:8px}.tw4-command-compose>small{font-size:9px;line-height:1.6;color:#94b8b8}
@media(max-width:1100px) and (min-width:821px){.tw7-occupation{padding:0 14px;gap:12px}.tw7-faction{gap:10px;padding-inline:0}.tw7-faction>.tw7-citadel{width:78px}.tw7-faction-name>strong{font-size:20px}.tw7-faction-count>b{font-size:36px}.tw7-faction-name>small{font-size:8px}.tw7-map .tw7-node.is-home .tw7-node-figure{width:108px;height:100px}.tw7-map .tw7-node.is-home{transform:translate(-50%,-91px)}}
@media(max-width:820px){
 .tw3-shell.tw4-shell.tw7-network-mode{grid-template-rows:calc(58px + var(--safe-top)) 98px auto minmax(0,1fr) calc(58px + var(--safe-bottom))}.tw7-network-mode .tw4-mobile-nav{grid-row:5}.tw7-network-mode .tw4-workspace{grid-row:4}
 .tw7-occupation{grid-template-columns:minmax(0,1fr) minmax(106px,.86fr) minmax(0,1fr);gap:3px;padding:0 6px}.tw7-faction{display:grid;grid-template-columns:43px minmax(0,1fr);gap:2px;padding:8px 0;align-content:center}.tw7-faction.side-b{grid-template-columns:minmax(0,1fr) 43px}.tw7-faction>.tw7-citadel{grid-row:1/3;width:44px;height:66px}.tw7-faction.side-b>.tw7-citadel{grid-column:2}.tw7-faction-name{gap:2px}.tw7-faction-name>small{display:none}.tw7-faction-name>strong{font-size:16px;letter-spacing:0}.tw7-faction-name>span{font-size:8px}.tw7-faction-count{gap:4px;align-items:baseline}.tw7-faction.side-b .tw7-faction-count{justify-content:flex-end}.tw7-faction-count>b{font-size:23px}.tw7-faction-count>small{font-size:8px;max-width:none}.tw7-occupation-center>small{font-size:7px;letter-spacing:.13em}.tw7-occupation-center>strong{font-size:13px;letter-spacing:.05em;margin:4px 0}.tw7-occupation-center>span{font-size:8px}.tw7-control-track{margin-top:8px;height:3px;gap:2px}
 .tw7-map .tw7-map-toolbar{top:10px;left:10px;right:10px}.tw7-map-toolbar>div{gap:10px;padding:5px 8px}.tw7-map-toolbar>b{display:none}.tw7-map .tw7-routes,.tw7-map .tw7-nodes{inset:51px 24px 116px;width:calc(100% - 48px);height:calc(100% - 167px)}.tw7-route{stroke-width:1.2}
 .tw7-map .tw7-node{width:66px;transform:translate(-50%,-49px);min-height:87px}.tw7-node-figure{width:62px;height:58px}.tw7-node-figure>em{right:0;bottom:0;min-width:16px;height:15px;padding:0 2px;font-size:9px}.tw7-map .tw7-node.is-home{width:76px;transform:translate(-50%,-65px)}.tw7-map .tw7-node.is-home .tw7-node-figure{width:79px;height:74px}.tw7-map .tw7-node.is-home .tw7-node-figure>em{font-size:7px}.tw7-node-caption{padding:3px 5px;min-width:59px;backdrop-filter:blur(2px)}.tw7-map .tw7-node b{font-size:10px}.tw7-map .tw7-node small{font-size:8px}.tw7-map .tw7-node-hp{width:44px;margin-top:3px;height:2px}.tw7-node-hp i:after{height:2px}
 .tw7-lane-labels{top:45px;bottom:124px;left:35%;right:35%}.tw7-lane-labels span{font-size:8px;letter-spacing:.1em}.tw7-lane-labels small{font-size:6px;margin-bottom:3px}.tw7-map-instruction{bottom:86px}.tw7-map-instruction b{font-size:10px}.tw7-map-instruction span{font-size:8px}
}
@media(min-width:821px) and (max-height:800px){.tw3-shell.tw4-shell.tw7-network-mode{grid-template-rows:60px 92px 64px minmax(0,1fr)}.tw7-faction>.tw7-citadel{height:84px;width:80px}.tw7-faction-count>b{font-size:38px}.tw7-map .tw7-routes,.tw7-map .tw7-nodes{inset:60px 30px 112px;width:calc(100% - 60px);height:calc(100% - 172px)}.tw7-lane-labels{top:45px;bottom:115px}.tw7-map-instruction{bottom:85px}.tw7-map .tw7-node{transform:translate(-50%,-57px)}.tw7-node-figure{width:76px;height:66px}.tw7-map .tw7-node.is-home{transform:translate(-50%,-77px)}.tw7-map .tw7-node.is-home .tw7-node-figure{width:98px;height:86px}}
@media(prefers-reduced-motion:reduce){.tw7-faction>.tw7-citadel,.tw7-node-figure>.tw7-citadel,.tw7-node-ground{transition:none}.tw7-faction:hover>.tw7-citadel,.tw7-map .tw7-node.selected .tw7-citadel,.tw7-map .tw7-node:hover .tw7-citadel{transform:none}}

@media(max-width:820px){.tw7-network-mode.command-open .tw4-workspace{z-index:60;overflow:visible}.tw7-network-mode.command-open .tw4-command-rail{top:calc(58px + var(--safe-top));bottom:calc(58px + var(--safe-bottom));background:#07111c}.tw7-network-mode .tw4-commanders{grid-template-columns:1fr}}

@media(max-width:820px){.tw7-network-mode .tw4-command-rail>header>span{right:70px;top:28px}}

/* Live territory surfaces. The lobby and recruitment keep their own display. */
#territoryWarModalV3:has(.fl-shell) {
  --fl-bg:#11191c; --fl-panel:#1b2629; --fl-raised:#253235; --fl-line:#425054;
  --fl-text:#f2f3e9; --fl-muted:#b5c2bf; --fl-a:#83ddda; --fl-b:#ffad92; --fl-hot:#ffd578; --fl-action:#d9f085;
  background:var(--fl-bg); color:var(--fl-text);
}
#territoryWarModalV3:has(.fl-shell) .war-chat-nav {min-height:42px;padding:4px 18px;background:#0e1618;border:0;border-bottom:1px solid #435150;border-image:none;box-shadow:none}
#territoryWarModalV3:has(.fl-shell) .war-chat-nav-actions button {border:1px solid #425054;border-image:none;background:#1e292c;color:#dfe5dc;box-shadow:none;min-height:34px}
#territoryWarModalV3:has(.fl-shell) .war-chat-nav-actions button.active,
#territoryWarModalV3:has(.fl-shell) .war-chat-nav-actions button[aria-pressed=true] {color:var(--fl-action);background:#293529}
#territoryWarModalV3 .tw3-shell.tw4-shell.fl-shell {position:relative;inset:auto;display:flex;flex-direction:column;gap:0;width:100%;min-width:0;height:100%;max-height:none;min-height:0;overflow:auto;background:var(--fl-bg);color:var(--fl-text);font-family:Pretendard,"Malgun Gothic",sans-serif;font-variant-numeric:tabular-nums}
.fl-shell button{font:inherit;touch-action:manipulation}
.fl-shell button:focus-visible,.fl-personal-result button:focus-visible{outline:3px solid #ffe2a0!important;outline-offset:2px}
.fl-shell h1,.fl-shell h2,.fl-shell h3,.fl-shell p{margin:0}
#territoryWarModalV3 .fl-shell .fl-head{display:flex;flex:0 0 auto;align-items:center;gap:14px;min-height:58px;padding:6px 24px;background:#172124;border:0;border-bottom:1px solid var(--fl-line);box-shadow:none}
.fl-heading{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.fl-heading h1{font-size:23px;line-height:1.25;letter-spacing:-.035em;white-space:nowrap}.fl-round{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--fl-muted)}
.fl-status-dot{width:9px;height:9px;background:var(--fl-action);border-radius:50%;flex:none}
.fl-clock{display:flex;gap:8px;align-items:baseline;white-space:nowrap}.fl-clock span{font-size:12px;color:var(--fl-muted)}.fl-clock time{font-size:16px;font-weight:700}
.fl-head .fl-refresh,.fl-head .fl-close{display:grid;place-items:center;flex:none;width:38px;height:38px;padding:0;min-width:0;min-height:0;border:1px solid var(--fl-line);border-radius:5px;background:var(--fl-panel);box-shadow:none;color:var(--fl-text);font-size:24px}
.fl-refresh svg{width:17px;height:17px;stroke:currentColor;stroke-width:2;fill:none}
.fl-control{display:flex;align-items:center;gap:16px;min-height:56px;flex:none;padding:8px 24px;border-bottom:1px solid #374343;background:#1c2728}
.fl-team{display:inline-flex;align-items:center;gap:8px;min-width:0}.fl-team strong{font-size:16px;overflow-wrap:anywhere}.fl-team b{white-space:nowrap;font-size:17px}.fl-team small,.fl-team i{font-size:11px;color:var(--fl-muted);font-style:normal;margin-left:3px}.fl-team i{color:var(--fl-action)}
.fl-side-symbol{display:inline-grid;place-items:center;width:25px;height:25px;border:1px solid currentColor;font:bold 14px/1 "Barlow",sans-serif;flex:none}
.fl-side-symbol.fl-A,.fl-team-A b,.fl-hp.fl-A{color:var(--fl-a)}.fl-side-symbol.fl-B,.fl-team-B b,.fl-hp.fl-B{color:var(--fl-b)}
.fl-control-bar{display:flex;flex:1;gap:3px;height:4px}.fl-control-bar i:nth-child(1){background:var(--fl-a)}.fl-control-bar i:nth-child(2){background:#64716d}.fl-control-bar i:nth-child(3){background:var(--fl-b)}
.fl-tabs{display:flex;align-items:center;gap:4px;padding:5px 20px;min-height:44px;background:var(--fl-bg);border-bottom:1px solid #394744;flex:none;overflow:auto}
.fl-tabs button,.fl-signal button,.fl-result button{flex:none;background:transparent;color:var(--fl-text);border:1px solid transparent;border-radius:4px;min-height:34px;padding:3px 11px;font-weight:650;font-size:13px;cursor:pointer;white-space:nowrap}
.fl-tabs button:hover,.fl-tabs button:focus-visible,.fl-signal button:hover{background:var(--fl-raised);border-color:var(--fl-line)}
#territoryWarModalV3 .fl-shell .fl-workspace{display:grid;grid-template-columns:minmax(0,1fr) clamp(236px,24%,335px);grid-template-rows:auto;align-content:start;align-items:start;gap:16px;padding:16px 20px 28px;flex:1 0 auto;overflow:visible;min-height:0;background:var(--fl-bg);position:static}
.fl-primary{min-width:0}.fl-map-heading{display:flex;align-items:center;justify-content:space-between;min-height:31px;margin-bottom:6px}.fl-map-heading h2,.fl-detail h2,.fl-result h2{font-size:21px;line-height:1.3;letter-spacing:-.03em}.fl-map-heading span{color:var(--fl-muted);font-size:12px}
#territoryWarModalV3 .fl-map.tw4-map-shell{display:flex;flex-direction:column;position:relative;inset:auto;overflow:hidden;isolation:isolate;min-height:0;height:auto;min-width:0;aspect-ratio:auto;border:1px solid var(--fl-line);background:var(--fl-panel)}
.fl-map-projection{position:relative;width:100%;height:clamp(315px,47vh,620px);isolation:isolate;background:#293431;overflow:hidden}
#territoryWarModalV3 .fl-map .fl-map-photo,#territoryWarModalV3 .fl-map .fl-map-photo img,.fl-map-grid,.fl-links,.fl-map-pins{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;pointer-events:none}
#territoryWarModalV3 .fl-map .fl-map-photo{z-index:0;filter:none;opacity:1}
#territoryWarModalV3 .fl-map .fl-map-photo img{object-fit:fill;filter:brightness(.79) saturate(.8);opacity:1}
.fl-map-grid{z-index:1;background-image:linear-gradient(#d5dfc51a 1px,transparent 1px),linear-gradient(90deg,#d5dfc51a 1px,transparent 1px);background-size:10% 20%}
.fl-links{z-index:2;fill:none;overflow:visible}.fl-route{stroke:#edece0;stroke-width:1.8;stroke-dasharray:6 5;opacity:.9}.fl-route-a,.fl-route-b{stroke-dasharray:none;stroke-width:2.4}.fl-route-a{stroke:var(--fl-a)}.fl-route-b{stroke:var(--fl-b)}.fl-map-pins{z-index:3}
/* The point of contact is at the building's foundation so the connecting roads meet the model. */
.fl-map .fl-node {
  --pin: #e6dfbe; --model: clamp(70px, 8.2vw, 118px);
  position: absolute; display: block; isolation: isolate; z-index: 1;
  width: var(--model); height: var(--model); transform: translate(-50%, -65%);
  padding: 0; min-width: 0; min-height: 0; border: 0; background: transparent;
  box-shadow: none; color: #fff; cursor: pointer; overflow: visible; pointer-events: auto;
}
.fl-map .fl-node-a { --pin: var(--fl-a); }
.fl-map .fl-node-b { --pin: var(--fl-b); }
.fl-map .fl-site-hq { --model: clamp(84px, 9vw, 138px); }
.fl-site-model, .fl-site-model img { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.fl-map .fl-site-model { z-index:2; filter: drop-shadow(1px 3px 2px #0710109c); }
.fl-base-ground { position:absolute; z-index:0; inset:44% 9% 10%; border:1px solid var(--pin); border-radius:50%; background:color-mix(in srgb,var(--pin) 18%,transparent); }
.fl-node.is-selected .fl-base-ground, .fl-node:focus-visible .fl-base-ground { outline:2px solid #f8f4ca; outline-offset:3px; }
.fl-node:focus-visible { outline:1px dashed #fff5bc; outline-offset:2px; }
.fl-node-label, .fl-heat-label { position:absolute; left:50%; transform:translateX(-50%); white-space:nowrap; font-weight:750; line-height:1.2; pointer-events:none; z-index:3; }
.fl-map .fl-node-label { top:89%; display:flex;align-items:center;gap:5px;padding:4px 8px; border:1px solid #708078; background:#101b1cf5; color:#fffff1; font-size:clamp(11px,1.1vw,14px); border-radius:3px; }
.fl-node-label i { width:7px; height:7px; border-radius:1px; background:var(--pin); }
.fl-node-hot .fl-base-ground { border:2px dashed #ffc363; background:radial-gradient(ellipse,#ff96234f,#e7641660 62%,transparent 73%); }
.fl-map .fl-heat-label { top:6%; bottom:auto; display:flex;align-items:center;gap:3px; padding:3px 6px; border-radius:3px; background:#ffd482;color:#38220b;font-size:12px; }
.fl-heat-label svg, .fl-signal svg { width:15px; height:15px; }
@media(prefers-reduced-motion:no-preference) {
  .fl-node-hot .fl-base-ground::before { content:""; position:absolute; inset:0; border:2px solid #ffd077; border-radius:50%; animation:fl-contact 2.6s ease-out infinite; }
}
@keyframes fl-contact { from{transform:scale(.85);opacity:.98} to{transform:scale(1.55);opacity:0} }
#territoryWarModalV3 .fl-shell .fl-map .tw4-action-dock{position:relative;inset:auto;z-index:4;display:grid;grid-template-columns:minmax(80px,1fr) minmax(120px,1.55fr) minmax(80px,1fr);width:100%;max-width:none;transform:none;gap:6px;padding:8px;border:0;border-top:1px solid var(--fl-line);background:var(--fl-panel);box-shadow:none;flex:none}
#territoryWarModalV3 .fl-shell .tw4-action-dock button{height:auto;min-height:46px;min-width:0;border-radius:4px;background:#263337;border:1px solid #48595a;color:var(--fl-text);text-shadow:none;box-shadow:none;padding:5px 7px}
#territoryWarModalV3 .fl-shell .tw4-action-dock .tw4-attack-button{background:var(--fl-action);border-color:var(--fl-action)!important;color:#182514}
#territoryWarModalV3 .fl-shell .tw4-action-dock .tw4-attack-button:disabled{background:#33413a;border-color:#56685b!important;color:#c6cec1}
.fl-shell .tw4-action-dock button span small,.fl-shell .tw4-attack-button>span{display:none}.fl-shell .tw4-dock-button em{color:var(--fl-muted)}
#territoryWarModalV3 .fl-shell .fl-map[data-tw6-view=FIELD] .fl-map-projection{display:none}
#territoryWarModalV3 .fl-shell .fl-map[data-tw6-view=MAP]>.tw6-field,#territoryWarModalV3 .fl-shell .fl-map[data-tw6-view=MAP]>.tw6-objectives{display:none}
#territoryWarModalV3 .fl-shell .fl-map[data-tw6-view=FIELD]>.tw6-field{position:relative;inset:auto;min-height:300px;height:clamp(310px,40vh,460px)}
#territoryWarModalV3 .fl-shell .fl-map[data-tw6-view=FIELD]>.tw6-objectives{display:grid;position:relative;inset:auto;transform:none;width:100%;max-width:none;gap:5px;padding:6px;background:#172125;flex:none}
.fl-shell .tw6-field-art img{filter:brightness(.93);object-position:center 53%}.fl-shell .tw6-weather{animation:none}.fl-shell .tw6-field-navigation button,.fl-shell .tw6-objectives button,.fl-shell .tw6-relay-anchor{border-radius:4px;border-image:none;background:#1b292be8;color:#f4f6ea}.fl-shell .tw6-objectives button[aria-pressed=true]{border-color:var(--fl-action);color:var(--fl-action)}
.fl-signal{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;min-height:48px;padding:7px 10px;border:1px solid var(--fl-line);border-top:0;background:#202926}
.fl-signal>div{display:flex;align-items:center;gap:6px}.fl-signal h2{font-size:14px}.fl-signal>div>svg{color:var(--fl-hot)}.fl-signal small,.fl-quiet{font-size:12px;color:var(--fl-muted)}
.fl-signal button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:2px 4px}.fl-signal button b{color:var(--fl-hot)}.fl-signal button svg{width:14px;height:14px}
#territoryWarModalV3 .fl-shell .fl-detail{position:relative;inset:auto;display:block;transform:none;margin-top:37px;min-width:0;min-height:0;max-height:none;padding:16px;background:var(--fl-panel);border:1px solid var(--fl-line);overflow:visible;color:var(--fl-text);z-index:auto;box-shadow:none}
.fl-detail>header{display:flex;align-items:center;gap:12px;padding:0 0 14px;background:transparent;border:0;border-bottom:1px solid var(--fl-line)}.fl-detail>header>div>span{font-size:13px;color:var(--fl-muted)}
.fl-sector-id{display:grid;place-items:center;width:42px;height:44px;background:#d5decb;color:#202c25;font:700 24px/1 "Barlow",sans-serif}
.fl-detail h3{font-size:14px;margin:0 0 10px}.fl-detail .fl-zone-close{display:none}.fl-hp-block,.fl-unit,.fl-buff{padding-top:16px}
.fl-hp{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:center;margin:10px 0;font-size:12px}.fl-hp b{font-size:15px}.fl-hp meter{grid-column:1/-1;width:100%;height:5px;border:0;appearance:none;background:#405050}.fl-hp meter::-webkit-meter-bar{background:#405050;border:0}.fl-hp meter::-webkit-meter-optimum-value{background:currentColor}.fl-hp meter::-moz-meter-bar{background:currentColor}.fl-hp meter{color:inherit}
#territoryWarModalV3 .fl-detail .fl-enter{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;padding:6px 13px;margin:16px 0 0;border-radius:4px;background:var(--fl-action);color:#19271b;border:1px solid var(--fl-action);box-shadow:none}.fl-detail .fl-enter:disabled{opacity:.65}.fl-detail .fl-enter b{font-size:15px;color:inherit}.fl-detail .fl-enter span{font-size:20px;color:inherit}
.fl-unit dl{display:grid;gap:8px;margin:0}.fl-unit dl>div{display:flex;justify-content:space-between;gap:8px}.fl-unit dt,.fl-unit dd,.fl-buff span,.fl-buff time{font-size:12px}.fl-unit dt,.fl-buff time{color:var(--fl-muted)}.fl-unit dd{margin:0;font-weight:700}.fl-buff{border-top:1px solid var(--fl-line);display:grid;gap:5px;margin-top:15px}.fl-buff b{color:var(--fl-hot)}
#territoryWarModalV3 .fl-shell .fl-command{display:none}
#territoryWarModalV3 .fl-shell.command-open .fl-command{display:block;position:fixed;inset:8% max(12px,3vw) auto auto;width:min(440px,94vw);max-height:84dvh;overflow:auto;background:#1b292c;border:1px solid #70807a;box-shadow:0 18px 50px #050a0dcc;padding:14px;z-index:110;transform:none}
.fl-shell .fl-command .tw4-mobile-rail-close{display:block;float:right;position:relative;inset:auto;width:36px;height:36px;color:var(--fl-text)}
.fl-shell .tw4-drawer{background:#1b2629;border:1px solid #53645e;color:var(--fl-text)}.fl-shell .tw4-drawer>header{background:#202d30;border-bottom:1px solid #52605d}.fl-shell .tw4-drawer>header h2{font-size:22px}.fl-shell .tw4-drawer-content{background:#162124}.fl-shell .tw4-drawer-content :is(.tw4-intel-card,.tw4-settlement-card,.tw4-operation-overview,.tw4-ranking-list article,.tw4-report-list article,.tw6-facility-card){border-color:#43534e;background-color:#243135;border-radius:5px}
.fl-shell .tw4-command-rail header>small,.fl-shell .tw4-report-list small:empty{display:none}.fl-shell .tw4-drawer header button{min-width:40px;min-height:40px}
.fl-result{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;background:#28382c;border-bottom:1px solid #566448;color:var(--fl-text)}.fl-result h2{color:#deeda5}.fl-result p,.fl-result b{font-size:13px;line-height:1.55}.fl-result button{border-color:#a3b78b;background:#223027}
.fl-personal .battle-v3-header,.fl-personal .battle-v3-versus,.fl-personal-result .tw3-result-dialog,.tw3-operation-briefing section,.tw3-mass-assault-overlay section,.tw3-truce-overlay section{border-color:#66766b;background-color:#192326}
.fl-personal-result .tw3-v2-result{background:linear-gradient(90deg,rgba(16,27,27,.98),rgba(20,32,31,.86)),url('/assets/ui/territory-war/frontline-20261108/field-960.webp') center/cover;border:1px solid #65736c;border-radius:5px;color:#f6f4e9;text-align:left}
.fl-personal-result .pvp-result-confirm{background:#d9f085;color:#19251b;border:0;min-height:44px}.fl-personal-result .tw3-result-close{min-height:40px;min-width:40px}
@media(max-width:820px),(max-width:1040px) and (max-height:500px) and (pointer:coarse){
 #territoryWarModalV3 .tw3-shell.tw4-shell.fl-shell{height:auto;min-height:calc(100dvh - 48px);overflow:visible}
 #territoryWarModalV3 .fl-shell .fl-head{gap:7px;padding:5px 10px;min-height:50px}.fl-heading{gap:6px;flex-wrap:wrap}.fl-heading h1{font-size:18px}.fl-round{font-size:11px}.fl-clock{display:grid;gap:0;justify-items:end}.fl-clock span{font-size:10px}.fl-clock time{font-size:12px}.fl-head .fl-refresh,.fl-head .fl-close{height:36px;width:36px}
 .fl-control{min-height:41px;padding:7px 10px;gap:6px}.fl-side-symbol{width:21px;height:21px;font-size:12px}.fl-team{gap:4px}.fl-team strong,.fl-team b{font-size:12px}.fl-team i{font-size:10px;margin:0}.fl-team small{font-size:9px}.fl-control-bar{min-width:10px}
 .fl-tabs{padding:2px 7px;gap:2px;min-height:40px}.fl-tabs button{min-height:36px;padding:3px 8px;font-size:12px}
 #territoryWarModalV3 .fl-shell .fl-workspace{display:block;padding:5px 8px 16px;min-height:0;overflow:visible}
 .fl-map-heading{min-height:26px;margin-bottom:2px}.fl-map-heading h2{font-size:17px}.fl-map-heading span{font-size:11px}
 #territoryWarModalV3 .fl-shell .fl-map{height:auto;min-height:0}.fl-map-projection{height:clamp(288px,45vh,385px)}
 .fl-node-label{font-size:10px;padding:2px 3px;top:calc(50% + 17px)}.fl-marker{width:27px;height:27px}.fl-marker b{font-size:12px}.fl-marker svg{width:15px;height:15px}.fl-heat-label{font-size:9px;bottom:calc(50% + 22px)}
 #territoryWarModalV3 .fl-shell .tw4-action-dock{gap:4px;padding:5px;grid-template-columns:1fr 1.65fr 1fr}.fl-shell .tw4-action-dock button b{font-size:12px!important}
 .fl-signal{gap:1px 8px;padding:5px 7px}.fl-signal h2,.fl-signal button{font-size:12px}.fl-signal small,.fl-quiet{font-size:10px}
 #territoryWarModalV3 .fl-shell .fl-detail{margin-top:9px;padding:12px;display:block;visibility:visible}
 #territoryWarModalV3 .fl-shell.zone-open .fl-detail{position:fixed;top:auto;bottom:max(8px,env(safe-area-inset-bottom));left:8px;right:8px;width:auto;max-height:70dvh;overflow:auto;z-index:90;box-shadow:0 -12px 36px #071014aa}
 .fl-shell.zone-open .fl-zone-close{display:grid;align-items:center;margin-left:auto;width:38px;height:38px;font-size:20px;color:var(--fl-text);background:var(--fl-raised);border:1px solid var(--fl-line)}
 #territoryWarModalV3 .fl-shell .fl-map[data-tw6-view=FIELD]>.tw6-field{height:auto;min-height:274px}
 .fl-shell .fl-map .tw6-front-title h2{font-size:19px}.fl-result{padding:12px;flex-wrap:wrap}
}
@media(max-width:370px){.fl-team i{display:none}.fl-round{max-width:90px}.fl-tabs button{padding:3px 6px}.fl-map-projection{height:280px}.fl-node-label{font-size:9px}.fl-control-bar{display:none}.fl-control{justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.fl-shell *, .fl-personal-result *{scroll-behavior:auto}.fl-shell .tw6-weather,.fl-shell .fl-marker::after{animation:none!important}}

/* Interiors use the same field camp as the nine selectable sites. */
#territoryWarModalV3:has(.fl-shell) .war-chat-workspace:not(.is-chat-open)>.war-chat-nav { display:none; }
#territoryWarModalV3:has(.fl-shell) .war-chat-nav-actions .primary { color:#17221b; background:#d9e99a; opacity:1; }
#territoryWarModalV3:has(.fl-shell) .war-chat-panel { background:#1b2729; color:#f0f1e5; border:1px solid #516561; }
.fl-tabs .fl-chat-link { margin-left:auto; color:var(--fl-a); }
.fl-tabs button[aria-expanded=true] { color:var(--fl-action); background:#2b3835; border-color:#647666; }
.fl-shell :focus-visible,.fl-personal-result :focus-visible { outline:2px solid #fff3bd; outline-offset:2px; }
#territoryWarModalV3 .fl-map .fl-map-photo img { object-fit:cover; }
#territoryWarModalV3 .fl-map .fl-map-projection { height:clamp(345px,54vh,760px); }
#territoryWarModalV3 .fl-shell .fl-detail { overflow:hidden; }
#territoryWarModalV3 .fl-detail .fl-site-photo {
  position:relative; isolation:isolate; display:flex; align-items:flex-end; min-height:154px; aspect-ratio:1.87;
  padding:12px 14px; margin:-16px -16px 0; border-bottom:1px solid #52635e; color:#fff; background:#273431;
}
.fl-site-photo>img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2; }
.fl-site-photo::after { content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#111b1bec 0,transparent 66%); }
.fl-site-photo .fl-site-name { position:absolute;top:10px;left:12px;background:#1b2529de;border:1px solid #7f8f83;padding:3px 7px;font-size:11px; }
#territoryWarModalV3 .fl-site-photo h2 { color:#fffbe9;font-size:clamp(18px,2vw,27px); }.fl-detail .fl-site-photo>div>span{color:#e7e7d9;}
#territoryWarModalV3 .fl-detail .fl-enter { flex-direction:row; height:auto;min-height:44px; border-image:none; }
#territoryWarModalV3 .fl-shell .tw4-action-dock>button { border-image:none!important; clip-path:none; background-image:none!important; }
#territoryWarModalV3 .fl-shell .tw4-action-dock>button::before,#territoryWarModalV3 .fl-shell .tw4-action-dock>button::after { content:none; }
#territoryWarModalV3 .fl-shell .tw4-dock-button svg { stroke:var(--fl-a);fill:none;stroke-width:1.6; }
#territoryWarModalV3 .fl-shell .tw4-action-dock button b { font-size:16px; }
#territoryWarModalV3 .fl-shell .tw4-attack-button b { font-size:19px; }
#territoryWarModalV3 .fl-shell .tw4-attack-button small,#territoryWarModalV3 .fl-shell .tw4-dock-button em { font-size:11px; }
#territoryWarModalV3 .fl-shell .tw4-drawer { border:1px solid #5a6a61; background:#172224; }
#territoryWarModalV3 .fl-shell .tw4-drawer>header, #territoryWarModalV3 .fl-shell .fl-command>header {
  display:flex;align-items:flex-end;justify-content:space-between;box-sizing:border-box;position:relative;
  min-height:100px;padding:14px 18px;border:0;border-bottom:1px solid #52665e;
  background:linear-gradient(90deg,#111b1bdd 0%,#13212345 73%),var(--room) center 52%/cover;
}
.fl-shell .tw4-drawer[data-type=operations] { --room:url('/assets/ui/territory-war/frontline-20261108/tactics-room.webp'); }
.fl-shell .tw4-drawer[data-type=ranking],.fl-shell .tw4-drawer[data-type=report] { --room:url('/assets/ui/territory-war/frontline-20261108/report-room.webp'); }
.fl-shell .tw4-drawer[data-type=facilities] { --room:url('/assets/ui/territory-war/frontline-20261108/site-depot-scene.webp'); }
.fl-shell .tw4-drawer[data-type=loadout] { --room:url('/assets/ui/territory-war/frontline-20261108/loadout-room.webp'); }
#territoryWarModalV3 .fl-shell .fl-command>header { --room:url('/assets/ui/territory-war/frontline-20261108/command-room.webp');padding-right:46px;min-height:130px; }
#territoryWarModalV3 .fl-shell .fl-command .tw4-mobile-rail-close { position:absolute;right:22px;top:22px;z-index:3; }
.fl-shell .tw4-drawer>header h2,.fl-command>header h2 { color:#fffcec;text-shadow:0 1px 4px #12201b; }
.fl-shell .fl-ledger-head { display:flex;gap:12px;margin-bottom:10px;border:1px solid #495d57;padding:12px; }
.fl-ledger-head>span { flex:1;display:grid;gap:4px;color:var(--fl-muted);font-size:13px; }.fl-ledger-head b{font-size:20px;color:var(--fl-text);}
#territoryWarModalV3 .fl-shell :is(.tf-power,.tf-readiness,.tf-squad-hero,.tw5-skill-heading,.tw4-intel-list article,.tw6-facility) { border-image:none; border:1px solid #455850;background-color:#233034;color:#eff2e7; }
#territoryWarModalV3 .fl-shell .tf-squad-hero { background:#283b37; }
#territoryWarModalV3 .fl-shell .tw4-operation-grid>button {
  min-height:195px;padding:48px 14px 45px; border-radius:5px; border:1px solid #566652;
  background:linear-gradient(0deg,#131d20 0%,#141f22eb 44%,#121f2377 71%,#121e2110),var(--art) center top/cover;
}
#territoryWarModalV3 .fl-shell .tw4-operation-grid>button::before { content:none; }
#territoryWarModalV3 .fl-shell .tw4-operation-grid>button:not(.tw-vote-active)::after { content:none; }
#territoryWarModalV3 .fl-shell .tw4-operation-grid>button b{font-size:18px;color:#fffced;}
#territoryWarModalV3 .fl-shell .tw4-operation-grid>button small{color:#d4ded6;font-size:12px;}
#territoryWarModalV3 .fl-shell .tw4-operation-grid>button[aria-pressed=true]{border:2px solid var(--fl-action);}
#territoryWarModalV3 .fl-shell .tw4-operation-grid>button:disabled {opacity:.86;}
.fl-result { background:linear-gradient(90deg,#1a302ceF,#182723c2 60%,#1926228a),url('/assets/ui/territory-war/frontline-20261108/report-room.webp') center 54%/cover; }
.fl-personal-result .tw3-v2-result { background:linear-gradient(90deg,#112025f0,#152126ac),url('/assets/ui/territory-war/frontline-20261108/report-room.webp') center/cover; }
@media(min-width:821px) {
  #territoryWarModalV3 .fl-shell .tw6-field .tw6-live-sitrep { top:auto;bottom:8px;left:12px;right:12px;min-height:30px;padding:5px 10px; }
  #territoryWarModalV3 .fl-shell .tw6-field .tw6-relay-anchor { top:33%;width:108px; }
}
@media(max-width:820px),(max-width:1040px) and (max-height:500px) and (pointer:coarse) {
  #territoryWarModalV3 .fl-map .fl-map-projection { height:clamp(310px,45dvh,435px); }
  .fl-map .fl-node { --model:clamp(53px,15vw,87px); }.fl-map .fl-site-hq { --model:clamp(61px,17vw,100px); }
  .fl-map .fl-node-label { top:88%;font-size:10px;padding:2px 4px;gap:2px; }.fl-map .fl-heat-label{top:0;bottom:auto;font-size:10px;padding:2px 3px;}
  .fl-node-label i {width:5px;height:5px;}.fl-map .fl-heat-label svg{width:11px;height:11px;}
  #territoryWarModalV3 .fl-detail .fl-site-photo { min-height:105px;aspect-ratio:auto;margin:-12px -12px 0; }
  #territoryWarModalV3 .fl-shell.zone-open .fl-detail{overflow:auto;}
  .fl-shell .fl-site-photo .fl-zone-close {position:absolute;top:8px;right:8px;}
  #territoryWarModalV3 .fl-shell .tw4-drawer>header{min-height:76px;padding:9px 12px;}
  #territoryWarModalV3 .fl-shell .tw4-operation-grid>button{min-height:160px;}
}
@media(prefers-reduced-motion:reduce) { .fl-node-hot .fl-base-ground::before { animation:none; } }

.fl-personal .battle-v3-live-shell { --hud-color:#e1ee98; background:#132025; }
.fl-personal .battle-v3-canvas-host { background:linear-gradient(0deg,#10202463,transparent 50%),var(--field-scene) center/cover; }
.fl-personal .battle-v3-header { background:linear-gradient(90deg,#162427f5,#1f302df0);border-bottom:1px solid #708275;color:#fffced;}
.fl-personal .battle-v3-header .v3-hud-location {color:#e2ebc3;}
.fl-personal .battle-v3-header .v3-hud-location small {color:#c9d6c5;}
.fl-personal .battle-v3-header #battlePhase { color:#dceba3; background:#21302c; border:1px solid #50645a; }
.fl-personal .battle-v3-loader { background:#142126de;color:#f1f1df; }
.fl-personal .battle-v3-dock {background:linear-gradient(0deg,#132025fa,#1c2929e8);border-color:#53665c;}
.fl-personal .battle-v3-roster-side[data-v3-roster-side=A]{border-top:2px solid #77d8d2;}
.fl-personal .battle-v3-roster-side[data-v3-roster-side=B]{border-top:2px solid #ffa28f;}
.fl-personal-result .tw3-result-dialog button:focus-visible{outline:2px solid #f0eeba;outline-offset:2px;}

.fl-map .fl-node-label em { margin-left:1px;color:#c7cfc4;font:700 13px/1 sans-serif; }
.fl-map .fl-advance .fl-node-label em {color:#e7f8a9;}.fl-map .fl-defend .fl-node-label em{color:#96ebe3;}
.fl-map .fl-wait .fl-base-ground {border-style:dashed;}
.fl-access { padding-top:12px; color:var(--fl-muted); font-size:13px; line-height:1.5; }
.fl-access b { color:var(--fl-text); margin-right:3px; }.fl-access+.fl-hp-block{padding-top:10px;}
#territoryWarModalV3 .fl-shell.in-field .fl-enter {display:none;}
.fl-field-location {margin-top:12px!important;padding:8px 11px;border:1px solid #4f625a;border-radius:4px;color:#d8e3cf;font-size:13px;}
.fl-field-location[hidden]{ display:none; }
.fl-squad { color:#f1f4ea; padding:0 13px 14px; }.fl-squad h3 { margin:0;font-size:18px;color:#eff2e4; }
.fl-squad small,.fl-squad dt,.fl-squad p { color:#cad4cd; font-size:13px;line-height:1.5; }
.fl-force-row {margin-inline:-13px;display:grid;grid-template-columns:1fr 1.1fr;gap:14px;padding:10px 13px;background:#253333;border:1px solid #506258;}
.fl-force-row>div{display:grid;gap:3px;}.fl-force-row b{font-size:19px;overflow-wrap:anywhere;}
.fl-squad>header {display:flex;align-items:center;justify-content:space-between;margin:17px 0 9px;}
.fl-squad>header span{color:#dbe99a;font-size:13px;}
.fl-lineup {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:0;margin:0;list-style:none;}
.fl-lineup li{overflow:hidden;background:#293735;border:1px solid #526358;border-radius:3px;}
.fl-lineup img,.fl-slot-empty {display:grid;place-items:center;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 25%;background:#182426;}
.fl-slot-empty{color:#768b80;font-size:19px;}
.fl-lineup li>b,.fl-lineup li>small{display:block;padding:3px 4px;color:#f2f5e7;font-size:13px;line-height:1.25;overflow-wrap:anywhere;}
.fl-lineup li>small{color:#ccdaa6;font-size:11px;}
.fl-squad dl {display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:14px 0;}
.fl-squad dl>div{display:flex;gap:4px;justify-content:space-between;border-bottom:1px solid #43554a;padding:5px 0;}
.fl-squad dd {margin:0;font-size:14px;font-weight:700;}.fl-squad>button{padding:7px 12px;min-height:42px;border-radius:4px;color:#17241a;background:var(--fl-action);border:0;font-weight:750;}
@media(max-width:820px) {
  .fl-force-row{padding:8px 10px;gap:6px;}.fl-force-row b{font-size:16px;}
  .fl-squad>header{margin:9px 0 6px;}.fl-squad>header h3{font-size:16px;}
  .fl-lineup li>b{font-size:12px;}.fl-access {padding-top:7px;}
}

/* Frontline map, radio receiver and field controls. */
.fl-shell .fl-glyph { display:inline-block; width:18px; height:18px; flex:none; vertical-align:middle; }
.fl-shell .fl-art-icon {
  display:inline-block; flex:none; width:40px; height:40px; pointer-events:none;
  background:url('/assets/ui/territory-war/frontline-20261109/hud.webp') no-repeat 0 0 / 300% 200%;
}
.fl-art-icon.fl-art-wolf { background-position:50% 0; }
.fl-art-icon.fl-art-contact { background-position:100% 0; }
.fl-art-icon.fl-art-tactics { background-position:0 100%; }
.fl-art-icon.fl-art-armor { background-position:50% 100%; }
.fl-art-icon.fl-art-squad { background-position:100% 100%; }

#territoryWarModalV3 .fl-shell .fl-head {
  background:linear-gradient(110deg,#17282d,#101a1f 60%,#222e30);
  border-bottom:1px solid #536863; box-shadow:inset 0 1px #60746b44;
}
.fl-control {
  position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(130px,2fr) minmax(0,1fr);
  gap:clamp(12px,2.5vw,40px); padding:5px clamp(12px,2vw,30px); min-height:66px;
  background:linear-gradient(112deg,#17464e 0%,#17292e 23%,#101b20 44%,#192328 64%,#3e2c28 85%,#61372c);
  border-block:1px solid #61746a; box-shadow:inset 0 2px #9db9a329,inset 0 -3px #05111766;
}
.fl-team { position:relative;display:flex;gap:9px;min-width:0; }
.fl-team .fl-art-icon { width:51px;height:51px; }
.fl-team-copy { display:grid;min-width:0;align-content:center;gap:2px; }
.fl-team .fl-team-copy>strong { font-weight:850;line-height:1.18;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.fl-team .fl-team-copy>small { margin:0;color:#d9ecae;font-weight:700; }
.fl-team> b { line-height:1;display:flex;align-items:baseline;gap:3px;font:750 clamp(20px,2vw,32px)/1 "Barlow",sans-serif; }
.fl-team> b small { margin:0;font-size:11px;font-weight:650;color:#d1d3c7; }
.fl-team-B { justify-self:stretch;flex-direction:row-reverse;text-align:right; }
.fl-meter { display:grid;gap:5px;align-content:center;justify-items:stretch;min-width:0; }
.fl-meter-caption { color:#b8c9c9;text-align:center;font-size:11px;font-weight:700; }
.fl-meter .fl-control-bar { position:relative;display:flex;gap:0;min-width:0;height:10px;overflow:hidden;
  border:1px solid #112024;background:#33403f;transform:skew(-15deg);box-shadow:0 1px 0 #c0d0ba48; }
.fl-meter .fl-control-bar::after { content:"";position:absolute;inset:0;pointer-events:none;
  background:repeating-linear-gradient(90deg,transparent 0 calc(11.111% - 2px),#15232bb3 calc(11.111% - 2px) 11.111%); }
.fl-meter .fl-control-bar i:first-child { background:linear-gradient(#abede3,#48a6ac); }
.fl-meter .fl-control-bar i:last-child { background:linear-gradient(#ffc2a0,#d56c4d); }
.fl-tabs button { display:inline-flex;align-items:center;gap:6px; }
.fl-tabs .fl-glyph { width:17px;height:17px;color:#9ed4c9; }
.fl-tabs { background:linear-gradient(#1b292e,#121d21); }
.fl-map-heading { gap:9px; }
.fl-map-heading h2 { margin-right:auto; }
.fl-map-heading .fl-map-key,.fl-map-key>span { display:inline-flex;align-items:center;gap:4px;white-space:nowrap; }
.fl-map-heading .fl-map-key { gap:10px; }
.fl-map-key .fl-glyph { width:13px;height:13px;color:#c2d8c8; }
.fl-fx-toggle { display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:3px 7px;border:1px solid #4f6863;
  border-radius:4px;color:#cbd0c7;background:#1a262a;cursor:pointer;font:inherit; }
.fl-fx-toggle .fl-glyph { width:14px;height:14px; }
.fl-fx-toggle[aria-pressed=true] { color:#cfe69a;border-color:#718257; }
.fl-fx-toggle[aria-pressed=true]>span { color:inherit; }
.in-field .fl-fx-toggle,.in-field .fl-radio { display:none; }

.fl-radio {
  display:flex;align-items:stretch;min-height:44px;gap:12px;position:relative;
  padding-right:6px;border:1px solid #52615c;border-bottom:0;background:linear-gradient(94deg,#192c31,#18272c 70%,#223332);
  box-shadow:inset 0 1px #dde5cb18;color:#e4e9df;
}
.fl-radio-ident { display:flex;align-items:center;gap:7px;flex:none;padding:5px 14px 5px 10px;
  border-left:3px solid #ffc767;color:#ffda94;background:linear-gradient(110deg,#473d29,#3d38282a); }
.fl-radio-ident>.fl-glyph { width:20px;height:20px; }
.fl-radio-ident>b { font-size:12px;white-space:nowrap; }
.fl-wave { width:24px;height:16px;background:repeating-linear-gradient(90deg,#c6a667 0 2px,transparent 2px 4px);
  clip-path:polygon(0 42%,14% 42%,16% 20%,32% 20%,34% 36%,49% 36%,50% 0,64% 0,66% 14%,80% 14%,82% 35%,100% 35%,100% 64%,82% 64%,80% 86%,66% 86%,64% 100%,50% 100%,49% 67%,34% 67%,32% 80%,16% 80%,14% 59%,0 59%); }
.fl-radio-copy { display:flex;align-items:center;flex-wrap:wrap;align-content:center;gap:2px 10px;flex:1;min-width:0;padding:5px 0;
  font-size:13px;line-height:1.32;overflow-wrap:anywhere;word-break:keep-all; }
.fl-radio-copy strong { color:#ffda91; }
.fl-radio-controls { display:flex;align-items:center;flex:none;gap:3px; }
.fl-radio-controls>button { display:grid;place-items:center;width:32px;height:34px;padding:0;border:1px solid #4c615d;border-radius:3px;background:#1e3033;color:#d6e3d8;cursor:pointer; }
.fl-radio-controls>button[hidden] { display:none; }
.fl-radio-controls>button:hover,.fl-radio-controls>button[aria-pressed=true] { background:#354644;color:#ffe2a0; }
.fl-radio-controls .fl-glyph { width:14px;height:14px; }

#territoryWarModalV3 .fl-map .fl-map-projection { height:clamp(318px,49vh,660px);background:#263737; }
.fl-terrain { position:absolute;inset:0;isolation:isolate; }
#territoryWarModalV3 .fl-map .fl-map-photo img { object-fit:fill;filter:none; }
.fl-map-grid { background:linear-gradient(0deg,#10202840,transparent 21%,transparent 78%,#b7cbd51a);
  box-shadow:inset 0 0 0 1px #dde2d233,inset 0 -12px 16px -18px #0b191b; }
.fl-links .fl-route { stroke:#eee4c9;stroke-dasharray:4 6;stroke-width:1.7;opacity:.95; }
.fl-links .fl-route-a,.fl-links .fl-route-b { stroke-dasharray:none;stroke-width:2.6; }
.fl-links .fl-route-a { stroke:#86e5dc; }.fl-links .fl-route-b { stroke:#ffab8e; }
.fl-map .fl-node::before { content:"";position:absolute;pointer-events:none;z-index:0;inset:62% -7% 8% 17%;
  transform:rotate(13deg);background:radial-gradient(ellipse,#102329bb 12%,#13232171 48%,transparent 72%); }
.fl-map .fl-base-ground { inset:58% 4% 9%;border:1px solid var(--pin);border-radius:50%;outline:0;
  background:radial-gradient(ellipse,transparent 46%,#25403f70 72%,var(--pin) 98%);
  box-shadow:0 3px #203337b3,0 5px 4px #1120248c; }
.fl-map .fl-site-model { transform:scale(var(--site-scale,1));transform-origin:50% 78%;filter:drop-shadow(2px 4px 1px #18252980); }
.fl-map .fl-node.is-selected .fl-base-ground,.fl-map .fl-node:focus-visible .fl-base-ground {
  border-color:#f9e4a2;outline:2px solid #ffe7aa;outline-offset:3px;
  box-shadow:0 0 0 5px #1c252a88,0 6px 7px #1325279c; }
.fl-map .fl-node-hot .fl-base-ground { border:1px solid #efab53;background:radial-gradient(ellipse,#ffbb4433,#b76c2830 62%,#ffcb7780 95%); }
.fl-map .fl-node-hot .fl-base-ground::before { content:none;animation:none; }
.fl-map .fl-node-label { top:87%;gap:4px;border-color:#9ea09a;border-bottom:2px solid var(--pin);
  color:#fffcf0;background:linear-gradient(#26383bed,#10191def);box-shadow:0 2px 5px #10191d80; }
.fl-map .fl-node.is-selected .fl-node-label { border-color:#ffe299;color:#fff5ce; }
.fl-node-label .fl-glyph { width:14px;height:14px;color:var(--pin); }
.fl-map .fl-heat-label { top:3%;z-index:5;gap:3px;padding:1px 7px 2px 4px;border:1px solid #f1b762;
  border-left:3px solid #ffc264;border-radius:3px;background:linear-gradient(100deg,#3e2317,#713919);
  color:#ffe2a6;box-shadow:0 2px 3px #16201c99; }
.fl-heat-label .fl-art-icon { width:20px;height:20px; }
.fl-impact { position:absolute;inset:0;z-index:2;pointer-events:none;contain:layout paint; }
.fl-impact i { position:absolute;display:block;left:73%;top:75%;opacity:0;pointer-events:none; }
.fl-tracer { width:51%;height:2px;transform-origin:right;background:linear-gradient(90deg,transparent,#ffb95c 68%,#fff8cc); }
.fl-burst { width:43%;aspect-ratio:1;background:url('/assets/ui/territory-war/frontline-20261109/hud.webp') no-repeat 100% 0 / 300% 200%; }
.fl-smoke { width:33%;height:34%;background:radial-gradient(ellipse at 34% 60%,#514d48b5,transparent 62%),radial-gradient(ellipse at 58% 36%,#c7b69d9e,transparent 59%); }
@keyframes fl-tracer-pass { 0%,15%,100%{opacity:0;transform:translate(-165%,-1450%) rotate(22deg) scaleX(.2)} 18%{opacity:.97} 24%{opacity:1;transform:translate(-93%,-50%) rotate(22deg) scaleX(.88)} 25%,99%{opacity:0} }
@keyframes fl-impact-flash { 0%,23%,100%{opacity:0;transform:translate(-50%,-50%) scale(.32)} 26%{opacity:.96;transform:translate(-50%,-50%) scale(1.24)} 34%,99%{opacity:0;transform:translate(-50%,-50%) scale(.7)} }
@keyframes fl-impact-smoke { 0%,24%,100%{opacity:0;transform:translate(-50%,-40%) scale(.35)} 34%{opacity:.8} 66%{opacity:0;transform:translate(-10%,-145%) scale(1.38)} }
@media(prefers-reduced-motion:no-preference){
  .fl-map[data-scene-fx=on] .fl-tracer,.fl-map[data-scene-fx=on] .fl-burst,.fl-map[data-scene-fx=on] .fl-smoke {
    animation-duration:5.6s;animation-delay:var(--shot-delay);animation-iteration-count:infinite;animation-timing-function:linear; }
  .fl-map[data-scene-fx=on] .fl-tracer {animation-name:fl-tracer-pass;}
  .fl-map[data-scene-fx=on] .fl-burst {animation-name:fl-impact-flash;}
  .fl-map[data-scene-fx=on] .fl-smoke {animation-name:fl-impact-smoke;}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  #territoryWarModalV3 .fl-map .fl-map-projection {perspective:1050px;}
  .fl-map[data-scene-fx=on] .fl-terrain { transform:scale(1.025) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); }
  .fl-map[data-scene-fx=on] .fl-site-model { transition:transform .16s ease; }
  .fl-map[data-scene-fx=on] .fl-node:hover .fl-site-model,.fl-map[data-scene-fx=on] .fl-node:focus-visible .fl-site-model {
    transform:translateY(-4px) scale(calc(var(--site-scale,1) + .035)); }
}
.fl-shell .fl-signal { min-height:37px;background:#162226; }
.fl-signal .fl-art-icon { width:23px;height:23px; }
.fl-signal button .fl-glyph { width:12px;height:12px;color:#c6b284; }

#territoryWarModalV3 .fl-shell .fl-map .tw4-action-dock {padding:7px;gap:7px;border-top:1px solid #658079;background:linear-gradient(#293b3d,#182429);}
#territoryWarModalV3 .fl-shell .tw4-action-dock .tw4-dock-button {
  display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;align-content:center;justify-items:start;
  gap:0 10px;min-height:59px;padding:5px 13px;color:#f0f1e5;border:1px solid #526a66;border-left:3px solid #7fbeb5;
  border-radius:4px;background:linear-gradient(108deg,#314849,#202d33 78%)!important;box-shadow:inset 0 1px #cadac224,0 2px #101b1e; }
#territoryWarModalV3 .fl-shell .tw4-dock-button .fl-art-icon { grid-row:1/3;width:43px;height:43px;align-self:center; }
#territoryWarModalV3 .fl-shell .tw4-dock-button>span { display:block;align-self:end; }
#territoryWarModalV3 .fl-shell .tw4-dock-button b { margin:0; }
#territoryWarModalV3 .fl-shell .tw4-dock-button em { display:block;grid-column:2;align-self:start;color:#c3d3c8; }
#territoryWarModalV3 .fl-shell .tw4-action-dock .tw4-attack-button {
  display:grid;grid-template-columns:auto minmax(0,max-content);grid-template-rows:auto auto;align-items:center;align-content:center;justify-content:center;
  gap:0 10px;text-align:left;min-height:59px;border:1px solid #e4f198!important;border-bottom:3px solid #899a50!important;
  background:linear-gradient(110deg,#b9d16d,#e2efad 52%,#cadc84)!important;box-shadow:inset 0 1px #fbffcb,0 2px #15232a; }
#territoryWarModalV3 .fl-shell .tw4-attack-button .fl-art-icon { grid-row:1/3;width:46px;height:46px; }
#territoryWarModalV3 .fl-shell .tw4-attack-button>b {grid-column:2;align-self:end;margin:0;}
#territoryWarModalV3 .fl-shell .tw4-attack-button>small {grid-column:2;align-self:start;margin:1px 0 0;}
#territoryWarModalV3 .fl-shell .tw4-action-dock .tw4-attack-button:disabled {
  background:linear-gradient(110deg,#334448,#283637)!important;border-color:#5b6b64!important;box-shadow:none; }
#territoryWarModalV3 .fl-shell .tw4-action-dock button:enabled:hover {filter:brightness(1.08);}
.fl-access b {display:inline-flex;align-items:center;gap:4px;}.fl-access .fl-glyph,.fl-enter .fl-glyph {width:16px;height:16px;}
.fl-enter b {flex:1;text-align:left;}
@media(max-width:820px),(max-width:1040px) and (max-height:500px) and (pointer:coarse){
  .fl-control { grid-template-columns:minmax(0,1fr) minmax(36px,.48fr) minmax(0,1fr);gap:5px;min-height:48px;padding:3px 7px; }
  .fl-team {gap:4px;}.fl-team .fl-art-icon {width:30px;height:30px;}
  .fl-team .fl-team-copy strong {font-size:12px;}.fl-team .fl-team-copy>small {font-size:9px;}
  .fl-team>b {font-size:16px;gap:1px;}.fl-team>b small {font-size:9px;}
  .fl-meter {gap:3px;}.fl-meter-caption {font-size:9px;}.fl-meter .fl-control-bar {display:flex;height:6px;}
  .fl-tabs button {gap:4px;}.fl-tabs .fl-glyph {width:14px;height:14px;}
  .fl-map-heading {gap:5px;}.fl-map-heading .fl-map-key {gap:5px;}.fl-map-key .fl-glyph {width:10px;height:10px;}
  .fl-fx-toggle {font-size:10px;padding:2px 4px;gap:3px;}.fl-fx-toggle .fl-glyph {width:11px;height:11px;}
  .fl-radio {gap:7px;padding-right:3px;min-height:49px;}
  .fl-radio-ident {gap:3px;flex-direction:column;justify-content:center;padding:4px 6px;}
  .fl-radio-ident b {font-size:9px;}.fl-radio-ident>.fl-glyph {width:16px;height:16px;}.fl-wave {display:none;}
  .fl-radio-copy {display:grid;gap:1px;padding:3px 0;font-size:11px;}
  .fl-map .fl-site-model {filter:none;}
  .fl-map .fl-impact:not(.fl-main-impact) {display:none;}
  .fl-map .fl-main-impact {transform:translateZ(0);}
  .fl-radio-controls {gap:0;}.fl-radio-controls>button {width:29px;height:38px;border:0;background:transparent;}
  #territoryWarModalV3 .fl-map .fl-map-projection {height:clamp(285px,41dvh,408px);}
  .fl-map .fl-node-label {top:86%;font-size:10px;gap:2px;padding:2px 3px;}
  .fl-node-label .fl-glyph {width:10px;height:10px;}
  .fl-map .fl-heat-label {top:-1%;padding:0 4px 1px 2px;font-size:10px;gap:1px;}
  .fl-heat-label .fl-art-icon {width:15px;height:15px;}
  .fl-shell .fl-signal {min-height:33px;gap:1px 7px;padding:2px 5px;}.fl-signal .fl-art-icon {width:18px;height:18px;}
  #territoryWarModalV3 .fl-shell .fl-map .tw4-action-dock {grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr);gap:4px;padding:4px;}
  #territoryWarModalV3 .fl-shell .tw4-action-dock .tw4-dock-button,
  #territoryWarModalV3 .fl-shell .tw4-action-dock .tw4-attack-button {min-height:52px;padding:4px;gap:0 4px;}
  #territoryWarModalV3 .fl-shell .tw4-dock-button .fl-art-icon {width:24px;height:24px;}
  #territoryWarModalV3 .fl-shell .tw4-attack-button .fl-art-icon {width:28px;height:28px;}
  #territoryWarModalV3 .fl-shell .tw4-action-dock button b {font-size:12px!important;white-space:normal;line-height:1.18;}
  #territoryWarModalV3 .fl-shell .tw4-action-dock button em,#territoryWarModalV3 .fl-shell .tw4-action-dock button small {font-size:9px;line-height:1.2;}
}
@media(max-width:355px){
  .fl-team .fl-art-icon {width:24px;height:24px;}
  .fl-map-heading .fl-map-key {gap:3px;}.fl-map-key>span {gap:2px;}
  #territoryWarModalV3 .fl-shell .tw4-dock-button .fl-art-icon {width:20px;height:20px;}
  #territoryWarModalV3 .fl-shell .tw4-attack-button .fl-art-icon {width:23px;height:23px;}
}
